Return of the Demos
24 Sep 2006
A brief not to say that I'll be putting a couple of Demos back on the site, and I'll be adding to the main demo page as I go. All of the demos will be put up as plugins.
The pagination demo and source has always been available, and adding to that, the the next example is the Title tutorial. A very simple example based on the original tutorial from the wiki...
Plugins and Routes
05 Sep 2006
Routes are a great feature, but if you try using them with Plugins you might find that you start pulling your hair out. Fear not however, there's always a solution and it's usually not that difficult. If you use routes of the form below, you can map directly to a plugin's page:
$Route->connect('/Something/*', array('controller' => 'PluginName', 'action' => 'ControllerName',...$Route->connect('/Something/*', array('controller' =>'PluginName', 'action' => 'ControllerName',...
Sessions and Plugins
18 Aug 2006
If you use plugins, you may have noticed that your app session data isn't avaialbe in your plugins and vice-versa. There's a good reason for that, as a plugin is intended to be a mini application, self contained etc.
In my case, this was a problem as my plugins are extensions or parts of my application and not seperate. To get around the wandering session data it was...