Matt,

I converted a rather large form from plain jane XHTML to a flash form and
the page took about 4 years to load. Nothing to tricky either.... 22 form
elements, 9 of which were select boxes being populated with from cached
queries (average recordset was about 10 records). I was asked to change it
back.



> From: Matt Osbun [mailto:[EMAIL PROTECTED] 
> I've recently begun updating one of our web apps- adding some 
> new features, improving the coding style, and taking 
> advantage of some of the new CF7 features.
> 
> One form was laid out in a nested-table layout, with HTML and 
> CFM controls mixed in.  I rewrote it using a CF7 XML format 
> with cfformgroup tags, and execution time went through the 
> roof.  I rewrote the queries on the page to use cached 
> results, and managed to get execution time down to about 
> 11000 ms, on average, according to the debug information.
> 
> I changed the format back to HTML, and execution time sank to 
> about 250 ms.
> 
> I chopped the form down to a very bare-bones layout, but the 
> execution time increace was roughly the same.
> 
> Now, there's nothing requiring me to use an XML format here, 
> so I'll likely switch to HTML and replace the table layout 
> with DIV's.  The Label attribute of cfinput and <cfformgroup> 
> are convieniences, to be sure, but not requirements.  I'm 
> just curious to see if anyone else has seen this.  Is this 
> normal, or is there likely a misconfiguration on my server?  
> I'd expect a performance hit using XML format versus HTML, 
> but the scale I'm seeing seems a bit excessive.



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:213860
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to