When I first started learning the PHP language, I saw the thinkphp framework and documentation on the Internet. The development manuals are all very detailed. What are the advantages and disadvantages of this PHP framework compared with other frameworks? How should I choose from this framework for beginners? When I first started learning the PHP language, I saw the thinkphp framework and documentation on the Internet. The development manuals are all very detailed.
What are the advantages and disadvantages of this PHP framework compared with other frameworks? How should I choose from this framework for beginners?
Reply content:
When I first started learning the PHP language, I saw the thinkphp framework and documentation on the Internet. The development manuals are all very detailed.
What are the advantages and disadvantages of this PHP framework compared with other frameworks? How should I choose from this framework for beginners?
To learn. We recommend a tutorial. http://www.5idev.com/thinkphp
According to this, you will think it is easy to get started with tp.
We recommend that you do not learn the framework from the very beginning. If you use the framework, you will not be able to use PHP. We recommend that you first learn PHP and then select a framework that best suits your work in recent years, I used Phalcon.
Don't use a frame for new users. The frame is like a car. It is efficient and comfortable, but you can drive without learning to walk. Maybe a simple website can be written down, but the resulting problem is that PHP itself is not understood, so that the Code becomes insecure and the problem cannot be solved. I have seen many new users use the TP framework to do some so-called projects, but they ask some very basic questions.
It is recommended that you first learn the basic part of PHP well, and the functions in the Manual should not be understood, but most of the functions should know their existence and usage. Learn some native SQL and anti-injection principles and methods. before using the template engine, it is best to write several small projects with mixed editing. These are some of my experiences for your reference only.
ThinkPHP can be the first framework you have learned since you are familiar with PHP. ThinkPHP has made great efforts to develop documents in the last two months. You can check it on its official website, it is advantageous to have a wide array of documents. You can understand the operating mechanism and principle of the framework while learning to use ThinkPHP, and lay the foundation for accessing some better frameworks.
Thinkphp is not bad. Find a simple website project or your own personal website. Refer to the official manual. It is best to set up a chm format. Then, learn and finish thinkphp, you can get started.
I think the framework is suitable for people with a little Program Development Foundation to quickly develop and use it. It does not have to have a PHP Foundation. For example, it is a mix of things in school, I only learned some basic program development knowledge (You know). My first job after graduation is to develop a website using php. I have never learned html, css, js, and php before, at the beginning, I used CI directly under the guidance of my boss. I feel that it is okay. It is also easy to get started with CI ~~~
Advantages
1. The documents are full and very friendly. I am not happy with English kids shoes.
2. There are many materials and many Chinese people use them. If you have any questions, please go to the official website and reply in a timely manner.
3. It is written by Chinese people. It is very easy to learn whether documents or comments are both Chinese. zf should at least be in English and it will be troublesome to learn.
4. The framework is quite Chinese, and what A, D, And I methods are good for chaos, but the basic 0 configuration is very convenient to use ~
5. The template language is very difficult.
6. compilation framework, fast
7. ORM is relatively worry-free, and model coherent operations are very worry-free
Disadvantages
1. Brother Is A Jie Li, A, D, I, what are the methods of bird gadgets? Greatest truths to simplicity? Let's go with it.
2. Versions earlier than thinkphp3.1 are stable. thinkphp3.2 and later versions have relatively large changes, making thinkphp3.2.
Php beginners do not need to get started with the framework directly. They should first implement a simple small mvc framework and create an orm layer for fun. First, they should be familiar with the intentions of the mvc framework, and the technology will be very promising, or you can just swallow it.
Can help you find a job, can help you do a good job
Cannot help you install force
Very practical. I used it from 3.2.3 and made some OA and shopping mall things. Many projects in China use this, and the problem will not be too lonely.