-- Jurriën Stutterheim <[EMAIL PROTECTED]> wrote
(on Wednesday, 08 August 2007, 11:07 AM +0200):
> Is the issue from 5.2.0 relevant for later versions of PHP?
No. 5.2.0 introduced a BC break in property overloading with previous
PHP versions, as well as shipped a broken version of ArrayObject. The
end result was that it was impossible to have an overloaded array
property.
5.2.1 fixes things somewhat, in that ArrayObject now works. However, you
still cannot overload to arrays unless they are public properties, and
even then, you still cannot create arrays using a notation such as:
$o->foo[] = 23; // Will not create an array
if using both __get and __set, even if __set() creates public
properties.
> As for the ZFI and chains, I feel like it is a shame to reproduce
> existing code. Although I have to agree ZFI might be overkill and/or
> not suited for combining with the Zend_Form API, I do believe the
> Zend_Filter and Zend_Validate chains can be extremely usefull for
> Zend_Form.
>
> Cheers,
>
> Jurriën
>
>
> On 08 Aug 2007, at 09:51, Kevin McArthur wrote:
>
> >This is very similar to the syntax I posted previously. It's a
> >solid approach.
> >
> >The only issue I came along trying to mock this up is the
> >implementation details (see the previous thread about Zend_Session
> >and php 5.2.0) as well as wether or not the component starts a-new
> >or layers on top of Zend_Filter_Input and the concept of chains.
> >
> >K
> >----- Original Message ----- From: "Jurriën Stutterheim"
> ><[EMAIL PROTECTED]>
> >To: "Zend Framework General" <[email protected]>
> >Sent: Wednesday, August 08, 2007 12:49 AM
> >Subject: [fw-general] New Zend_Form Proposal
> >
> >
> >Hi all,
> >
> >A few days ago I posted a new Zend_Form proposal. It takes a somewhat
> >different approach than Simon & Ralf's proposal.
> >It has been discussed a few times on #zftalk, but I feel that it
> >could really use some community input.
> >Please read it and comment on it at:
> >
> >http://framework.zend.com/wiki/pages/viewpage.action?pageId=36061
> >
> >
> >Thanks!
> >
> >
> >Jurriën=
> >
>
--
Matthew Weier O'Phinney
PHP Developer | [EMAIL PROTECTED]
Zend - The PHP Company | http://www.zend.com/