Saturday, October 24, 2009

Flex 4 - LC DS 3.0 - Hibernate - Mate – Presentation Model Example

I wrote a simple Flex 4.0 application that shows how to use Mate & the Presentation Model pattern against LC DS 3.0. This sample uses LC DS Data Management Services with the HibernateAssembler. It is built to run against the “hibernate-contact” destination and should run against the LC DS 3.0 Samples WAR without any changes to the server. In this example I drew the logic out of the views in the Hibernate example and injected the DataService into the Presentation Model with Mate using an EventMap. It is all very simple but should be a good example to imagine how far you can take this type of client side architecture and how extensible it really is.

Here is a link to download the source:

http://dl.getdropbox.com/u/2044424/mate_lcds_flex.zip

No comments: