Cakephpdocs 5

CategoryNaming Conventions - Controller
Code Examples=> controller name must match to a database table name; => If you decide to create controllers with names other than tables of the database, you should actually not create a controller but use a component instead. => The names of database tables as well as controllers are lowercase and in plural form. => example: orders table will have a controller php file name orders_controller.php under app/controllers folder. The controller class will follow OrdersController convention (CamelCased).
Test Code
Links
Remarks
Cancel