Presentation is loading. Please wait.

Presentation is loading. Please wait.

CFUNITED – The premier ColdFusion conference www.cfunited.com Flex 2.0 and ColdFusion Integration – 101 Nahuel Foronda Laura Arguello.

Similar presentations


Presentation on theme: "CFUNITED – The premier ColdFusion conference www.cfunited.com Flex 2.0 and ColdFusion Integration – 101 Nahuel Foronda Laura Arguello."— Presentation transcript:

1 CFUNITED – The premier ColdFusion conference www.cfunited.com Flex 2.0 and ColdFusion Integration – 101 Nahuel Foronda Laura Arguello

2 Flex 2  Tool to build GUIs  No server required

3

4

5 Flex 2  Composed of: SDK (Compiler and framework) Flex Builder (IDE) Flex Data Services (Server product) Charting components Flex-ColdFusion connectivity

6

7 Flex SDK  Compiler  Languages: MXML and ActionScript 3  Flex Framework Class Library Components Layout managers  No server required  Free!

8

9

10 Flex Builder  IDE based on Eclipse  WYSIWYG  ColdFusion wizards

11 Flex Data Services  Server product  Messaging and Publish/Subscribe  Push data  Data synchronization

12

13 MXML, ActionScript and CSS  MXML XML-based language that defines user interface  ActionScript 3.0 scripting language that processes logic on the client  CSS styles to define look and feel

14 MXML

15 MXML: What it defines

16 CSS

17 CSS

18 CSS: What it makes it look like

19 ActionScript

20 ColdFusion + Flex  Flex replaces user interface (HTML) only, we still need server-side logic  ColdFusion provides database interfacing and other services

21

22 HTTP Services  Send HTTP GET and POST requests  Consume simple XML/Rest-style/XML- RPC services 

23 Web Services  Flex applications can Interact with web services that define their interfaces in a WSDL document Connect to a SOAP-compliant web service 

24 Remote Objects  Access the methods of server-side objects, such as ColdFusion CFC objects  Data is transferred in the binary Action Message Format (AMF) 

25 My To-do list sample application  CF Wizards (Flex Builder extensions) Generate a complete application to add/edit/remove database records Generate CFCs (DAO, Bean, Gateway objects) only

26 Class Mapping  Flex-ColdFusion class mapping

27

28

29

30 Bean & DAO

31 Active Record

32 Home Locator case study

33 Organization of an application  We must separate it in pieces  We can use events to communicate between components

34

35

36 XML namespaces  xmlns=“*” for the same folder components  xmlns=“myFolder” for components in custom location <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*" xmlns:views="com.homelocator.views.*">

37 Resources  Frameworks ARP: http://www.osflash.org/arp Cairngorm: http://www.iterationtwo.com/open_source_ cairngorm.html  Presentation Slides http://www.asfusion.com/presentations


Download ppt "CFUNITED – The premier ColdFusion conference www.cfunited.com Flex 2.0 and ColdFusion Integration – 101 Nahuel Foronda Laura Arguello."

Similar presentations


Ads by Google