I follow this web page: http://www.webdevelopment2.com/cakephp-bake-baking-models-controllers-views-cakephp-12/
go into your cakephp root folder and type cake bake mynewapp On Jul 29, 2:17 pm, David <[email protected]> wrote: > Hello, > > Just a simple question about how you initially bake your cakephp > application...as I have read through two books and they both did it > slightly differently. > > 1. FIRST VERSION....I went to c:/wamp/www> then ran CAKE BAKE .... and > created the folder for the new cakephp application which had (locale, > plugins, tests, tmp, vendors, webroot, config, models, controllers, > views & app_ontroller.php, app_helper.php, app_model.php and > index.php) all these files in the main folder I just created via CAKE > BAKE in. > > 2. SECOND VERSION... I manually copy the cake folder and paste it as a > new folder/site (obviously change the name to something like > 'mynewapp')...then I manually setup the database config file and > change the .salt code in the core.php file. THEN i go to the Cake > Bake Console and can create my Models, Controllers and Views. > By doing it this way I end up with 3 folders in my main web folder > (Vendors, Cake, App) and obviously have all the above files(as > mentioned in FIRST VERSION) in the 'app' folder. > > So which way is correct? or are both correct? > > How do you do it? or do you just use Cake Bake to create a certain > aspect of your cakePHP project, such as you only use it to create the > controllers ? or Models ? or Views? or do you not use it at all???? > > ANY HELP AND ADVICE WILL BE MUCH APPRECIATED > > MANY THANKS > DAVID --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
