Archive for October, 2010 | Monthly archive page

CakePHP: Using a model inside a component

Apparently this is discouraged for some mysterious reason, but if like me you want to have nice code where models are used from within components (so you don’t have to clutter up your controllers or shell classes), here’s how: $this->ModelName = ClassRegistry::init(‘ModelName’); Source For example, you can place it like this at the start of [...]

Debious – A dubious Debian packaging GUI

Just some little (unfinished) concept mockup. Seeing that much of it still ends up as a “text box with syntax highlighting” it’d probably make sense to implement it as a gedit plugin. Balsamiq source XML Just some little (unfinished) concept mockup. Seeing that much of it still ends up as a “text box with syntax [...]