amCharts with CakePHP

There is a very slick flash charting tool out there called amCharts (www.amcharts.com). If you are in need of some reporting

Read more

CakePHP and custom SQL

If you’ve been around CakePHP for some time, you’ve probably heard that writing custom SQL is pretty much frowned upon.

Read more

Redirecting to the home page

Sometimes you’d like to create a link that will redirect your traffic to the homepage. For example, you have some

Read more

Don't forget your primary key

If are you are using a non-standard column name for your primary key (something other than ‘id’), maybe from a

Read more

JSON output with CakePHP

Update (2/14/2011): Take a look at a more robust approach that works with recent 1.3 versions of CakePHP. Update (9/25/2008):

Read more

JQuery autocomplete in CakePHP

Update to this post is here. (New libraries and new techniques are discussed). This is a quick example on how

Read more

Multiple checkboxes

One question that I’ve seen come up a few times is: “How do I handle multiple checkboxes in a form?”

Read more

Hooray JQuery

I’ve completely abandoned using Prototype/Scriptaculous in favor of JQuery. I simply prefer the way JQuery does things: Simple syntax No

Read more

Excellent HTML table helper

If your application requires to display a lot of data from the DB, then I suggest you take a look

Read more

CSS files and $scripts_for_layout

You probably know that if you have $scripts_for_layout in your site’s layout, then you can¬†include JS files from the view.

Read more
%d bloggers like this: