Yes but caching doesn`t answer the question why this operation is so slow.
Matthew Weier O'Phinney-3 wrote: > > -- Michał Zieliński <[EMAIL PROTECTED]> wrote > (on Tuesday, 05 August 2008, 01:00 AM -0700): >> I`d like to generate a form which lists products and provides one field >> for >> each product. >> Seems to be easy, so I do sth like: http://paste2.org/p/55571 >> >> Unfortunately it is slow! For 10 products it takes 0.6 sec. to generate. >> Is there a better (more efficient) method to build such forms via >> Zend_Form? >> >> The same I noticed when tried to create a select element which contained >> many options (i.e. list of countries). Without ajax (autocomplete) it >> takes >> ages to generate and seems to be useless in this case. Shame. >> >> I wonder if Zend_Form can be used when it comes to generate a lot of >> inputs/options in select or I`m forced to create it by hand? > > Have you considered caching? > > -- > Matthew Weier O'Phinney > Software Architect | [EMAIL PROTECTED] > Zend Framework | http://framework.zend.com/ > > -- View this message in context: http://www.nabble.com/Zend_Form-and-generating-fields-tp18826312p18830980.html Sent from the Zend Framework mailing list archive at Nabble.com.
