You can use MCS to access information from multiple data sources and integrate it with content served from static XDIME pages. In MCS this is called Dynamic Content Integration (DCI).
You can use MCS to access information from multiple data sources and integrate it with content served from static XDIME pages. In MCS this is called Dynamic Content Integration (DCI).
DCI enhances existing MCS support for dynamic content by reducing the reliance on Java programming, and by support the integration of structured content directly.
With DCI you can incorporate material from
Existing web sites
XML documents
Java beans
In DCI this is achieved by providing drivers for a range of data sources, along with tools to transform the information to XDIME markup.
SQL and web service drivers are not supported by Mobile Portal Accelerator.
MCS provides dynamic content integration by using instructions contained in an XML file called a pipeline. The pipeline specifies a series of sequential operations, and the inputs to and outputs from each operation. It allows pages to be generated dynamically from external content without having to use either Java code or Java Server Pages.
In DCI you use XSL transforms to convert structured information to XDIME. You can also make use of DCI's template markup to render pages. Templates can be reused in different contexts with specific parameter values, and are generally easier to specify than equivalent XSL transformations of data sources.
Because both content and the XSL transforms used to process the content may be re-used frequently, DCI supports two types of caching.
Content caching is a simple, general purpose caching method that supports both simple cache keys, and multiple attribute keys that are matched with template parameter values.
Transform caching handles the caching of individual XSL transforms, and provides functions for compiling the transform.
The mcs-config.xml file contains a pipeline-configuration section. It defines values for a pipeline caches, and the drivers that access DCI services.