Zend Framework Pagination, third strike 7

UPDATE: new version (r105) available. The component was given a little rewrite as expected, but maybe a little bit later than I would have wanted to :-) So it now has its own Rowclass proxy from which you can pull various infos such as current page, page range, next page, etc all exposed as getter...

Riskle_Form, a quick wrapup 3

So well, I've been busy these days working on my own implementation of a form component in the ZF spirit. This post is to help me see where I'm at with this component, as well as planning future...

findBy{$Field} with Zend_Db_Table

A quick post to show how one can easily implement a findByField wrapper in Zend_Db_Table: [php] /** * Implements a simple findByField wrapper */ public function __call($method, $args) { if...

Zend_Db_Table and tables relationships 7

When developping a database tied application, you eventually come to a point where you get (at least) two tables with a parent/child relationship, such as for example a User table referenced by, say,...

Stripping the logic: the Transfer Object 2

Sometimes you have to pass an object data to another object, or to another layer of your application (who said controller/view ?), while ensuring that the receiving entity will not be able to run...