October 15, 2008

LiveData

In WaveMaker 4.0, we introduced a system for building data-driven applications quickly with little to no code. We called it LiveData, which is utterly un-trademark-able, much to marketing’s chagrin. It involves a few pieces that when used together make life easier:

1. LiveTables - this is the only piece of this system that predates 4.0, but it had a different name. This is the name for the schema for your database that exists in WM. When you connect to a database and import a schema, or build one from scratch in the data model editor, we create a set of POJOs to represent your data and the relationships between them. LiveTables map directly 1-1 to your database tables.

2. LiveViews - New in 4.0, LiveViews are collections of LiveTables and their related items. If you want to do CRUD (database operations) on more than one, related LiveTable, go to LiveViews to create this set of related objects.

3. LiveVariable - This is a variable that stores an instance of your LiveView or LiveTable on the page. To use LiveData, you need to create one of these and set its dataSource property to the LiveView or LiveTable you want to perform operations on

4. LiveForm - This form, when bound to a LiveVariable, constructs editors for each form element, and handles new, delete, insert, and edit functionality. You can even bind this form to a grid’s selectedItem to do list-detail style forms.

When you use these items together, you can create data-driven applications with no code. If you want to do something custom, LiveForm and LiveVariable have lots of events you can call custom code in as well.

In the near future we’ll be extending LiveData to web services as well as any POJO in the system, regardless of source.

 Filed under: Uncategorized — admin @ 11:48 am

No Comments »

No comments yet.

RSS feed for comments on this post.   TrackBack URL


Leave a comment