Friday, July 17, 2009

Eclipse and Building Data Centric RIA

Demo of portal type application using flex
Interactive charts --> looked really good with nice drilldowns

Rich Internet Applicaions
1) REal time data push
2) resizable
3) Rich Data entry
4) Chat
5) Data Synchronization
6) Audio and Video
7) Offline

Open Screen platform : Adbobe flash platform

clients --> AIR and flash player

Servers/services --> Blazeds,data services

Flex framework

tools to design and develop : flex builder

Understanding flex

written in mxml markup

flex sdk is free and opensources

flash builder : eclipse based professional IDE

benefits :

UI goes to client only once . after that only data changes..


Approach for Developing RIAs

Design focused
Data focused

Coding

Testing and Deployment

Demo

Model Driven development

Steps

1) Create a new project

2) Create a data model (fml file)

3) Deploy model to LCDS (Live cycle data services)

4) import fml file

5) create mxml and add datagrid.

6) Dnd datamodel to data grid

7) Run application.

Business logic can be written in custom assembler. Normal one is fiber assembler.

Even tomcat is fine. Internally fml creates java classes at runtime during startup.


Data Centric Development using Flash Builder

1) Define Service (CF,php,java,soap,rest)

2) Model Service (flash builder examines service, builds design-time model)

3) Bind Operations to Flex UI Components (data binding,UI generation,Paging,Data-management)

AMF : Action script messaging format used for sending and reciving data , more efficient than json and xml.

Testing and deployment

Network monitor
unit testing framework
Command line builds ( coming soon)

Demo of Ruby service plugin

Data Centric Development Extensibility

Extension points
Key interfaces and classes for custom service
IServiceWizard,IServiceIntrospector,IServiceProperties
FlexService,FlexServiceOperation,FlexServiceConfig
Key interfaces and classes for componentConfigurator


Flash Catalyst

Imports photoshop files and analyzes it. Based on eclipse platform. takes mockups and creates flex application based on them. Generates flex code behind the scenes.

Wow.. thats too good

Require flash builder license and run time license for LCDS

Resource

www.flex.org
Tour de flex : www.adobe.com/devnet/flex/tourdeflex/

No comments: