PHP is getting a hell of a lot more use these days. This reflects the importance of it for a company like IBM. – Bola Rotibi
PHP has evolved from procedural to object oriented Programming (OOP) language with new rules and functionalities, which are typical for more mainstream programming languages such as .Net and Java.
Over the last few years web development industry has seen ground breaking changes in frameworks. As the time has gone popular PHP frameworks like Laravel, CodeIgniter, Symfony and Zend have just got more bigger and better and become handy tool for developers to build giant application effortlessly.
Laravel, CodeIgniter, Symfony and Zend are some of the most popular frameworks for PHP development. They provide an extensive architecture for developing, maintaining, and deploying applications and reduce development costs by helping developers write less code.
All the framework (specially Codeigniter) are based on an MVC architecture that is both powerful and easy to understand. MVC pattern (controllers, models and views) help separate presentation from business logic. In an MVC application all web requests are handled by controllers. A “controller” is responsible for interpreting the user’s request and interacting with the application’s business objects in order to fulfill the request.
These business objects are represented as the “model” part of the MVC. Models are active representations of database tables: they can connect to your database, query it (if instructed by a controller) and save data to the database.
Based on the outcome of the request execution, the controller decides which “view” to forward the model to. The view uses the data in the model to create the presentation that is returned to the user.