Kamisama.me

Category: CakePhp

CakeResque 3.0 : welcoming the Scheduled Jobs

CakeResque 3.0 was just freshly baked. The most important feature of this version is the support of scheduled jobs. In addition to the possibility of queuing a job for a later execution, you can now specify when to queue the job. Scheduling jobs Queuing a job on a future date You can know specify when […]

Background jobs with php and resque: part 6, integration into CakePHP

Using background jobs inside a php framework with php-resque is a little bit different, as the framework is imposing its own convention. Let’s see how to create background jobs in CakePHP, with the CakeResque plugin. CakeResque is a CakePHP plugin for creating background jobs that can be processed offline later. CakeResque is more than a […]

For a more visual DebugKit

DebugKit is a very useful tool to debug you cakephp pages. You can view variables passed to the views, sql queries etc … but it requires opening the panel. More than often, we’re interested in a ‘summary’ more than the details. What if it looks like that instead, a la github The toolbar will not […]

CakeResque 1.0

Just released the version 1.0.0 of Cake-Resque a few days ago. A big update that comes with a lot of bug fixes and new functions, thanks to feedback on Fresque, the sister version of Cake-Resque not tied to a framework. Some of the new features : Composer is used to manage all dependencies Php-resque-Ex is […]

CakePHP reverse routing is slow, … and what you can do

Reverse routing is a very handy feature, but also very expensive. In my cake application, I’ve noticed that rendering the views often takes more time than processing the controller action. It takes like 2s to render the view, while processing the action takes 0.5s. Very weird, since views are just a matter of printing variables […]

Cake-Resque, a CakePHP plugin to manage queue system

Cake-Resque is a CakePHP plugin allowing you to put some tasks in a background queue, and execute them later. Update 2012-02-17 : Refer to Github page to updated documentation Update 2012-09-05 : Refer to official website for up-to-date API. CakeResque 1.1 comes with a lot of new features. Background Cake-Resque is based on Resque, written […]