Laravel is a fully functional full-stack framework. Learning her is equivalent to learning to become a full-stack engineer. If you have not learned a similar full-stack framework before, you will find that you will quickly be buried in a large number of technical concepts and terminology. This is not because you are not smart enough, but: (Recommended learning: laraveldevelopment)
Humans’ memory and information processing capabilities are limited in a short period of time. When presented with a large amount of information, your attention will be severely distracted, causing frustration and irritability.
So, we need a smarter learning strategy.
I classify framework knowledge as follows:
Underlying implementation knowledge - such as service container, service provider, Facades, Contracts, Repository, etc.
Framework usage knowledge - such as user registration and login, email sending, data model CRUD, user data acquisition, etc.
There are many concepts to learn under each category, but it is obvious that learning the use of the framework It is much simpler and more interesting than learning the underlying implementation principles, and because learning is more enjoyable, we can remember it more firmly.
When you have some experience in using the framework, then learn the concepts of underlying implementation. You will be able to better understand the ins and outs of these technical concepts, and ultimately achieve a learning effect of getting twice the result with half the effort. And learning the underlying implementation at this time will also give you a deeper understanding of the framework, and you will find that your skills in using the framework will become more flexible.
To put it in simpler terms, When you first start learning, ignore the underlying implementation and use the functions provided by the framework to build some usable projects first, and wait until you are familiar with the functions of these frameworks. After using it, learn the underlying implementation concepts.
Even if it is classified and prioritized, it is not enough. Because the framework alone uses this part of knowledge and involves many concepts, it is easy to fall into information overload.
So we need to have a step-by-step plan, first learn simple, commonly used concepts, and then slowly learn complex ones, and pay attention to repeated learning during the learning process, so that the concepts can be remembered more firmly.
The above is the detailed content of How to learn laravel. For more information, please follow other related articles on the PHP Chinese website!