Re: [Xsltforms-support] quicker rendering
Brought to you by:
alain-couthures
From: Stephen C. <ste...@gm...> - 2012-02-09 21:59:17
|
Hi Dan, Its not the model that is the issue in this case but the form itself. Doesn't the current versions of XSLTForms make use of a browser DOM object for each model instance? Whereas originally it built a Javascript tree which was slower. On Fri, Feb 10, 2012 at 1:11 AM, Dan McCreary <dan...@gm...>wrote: > Hi Stephen, > > One alternative I might suggest is to use a "multi-tab" form and use a > technique called "incremental model loading" if your model is large. > > Here is a demo of incremental model loading: > > http://en.wikibooks.org/wiki/XForms/Incremental_Model_Loading > > here is some sample UI for the tabs: > > http://en.wikibooks.org/wiki/XForms/Horizontal_File_Tab_Menu > > The tricky part comes if you have bind rules that span tabs. > > - Dan > > On Thu, Feb 9, 2012 at 3:19 AM, Stephen Cameron < > ste...@gm...> wrote: > >> Hello All, >> >> I have a large xform and its going to get bigger, the time to transform >> the xform and render it is now quite significant and getting to the point >> where it is an issue, given that people don't see anything happening >> throughout the process. >> >> One option is to pre-transform the xml 'form' into an html 'page', which >> I used to do successfully but now cannot using Saxon, it complains. >> >> But my questions actually relate to browser transformation: >> >> 1. If I give all of the xform controls an explicit ID, rather than the >> xsltforms.xsl stylesheet having to calculate them, does this speed up the >> transformation significantly? >> >> 2. Is it possible perhaps to change the way that the transform occurs >> such that the html markup is generated first and then the Xform related >> javascript second. In theory the browser should start rendering the page >> before the parsing of the Javascript section is completed. I'm imagining >> this as a two-pass process in the xsltforms stylesheet. >> >> I have to say that once the rendering is completed the performance of the >> form itself is excellent, despite its growing complexity. I assume this is >> due to the presence of a true dependency graph in the newer versions of >> XSLTForms. :) >> >> Thanks for your insights. >> >> Steve Cameron >> >> >> >> >> >> ------------------------------------------------------------------------------ >> Virtualization & Cloud Management Using Capacity Planning >> Cloud computing makes use of virtualization - but cloud computing >> also focuses on allowing computing to be delivered as a service. >> http://www.accelacomm.com/jaw/sfnl/114/51521223/ >> _______________________________________________ >> Xsltforms-support mailing list >> Xsl...@li... >> https://lists.sourceforge.net/lists/listinfo/xsltforms-support >> >> > > > -- > Dan McCreary > Semantic Solutions Architect > office: (952) 931-9198 > cell: (612) 986-1552 > |