Navigation:  Client Support > Flex Client > Data Management >

Data Management overview

Previous pageReturn to chapter overviewNext page

WebORB Data Management for Flex (WDMF) is a very powerful framework enabling developers to create data-driven Flex application at an unprecedented speed of development. The framework consists of the following components:

Data Modeler - graphical design-time tool for connecting to a database, importing tables into a data model, and configuring code generator properties
Code Generator - integrated into the Data Modeler and responsible for creating client-side (ActionScript) and server-side code to handle all database operations, including data retrieval, creation of new records, updating and deletion of existing records.
Runtime Engine - provides the client-server connectivity and handles integration between the generated client and server-side code. Enables client-synchronization and transaction processing features.
Runtime Data Management API - enables developers to work with the data within the data model. Includes complete CRUD (create, retrieve, update, delete) API as well as mechanisms to process requests in transactions, handle paging, sorting and many other data management operations.

 

Below is a diagram illustrating how various WDMF moving parts work together:

Design-time workflow

overvi1

1.Application developer works with the Data Modeler tool to connect to the database and configure a data model. (Data Modeler is available in WebORB Management Console).
2.Data Modeler launches code generator for all the database tables user has placed into the data model
3.Code generator introspects the database and creates client-side and server-side code containing the API to work the data.
4.The generated code is delivered to the user in a ZIP file. The server-side code is compiled and deployed to the server, thus making it available as a set of remoting services.

 

Run-time workflow

overvi2

1.Developer creates a Flex application utilizing the generated ActionScript data management code.
2.Application works with the data relying on the WDMF runtime to execute remote data management operations (executed via the available APIs). Client-side runtime engine is integrated out-of-the box with the server-side framework to handle data management.
3.Server-side framework executes the generated code as well as any custom code added by the application developer to handle data retrieval, updates, creation, deletion and client synchronization.