Presentation is loading. Please wait.

Presentation is loading. Please wait.

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

Similar presentations


Presentation on theme: "An Introduction to Allaire's ColdFusion Olga Verbeek McKillop Library Salve Regina University."— Presentation transcript:

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

2 Allaire’s ColdFusion zWhat can it do? zWhat is it? zIn Action! zHow to get started … zPutting it together … zResources

3 What can ColdFusion do? zCreate interactive, database-driven Web solutions zDynamically serve Web pages zCreate cross-platform, dynamic Web applications Examples

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

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

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

7 What is ColdFusion? zTAG based pages that uses CFML tags ye.g.... zCF functionality is within the tags ye.g. SQL statements zHTML tags interleaved with CFML tags yHTML page is the result

8 What is ColdFusion? xNote: no ColdFusion tags are returned to the user

9 What is ColdFusion? zBottlenecks - limitations to performance yresource bound - queries to databases yinterpreted - each line needs to be translated and executed ymiddleware - speak with a multitude of different servers and protocols.

10 ColdFusion In Action! zReal website that uses ColdFusion: zhttp://www.ovid.comhttp://www.ovid.com

11 How to get started … zLoad Personal Web Server 4.0 yhttp://www.microsoft.com/msdownload/ntop tionpack/askwiz.asp yHome directory will be c:\Webshare\Wwwroot yURL: http://127.0.0.1http://127.0.0.1 zDownload ColdFusion Express 4.5 yhttp://www.allaire.com yMajor directories are: CFIDE & CDOCS

12 Putting it together … zCreate a database in MS AccessCreate zTie the database to the CF server yIn CF Administrator: Click on ODBC link

13 Putting it together … zCreate a serials’ title listing: --- just the “g’s” zThe Database yDatabase: db1.mdbdb1.mdb yDatasource: serials_g yTable: sample_g Connected in CF Admin.

14 Putting it together … zCreate a.cfm file.cfm file y1. CFML tag: cfquery using SQL y2. CFML tag: cfoutput y3. More complex query...query

15 Putting it together … zCreate header & footer includes: yheader: myheader.cfmmyheader.cfm yfooter: myfooter.cfmmyfooter.cfm yContent page: h&f_gs.cfmh&f_gs.cfm

16 Resources yMS Personal Web Server 4.0 http://www.microsoft.com/msdownload/ntopt ionpack/askwiz.asp yAllaire’s ColfFusion http://www.allaire.com yColdFusion Site - Database aggregator OVID http://www.ovid.com

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

18 Resources yAdvanced ColdFusion 4.0 Application Development by Ben Forta xPublished by Que, Indianapolis, IN x1999. xAvailable from: netLibrary


Download ppt "An Introduction to Allaire's ColdFusion Olga Verbeek McKillop Library Salve Regina University."

Similar presentations


Ads by Google