PHP
PHP code obfuscation processing ideas
Many people may want to modify such source code, but the source code is so incomprehensible. After getting such source code, I guess many people want to modify the source code
PHP使用Redis的GEO(地理位置)
Redis has added support for GEO (geographic location) since version 3.2, but the earth is not a perfect sphere, and the deviation may be 0.5% in the worst case. Areas close to the poles are not supported. The valid longitude of the supported coordinates is from -180 degrees to 180 degrees; the valid latitude is from -85.05112878 degrees to 85.05112878 degrees. If it exceeds the range, an error will be reported
Laravel implements distributed transactions based on RT mode
Breakthrough technology supports sub-service nested transactions
PHP 7 performance optimization (to deal with high server concurrency)
Opcache, HugePage, Opcache file cache, stress test comparison
PHP uses pipeline design pattern to achieve user credit task requirements
Completing the task will give you points. If you need to recover the points if you encounter a refund, the task is roughly as follows: 1. Add 10 points to the shopping cart for the first time every day 2. You can get 100 points for the first order every day 3. You can get 100 points when the accumulated shopping amount reaches 99 yuan Points 4. Get 100 points for shopping 10 times. 5. Get 10 points for daily check-in. 6. There are many strange tasks...
Import large amounts of CSV data with high performance in PHP
Using yield can greatly reduce server overhead, and the pressure is on the database. The upper limit has not been tested, but 10,000 data is very easy.
Laravel Macro makes your code cleaner and more readable
Macros are a powerful feature of the Laravel framework. It can add custom functionality to Laravel's internal components
8 pictures to grasp the relationship between Laravel's Eloquent
The Eloquent ORM that comes with Laravel provides a beautiful and simple ActiveRecord implementation for interacting with databases. Each data table corresponds to a "model" that interacts with the table.
Understand how RequireJs is called in FastAdmin
Using fastadmin, the first difficulty in front-end is requirejs, which is a powerful but little-known (for back-end developers) framework