+ All Categories
Home > Technology > Flex and ColdFusion

Flex and ColdFusion

Date post: 08-May-2015
Category:
Upload: yash-mody
View: 1,731 times
Download: 2 times
Share this document with a friend
Description:
Presented at Adobe Dev Summit 2009 in Chennai, explains basics of CF, Flex and how they work together
18
Flex and ColdFusion Yash Mody CTO, Tekno Point Multimedia www.teknopoint.in | [email protected]| @yash_mody
Transcript
Page 1: Flex and ColdFusion

Flex and ColdFusionYash Mody

CTO, Tekno Point Multimediawww.teknopoint.in | [email protected]| @yash_mody

Page 2: Flex and ColdFusion

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

www.teknopoint.info 3

Introduction to ColdFusion

• About the ColdFusion Server• IDE - ColdFusionBuilder• <CF Stuff>

http://www.teknopoint.info

Page 4: Flex and ColdFusion

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

www.teknopoint.info 5

About ColdFusion Server - 2

http://www.teknopoint.info

Page 6: Flex and ColdFusion

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

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

www.teknopoint.info 8

<CF Stuff> - 2

http://www.teknopoint.info

Page 9: Flex and ColdFusion

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

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

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

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

www.teknopoint.info 13

Flash Remoting• How it

works

http://www.teknopoint.info

Page 14: Flex and ColdFusion

www.teknopoint.info 14

AMF Note• A typical AMF Packet

http://www.teknopoint.info

Page 15: Flex and ColdFusion

www.teknopoint.info 15

AMF Advantage

http://www.teknopoint.info

Page 16: Flex and ColdFusion

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

Questions…

http://www.teknopoint.info

Page 18: Flex and ColdFusion

www.teknopoint.info 18©Tekno Point Multimedia www.teknopoint.info

[email protected]: @yash_mody

Thank You

http://www.teknopoint.info


Recommended