With intermittent a week of time to understand the operating mechanism of the laravel, may be the basic knowledge of PHP or is not strong enough for the laravel source or not to see very clearly.
First of all, the Laravel document is really concise, most of the content can only be explored on their own ' sever.php ' This file should be a portal file. Then ' require_once ' the ' public/index.php ' file, so from the index.php this file starts to look.
What you learned from the index.php file is that it contains the composer Autoloader autoload.php, and then an important file ' bootstrap/app.php ' This app.php file is very important to feel, this file returns an instance of an app variable, application class.
Then we looked at the data and learned that application is the core server container for Laravel.
What is a server container?
This involves the IOC inversion of control, which is plainly that the instantiation of the class is managed in this container, and the developer just needs to get the object from the container to be used.
With regard to service containers, Laravel official documentation mentions few and few, and can only be understood by checking other information. This is a relatively good blog post.
Laravel Study Notes
Laravel5 How to create service provider and facade
'). addclass (' pre-numbering '). Hide (); $ (this). addclass (' has-numbering '). Parent (). append ($numbering); for (i = 1; i <= lines; i++) {$numbering. Append ($ ('
'). Text (i)); }; $numbering. FadeIn (1700); }); });
The above describes the Laravel rough notes, including the content of Laravel, I hope that the PHP tutorial interested in a friend helpful.