• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Developing Ajax Applications with ColdFusion 8
 

Developing Ajax Applications with ColdFusion 8

on

  • 976 views

 

Statistics

Views

Total Views
976
Views on SlideShare
974
Embed Views
2

Actions

Likes
0
Downloads
10
Comments
0

2 Embeds 2

http://www.slideshare.net 1
http://www.slidesharenet.org 1

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Developing Ajax Applications with ColdFusion 8 Developing Ajax Applications with ColdFusion 8 Presentation Transcript

    • Developing Ajax Applications with ColdFusion 8 Tim Buntel Adobe Systems Incorporated Copyright 2007 Adobe Systems Incorporated.
    • We’ll cover § A ColdFusion primer § ColdFusion AJAX Features § Binding § JSON support § AJAX Proxy § UI Controls § Debugging Copyright 2007 Adobe Systems Incorporated.
    • What is ColdFusion § An easy way to create Internet applications § Pure Java § Very productive § From Adobe Copyright 2007 Adobe Systems Incorporated.
    • Out of the box: ColdFusion Integrated Services § Database connectivity § Java and .NET Object Invocation § Full text searching (Verity) § Flash Remoting § PDF Creation & Manipulation § Server-side HTTP and FTP § Structured Reporting § LDAP client § Graphing and charting § Windows NT/AD authentication § E-Mail (POP and SMTP) § Debugging § Internationalization § Java, COM, CORBA client § XML manipulation § … and more § Including XSL and XPath § SOAP client and server Copyright 2007 Adobe Systems Incorporated.
    • How ColdFusion Works Web Browser Web server Web server Presentation Presentation Logic (CFM) J2EE Tier Application ColdFusion Server Server Business, Integration, and Business Tier Transaction Logic (CFC) Resource Tier DB Java/.NET File sys Web data Svcs. Copyright 2007 Adobe Systems Incorporated.
    • How ColdFusion Works - with Flex 2 applications (RPC) Flex Builder IDE Flex Builder IDE Flex SDK Flex SDK Compile ActionScript MXML Flex Application (swf in browser) ActionScript MXML Flex Class Library Flex Class Library Flash Remoting J2EE Application ColdFusion Business Tier Business, Integration, and Server Server Transaction Logic (CFC) Resource Tier DBMS LDAP File sys Web data Svcs. Copyright 2007 Adobe Systems Incorporated.
    • ColdFusion 8 Ajax Features § Basic data binding § CFAJAXPROXY tag § JSON support § UI Controls § Spry support § Debugging Copyright 2007 Adobe Systems Incorporated.
    • Binding § Display Regions § ColdFusion Bound to: Component § Form Controls § Javascript function § URL § String Copyright 2007 Adobe Systems Incorporated.
    • Demo Copyright 2007 Adobe Systems Incorporated.
    • AJAX Proxy § CFAJAXPROXY § Creates a JavaScript proxy for a ColdFusion component § Generates a proxy function for every remote function on the cfc § Specify asynchronous result and error handler callbacks Copyright 2007 Adobe Systems Incorporated.
    • Proxy built-in functions § setHTTPMethod § setAsyncMode, setSyncMode § setCallBackHandler § setErrorHandler § setrQueryFormat § setReturnFormat § setForm Copyright 2007 Adobe Systems Incorporated.
    • Demo Copyright 2007 Adobe Systems Incorporated.
    • What is JSON? § JavaScript Object Notation § Representation of data in JavaScript § JavaScript can understand JSON, it’s a native data format § Based on array and object literals of JavaScript Array: [“Benjamin”, “Michael”, “Scott”] Object: {“color” : “red”, “doors” : 4} Copyright 2007 Adobe Systems Incorporated.
    • JSON Support in ColdFusion 8 § SerializeJSON () § Converts ColdFusion objects into their JSON data format § DeserializeJSON () § Converts JSON data into ColdFusion objects § IsJSON() § Checks if the data passed to the function is in the JSON format HTTP User JavaScript Interface JSO N Data CF Server JavaScript Call Copyright 2007 Adobe Systems Incorporated.
    • CFMLßà JSON type mapping § Simple types String: "Adobe" Number: 1982.0 § Array Array: ["Adobe","ColdFusion8"] § Struct Struct: {"PRODUCT":"ColdFusion8","NAME":"Adobe"} § Query § Column format Query: {"ROWCOUNT":2,"COLUMNS":["NAME"],"DATA":{"name":["Adobe","ColdFusion8"]}} § Row format Query: Query: {"COLUMNS":["NAME"],"DATA":[["Adobe"],["ColdFusion8"]]} Copyright 2007 Adobe Systems Incorporated.
    • Demo Copyright 2007 Adobe Systems Incorporated.
    • UI Controls § Layout § cfdiv § cflayout § cfpod § Cfwindow § Menus & Trees § Form Controls § Grid § Textarea § Autosuggest § Tooltip Copyright 2007 Adobe Systems Incorporated.
    • Demo Copyright 2007 Adobe Systems Incorporated.
    • Debugging § Pop-up display window § Javascript functions § ColdFusion.Log.debug § ColdFusion.Log.dump § ColdFusion.Log.error § ColdFusion.Log.info Copyright 2007 Adobe Systems Incorporated.
    • Demo Copyright 2007 Adobe Systems Incorporated.
    • Next Steps § www.adobe.com/coldfusion § http://www.adobe.com/devnet/coldfusion § Tim Buntel buntel@adobe.com Copyright 2007 Adobe Systems Incorporated.