There are several different ways to approach this, but I've never heard the one you just heard. The way you are doing it is a standard way if you only want to have 1 app - you put your controller in /app/ controllers, your model in /app/models, and your views in /app/views/ controllername/.
If you want to have several different apps, you can create a folder inside cakephp for each app (essentially, just copy the app folder and rename it). If you put things in /app/addressbook/, I don't think it would work. hydra12 On Jan 17, 3:27 am, aamir <[EMAIL PROTECTED]> wrote: > Hello, > I have created a small address book in cakephp and I have used the > default directory structure of cakephp. E.g. > > I have stored my addresses_controller.php in > cakephp\app\controllers\addresses_controller.php > > and address.php ( model ) in > cakephp\app\models\address.php > > and views files in views folder e.g. > cakephp\app\views\addresses\add.thtml > > is this approach ok? > > i have just heard that i need to create a folder in app for my every > new site. E.g. > cakephp\app\addressbook > > and then i need to create controller, model and views directories in > this directory. > > Please assist me what should I do? > > Thanks, > Aamir. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---