Today, we have opened a new project to sum up:
1. Create a Laravel project
1.1 There are generally two ways to create, composer command line and PHP-Storm editor.( https://www.jianshu.com/p/0941dcfc939a There are two composer modes, Via Laravel Installer and Via Composer Create-Project.( https://laravel.com/docs/5.7 Here we use the second.
Posted on Thu, 20 Jun 2019 11:56:15 -0700 by anticore
Translated GitHub https://github.com/yuansir/diving-laravel-zh
Links to the original text https://divinglaravel.com/queue-system/workers
Now that we know how Laravel pushes jobs into different queues, let's take a closer look at how workers operate your jobs. First, I define workers as a simple PHP process that runs in the background to extract ...
Posted on Wed, 12 Jun 2019 16:38:52 -0700 by rockyracoon
supervisor A client/server service developed by python is a process management tool under linux/unix system. It can easily monitor, stop, and restart one or more processes. The process managed by supervisor is killed unexpectedly. When supervisor hears the process dead, it will automatically pull it up again. It is very convenient to achieve th ...
Posted on Thu, 06 Jun 2019 15:07:48 -0700 by Gmunky
There are four php frameworks that we are testing for this comparison
The first three are the mainstream php frameworks on the market, and the fourth is the lightweight php framework I wrote. Let's test the test results of the four frameworks in the siege software together.
How siege conducts stress testing
A brief int ...
Posted on Tue, 04 Jun 2019 10:28:33 -0700 by grayson
The start of laravel needs to appear in the browser through routing, middleware, controller, model and view. Routing, middleware, and models all have their own classes, such as Route::any(), DB::table(), $this - > middleware (), and so on. These functions are all deployed by an object called IOC (service container).
It's like a housekeeper i ...
Posted on Sat, 18 May 2019 13:56:24 -0700 by karlovac
thinkphp framework is a set of codes (constants, methods, and classes). The framework is a semi-finished application and contains some excellent design patterns.
Framework use, code style is different, maintenance is difficult, project life cycle is short, function expansion is limited, the advantage is simple, fast, efficient, do not need to ...
Posted on Sat, 18 May 2019 10:24:07 -0700 by moon 111
1. Service Container
"Service Container" is the core of Lumen framework system function scheduling configuration, which provides a series of services in the whole framework operation process. "Service container" is the carrier of providing services (services can be understood as what the system needs in operation, such as ob ...
Posted on Tue, 30 Apr 2019 01:50:36 -0700 by chrishawkins
Welcome to my other concerns Github blog and Brief book Exchange with each other!
When you start your application with a Laravel 5.4, Laravel Dusk brings us an API tested in browsers, which gives us a built-in Chrome Driver, and of course other browsers can use Selenium if they want to use it. ] When your environment supports Laravel 5.4, ...
Posted on Sat, 13 Apr 2019 10:24:33 -0700 by fernyburn
After implementing the basic validation of vuelidate, we need to really implement the registration and login in the project and our validation process.
I will also put some specific code on my gist
Back-end api and data preparation
For front-end requests, laravel as a back-end project requires data processing and corresponding feedbac ...
Posted on Fri, 12 Apr 2019 03:09:32 -0700 by lush_pierre
That is, "Introduction to Laravel Source-Start the Boot Process (IV) app/Http/Kernel.php" Kernel did two things, the first was to define $bootstraps , to prepare the boot system, and the second was to define various middleware, which processed, processed, selected and judged the $request, and ultimately prepared for a correct and ef ...
Posted on Thu, 14 Feb 2019 11:09:19 -0800 by xentia