1. Flex and ColdFusion
Yash Mody
CTO, Tekno Point Multimedia
www.teknopoint.in | yash@teknopoint.us| @yash_mody
2. Topics
• Introduction to ColdFusion
• Flex and Data Communication
• Flex - CF integration using Flash Remoting
www.teknopoint.info 2
http://www.teknopoint.info
3. Introduction to ColdFusion
• About the ColdFusion Server
• IDE - ColdFusionBuilder
• <CF Stuff>
www.teknopoint.info 3
http://www.teknopoint.info
4. About ColdFusion Server
• Application Server built with Java
• Runs with a Web Server
• Extension - CFM
• Current Version - 9
• Key Features
www.teknopoint.info 4
http://www.teknopoint.info
6. IDE - ColdFusionBuilder
• Obvious Advantages - Speed, Extensibility,
Consistency
• Currently in Beta 2
• Eclipse based - Consistent environment
• Plug in for Flash Development
www.teknopoint.info 6
http://www.teknopoint.info
9. Flex and Data Communication
• The 3 RPC Services
– HTTPService
– WebService
– RemoteObject
• Demonstration: Communication over HTTP
www.teknopoint.info 9
http://www.teknopoint.info
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= &quot;pdf&quot; > <cfoutput> #form.information# has come from flex </cfoutput> </cfdocument>