Just learn PHP, to introduce the advantages and disadvantages of thinkphp framework

Source: Internet
Author: User
Just started to learn PHP language, see the thinkphp framework and documentation on the Internet, development manuals God horse is very detailed.
What are the advantages and disadvantages of this PHP framework compared to other frameworks, and how do you choose it for beginners?

Reply content:

Just started to learn PHP language, see the thinkphp framework and documentation on the Internet, development manuals God horse is very detailed.
What are the advantages and disadvantages of this PHP framework compared to other frameworks, and how do you choose it for beginners?

To learn. Recommend a tutorial. http://www.5idev.com/thinkphp

Follow this and you'll find TP easy to get started

It is recommended that you do not learn from the beginning of the framework, using the framework you will not PHP, or recommend that you learn PHP first, and then according to the need to choose the most suitable for your work in recent years, I used to Phalcon.

For beginners, do not use the frame, the frame is like a car, efficient and comfortable, but you have not learned to walk, go to the car. Perhaps the simple site can indeed be written down, but the problem is due to the lack of knowledge of PHP itself, so that the code becomes unsafe and out of the question can not be resolved. I see a lot of newbies doing some so-called projects with the TP framework, but they're asking some very basic questions.
It is recommended that you first learn the basics of PHP well, the functions in the manual can not be understood, but most of the functions should know his existence and usefulness. Learn some native SQL and anti-injection principles and methods, before using the template engine, it is best to write a few mixed small projects first. These are some of my experiences and are for reference only.
As for thinkphp, as you are familiar with PHP, the first framework of learning, thinkphp official in the last 2 months on the development of the document has done a great effort, you can go to their official website to view, document enrichment is its advantage. You can learn how to use thinkphp, understand how the framework works and how it works, and lay the groundwork for reaching some of the better frameworks.

Thinkphp also good, find a simple website project, or their own personal station, referring to the official manual, preferably the next CHM format, and then do the side to learn, finish, you get started.

Feel that the framework is suitable for a bit of program development based on the rapid development of people, not necessarily have PHP foundation, for example, I am in the school is to goof, only learn some of the most basic program development knowledge (you understand), after graduation, the first job is to use PHP development site, did not learn html/css/js/php, At the beginning of the boss under the guidance of the direct use of CI, the feeling can also, itself a simple introduction of CI ~ ~ ~

Advantages
1. Document full, very very friendly, not English children's shoes happy
2. The information is many, the people use very many, has the question to the official net question, replies very promptly
3. The words are written by one of China's own, whether it is a document or a comment is Chinese, learning is very convenient, ZF words at least in English, learning will be more troublesome
4. Frame Compare Chinese taste, what a,d,i method What's good for thinning, but basic 0 configuration is very convenient to use ~
5. Template language it's hanging.
6. Compiled frame, fast and fast drip
7. Orm more worry, model of the coherent operation is very worry

Disadvantages
1. Brother is a neat person, a,d,i method What kind of bird thing? Boulevard to Jane? It's a big, cheap way.
2. thinkphp3.1 version of the previous version with stability, thinkphp3.2 after the change is relatively large, easy to pull

PHP beginners do not go directly to the framework, they first implement a simple MVC small framework, do an ORM layer to play, first understand the next MVC framework of the intentions of the technology to have great promise, or swallowed.

can help you find a job, can help you do a good job

I can't help you.

Very practical, I started from 3.2.3, did some OA, mall aspects of things. Many projects in the domestic use of this, encounter problems will not be too lonely.

  • Related Article

    Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.