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