Tag Archives: Zend Framework
Super-Skinny your Zend Framework Action Controllers (Part One)

Super-Skinny your Zend Framework Action Controllers (Part One)

Inspired by Padraic Brady’s post on Fat Stupid Ugly Controllers and Chris Hartjes’ Fat Models, Skinny Controllers, I’ve been putting my controllers on a crash diet. Slim controllers are easier to test, encourage the DRY principle and force business logic back into the model layer where it belongs. In this first article, I’ll be looking [...]

Read full storyComments { 8 }
Practical Nested Transactions with Zend_Db and MySQL

Practical Nested Transactions with Zend_Db and MySQL

The need to save dependent or child models appears frequently in object oriented applications. In such cases, it’s usually desirable to group all the save operations for a parent and its children into a single atomic transaction. Many RDBMS brands support transactions, but few can handle these kind of “nested” transactions. This article discusses how [...]

Read full storyComments { 14 }
Blimey! I’ve got a blog!

Blimey! I’ve got a blog!

To be honest, I’m a bit ashamed. I’ve been working with web development and internet marketing for almost half a decade and only now, in 2010 for Christ’s sake, have I got round to starting a blog. There are plenty of excuses: haven’t had the time, I thought it might be tricky to set up, didn’t [...]

Read full storyComments { 5 }