How to differentiate the quality of PHP frameworks?

Source: Internet
Author: User
How does the PHP framework distinguish between good and bad? It is strange to see different people comment on different frameworks. I am a beginner in PHP. At present, I just used thinkPHP and CI, and I am not very familiar with it. I just learned about CURD, but I really don't feel any essential difference, how to Be a newbie... how does the PHP framework distinguish between good and bad? It is strange to see different people comment on different frameworks. I am a beginner in PHP. At present, I just used thinkPHP and CI, and I am not very familiar with it. I just learned about CURD, but I really don't feel any essential difference, how can I choose a suitable framework as a newcomer?

Reply content:

How does the PHP framework distinguish between good and bad? It is strange to see different people comment on different frameworks. I am a beginner in PHP. At present, I just used thinkPHP and CI, and I am not very familiar with it. I just learned about CURD, but I really don't feel any essential difference, how can I choose a suitable framework as a newcomer?

Generally, you need to weigh two points when designing a framework: development efficiency and operation efficiency. Some frameworks are highly efficient in development. Many frameworks provide ready-made solutions. For many complex functions, you only need to write your own configurations and add a few logics. The cost of such frameworks is generally lower operation efficiency, many complex situations need to be handled by code encapsulated in the framework. A large amount of logic and pre-judgment that you cannot use are run in the framework. Some frameworks even require several hundred milliseconds for initialization. In other frameworks, only a few core functions are provided. In a slightly more complex situation, developers need to encode and implement the functions themselves. Such frameworks generally pursue concise functions and ultra-high operating efficiency.

As a newbie who has only written simple programs, it is really difficult to find the advantages and disadvantages of different frameworks. At this time, you do not have to carefully select your own frameworks and directly use the frameworks selected by experts in the company, it is good to accumulate more experience.

Meet two requirements:

  1. Best suited to your own code level

  2. Best suited to the project to be developed

Is the best

Thinkphp has a sense of accomplishment in getting started with thinkphp, learning new features that php has been developing

There is no best, only the most suitable

Direct pass without unit test

Good or bad is not absolute, the key is suitable for you = ~ ω ~ =

Use it if you think it is easy to use. Just like a mobile phone. Android and iphone follow your needs. No.

I think it is easy to use.

1. Many users: problems are easy to solve
2. Comprehensive documentation: If you have a Chinese document, it is easy to use. If the English is superb, you can ignore the advantages of the Chinese document.
3. Easy to get started.

I bought a php book and read several pages instead of reading it. Then thinkphp starts to look at it.
A master who leads me into the door is missing. /(ㄒ o Records )/~~

Highly scalable. The underlying code structure and annotations should be clear.

Only suitable, not good or bad

The higher the abstraction level, the higher your development efficiency.

Framework 1 provides a standard 2 improves development efficiency

In this advanced tutorial, you may want to learn how to use laravel, the world's first.

As a newbie, if you want to understand some concepts, you can learn tp now. Because there are many Chinese documents, the Community is Chinese, and basic problems can be solved.
Ci is also acceptable, and the documentation is also very rich

When you have some development experience and try laravel or yii, it may be easier to understand.

At the beginning, it was quite good not to use the framework. I learned some basic principles, such as the paging principle. Many of these frameworks are encapsulated, and many people do not know the principle.

There is no good or bad, as long as you like it is good.
Like a girl, There is no good or bad. As long as you like, she is the most beautiful woman in the world.

When the framework is more useful

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.