// archives

OSX

This category contains 5 posts

Developing in PHP with NetBeans 6.8

The problem: I love Textmate as an editor period. There are some things though that I started missing while developing: Code completion Inline documentation instant error checking debugging from my editor must have strong syntax highlighting support (for dark themes like my favourite Sunburst) So I started looking around for an IDE(or Editor) that would [...]

Themed Tab Terminal for OSX Leopard

If you’re working a lot with remote sessions like I do, you inevitably type a command in the wrong window… Most of the time it’s something harmless like an ls or an cd command, but if you’re trying to clean stuff up with an rm command things can get bad. The easiest way to differentiate [...]

CakePHP: Calling bake from every dev-app install folder

If you use a setup like I explained in my previous post calling the bake script involves a lot of typing with the core and app parameter paths. If I want to call the bake script from the /Users/mwesten/Sites/dev/myapp cake app folder, it has to be done like this:

CakePHP: Central cake core install with multiple apps

When developing on my system I like to use only one version of the core files. If I update the core files from svn it gets updated for all apps I’m working on. The way I’m using this is explained below: In my web-root I do an svn export of cake latest: cd /Users/mwesten/Sites svn [...]

CakePHP on OSX: Problem using Bake.php script

If you are getting the following errors while trying to bake something on osx 10.4: "Warning: mysql_connect(): Can’t connect to local MySQL server through socket ‘/var/mysql/mysql.sock’ (2) in /Library/WebServer/Documents/development/bakery/cake/libs/model/dbo/dbo_mysql.php on line 117" try doing the following: sudo ln -s /tmp /var/mysql Or you could follow the instruction given by Apple: Mac OS X Server 10.4: [...]