Anil Channappa’s Blog

Learn more about LiveCycle Data Services (LC DS) and Blaze DS

LC DS – Max Demo Update

with 20 comments

We demonstrated the early release of our current work at max. Here are some highlights:

  1. 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
  2. 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.
  3. 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
  4. 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.
  5. 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:

  1. Create a MySQL database with 2 tables Company and Employee. An employee has to belong to a company
  2. Create a data model from the database using a wizard in FlexBuilder (This automatically generates the actionscript classes)
  3. Deploy the model to the LC DS server (This automatically configures the destinations, and adds the CRUD functionality on the server at run time)
  4. Using the services generated form the data model, create a Flex UI in FlexBuilder design view
  5. 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.

Written by Anil

November 18, 2008 at 1:59 am

20 Responses

Subscribe to comments with RSS.

  1. 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

  2. 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

  3. [...] LC DS – Max Demo Update (from Anil Channappa’s Blog) [...]

  4. 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

  5. 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

  6. 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

  7. 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

  8. [...] have already talked about Model Driven development, but there is more than [...]

  9. [...] Также посетители 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) (про эти возможности пишет Анил Чаннаппа). [...]

  10. А это Вы написали на основе исключительно Вашего личного опыта?

    интeллигeнт

    December 23, 2008 at 7:01 pm

  11. Хороший блог :) Люблю почитывать каждое утро (ну и в другое время тоже :) ).

    Константин

    January 4, 2009 at 8:31 am

  12. За статью спасибо вам огромное, все по делу, достаточно много кто это уже использует

    вopcepдeчки

    January 6, 2009 at 2:29 am

  13. Прикольный пост, очень интересно было посмотреть

    блaтнoy

    February 2, 2009 at 8:25 pm

  14. [...] out my previous post to know more Model Driven Development « Share your experience using Blaze DS and [...]

  15. 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

  16. Информации, думаю, и так вполне достаточно, чтобы сделать вывод, как не надо делать.

    XSatiram

    March 24, 2009 at 6:49 pm

  17. Так все таки слово пипец русское или нет?

    donbassaero

    April 9, 2009 at 7:23 am

  18. Современные игры – опаснее старых или нет?

    gamer_r

    April 11, 2009 at 9:24 am

  19. А кому от этого легче станет?

  20. 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


Leave a Reply