Issues

ZF-2562: Create interfaces for the various Zend_Form classes

Issue Type: Improvement Created: 2008-02-04T11:49:08.000+0000 Last Updated: 2008-03-21T16:25:38.000+0000 Status: Resolved Fix version(s): - 1.5.0 (17/Mar/08)

Reporter: Matthew Weier O'Phinney (matthew) Assignee: Matthew Weier O'Phinney (matthew) Tags: - Zend_Form

Related issues: Attachments: - Interface.php

Description

Currently, Zend_Form has only concrete classes. For issues of composition and extendibility, we should have one or more interfaces which can be used to create alternate implementations.

Comments

Posted by Matthew Weier O'Phinney (matthew) on 2008-02-13T13:55:56.000+0000

Base interface covering shared functionality of all class types

Posted by Matthew Weier O'Phinney (matthew) on 2008-02-13T13:56:21.000+0000

Form interface

Posted by Matthew Weier O'Phinney (matthew) on 2008-02-13T13:56:51.000+0000

Display Group Interface

Posted by Matthew Weier O'Phinney (matthew) on 2008-02-13T13:57:09.000+0000

Element interface

Posted by Matthew Weier O'Phinney (matthew) on 2008-02-13T13:57:33.000+0000

SubForm interface

Posted by Matthew Weier O'Phinney (matthew) on 2008-02-13T13:59:48.000+0000

The interfaces became too bloated and complex to be usable. While there were a finite number of methods required for each, there were also issues with multiple interfaces interfering with each other (e.g., Iterator, Zend_Form_Interface), and the fact that Zend_Form itself implemented all but the Element and DisplayGroup interfaces in order to keep the current API.

Closing as "Won't Fix".

Have you found an issue?

See the Overview section for more details.

Copyright

© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.

Contacts