A
common criticism of earlier versions of PHP is that the model-view-controller (MODEL-VIEW-CONTROLLER,MVC) style architecture is not supported. Now developers can make choices in many PHP frameworks. The PHP Framework series will introduce three widely used PHP frameworks--zend, Symfony, and cakephp--to test the similarities and differences of the three frameworks by building and extending the sample application in three frameworks. Part 1th shows the content covered in this series and configures prerequisites. In the 2nd part, you built the sample application in three frames, respectively. This article is part 3rd, where you will extend the application and handle exceptions that do not conform to the general rule.
--> --> -->
About this series
This series is designed for PHP developers who want to start using the framework without having the opportunity to examine the available frameworks in detail. After you finish this series, you will learn why you chose these three frameworks, how to install each framework, and the full application of the test applications that will be extended in three frameworks. It sounds like a lot of learning, but don't worry. Although the content is much, we have broken it down into manageable portions.
Part 1th of this series will list the content covered in this series, describe the framework that will be explored, explain how to install it, and view the first Test application that will be built.
Part 2nd will guide you through building sample applications in three frameworks, highlighting their similarities and differences.
The 3rd part starts with an extended test application and then handles exceptions that do not conform to the general rule. All the frameworks can do a good job. There are a number of things that need to be done outside of the framework setup work for each project. This article will describe those situations.
Part 4 mainly introduces Ajax support. Use native code and Third-party libraries to verify the use of Ajax-specifically, how each framework runs and accepts specific common libraries.
Part 5th will deal with how to work outside the framework. Set up a task (update the script every night) and examine the process of completing the task in each frame.