Advanced ColdFusion 8: XML, External Data and File System
This course focuses on making the best use of several external data types including XML, Web Services, <cfhttp> and more. We also explore the how to deal with the file system to read, write, append and even upload files.
Course Outline
- XML Syntax Basics
- XML Logical Structure
- XML Physical Structure
- XML Logic: Designing Datasheets
- Parsing XML data with ColdFusion
- Demo: Convert an XML datasheet into an XML Document Object with XMLParse()
- Demo: Referring to Specific XML nodes
- Demo: Loop through each node with <cfloop>
- Demo: Counting Children Nodes
- Exercise: Create a Calendar of Events Built from External XML Files Provided by External Organizations
- Loading XML data
- Demo: Access XML Data with <cffile> tag
- Demo: Build XML Object in .cfm Document with <cfxml> Tag
- Demo: Query Database to Build XML Document Object
- Manipulating XML data with Built-in Functions
- List of Structure/Array Functions that may be used on an XML Document Object
- List of XML-specific Functions
- Demo: Add nodes to XML Document Object
- Exercise: Add an Event to the Calendar
- Create Query Object from Existing XML
- Demo: Combine Multiple XML Document Objects into One
- Demo: Convert XML Document Objects into a Query Object
- Exercise: Co-mingle the Events on the Calendar
- Extensible Stylesheet Language (XSL) Review
- XSL, XSLT, and XSLFO
- XSL Basics: Linking to an XSL Stylesheet
- Examining an XSL Stylesheet
- Server-side XSL Transformation with ColdFusion
- Demo: Transforming XML Data with XSL
- Idea! Transforming XML Data into XML Data
- Exercise: Transform XML data
- XPath Syntax Basics
- XPath: the XSL Node Matching Syntax
- Using XPath with ColdFusion
- Demo: Select Nodes Based on Attribute Values
- Exercise: Using XPath to select specific XML elements
- Read and Write Text Files with <cffile>
- Demo: Read Plain Text Documents
- Demo: Write Text File
- Exercise: Build a Simple Message Board
- Upload Documents with <cffile>
- Demo: Dynamically Create Static HTML Pages
- Form tag additions
- Saving long variable values with <cfsavecontent>
- Exercise: Upload External Files
- Using <cfdirectory>
- Demo: Using <cfdirectory>
- <cfhttp>
- Making http requests with <cfhttp>
- Demo: Using <cfhttp> to display a complete page
- Demo: Using <cfhttp> to download a complete page and save with <cffile>
- Attributes of <cfhttp>
- Demo: Convert a Text File into a Query with <cfhttp>
- While looping though the records…
- Demo: Add a Column to Query
- Idea! Dynamically Creating Static Pages
- Exercise: Using <cfhttp> to Access and Parse External Data
- Passing Variables with <cfhttp> and <cfhttpparam>
- Creating an Intelligent Agent
- Demo: Examine a Simple Traditional Application
- Demo: Convert Simple Application into an Intelligent Agent
- Exercise: Simulate the Post Method with <cfhttp> and Create an “Intelligent Agent”
- Web Services
- Creating WSDL Documents
- Demo: Converting CFCs into Web Services
- SOAP
- A note about security
- XML Parser
- Exercise: Convert Existing CFC into Web Service
- Invoking External Web Services
- Locating Web Services
- Invoking .NET Web Services
- Demo: Consuming internal and external Web Services
- Exercise: Consuming External Web Services
- Dreamweaver, Web Services and Components
- WDDX
Appendices
- Appendix A: Resources
- Appendix B: Set-up Notes
- Appendix C: Create a Dreamweaver “Site”
- Site Creation – Basic
- Site Files Panel
- “Create a Site” vs. “FTP or RDS Server Connection”
- Appendix D: Selecting Among ColdFusion Code Reuse Methods
See also
Adobe ColdFusion 8 Training Courses
|