Powered by Invision Power Board



  Reply to this topicStart new topicStart Poll

> Should a new app be initially baked or not?
LCR
Posted: Aug 11 2011, 05:01 PM
Quote Post


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.
PM
Top
blux
Posted: Aug 12 2011, 01:47 PM
Quote Post


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)
PM
Top
LCR
Posted: Aug 15 2011, 10:26 AM
Quote Post


Newbie
*

Group: Members
Posts: 3
Member No.: 3098
Joined: 11-August 11



Thank you, Blux.
PM
Top
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:

Topic Options Reply to this topicStart new topicStart Poll

 

Disclaimer:
This forum is in no way affiliated with the Cake Software Foundation
The CakePHP name and icon is a trademark of the Cake Software Foundation


Lo-Fi Version