Current Situation and Prospects of PHP development framework

Source: Internet
Author: User
Introduction: With the popularity of RubyonRails, php (as the mainstream development language), a popular Web application scripting language, has also seen a large number of new-generation development frameworks. At the same time, domestic php (as the mainstream development language) developers also began to keep up with foreign development, launched a different development framework. RubyonRailsSyntaxHighlight

Introduction:
With the popularity of Ruby on Rails, php (as the mainstream development language), a popular Web application scripting language, has also seen a large number of new-generation development frameworks. At the same time, domestic php (as the mainstream development language) developers also began to keep up with foreign development, launched a different development framework.

Ruby on Rails boosts change
Before RoR became popular, php (as the mainstream development language) also had many development frameworks, such as Mojavi, WACT, php (as the mainstream development language) Mvc and Seagull. Although these frameworks also adopt the MVC mode, database abstraction layer, and other technologies. However, since php (as the current mainstream development language) was not as popular as it is now, these frameworks were not widely used and eventually fell short of silence.
After learning the fast development capabilities provided by RoR, php (as the mainstream development language) community is injected with doping. Various application technologies and development frameworks emerge one after another.

The birth of a new generation of frameworks
Php (as the mainstream development language) community is not in too much debate after it is stunned by RoR. Instead, they took immediate action and started the design of the next-generation framework. The first batch of frameworks were basically the clone of RoR. For example, php (as the mainstream development language) on Trax (even the names refer to Ruby on Rails), Taniphp (as the mainstream development language), and Akelos. The biggest feature of these frameworks is to strive to clone RoR by 100%, regardless of the architecture, design mode, or usage.
These frameworks attracted the attention of developers at the beginning, but with the developer's in-depth understanding, the halo on these frameworks gradually fades. Obscure architecture, poor performance, and too many restrictions make these frameworks difficult to use in real projects.
At this time, many php (as the current mainstream development language) developers believe that they can use RoR design ideas, but should not copy the structure and implementation of RoR. To this end, some frameworks that also promote rapid development have started to appear in the php (as the mainstream development language) community. Among these frameworks, Cakephp (as the mainstream development language) and Symfony are the best.

Cakephp (as the mainstream development language) (http://www.cakephp (as the mainstream development language). org /)
Cakephp (as the mainstream development language) is full of RoR shadows. the layout management from ActiveRecord mode to view is very similar to RoR. In addition, Cakephp (as the mainstream development language) also tries to implement many things like RoR at the beginning. However, the development team of Cakephp (as the current mainstream development language) later found that php (as the current mainstream development language) is significantly different from Ruby, therefore, many design in RoR, even in php (as the mainstream development language), lacks practical value.
Cakephp (as the current mainstream development language) gradually draws out of the RoR shadow in its development and begins to explore architectures and implementations that make better use of the advantages of php (as the current mainstream development language. Therefore, for some time, the Cakephp APIs (as the mainstream development language) have undergone drastic changes, so that other developers have to wait and see.
However, due to some unreasonable architectures in the early stage and too much imitation of RoR, the core part of Cakephp (as the mainstream development language) becomes increasingly hard to understand and the running performance is also unsatisfactory. Cakephp (as the mainstream development language) uses a large database operation object as the basis for all business objects. Although this is conducive to rapid development, testing of business logic objects is very difficult.
For small projects, Cakephp (as the mainstream development language) is ideal. Excellent rapid development capabilities, rich APIs, and detailed documentation can help developers quickly complete their work. However, with the increase of the project scale, the limitations of Cakephp (as the mainstream development language) have become prominent.

Symfony (http://www.symfony-project.com /)
Symfony is a very mature framework that makes a lot of use of existing open-source projects. Symfony uses Mojavi's core code to implement the MVC mode of the framework and uses Propel as the database abstraction layer. Symfony is not only powerful, but also fully supports ajax (static dynamic websites. With a large number of documents and tutorials provided by the official website and an active community, many developers are welcome.
However, the biggest problem with Symfony is that it uses too many open-source projects with different styles to form a framework. Because Mojavi and Propel are both quite complex, the Symfony structure is very complex and hard to understand and learn.
However, for enterprises that want to select a framework as their internal system infrastructure, Symfony's maturity, rich documentation, and active communities are worth considering. After all, the enterprise's internal systems focus more on stability and long-term support.

Commercial interests and ultimate simplicity
After seeing the potential commercial value of the php (as the mainstream development language) development framework, Zend.com and IBM announced that they would launch a php (as the mainstream development language) advantageous development framework. At one time, this message caused an earthquake in the entire php (as the current mainstream development language) community. Everyone began to look forward to this development framework with an "official" Background to point out a correct path for php (as a mainstream development language) developers.
However, the world is hard to test. after The Zend Framework team published several code snippets, some developers immediately pointed out that these code snippets cannot be implemented. It turns out that these code snippets are just perfect. Limited by the ability of php (as the mainstream development language) language itself, Zend Framework did not implement the implementation product that was originally promised to be similar to the ActiveRecord mode in RoR.

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.