09 Sep 2009

CakePHP Baking Console with XAMPP on OS X

CakePHP, PHP, Tutorials posted by Brandon Showers

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 »

06 Sep 2009

Adding a file type for syntax highlighting in Dreamweaver

Technical, Tutorials posted by Brandon Showers

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:

  1. Navigate to your dreamweaver directory
  2. Open the file ‘configuration/DocumentTypes/MMDocumentTypes.xml’
  3. Pick the syntax highlighting you … read the rest of this article »