Model Driven Development Using LCDS3

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    Favorites, Groups & Events

    Model Driven Development Using LCDS3 - Presentation Transcript

    1. Model Driven Development using LCDS 3 By Mohammed Khan, Project Director 

Copyright
c
2009
Esberi
Technologies
Private
Limited Friday 21 August 2009
    2. About Me • Yet another Designer and Developer. • From job role, I am Solution Consultant, unfortunately my title is “Project Director” • Google TUG Manager and Appcelerator TUG India Manager • Apart from Adobe MAX, another event i would definitely want to attend is TAC Singapore http://tac.sg • Love to travel, read, and blabber • Humor in me (-) 100% • My blog http://ww.thepixelcode.com (Just born baby) • At work, helped a Fortune 50 company to realize their first collaborative RIA. • At home, well i still work. 

Copyright
c
2009
Esberi
Technologies
Private
Limited Friday 21 August 2009
    3. Agenda • Data Driven Applications Using Flex SDK • What is new in LCDS 3 ? • What’s Fiber ? • Adobe Data Model • Adobe Data Model Example • Demo DISCLAIMER: Guys LCDS 3 BETA is not open source, its just available for PREVIEW and also this session is not a workshop, but highlights the capabilities of LCDS 3 BETA. 

Copyright
c
2009
Esberi
Technologies
Private
Limited Friday 21 August 2009
    4. Data Driven Applications using Flex Flex Client Side Components Server Side Middle Tier Technologies HTTP Channel Any technology that BlazeDS/LCDS/Axis/ HTTPService RESTLets support restful XML services HTTP Channel Any technology that BlazeDS/LCDS/Axis/ WebService WSDL support SOAP XML services AMF Channel BlazeDS/LCDS/ RemoteObject AMFPHP/WebORB/ PHP, CF, J2EE, .NET Binary GDS AMF Channel Producer/Consumer LCDS/GDS Gravity CF & J2EE Binary 

Copyright
c
2009
Esberi
Technologies
Private
Limited Friday 21 August 2009
    5. What is new in LCDS 3 ? • Support for Remote Development Services configuration • Runtime to execute Adobe Data Model • Data Throttling • Reliable Message Transactions • Recover over network failures • Pause/Resume capability 

Copyright
c
2009
Esberi
Technologies
Private
Limited Friday 21 August 2009
    6. What’s Fiber ? Fiber : A code name for a suite of technologies that enables model driven development of Flex applications. The suite consist of : • A modeling language called Adobe Data Model. • Tools to create, manage and deploy Data Model. • A runtime to execute the Data Model. 

Copyright
c
2009
Esberi
Technologies
Private
Limited Friday 21 August 2009
    7. Adobe Data Model • Adobe Data Model: An XML-based language that lets you create data model. • Models created using Adobe Data Model are stored as XML-files with extension as .fml • Lets you use Java Persistence Query Language (JPQL) • Elements of Adobe Data Model language are : 1. Entities : Represents objects of the model. 2. Annotations : Domain specific information about the model. 3. Services : Function definitions. 4. Styles : Collection of UI related attributions 5. Functions (built-in) : Built-In methods that can be used within model expressions. 

Copyright
c
2009
Esberi
Technologies
Private
Limited Friday 21 August 2009
    8. Adobe Data Model Example <model xmlns="http://ns.adobe.com/Fiber/0.3"> <annotation name="DMS"> <item name="hibernate.connection.datasource">java:/comp/env/jdbc/sampleDB</item> <item name="hibernate.dialect">org.hibernate.dialect.MySQL5Dialect</item> </annotation> <entity name="Departments" persistent="true"> <annotation name="ServerProperties"> <item name="ServerType">LCDS</item> </annotation> <annotation name="DMS"> <item name="Table">Departments</item> </annotation> <annotation name="VisualModeler"> <item name="width">115</item> <item name="height">62</item> <item name="x">24</item> <item name="y">23</item> </annotation> <id name="deptID" type="integer"> <annotation name="DMS"> <item name="ColumnName">DeptID</item> ........................................... 

Copyright
c
2009
Esberi
Technologies
Private
Limited Friday 21 August 2009
    9. Demo • Get required tools 1. Flash Builder 4 Beta 2. Modeler Plugin 3. LCDS 3 Beta Turnkey • Configure RDS on the server • Configure JDBC Data Source • Setup Flex 4 - J2EE project • Create a Data Model and deploy it. • Build the Application and test it. 

Copyright
c
2009
Esberi
Technologies
Private
Limited Friday 21 August 2009
    10. Annotations & Styles Annotations • Name-value pair for each element of the model XML • Can be added to any User defined elements for the model. Styles • Declare UI object references. • Declare localization resource bundles. 

Copyright
c
2009
Esberi
Technologies
Private
Limited Friday 21 August 2009
    11. Filters • There are three types of filters: 1. Criteria based Filters 2. Pass-through Filters 3. Transform Filters • Criteria based filters lets you define object scope of an entity with expressions <filter name="getByDepartmentLike" criteria="department Like"/> • Pass-through based filters lets you define object scope of an entity with a JPQL query <filter name="getByEmployeeLN"> <query><![CDATA[jpql:SELECT emp FROM Employees emp WHERE emp.employeeLastName='Ram']]></query> </filter> • Transform based filters lets you define return structure of an entity <filter name="getByEmployeeLN"> <query><![CDATA[jpql:SELECT emp FROM Employees emp WHERE emp.employeeLastName='Ram']]></query> <annotation name=”DMS”> <item name”propertySpecifier”>employeeID, employeeFirstName</item> </annotation> </filter> 

Copyright
c
2009
Esberi
Technologies
Private
Limited Friday 21 August 2009
    12. Thank You ! • For more details about esberi, kindly visit http://www.esberi.com • You can check out my blog at http://www.thepixelcode.com • I am available on twitter as mohammed_khan • You can also mail me your queries to mohammed.khan@esberi.net 

Copyright
c
2009
Esberi
Technologies
Private
Limited Friday 21 August 2009

    + Mohammed KhanMohammed Khan, 3 months ago

    custom

    473 views, 0 favs, 2 embeds more stats

    Presentation about introducing new features of Live more

    More info about this document

    © All Rights Reserved

    Go to text version

    • Total Views 473
      • 358 on SlideShare
      • 115 from embeds
    • Comments 0
    • Favorites 0
    • Downloads 9
    Most viewed embeds
    • 114 views on http://www.thepixelcode.com
    • 1 views on http://74.125.155.132

    more

    All embeds
    • 114 views on http://www.thepixelcode.com
    • 1 views on http://74.125.155.132

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as inappropriate

    Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

    Cancel
    File a copyright complaint
    Having problems? Go to our helpdesk?

    Categories