For example, the YII framework, such as programs written based on the YII framework. Or other PHP programs. I am a Tom. I have worked for three months, used ThinkPHP, and Laravel to write simple small websites. Now I am studying the YII framework. I am looking at a website written by the YII framework. Various novel PHP applications and many classes... such as the YII framework, such as programs written based on the YII framework. Or other PHP programs.
I am a Tom. I have worked for three months, used ThinkPHP, and Laravel to write simple small websites.
Now I am studying the YII framework. I am looking at a website written by the YII framework. Various novel PHP applications and many classes and objects. I don't know how to learn it.
Is there a more scientific method than reading the referenced files and classes one by one from index. php? Maybe there must be enough lines to start studying a framework?
Currently, I don't know how to develop my own technology. Is it a good way to study PHP programs such as wordpress typecho? Are there any good suggestions for learning?
Reply content:
For example, the YII framework, such as programs written based on the YII framework. Or other PHP programs.
I am a Tom. I have worked for three months, used ThinkPHP, and Laravel to write simple small websites.
Now I am studying the YII framework. I am looking at a website written by the YII framework. Various novel PHP applications and many classes and objects. I don't know how to learn it.
Is there a more scientific method than reading the referenced files and classes one by one from index. php? Maybe there must be enough lines to start studying a framework?
Currently, I don't know how to develop my own technology. Is it a good way to study PHP programs such as wordpress typecho? Are there any good suggestions for learning?
Looking at the source code with a hard head, it takes more time to go through the process. It is definitely worth looking at the ZendFramework source code. After reading it for a few months, I can read other source code and understand it, including JAVA and so on. the framework source code of the language is almost just different languages.
Yes, it's from index. php.
The execution of a page starts from the index and follows the index to complete the whole process of executing a page.
I think reading the typecho source code once is a good choice. I can learn from others' experience in reading the code. For example:
Http://blog.segmentfault.com/doudou/1190000000449033
First, you need to understand the operating mechanism of such frameworks. Then, you need to understand the storage path of framework files, clarify the naming rules for file names and methods, and then read the code...
In addition, even if it is a genius, you need to calm down, carefully study the architecture of a framework, and practice his various features,
It's useless to do things in the bottom of the day, because you may not be able to do it next time. The situation is different. You just see things on the ridge side become a peak.
Learning and learning are even more useless. Only exercises are the most useful. Only continuous exercises can discover more and more things you understand.
In fact, most php programs are targeted at the moment. We recommend that you find a small program to read the code.
If it is a framework, it is even more similar.
Since you have already worked, we recommend that you first look at the source code of the framework used in your work. In addition to viewing the code, you must be good at using debugging tools such as xdebug to track the code execution process. Read more and run more to understand more and more