| CakePHP Official Site · Rules and Regulations |
Help
Search
Members
Calendar
Shoutbox
|
| Welcome Guest ( Log In | Register ) | Resend Validation Email |
![]() ![]() ![]() |
| LCR |
Posted: Aug 11 2011, 05:01 PM
|
|
Newbie ![]() Group: Members Posts: 3 Member No.: 3098 Joined: 11-August 11 |
Hi,
I'm just starting out on Cake, have read the entire manual online and watched various videos, etc. (Red eyes now!) I've done the blog tutorial which entails a 'vanilla' download of cake and writing some code, but some of the tutorials I've seen say that you should bake the app to start with (cake bake <appname>), and this appears to provide you with somewhat fuller contents for your 'app' directory from the outset - e.g., it puts a pages_controller.php in /controllers, and even app_controller.php, app_helper.php and app_model.php in the ROOT directory of the app, which is against convention if I've understood correctly... So my question is: is it better to start developing on top of a fresh download, or on top of a "baked" app? Many thanks. |
| blux |
Posted: Aug 12 2011, 01:47 PM
|
![]() Advanced Member ![]() ![]() ![]() Group: Super Moderator Posts: 447 Member No.: 101 Joined: 14-November 07 |
Hi,
It doesn't matter. Baking an app will only save you some writing time. It will create some files in the root directory and it is correct to do so. I will not repeat myself and redirect you to this discussion EDIT : I moved the topic in the right section of the forum -------------------- You see, wire telegraph is a kind of a very, very long cat. You pull his tail in New York and his head is meowing in Los Angeles. Do you understand this? And radio operates exactly the same way: you send signals here, they receive them there. The only difference is that there is no cat.(Albert Einstein (1879 - 1955), when asked to describe radio)
|
| LCR |
Posted: Aug 15 2011, 10:26 AM
|
|
Newbie ![]() Group: Members Posts: 3 Member No.: 3098 Joined: 11-August 11 |
Thank you, Blux.
|
![]() |
![]() ![]() ![]() |