model view controller, it is a software architecture, used to isolates business logic from presentation logic. cakephp is based on mvc pattern.
- The Model represents the application data
- The View renders a presentation of model data
- The Controller handles and routes requests made by the client
list some of the features in Cake php
- Compatible with versions 4 and 5 of PHP
- MVC architecture
- Built-in validations
for connecting to database, it should be renamed to database.php
What are controllers?
A controller is used to manage the logic for a part of your application. Most commonly, controllers are used to manage the logic for a single model. Controllers can include any number of methods which are usually referred to as actions. Actions are controller methods used to display views. An action is a single method of a controller.
What is default function for a controller?
What is a Component in cakephp?
Components are packages of logic that are shared between controllers. They are useful when a common logic or code is required between different controllers.
What are commonly used components of cakephp?
* Access control lists
* Request handling