I recently presented a new “Model Driven Development with Flex 4″ session at a few conferences and Flash Camps, so I figured I would record a screencast of the demo app for people who did not attend. If you saw a previous version of this demo, this screencast is still worth watching because I’m using the latest daily builds of Flash Builder 4 and LCDS 3 and we made really good progress!
You can watch it in the player below, however I recommend you click here to watch it in HD (go full screen for a better viewing experience. Also make sure HD is on).
A few things I’m not mentioning in the demo:
- Value objects and service stubs are automatically generated based on the model
- Data persistence occurs through JPA/Hibernate, but you don’t have to know that if you just want it to work
- Code generation of form is template-based (you can modify the existing template or create new ones)

17 Comments
Christophe – Can’t wait to get my hands on this! How much of the functionality will work with BlazeDS?
Would have been nice, if files were downloadable, so a lot of use can watch it later or even share with our teams. Not sure vimeo allows that?
-abdul
What version of BlazeDS is supported by Model Driven Development with Flex 4?
The Model Driven Development features demonstrated here are only available in LiveCycle Data Services v3. If you use BlazeDS, you’ll be able to point to existing services and import them into the Data Services Panel, drag functions into UI components, etc. But you won’t have the full blown MDD approach used in this demo.
Thanks for posting. I saw this in St. Louis. Great!!
Exceptional!! Very good news with Flash Builder 4 and LCDS 3.
Any requirement about what need as computer performance?
Hi Christophe,
Great demo.
Any chance we can see a BlazeDS based version of the demo?
Thanks,
Amichai
Hi Christophe,
I’ve noticed some differences in the version of (i think…) the fiber modeller you use in the demo and the one we’ve used so far. Our version of the modeller plugin (and the one still offered for download) is dated: 15 June 2009. In our version there are no relations visible in the .fml design view and also the generate model driven form does not work as well as you demonstrate. Is it possible you have a different version or are we just noobz?
Thanks in advance,
Michael
Very nice presentation. I´m exciting to use it.
Will it be possible to modify the code generation patterns? For instance, will it be possible to generate the persistance layer with JPA/EJB instead of Hibernate or any other type of technology?
Hello.
One problem.
Flash Builder/Data Model/RDS Dataview/
message of Alert:
“Unable to contact the RDS Server
Connection refused:connect”
And now?
Thank you admin goood
Wow this is what the community have really been waiting for !! The Model Driven Development features are a breath of fresh air when it comes to knocking up a skeleton for your application. This really does streamline some of the development and modelling tasks.
Do Adobe plan on providing the same functionality for the other technologies like coldfusion and php etc.? If so, then this would really make flex stand out from the rest of the RIA development tools.
For php I don’t see why not, as creating php classes, models etc. should be quite similar. it would probably tie the basic user into using one particular framework like ZendAMF, although anyone with a bit of experience could remodel the generated classes etc. to suit their framework or oop technique.
Regarding your tutorial / demo video it would be great if you could demonstrate how to turn the objects returned in the data grid into usable entities like item renderers / editors. For example if you could demonstrate the following;
An item renderer/item editor using a combo box for the IndustryId field
An item renderer/item editor using a checkbox for the publicCompany field
I know this is adds a little complication to the demo and its not your responsibility to show us how to do everything possible with flash builder but it would really be helpful as there are no concrete examples that I know of on the net showing this sort of functionality using a service orientated dataprovider (I have seen some which use inline static arrays or static array collections). And personally believe Adobe should be making lighter work of creating item renderers using combo boxes / dropdownlists within a datagrid or form.
I believe the quicker developers can get up to speed using flash builder to do common tasks and ui interoperability the better the product will become and having persons like yourself doing an excellent job giving us developers an insight into the possibilities of the product is invaluable.
Your Sales Builder App is awesome too and would recommend anyone interested in creating air or flex applications to take a look, beginners and experienced programmers alike as there are some excellent examples of how to model your app, mvc layout and integrating external libraries.
May I also add that it is great to see someone going that little bit further when creating a tutorial. Things like adding a search feature that doesn’t just filter the current array collection but instead utilises a call to the server and other bits like field validation and the use of model/class properties to only show a field based on a certain criteria.
Hi Christophe, firstly thanks for a great tutorial..
I have come across an issue using multiple model driven forms in the same application,
(http://help.adobe.com/en_US/LiveCycleDataServicesES/3.0/Installing/lcds30_releasenotes.html) (bug LCDS-1119)
In a nut shell, if you are editing a LCDS model driven form in one area of your application it will directly effect the other model driven forms within the same app, it makes no difference whether the the forms are located in different states or components etc.
I understand that this is a bug but just wondering if you know of a workaround or if a new bug fix release of LCDS 3 is due anytime soon?? I am currently using release October 09. Any advice would be greatly appreciated.
Thanks for posting. I saw this in St. Louis. Great!!
Great demo, i can really see how useful it is.
4 Trackbacks
[...] } As usual Christophe has another cool demo using the latest bits of LCDS 3 and Flash Builder [...]
[...] Pour plus de détails sur ce mode de programmation, Christophe vient aussi de publier une vidéo complète: http://coenraets.org/ [...]
[...] Christophe Coenraets » Blog Archive » Model Driven Development … [...]
[...] L’outil génère ainsi la couche service à partir du modèle objet défini sous Eclipse, le déploie sur le serveur LiveCycle, et le connecte à l’interface Flex, tout cela en quelques clics. Pour vous faire une idée des possibilités, une vidéo de démonstration (la même qu’au séminaire): http://coenraets.org/blog/2009/09/flex4mdd/ [...]