Options:

Directory structure of cakePHP

At first you need to download the framework from http://cakephp.org/. Try to download the stable release version.Unpack the zip folder.

you will find three folder:

  1. app->application folder where all your code resides
  2. cake->cakePHP Core Framework[dont touch it]
  3. vendors->using for third party libraries

Now click on 'app' folder,see

cakePHP_folder_structure

there may be some other folders.lets forget it for now.

i am not going to show the other folder's inner structure.and also there are some other files inside the main folder.i.e index.php and .htaccess .these two files are important.


Please remind that when you are going to use any framewok, you need to maintain some convention.here in cake you see how the app folders shoul be.you also maintain some naming convention when creating model,views and controllers.we will discuss in details on the next post.

0 Comments so far »

Leave a comment

Related topics

Your Ad Here