Introduction to Flex Data Services 2 Charles Bihis Technical Evangelist Enterprise & Developer Relations Group FlexGala De...
Welcome! <ul><li>Thanks for coming </li></ul><ul><li>What is Adobe Flex Data Services? </li></ul><ul><li>Why should I use ...
Introducing Flex Data Services Enterprise-level solution allowing applications to feature not only rich client interfaces,...
Limited Model Current web-based applications polling <ul><li>General lack of support for messaging in the browser </li></u...
Messaging System in Flex Data Services 2 Message Service Flex Data Services Endpoint Publisher Subscriber RTMP AMF HTTP Cl...
Hello world!
Publishing a Message <ul><li>Creating a Producer </li></ul><ul><ul><li><mx:Producer id=“producer” destination=“chat”/> </l...
Subscribing to a destination <ul><li>Creating a Consumer </li></ul><ul><ul><li><mx:Consumer id=“consumer”  </li></ul></ul>...
Collaboration Dashboard – Application Sharing John’s session Linda’s session
Demo   “Collaboration Dashboard”
Enterprise Integration Message Service Flex Enterprise Services Endpoint Publisher Subscriber RTMP AMF HTTP Adapter Y Adap...
JMS Chat
Real-Time Data Feed using Data PUSH
Demo   “Stock Market Monitor”
Live Demo   “QuickChat” <ul><li><destination id=&quot;contact&quot;> </li></ul><ul><li><adapter ref=&quot;java-dao&quot; /...
Messaging Services (summary) <ul><li>The Messaging System allows for whole new categories of applications to be developed ...
Enabling Technology FREE FREE FREE *free version is called “Flex Data Services Express  Click here for more info . Flex Fr...
Future   “Apollo”
What is “Apollo”?
“ Apollo” Applications from a User’s Perspective <ul><li>Installed from web browser or file system </li></ul><ul><li>Launc...
Better by Adobe™
Upcoming SlideShare
Loading in …5
×

Introduction To Flex Data Services

7,115 views

Published on

Adobe Flex Data Services is an enterprise-level software solution which enables applications to feature not only rich client interfaces, but also rich data management

http://work.whoischarles.com/content/thanks-to-flexgala

Published in: Business, Travel
  • Be the first to comment

Introduction To Flex Data Services

  1. 1. Introduction to Flex Data Services 2 Charles Bihis Technical Evangelist Enterprise & Developer Relations Group FlexGala December 13 th , 2006
  2. 2. Welcome! <ul><li>Thanks for coming </li></ul><ul><li>What is Adobe Flex Data Services? </li></ul><ul><li>Why should I use Adobe Flex Data Services? </li></ul><ul><li>What can I build with it? </li></ul><ul><li>How can I build with it? </li></ul><ul><li>Q & A </li></ul>
  3. 3. Introducing Flex Data Services Enterprise-level solution allowing applications to feature not only rich client interfaces, but also rich data management
  4. 4. Limited Model Current web-based applications polling <ul><li>General lack of support for messaging in the browser </li></ul><ul><li>Data synchronization between tiers is complex and cumbersome </li></ul>Server HTTP
  5. 5. Messaging System in Flex Data Services 2 Message Service Flex Data Services Endpoint Publisher Subscriber RTMP AMF HTTP Client A Client B Client C
  6. 6. Hello world!
  7. 7. Publishing a Message <ul><li>Creating a Producer </li></ul><ul><ul><li><mx:Producer id=“producer” destination=“chat”/> </li></ul></ul><ul><li>Sending the message </li></ul><ul><ul><li>public function Send():void </li></ul></ul><ul><ul><li>{ </li></ul></ul><ul><ul><li>// create the message </li></ul></ul><ul><ul><li>var sendMessage:AsyncMessage = new AsyncMessage(); </li></ul></ul><ul><ul><li>sendMessage.body.userID = userIDBox.text; </li></ul></ul><ul><ul><li>sendMessage.body.message = messageBox.text; </li></ul></ul><ul><ul><li>// send the message </li></ul></ul><ul><ul><li>producer.send(sendMessage); </li></ul></ul><ul><ul><li>} // Send </li></ul></ul>
  8. 8. Subscribing to a destination <ul><li>Creating a Consumer </li></ul><ul><ul><li><mx:Consumer id=“consumer” </li></ul></ul><ul><ul><li> destination=“chat” </li></ul></ul><ul><ul><li> message=“messageHandler(event)”/> </li></ul></ul><ul><li>Handling the messages </li></ul><ul><ul><li>public function MessageHandler(event:MessageEvent):void </li></ul></ul><ul><ul><li>{ </li></ul></ul><ul><ul><li>var receiveMessage:Object = event.message.body; </li></ul></ul><ul><ul><li>chatLog.text += receiveMessage.userID + “: “ + </li></ul></ul><ul><ul><li> receiveMessage.message + “ ”; </li></ul></ul><ul><ul><li>} // MessageHandler </li></ul></ul>
  9. 9. Collaboration Dashboard – Application Sharing John’s session Linda’s session
  10. 10. Demo “Collaboration Dashboard”
  11. 11. Enterprise Integration Message Service Flex Enterprise Services Endpoint Publisher Subscriber RTMP AMF HTTP Adapter Y Adapter X Messaging System Y Messaging System X JMS Provider JMS Adapter
  12. 12. JMS Chat
  13. 13. Real-Time Data Feed using Data PUSH
  14. 14. Demo “Stock Market Monitor”
  15. 15. Live Demo “QuickChat” <ul><li><destination id=&quot;contact&quot;> </li></ul><ul><li><adapter ref=&quot;java-dao&quot; /> </li></ul><ul><li><properties> </li></ul><ul><li> <metadata> </li></ul><ul><li><identity property=&quot;contactId&quot;/> </li></ul><ul><li></metadata> </li></ul><ul><li> <server> </li></ul><ul><li> <assembler> </li></ul><ul><li><class>samples.contact.Conta </li></ul><ul><li> </assembler> </li></ul><ul><li><fill-method> </li></ul><ul><li><name>loadContacts</name> </li></ul><ul><li></fill-method> </li></ul><ul><li> <sync-method> </li></ul><ul><li><name>syncContacts</name> </li></ul><ul><li></sync-method> </li></ul>
  16. 16. Messaging Services (summary) <ul><li>The Messaging System allows for whole new categories of applications to be developed </li></ul><ul><ul><li>Publish/Subscribe  chat </li></ul></ul><ul><ul><li>Data Sync  collaboration dashboard </li></ul></ul><ul><ul><li>Data-Push  real-time data tracker </li></ul></ul>
  17. 17. Enabling Technology FREE FREE FREE *free version is called “Flex Data Services Express Click here for more info . Flex Framework 2 Flex Data Services* Flash Player 9
  18. 18. Future “Apollo”
  19. 19. What is “Apollo”?
  20. 20. “ Apollo” Applications from a User’s Perspective <ul><li>Installed from web browser or file system </li></ul><ul><li>Launched like any desktop application </li></ul><ul><li>Chrome completely controlled by application </li></ul><ul><li>Integrated with usual desktop functionality </li></ul>
  21. 21. Better by Adobe™

×