Xoetrope
HomePage :: Categories :: PageIndex :: RecentChanges :: RecentlyCommented :: Login/Register
Most recent edit on 2008-01-09 16:45:13 by ValCas

Additions:
Return to the Evaluator's Guide



Edited on 2008-01-09 09:54:45 by LuanO

Additions:

Dynamic Content Creation

Generate and deploy

In some instances it's desirable to generate the page XML in batch and then to deploy an application. This approach in used by CarouselCRM to 'scrape' the HTML that drives the SugarCRM interface and output the XUI XML. This XML is then delivered to the client with the application via Java WebStart. This approach is necessary as the SugarCRM system administrator can modify the fields that make up a page. So in order to replicate the pages faithfully this process is carried out each time a layout is changed.

Generate on the fly

In other scenarios, it's desirable to have pages rendered by XML coming from a live HTTP connection. This means that an application stub can be deployed to the client machine once and the presentation can be changed simply by modifying the metadata on the server. It's also possible to cache the page XML for use off-line, if necessary, and to retrieve updates when the server is contacted again.

Mix and match

XUI includes the ability to include multiple page fragments in the one page (using the include element). These fragments can come from different sources, some might be predefined and others might be dynamically generated. XUI also allows layering of content and in the context of dynamically generated content it is often useful to mix in predefined or static content in background layers. Using background layers allows branding, artwork and styling elements to be included consistently and easily so that the dynamic content does not have to look boring or suffer from a lowest common denominator type approach. The example MedicalClinic application was built in this way.

Extend

The flexible/modular nature of XUI's architecture also makes it possible to extend the way pages are loaded. The XuiBuilder component is used to load pages by default but the framework allows multiple builders to be loader. XuiPro provides several builders for various file formats, including a generic builder driven by an XML configuration. The generic builder can be configured to handle a wide range of file formats.


Deletions:

Dynamic Content Creation

Generate and deploy
In some instances it's desirable to generate the page XML in batch and then to deploy an application. This approach in used by CarouselCRM to 'scrape' the HTML that drives the SugarCRM interface and output the XUI XML. This XML is then delivered to the client with the application via Java WebStart. This approach is necessary as the SugarCRM system administrator can modify the fields that make up a page. So in order to replicate the pages faithfully this process is carried out each time a layout is changed.
Generate on the fly
In other scenarios, it's desirable to have pages rendered by XML coming from a live HTTP connection. This means that an application stub can be deployed to the client machine once and the presentation can be changed simply by modifying the metadata on the server. It's also possible to cache the page XML for use offline, if necessary, and to retrieve updates when the server is contacted again.




Edited on 2008-01-08 18:38:44 by ValCas

Additions:
XUI's declarative nature makes it perfect for generating page XML dynamically from metadata and existing systems. As with most concepts in XUI, the approach can vary on the environment and the desired result.
In some instances it's desirable to generate the page XML in batch and then to deploy an application. This approach in used by CarouselCRM to 'scrape' the HTML that drives the SugarCRM interface and output the XUI XML. This XML is then delivered to the client with the application via Java WebStart. This approach is necessary as the SugarCRM system administrator can modify the fields that make up a page. So in order to replicate the pages faithfully this process is carried out each time a layout is changed.
In other scenarios, it's desirable to have pages rendered by XML coming from a live HTTP connection. This means that an application stub can be deployed to the client machine once and the presentation can be changed simply by modifying the metadata on the server. It's also possible to cache the page XML for use offline, if necessary, and to retrieve updates when the server is contacted again.


Deletions:
XUI's declarative pages makes it perfect for generating XML dynamically from metadata and existing systems. As with most concepts in XUI, the approach can vary on the environment and the desired result.



Edited on 2008-01-08 18:27:51 by ValCas

Additions:
XUI's declarative pages makes it perfect for generating XML dynamically from metadata and existing systems. As with most concepts in XUI, the approach can vary on the environment and the desired result.



Oldest known version of this page was edited on 2008-01-08 18:24:57 by ValCas []
Page view:

Dynamic Content Creation


Generate and deploy

Generate on the fly
Page was generated in 0.2071 seconds