Archives for Mar,2008

You are browsing the site archives by date.

php MySQL Leoprd

One thing changed with Leopard is the socket for Mysql. It moved to /private/tmp, so you may need to configure your php.ini file to point it to the new location. To do so, open the file ‘/private/etc/php.ini‘, (if no such file exists, then make a...
Read More


Occasionally a new user will run in to mod_rewrite issues, so I’ll mention them marginally here. If the Cake welcome page looks a little funny (no images or css styles), it probably means mod_rewrite isn’t functioning on your system. Here...
Read More

URL Rewriting

An Introduction to Rewriting origianl post Readable URLs are nice. A well designed website will have a logical file system layout, with smart folder and file names, and as many implementation details left out as possible. In the most well designed sites,...
Read More

Using JSON in CakePHP 1.2

original post I’m going to explain you how to setup CakePHP 1.2 to output JSON with help of Router::parseExtensions() and the JavascriptHelper::object() method. In this example we’re going to use a simple posts controller like the one in the Cake...
Read More

json cakephp

definevar $helpers = array(‘Javascript’);in your app_controller.phpNOTA: esto pisa la variable helpers, por lo tanto no olvidar agregar ‘Html’ a la lista del array:var $helpers = array( ‘Html’, ‘Javascript’...
Read More

Leopard VNC client

Leopard Tip: VNC Client I’ve been using “Chicken of the VNC” for about 6 months in Tiger. Although ”Chicken of the VNC” is a great app I have noticed that the development has been halted for over 2 years now. With the advent of OS 10.5 Leopard...
Read More