|
Overview of generating web based user interfaces from structured data.
|
DRAFT - NOT COMPLETE
ShowTable of Contents
Application Pattern
Generating user interfaces (input forms, tabular lists) from structured data, such as XML data retrieved from back and data integration servers automated by WEF/WPF . Unlike the more specific Application Pattern articles, this article provides an introductory higher level overview of which page automation builders to choose for which general high level types of user interface patterns.
Builders Used
Builder | Description |
REST Service Call | Leverage the data operations and input/result schemas defined by service provider models. A restructure handler can be used in conjunction with this builder. |
Transform Map | Map the XML schema of the REST service to the XML schema used by the WEF application |
Transform Modify | Modify the XML values returned by the REST service before they are available in the WEF application |
Method | Provide simple Java code for post-processing REST service results |
Builder | Description |
Service Consumer | Leverage data operations and input/result descriptions (schemas) defined by service provider models |
Data Services User Interface | Automate the generation of a complete CRUD (Create, Read, Update and Delete) application from providers that provide those operations |
View and Form | Automate the generation of a List and Details application (with optional create and/or edit) from provider(s) that provide those operations. |
Data Page | Automate the generation of a user interface (e.g. read only table of data or simple data entry) from structured data (e.g., schema described XML Variable) |
Input Form | Automate the generation of an html input form from structured data (e.g., schema described XML Variable or service operation inputs) |
Data Field Settings | Define the visibility, labels and controls to be used for the various fields described by the structured data schema. |
Best Practices
While all of the above builders may be used in many WEF/WPF based user interfaces, there are pros/cons and best practices around which of the builders you should choose for various use cases and tasks. (FILL IN PROS/CONS OF VARIOUS CHOICES HERE)
Samples
Sample | Description |
OrdersServiceConsumer | Sample in the Building Models feature set which uses the Data Services User Interface builder to generate a CRUD application |
Tutorial, Database | WEF Tutorial on creating a database backed CRUD application using Data Services User Interface and Data Field Settings builders |
LabelAbove and LabelOnLeft | Out of the box samples in the Building Models feature set showing use of Data Page builder with modifier builders |
Resources
Learning Roadmap
Samples - Add the "Building Models" and "Tutorials" feature sets to your project and then look under models/samples and models/tutorials in the project explorer.
|