Flex and ColdFusion

2,033 views

Published on

Presented at Adobe Dev Summit 2009 in Chennai, explains basics of CF, Flex and how they work together

Published in: Technology, Education
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
2,033
On SlideShare
0
From Embeds
0
Number of Embeds
365
Actions
Shares
0
Downloads
14
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • CF tags will give us an insight of key elements which are required to build a CF application and also clear the terminology for us
  • MS Sharepoint, MS Office, Tighter integration with Flash, Ajax components, Object Relational Mapping (ORM)
  • The browser requests for a .cfm page. CF server at that time processes the page to see an CF specific code is present like databse, other cfm pages or documents and returns the response to the browser in the form of an HTML page
  • There are various tags like the <cfform> tag, <cfquery> tag, <cfinvoke> tag, <cfdocument> tag Lots of new features have been added on to the scripting side CFC is like a class which has methods and properties. You can invoke a method of a class using the <cfinvoke> tag <cffunction> and <cfargument> RDS - Remote Development Services. In ColdFusion, you can connect to and work with the files on any server that has ColdFusion Server installed by using RDS, just as if you were working with files on your own computer. RDS Fileview lists all the folders and files on the RDS server RDS DataView ists all the data sources on the RDS server
  • <cfdocument format= "pdf" > <cfoutput> #form.information# has come from flex </cfoutput> </cfdocument>
  • Flex and ColdFusion

    1. 1. Flex and ColdFusion Yash Mody CTO, Tekno Point Multimedia
    2. 2. Topics <ul><li>Introduction to ColdFusion </li></ul><ul><li>Flex and Data Communication </li></ul><ul><li>Flex - CF integration using Flash Remoting </li></ul>http://www.teknopoint.info
    3. 3. Introduction to ColdFusion <ul><li>About the ColdFusion Server </li></ul><ul><li>IDE - ColdFusionBuilder </li></ul><ul><li><CF Stuff> </li></ul>http://www.teknopoint.info
    4. 4. About ColdFusion Server <ul><li>Application Server built with Java </li></ul><ul><li>Runs with a Web Server </li></ul><ul><li>Extension - CFM </li></ul><ul><li>Current Version - 9 </li></ul><ul><li>Key Features </li></ul>http://www.teknopoint.info
    5. 5. About ColdFusion Server - 2 http://www.teknopoint.info
    6. 6. IDE - ColdFusionBuilder <ul><li>Obvious Advantages - Speed, Extensibility, Consistency </li></ul><ul><li>Currently in Beta 2 </li></ul><ul><li>Eclipse based - Consistent environment </li></ul><ul><li>Plug in for Flash Development </li></ul>http://www.teknopoint.info
    7. 7. <CF Stuff> <ul><li>CFML - Tag language </li></ul><ul><li>CFScript - Script Language </li></ul><ul><li>CFM - ColdFusion Page </li></ul><ul><li>CFC - ColdFusion Component </li></ul><ul><li>CFM (Custom Tag) </li></ul><ul><li>RDS </li></ul><ul><li>ORM - Hibernate </li></ul>http://www.teknopoint.info
    8. 8. <CF Stuff> - 2 http://www.teknopoint.info
    9. 9. Flex and Data Communication <ul><li>The 3 RPC Services </li></ul><ul><ul><li>HTTPService </li></ul></ul><ul><ul><li>WebService </li></ul></ul><ul><ul><li>RemoteObject </li></ul></ul><ul><li>Demonstration: Communication over HTTP </li></ul>http://www.teknopoint.info
    10. 10. The 3 RPC Services in Flex http://www.teknopoint.info RPC Component Protocol Uses HTTPService HTTP url WebService SOAP wsdl RemoteObject AMF destination
    11. 11. Communicating over HTTP <ul><li>Example: Using HTTPService for PDF Creation </li></ul><ul><li>Ingredients: </li></ul><ul><ul><li>Flex </li></ul></ul><ul><ul><ul><li>navigateToURL </li></ul></ul></ul><ul><ul><li>ColdFusion </li></ul></ul><ul><ul><ul><li>cfdocument </li></ul></ul></ul>http://www.teknopoint.info
    12. 12. Flex and CF Integration <ul><li>Flash Remoting </li></ul><ul><li>The AMF advantage </li></ul><ul><li>Demonstration: Flex - CF app using Remoting </li></ul>http://www.teknopoint.info
    13. 13. Flash Remoting <ul><li>How it works </li></ul>http://www.teknopoint.info
    14. 14. AMF Note <ul><li>A typical AMF Packet </li></ul>http://www.teknopoint.info
    15. 15. AMF Advantage http://www.teknopoint.info
    16. 16. Flex - CF app using Remoting <ul><li>Example: Accessing Data using CF </li></ul><ul><li>Key Ingredients </li></ul><ul><ul><li>Flex </li></ul></ul><ul><ul><ul><li>Remote Object (source, destination) </li></ul></ul></ul><ul><ul><ul><li>ResultEvent </li></ul></ul></ul><ul><ul><ul><li>Form and DataGrid </li></ul></ul></ul><ul><ul><li>ColdFusion </li></ul></ul><ul><ul><ul><li>DataSource </li></ul></ul></ul><ul><ul><ul><li>cffunction </li></ul></ul></ul>http://www.teknopoint.info
    17. 17. Questions… http://www.teknopoint.info
    18. 18.  Tekno Point Multimedia www.teknopoint.info [email_address] www.teknopoint.info Thank You http://www.teknopoint.info

    ×