1 / 18

An Introduction to Allaire's ColdFusion

An Introduction to Allaire's ColdFusion. Olga Verbeek McKillop Library Salve Regina University. Allaire’s ColdFusion. What can it do? What is it? In Action! How to get started … Putting it together … Resources. What can ColdFusion do?. Create interactive, database-driven Web solutions

joben
Download Presentation

An Introduction to Allaire's ColdFusion

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. An Introduction to Allaire's ColdFusion Olga Verbeek McKillop Library Salve Regina University

  2. Allaire’s ColdFusion • What can it do? • What is it? • In Action! • How to get started … • Putting it together … • Resources

  3. What can ColdFusion do? • Create interactive, database-driven Web solutions • Dynamically serve Web pages • Create cross-platform, dynamic Web applications Examples

  4. More What can ColdFusion do? Example 1. • ColdFusion and Databases • Dynamically serves pages from content that resides in a database. • Access databases using OLE DB and ODBC. • Native drivers for Oracle, Sybase, and others.

  5. More What can ColdFusion do? Example 2. • ColdFusion and Headers & Footers • Other .cfm pages can be included within the current .cfm page • (similar to server-side includes) • Put web site headers & footers in separate .cfm page and “include” them into content page.

  6. What can ColdFusion do? Example 3. • ColdFusion and Forms • Simple CFML tags replace the need for scripts. • Enable users to add records to a database, customize pages, and perform searches and more ...

  7. What is ColdFusion? • TAG based pages that uses CFML tags • e.g. <cfquery> . . . </cfquery> • CF functionality is within the tags • e.g. SQL statements • HTML tags interleaved with CFML tags • HTML page is the result

  8. What is ColdFusion? • Note: no ColdFusion tags are returned to the user

  9. What is ColdFusion? • Bottlenecks - limitations to performance • resource bound - queries to databases • interpreted - each line needs to be translated and executed • middleware - speak with a multitude of different servers and protocols.

  10. ColdFusion In Action! • Real website that uses ColdFusion: • http://www.ovid.com

  11. How to get started … • Load Personal Web Server 4.0 • http://www.microsoft.com/msdownload/ntoptionpack/askwiz.asp • Home directory will be c:\Webshare\Wwwroot • URL: http://127.0.0.1 • Download ColdFusion Express 4.5 • http://www.allaire.com • Major directories are: CFIDE & CDOCS

  12. Putting it together … • Create a database in MS Access • Tie the database to the CF server • In CF Administrator: Click on ODBC link

  13. Putting it together … • Create a serials’ title listing: --- just the “g’s” • The Database • Database: db1.mdb • Datasource: serials_g • Table: sample_g Connected in CF Admin.

  14. Putting it together … • Create a .cfm file • 1. CFML tag: cfquery using SQL • 2. CFML tag: cfoutput • 3. More complex query ...

  15. Putting it together … • Create header & footer includes: • header: myheader.cfm • footer: myfooter.cfm • Content page: h&f_gs.cfm

  16. Resources • MS Personal Web Server 4.0 http://www.microsoft.com/msdownload/ntoptionpack/askwiz.asp • Allaire’s ColfFusion http://www.allaire.com • ColdFusion Site - Database aggregator OVID http://www.ovid.com

  17. Resources • Help & Book Sources from EZWebdesign http://www.ezwebdesign.com/coldfusion.html • Tutorials from CFVault http://www.cfvault.com/index.cfm/mode/ ContentPage/Element/tutorials_full_index • Tutorials from the Curry School Of Education, UV http://curry.edschool.virginia.edu/teacherlink/ infotech/database/coldfusion/home.html

  18. Resources • Advanced ColdFusion 4.0 Application Development by Ben Forta • Published by Que, Indianapolis, IN • 1999. • Available from: netLibrary

More Related