CakePHP Baking Console with XAMPP on OS X
I am going to quickly show you how to setup your CakePHP Baking Console on XAMPP for OS X. Ok lets jump right in.
Download the latest version of CakePHP
If you have not already done so please download the latest version of CakePHP. Now that you have downloaded Cake, unzip and place it into your htdocs folder on your XAMPP setup. I would suggest changing the folder name to something a little more friendly but of course this is up to you.
Baking Console and PHP5 bin file paths
Now that we have installed cake we need to locate the absolute file paths for the cake console and the php5 lib file. Take a note of these two paths. We will need them later.
The absolute path to the Cake Console folder will … read the rest of this article »
Adding a file type for syntax highlighting in Dreamweaver
I develop most of my website applications with CakePHP which use view files with the file extension *.ctp. This means I lose syntax highlighting in Dreamweaver so I decided to add a new document type for syntax highlighting doing the following:
- Navigate to your dreamweaver directory
- Open the file ‘configuration/DocumentTypes/MMDocumentTypes.xml’
- Pick the syntax highlighting you … read the rest of this article »