CakePHP is a popular framework that is widely used by web developers and has an active community, which is constantly developing. Until now, CakePHP has reached version 3.0 dev3. I prefer to use the stable version, which is version 2.4. In version 3.0, reportedly many added features and a completely new, so we as developers are very easy to create sophisticated web. Check our snippet code for cakephp
CakePHP is a machine, you must creating a style manually. For that, I usually combine CakePHP with Bootstrap. Bootstrap is a CSS framework issued by twitter. Well, this post will explain how to combining Cakephp with bootstrap.
Ok, the following steps.
- Download the latest cakephp, but select stable. (version 2.5.1)
- Download the latest bootstrap. click here
Ok, preparing is finished.
Copy Bootstrap CSS to CakePHP Folder
After that, open the bootstrap file that you downloaded. Search files in a CSS folder below.
then copy to folder Cakephp /app/webroot/css/
Copy Bootstrap JS to CakePHP folder
then copy to cakePHP /app/webroot/js/
Lets create a simple web layout, then save to /app/View/Layouts/default.ctp
Now, you can get starting creating many project with CakePHP and bootstrap.