If you want to use php to write the graduation design background, the functions will not be very complex. visual testing is to process some forms, operate several tables in the database, and write an interface. Is writing native well, or is it better to learn and use a framework? A little native, the framework has never been used. If you want to use php to write the graduation design background, the functions will not be very complex. visual testing is to process some forms, operate several tables in the database, and write an interface. Is writing native well, or is it better to learn and use a framework? A little native, the framework has never been used.
Reply content:
If you want to use php to write the graduation design background, the functions will not be very complex. visual testing is to process some forms, operate several tables in the database, and write an interface. Is writing native well, or is it better to learn and use a framework? A little native, the framework has never been used.
I recommend that you use native to learn more about the underlying php layer and know how to debug bugs. Because when you do not have much development experience, even if you use a framework, you can only use some built-in orm and class libraries. Instead, the features and design patterns of the framework (such as driver, dependency injection, events, containers, and middleware will make you more confused.
If you have not read the source code of the framework, some inexplicable errors may occur and you do not know how to handle them.
Those features and design patterns of the framework are useless at all. if you don't understand them, you may be able to use them incorrectly. if you want to show these codes to your hr staff in the future, points may be deducted.
The framework is good, because in graduation design, the paper or design book is a big part, the function is the main, the tool is secondary, and of course how fast is it.
Native + 1.
In fact, the framework encapsulates some very common functions for you to directly call, such as database connection and backend rendering.
The framework is generally suitable for rapid development. you don't have to worry about repeatedly assembling mysql Query fields and how to render html. In fact, these things are something developers should know how to do. If the code goes wrong, there will be a lot of non-native debug information, which will not be understood if you have no experience.
Although we recommend that you use native instead of templates, we recommend that you use templates for html rendering. Pure templates, such as smarty, implement frontend and backend separation.
Laravel 5 is a good choice.
Rich materials, which are currently popular.
1. if you just want to use the framework to complete the functions you mentioned (pages, databases, and so on), there are complete routines for your reference. All you need to do is draw a gourd based on samples.
2. if you want to accumulate something for your job after graduation, search for the technologies used in the framework, learn some theoretical knowledge, and then look at how the framework is implemented to benefit you.
3. the so-called native php is not bad, but a newbie. of course, learning, imitating, and thinking with excellent frameworks is the most efficient learning method.
4. at last, the basic knowledge is of course very important. I believe you have a general understanding of the basic php programming knowledge and web technology, and the rest is to practice it.
You can use a framework to implement functions without the need to pursue a high level. As for the framework selection, you can use tp5, a Chinese document, and a major advantage. As for the design mode and the internal principles of the architecture, you just need to ignore it.