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:
app->application folder where all your code resides
cake->cakePHP Core Framework[dont touch it]
vendors->using for third party libraries
Now click on 'app' folder,see
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.
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