I am new to CakePHP 3.0. Previously I used CodeIgniter. In CakePHP 3.0 we have to create our HTML designs in src/Template rather than src/View.
My question is what is the difference between a View and Template?
Since 3.0 the folders containing view files now go under src/Template instead of src/View. This was done to separate the view files from files containing php classes (eg. Helpers, View classes).
so basicly your html (.ctp files) go into src/Template and your .php files 'helping' your templates go into src/View
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With