Due to the limited level of personal skills, the answer may be biased, please correct me.
PHP module
What are the differences between PHP7 and PHP5, and what are the new features?
Twice-fold performance improvement
Combining comparison operators (<=>)
Scalar type declaration
return type declaration
try...catch
Add multi-conditional judgment, more error errors can be handled with exception
Anonymous classes, now supported by the new class to instantiate an anonymous class, which can be used to replace some "burn after" the full class definition
...... Learn more about the PHP7 new features link at the bottom of the article
Why does PHP7 have a better performance than PHP5?
Variable storage byte reduced, memory consumption reduced, variable operation speed increased
Improved array structure, array elements and hash mapping tables are allocated in the same piece of memory, reducing memory footprint and increasing CPU cache hit ratio
The mechanism of function invocation is improved, and some instructions are reduced to improve the efficiency of execution by optimizing the transfer of parameters.
Laravel Module
The service provider is the hub of all Laravel application boot launches, Laravel's core servers, registration service container bindings, event snooping, middleware, routing registrations, and our applications are booted by the service provider.
The IoC (inversion of control) translates as "inversion of controls" and is also called "Dependency Injection" (DI). What is "inversion of control"? Object A functionality is dependent on object B, but control is controlled by object A, and control is reversed, so called "inversion of Control," and "Dependency injection" is the way to implement the IOC, which is to dynamically inject some kind of dependency into the object during the operation of the IOC container.
Its function is simply to use the method of dependency injection to decompose complex applications into mutually cooperative objects, so as to reduce the complexity of solving problems and realize the low coupling and high expansion of application code.
The service container in Laravel is a tool for managing dependency and execution dependency injection of classes.
Facades (a design pattern, usually translated as a façade mode) provides a "static" interface to access classes registered in the IoC container. Provides a simple, easy-to-remember syntax without remembering the long class names that must be injected or configured manually. In addition, the unique use of PHP dynamic methods makes it easy to test.
A contract (contract) is an interface that defines the core services provided by the Laravel framework. There is no essential difference between contract and facades, and its function is to make the interface low-coupling and simpler.
This is not an explanation, it is the premise of understanding the IoC container.
Composer is a dependency management tool for PHP. It works by downloading the expanded packages that have been developed from the packagist.org composer repository to our applications and declaring dependencies and versioning.
Cache
Database
An index is a special file that contains a reference pointer to all the records in the data table, which is equivalent to a book's directory. Its role is to speed up the retrieval efficiency of data. Common index types have primary keys, unique indexes, composite indexes, and full-text indexes.
PHP design mode is not much to say, but SOLID design principles are every phper must be mastered.
Other questions
The legacy also complements some of Phper's common noodle questions for the great gods.
How to design the sub-database table
How do I handle a MySQL deadlock?
Talk about your understanding of closures.
PHP Memory Recovery mechanism
How to troubleshoot PHP memory overflow issues
Methods of database Optimization
Brief introduction of operation Principle of Laravel
Laravel Routing Implementation principle
Cookie and session difference, where is the session saved on the server? How does the server obtain the client's cookie?
Server cluster building, load balancing, reverse proxy
Server Common Commands
New characteristics of PHP7 and carding of laravel common knowledge