PHP and MVC
It is possible to write a web application in PHP without using any readily available MVC framework whose architecture is based on the MVC pattern where the entire application architecture and libraries needs to be written from scratch following the MVC principles. However there are various frameworks available for PHP, which use MVC principles and using them would remove the time and effort required to build the generic MVC code and hence increase scalability and save cost.
While choosing a framework, architects and programmers must consider the following factors:
- Removes as much of the redundant coding as possible
- Implements separation of concerns
- Ensures good coding practice
- Gives as much flexibility as possible to the coder
Below I have listed a few popular PHP MVC Frameworks that can be used to build Agile Scalable Robust Web Applications. You have to choose one or more based on the need of your application.
- Zend Framework 2
- Zend Framework