Doesn't time fly!

After reviewing the code in Validator/Rules, I'm convinced that I could refactor Zend_Acl to use the Zend_Validator with a base 'acl' rule and reduce some excess baggage in the code.

The integration with the controller concerns me less as I can see that would be a design choice implemented on a per-site basis, but the Filter and Validator as base classes/interfaces is something I know a lot of developers will find handy as bricks and mortar to the more complex classes.

Gavin/Darby/Andi - what would we need to do to move this into a more finalised proposal? Chris, I would put my hand up to help finalise documentation/testing/feedback/coding to get these towards a finished implementation.

Do I sound eager? ;D

The code I posted with the proposal back in March (yikes) can be downloaded here:

    http://ap3.sourceforge.net/zf_filter-validator_0.2.zip

It should give you the general idea as the code is very simple. There are examples and a README.txt. There is even an example showing an ultra-basic Form Controller. I think the only additional feature requested is to add the ability to have global Filters that run on every value in the Request.

I'd be glad to upgrade this to work with a more current Request class and implement any other changes that you and Ralf need.

--

Simon Mundy | Director | PEPTOLAB

""" " "" """""" "" "" """"""" " "" """"" " """"" "  """""" "" "
202/258 Flinders Lane | Melbourne | Victoria | Australia | 3000
Voice +61 (0) 3 9654 4324 | Mobile 0438 046 061 | Fax +61 (0) 3 9654 4124
http://www.peptolab.com


Reply via email to