Posts Tagged ‘CakePHP’

Drag and drop category management with CakePHP

Thursday, April 9th, 2009

by Jamie Munro

CakePHP offers a really nice built-in tree management. In fact, at a bare minimum you simply need to create a table with 2 extra columns, tell your model to act like a “tree” and rather than doing a find(’all’) you do a generatetreelist() or a find(’threaded’) and CakePHP takes care of the rest.

After doing a quick test, I was quite impressed with what CakePHP did for me, but I was not satisified. I wanted to create a really slick category management system that I can re-use and show off. Well, in this tutorial I go about 90% of the way. The only thing I didn’t have time to finish was, rather than redrawing my tree through AJAX, use DHTML and dynamically update my tree after dragging and dropping. (more…)

January 2018
M T W T F S S
« Apr    
1234567
891011121314
15161718192021
22232425262728
293031  

SureFireWealth Affiliate Program
Website Stats

Alexa Rank

18053

Google Page Rank

NA/10