Implementation of Token Authentication and Android for API Interface JWT

Last article The implementation of JWT authentication on Laravel framework server has been introduced. This article continues with the Android client implementation. Looking back on the process of JWT authentication, the client first submits the account password for login. After the account password verification is successful, the server will ...

Posted by stevesimo on Thu, 04 Jul 2019 02:52:26 +0200

PHP Reflection Mechanism

PHP Reflection Mechanism PHP reflection mechanism is supported from PHP5, and it should be less exposed to reflection when doing business development. In fact, I do not have much contact with it. Recently, I have been learning about the "elegance" of laravel, and I have come into contact with its reflective usage. I have my own views ...

Posted by jason_kraft on Wed, 29 May 2019 13:44:14 +0200

Five Hidden Functions of Laravel Excel

Laravel Excel package Version 3.0 has recently been released with new features that can help simplify advanced requirements and are highly usable. Let's explore some hidden functions that may not be known, which make Laravel Excel the best choice for Excel expansion. 1. Importing data from HTML or Blade Suppose you already have an HTML table ...

Posted by tbone-tw on Fri, 17 May 2019 18:48:53 +0200

The problem of using jQuery $(this) in ES6

$('.js-bottom-btn').click((event) => { let flag = $(event.currentTarget).date('flag'); ... }) Turn 1 The transition to laravel-mix ES6 started in the old project. The meaning of $(this) in the arrow function when used with jQuery has changed.   The main reason for this problem is that it is not clear. Arrow function: $('.j ...

Posted by renegade33 on Sat, 11 May 2019 02:12:17 +0200