[Solar-talk] controller helpers, maybe?

Rodrigo Moraes rodrigo.moraes at gmail.com
Mon Jul 9 09:04:47 CDT 2007


Hi,
I'm adding more and more helper methods to my base application
classes, and started to think in something like view helpers, but for
controllers.

I've tested the idea following very closely Solar_View helper
implementation, and it worked so fine. :) It's all in
Tipos_Controller_Page / Tipos_Controller_Helper:

    http://dev.tipos.org/browser/trunk/Tipos/Controller/Page.php
    http://dev.tipos.org/browser/trunk/Tipos/Controller/Helper.php

Do you think this would be too much? Or maybe have other ideas to add
extra shared functionalities to controllers?

-- rodrigo


More information about the Solar-talk mailing list