|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
XML Form questionI'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. Matt Osbun Web Developer Health Systems, International ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:213857 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=17837.14401.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54 |
|
|
RE: XML Form questionMatt,
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:mosbun@...] > 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=17837.14401.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54 |
|
|
|
|
|
RE: XML Form questionI am interested to see if some MM people have some ideas as to why the
execution times are so dramatically higher. If this is not a configuration issue I would be reluctant to use them for larger forms. Mike > From: Matt Osbun [mailto:mosbun@...] > I was surprised to see this kind of execution time increace > with Xforms, though. > Matt Osbun ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:213868 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=17837.14401.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54 |
|
|
|
| Free embeddable forum powered by Nabble | Forum Help |