Blog Tutorial - Adding a layer - CakePHP Cookbook v2.x documentation - 1 views
-
Cake views are just presentation-flavored fragments that fit inside an application’s layout. For most applications they’re HTML mixed with PHP, but they may end up as XML, CSV, or even binary data.
-
Layouts are presentation code that is wrapped around a view, and can be defined and switched between
-
if the HTTP method of the request was POST, try to save the data using the Post model.
- ...6 more annotations...