LC DS – Max Demo Update
We demonstrated the early release of our current work at max. Here are some highlights:
- LC DS will support a new feature known as the Adobe data model. This is similar to a UML, but developers can also define behaviors such as validations. Validations can be defined once on the model, but will be validated on the Flex client as well as the LC DS
- You no longer have to create DAO and actionscript classes. We automatically generate this from the model. The generated code is visible to developers and can be easily extended to provide your own behavior.
- You no longer have to implement custom assemblers to provide data management. For each entitiy defined, we automatically provide CRUD functionality out of the box. LC DS server uses the data model to provide this functionality
- The data model can be deployed from Flex Builder (or dropped to a folder in LC DS) to an active LC DS server dynamically. You don’t have to worry about configuring destination, we automatically create them.
- FlexBuilder will provide a new feature called the service browser. LC DS data model will be available as services from which you can drag and drop to a design view to create Flex applications.
Here is what we were able to do in 10 minutes at Max:
- Create a MySQL database with 2 tables Company and Employee. An employee has to belong to a company
- Create a data model from the database using a wizard in FlexBuilder (This automatically generates the actionscript classes)
- Deploy the model to the LC DS server (This automatically configures the destinations, and adds the CRUD functionality on the server at run time)
- Using the services generated form the data model, create a Flex UI in FlexBuilder design view
- Run the flex application
Note: we did not configure the server or write a single line of code on the LC DS server for this demo. I will soon post a visual of this demonstration.

Sounds very interesting. Will this allow to integrate with existing infrastructure (namely JPA/Hibernate) or do you roll your own thing when creating the DAO classes? Also, how do you deal with relations and lazy-loading when autogenerating code. Can the behaviour be specified in the model?
Dirk Eismann
November 18, 2008 at 2:40 am
Persistence is possible thorugh the use of create custom assemblers today, but with the next release (work in progress) LC DS will provide this feature out of the box and does not require additional code. When the final product is rolled, we plan to provide hooks to plug in custom business logic to the persistence life cycle.
Regarding the second question, yes, the model does allow support relationships between entities. You will also be able to control the lazy loading behavior from the model.
Anil
November 18, 2008 at 9:41 am
[...] LC DS – Max Demo Update (from Anil Channappa’s Blog) [...]
Flex Monkey Patches » Blog Archive » Rubbernecker’s Review - Week 21
November 18, 2008 at 10:56 am
what version of LCDS is this expected to be in? any estimate on a date for release?
codecraig
November 20, 2008 at 9:08 pm
This will be the next release of LC DS. We have not decided on the version number yet, but it is likely going to be a major release. We are planning for a Beta1 in early 09 with GA late 09. Please note these are rough dates, and are subject to change.
Anil
November 23, 2008 at 7:45 pm
Anil,
Where can I find more details about the Adobe Data Model? Is it documented in any of the Blaze or Flex white papers?
I would be happy to put in some time testing for Blaze DS since I am working on a project that may dovetail with this functionality
Stephen Buckley
November 29, 2008 at 10:00 pm
I will post a video of the demo soon.This is a new feature that we are working on, and hence you will not find details about it anywhere else. You will have to wait a little longer to get more details.
I will be happy to include you in our pre-release program, but you will have to wait early next year for that. I will put out a link to register to the pre-release program as we get closer.
Anil
November 30, 2008 at 12:23 am
[...] have already talked about Model Driven development, but there is more than [...]
What’s in LC DS Next « Anil Channappa’s Blog
December 1, 2008 at 1:54 pm
[...] Также посетители MAX’а получат билд Flex Builder 4, который может работать с Gumbo. В новой версии среды будут реализованы грандиозные фичи: генерация геттеров/сеттеров (уже есть с помощью Eclipse Monkey), генерация кода для событий (Илья Панин показывал на FlexCamp’е в Москве — опять Eclipse Monkey), новый Package Explorer и тултипы для ASDoc’ов, пользовательские шаблоны для MXML, ActionScript, и CSS. Шаблоны кода a la JDT там отсутствуют. Зато есть интеграция с Thermo Flash Catalyst. Также будет монитор сетевой активности для Flex-приложений (полезная фича) и поддержка Flex Unit (вот это интересно!). Добавятся новые возможности у отладчика (подробности в блоге Майка Мориарти). Помимо всего обещают еще сильнее упростить создание CRUD для большого количества серверов и сервисов с помощью Client Data Management (CDM) (про эти возможности пишет Анил Чаннаппа). [...]
Катализаторы творческой активности - Территория блога - Территория Silverlight
December 2, 2008 at 1:18 am
А это Вы написали на основе исключительно Вашего личного опыта?
интeллигeнт
December 23, 2008 at 7:01 pm
Хороший блог
Люблю почитывать каждое утро (ну и в другое время тоже
).
Константин
January 4, 2009 at 8:31 am
За статью спасибо вам огромное, все по делу, достаточно много кто это уже использует
вopcepдeчки
January 6, 2009 at 2:29 am
Прикольный пост, очень интересно было посмотреть
блaтнoy
February 2, 2009 at 8:25 pm
[...] out my previous post to know more Model Driven Development « Share your experience using Blaze DS and [...]
Model driven development Demo « Anil Channappa’s Blog
February 18, 2009 at 7:03 am
nrMNPV pfftldzmcuoq, [url=http://rlqdnwxegcas.com/]rlqdnwxegcas[/url], [link=http://dsstwgrbemnn.com/]dsstwgrbemnn[/link], http://ibqyydlpzwsh.com/
rzxrkq
March 5, 2009 at 10:01 pm
Информации, думаю, и так вполне достаточно, чтобы сделать вывод, как не надо делать.
XSatiram
March 24, 2009 at 6:49 pm
Так все таки слово пипец русское или нет?
donbassaero
April 9, 2009 at 7:23 am
Современные игры – опаснее старых или нет?
gamer_r
April 11, 2009 at 9:24 am
А кому от этого легче станет?
Вячеслав Сенников
April 13, 2009 at 3:48 am
If you want to see a reader’s feedback
, I rate this post for 4/5. Detailed info, but I just have to go to that damn google to find the missed bits. Thank you, anyway!
Heartburn Home Remedy
April 15, 2009 at 6:27 am