There was recently a discussion on the CakePHP mailing list on how to get started using Gearman with CakePHP, instead of going back and forth over mails a blog post is more illustrative. The following is the code for using Gearman in CakePHP, The core php example given at http://gearman.org/index.php?id=getting_started has been ported. Gearman worker as a shell (app/Console/Command/TestWorkerShell
![[CakePHP] Do !dlroW olleH using Gearman at SANIsoft](https://cdn-ak-scissors.b.st-hatena.com/image/square/8d71ff5111e05619a10d29bb40d7aebaa75c8fbc/height=288;version=1;width=512/https%3A%2F%2Fs0.wp.com%2Fi%2Fblank.jpg)