ZF-3572: Alter Zend_Form components to lazy-load

Issue Type: Improvement Created: 2008-07-03T12:03:42.000+0000 Last Updated: 2008-07-03T13:11:34.000+0000 Status: Resolved Fix version(s): Reporter: Matthew Weier O'Phinney (matthew) Assignee: Matthew Weier O'Phinney (matthew) Tags: - Zend_Form

Related issues: - ZF-3556



Currently, the plugins in Zend_Form -- elements, decorators, validators, and filters -- are always instantiated immediately on attachment when the string form of the plugin is used. This causes issues with concurrency and workflow when building forms.

The solution is to load them only on-demand -- either at get() time or gets() time -- i.e., lazy loading.

This will particularly help use cases when decorators are attached late.


Posted by Matthew Weier O'Phinney (matthew) on 2008-07-03T13:11:34.000+0000

Fixed in r9919

Have you found an issue?

See the Overview section for more details.


© 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.