PHP

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...

Fastadmin two open picture zoom pop-up window

Fastadmin itself does not support functions such as zooming in and zooming out of the pop-up window. The following zooming in and out of various rotation effects can be achieved through two openings.

PHP Opcache accelerates access

Opcache is a way to avoid the overhead of loading and parsing the PHP script each time by storing the pre-compiled bytecode (Operate Code) of the parsed PHP script in the shared memory. The parser can directly read the cached words from the shared memory. Operate Code, which greatly improves the execution efficiency of PHP

Simulate your API in a Symfony project

If you have a Symfony project that makes HTTP requests to your other projects (be it microservices, front-end and api separation projects, etc.), you may need to mock them for your tests.

Laravel Service Containers and Service Providers Explained

Laravel's service container is one of the most important parts of the framework, yet it receives little attention from many developers. After interviewing a large number of candidates, I realized that there are two main reasons behind this ignorance.

Fastadmin SelectPage selection box linkage

The front end mainly displays and executes the corresponding operations. The specific implementation is to touch the corresponding function through the change of the drop-down box value