Fig:Basic Architecture of Frameworks
PHP operates on the Model View Controller (MVC) fundamentals. MVC is an architectural pattern featured in various popular programming languages which breaks apart your domain logic from your user interface. The domain logic is the function that handles information exchange between your database and your user interface. Therefore you're able to modify the domain logic and most importantly for designers, the user interface separately. This removes a lot of confusion and simplifies the entire developmental process. When we refer to MVC we generally perceive it as this: The M stands for the raw data, the V(view/user interface) represents what's actually being viewed, and C (controller) is in fact the domain logic
The main advantages of PHP Frameworks over Core PHP are as follows: Frameworks Like Codeigniter, Cake PHP, Zend, etc. support almost all database connections like SQL, My SQL, Oracle and ODBC. These superlative PHP frameworks follow MVC (Model View Controller) architecture which is a great combination of database application (model), HTML coding (view) and input/ output instructions (controller). It will make your code lightweight, sharp and secure. Frameworks speed up the development process by automatically creating functionality like