cakephp




Web Developer Job Opening

Interested in a web development/programmer job at a stable company, great benefits, near the vacation hotspot Myrtle Beach, SC? Grand Strand Water and Sewer Authority is looking for a Programmer. This is a great opportunity for a full time position working in a fun vacation location. Check out the …



Shrink - Compile, Combine, Compress

For CakePHP developers I would like to welcome Shrink, a plugin I created for a simple way to compile, combine, and compress assets (specifically less). There are several other plugins to do this, but I didn't find one that suited my fancy.. Either they were two complex for my need …



An Easier Way to Schedule Tasks in CakePHP

I hate scheduling cron tasks. It seems like a hidden beast. Its doing things while you sleep, while you eat, and even when you're working. It's like multitasking in another dimension! Well I've noticed in my deploy process I sometimes forget about new cron tasks that have been in my …



Notes on Cakephp 2.2

The following slideshow was from a presentation by Mark Story at CakeFest 2012 covering some of the new CakePHP 2.2: Making the most of 2.2 from markstory



Using Subqueries as Fields in CakePHP

From time to time when querying the database, you have to break the mold. CakePHP gives many options when it comes to complex conditions, but sometimes you need to push the boundaries. Recently I needed to return a subquery as a field name. It wasn't a high demand query, so …



Install PHP Pear Spreadsheet in Ubuntu and Mint

If you've ever had to work with spreadsheets on a linux system, you may have stumbled across the PEAR Excel Spreadsheet Writer. Its a quite useful too, but installing it on your system may be a little misleading. Here's the quick rundown: # install php-pear sudo apt-get install php-pear # install PEAR …



Handling TimeZones in CakePHP

The web is a global resource for anything, anywhere, any timezone. But often times we are careless in consideration for people in other areas of the world. The different timezones offset people's schedules from one area to the next. When handling user profiles (or anything for that matter) where date …



Using Cakephp Components in Shells and Tasks

Not sure if cake has a prettier, more efficient way of grabbing components inside of Shells and Tasks with cakephp's cli, but here is a way which worked for me. Inside your Task (or Shell) just use the following in a similar manner for your component: class FooTask extends Shell …