Cold Fusion Tutorial Mohammad Shamma SIMS 213 Spring 1999.

Slides:



Advertisements
Similar presentations
1 © Netskills Quality Internet Training, University of Newcastle XML.
Advertisements

XP 1 Developing a Basic Web Site Tutorial 2: Web Site Structures & Links.
1 Lesson 10 Using JavaScript with Styles HTML and JavaScript BASICS, 4 th Edition Barksdale / Turner.
Technical Tips and Tricks for User Support Mike Gardner
Java, Access, SQL, HTML. Three-tier architecture involves: Client - Browser Server - Tomcat Database - Access - Server-side language - JSP could just.
Creating Custom Forms. 2 Design and create a custom form You can create a custom form by modifying an existing form or creating a new form. Either way,
15 Chapter 15 Web Database Development Database Systems: Design, Implementation, and Management, Fifth Edition, Rob and Coronel.
Week 2 IBS 685. Static Page Architecture The user requests the page by typing a URL in a browser The Browser requests the page from the Web Server The.
DT228/3 Web Development Databases. Database Almost all web application on the net access a database e.g. shopping sites, message boards, search engines.
Microsoft Office XP Illustrated Introductory, Enhanced Office Applications with Internet Explorer Integrating.
Management Information Systems MS Access 2003 By: Mr. Imdadullah Lecturer, Department of M.I.S. College of Business Administration, KSU.
Microsoft Office © Copyright William Rowan Objective By the end of this you will have being given a brief introduction to: Microsoft Word Microsoft.
WDMD 170 – UW Stevens Point 1 WDMD 170 Internet Languages eLesson: Working with Forms in JavaScript (NON-audio version) © Dr. David C. Gibbs
XP New Perspectives on Microsoft Access 2002 Tutorial 71 Microsoft Access 2002 Tutorial 7 – Integrating Access With the Web and With Other Programs.
Understanding HTML Style Sheets. What is a style?  A style is a rule that defines the appearance and position of text and graphics. It may define the.
Internet Skills An Introduction to HTML Alan Noble Room 504 Tel: (44562 internal)
XP New Perspectives on Microsoft Access 2002 Tutorial 41 Microsoft Access 2002 Tutorial 4 – Creating Forms and Reports.
Copyright © Texas Education Agency, All rights reserved. 1 Web Technologies Website Development with Dreamweaver.
4-1 INTERNET DATABASE CONNECTOR Colorado Technical University IT420 Tim Peterson.
XP New Perspectives on Microsoft Access 2002 Tutorial 51 Microsoft Access 2002 Tutorial 5 – Enhancing a Table’s Design, and Creating Advanced Queries and.
Basic HTML Hyper text markup Language. Re-cap  … - The tag tells the browser that this is an HTML document The html element is the outermost element.
Web Technologies Website Development Trade & Industrial Education
COLD FUSION Deepak Sethi. What is it…. Cold fusion is a complete web application server mainly used for developing e-business applications. It allows.
ILearnNYC / D2L Analytics Portal: I. Navigating Reports.
Website Development with Dreamweaver
Web Server Administration Chapter 7 Installing and Testing a Programming Environment.
1 HTML John Sum Institute of Technology Management National Chung Hsing University.
XP New Perspectives on The Internet, Sixth Edition— Comprehensive Tutorial 8 1 Creating Effective Web Pages Creating HTML Documents Tutorial 8.
Tutorial 10 by Sam ine1020 Introduction to Internet Engineering 1 Database & Server-side Scripting Tutorial 10.
 cascade Style Sheets (CSS) is a mark-up language that was first proposed in 1994 by Håkon Wium Lie. CSS works in conjunction with HTML to greatly increase.
Management Information Systems MS Access MS Access is an application software that facilitates us to create Database Management Systems (DBMS)
MS Clip Organizer: A Tutorial S. Chad Hinton Mgmt 661-Dr. Foster Summer 2007.
Copyrighted material John Tullis 10/17/2015 page 1 04/15/00 XML Part 3 John Tullis DePaul Instructor
Essentials of HTML Class 4 Instructor: Jeanne Hart
Database Applications – Microsoft Access Lesson 3 Creating and Modifying Forms and Reports Updated 09/13 35 slides in presentation.
Copyright 2007, Information Builders. Slide 1 Understanding Basic HTML Amanda Regan Technical Director June, 2008.
XP New Perspectives on Microsoft Office FrontPage 2003 Tutorial 1 1 Microsoft Office FrontPage 2003 Tutorial 1 – Creating a Web Site.
FIRST COURSE Access Tutorial 4 Creating Forms and Reports.
Chapter 17 Creating a Database.
MS Access 2007 Management Information Systems 1. Overview 2  What is MS Access?  Access Terminology  Access Window  Database Window  Create New Database.
CPSC 203 Introduction to Computers Lab 33 By Jie Gao.
HTML Basics BCIS 3680 Enterprise Programming. Web Client/Server Architecture 2  Your browser (the client) requests a Web page from a remote computer.
New Perspectives on XML, 2nd Edition Tutorial 9B1 USING XML AS A DATA SOURCE TUTORIAL 9B.
Database Applications – Microsoft Access Lesson 1 Introduction 26 Slides in Presentation Updated 8/12.
Basic HTML HTML document consists of text markup tags interspersed in the text Example: Example 1 Example 1 Here goes the text This is a second paragraph.
How to make tables in HTML By Daniel Arze. How do they do this?
HTML ( HYPER TEXT MARK UP LANGUAGE ). What is HTML HTML describes the content and format of web pages using tags. Ex. Title Tag: A title It’s the job.
XP 1 HTML Tutorial 2: Developing a Basic Web Site.
Access Tutorial 7 Web Integration. Overview Note: We’re only doing Session 7.1 (page AC ) and Session 8.1 and 8.2 Hand-in for lab 7: Tutorial.
Central Arizona Phoenix LTER Center for Environmental Studies Arizona State University Data Query Peter McCartney RDIFS Training Workshop Sevilleta LTER.
HTML Overview Part 5 – JavaScript 1. Scripts 2  Scripts are used to add dynamic content to a web page.  Scripts consist of a list of commands that execute.
Basics of Web Based Computing. The Architecture The user’s system A Web Server What’s inside? Server software Apache or other Resources to be accessible.
8 Chapter Eight Server-side Scripts. 8 Chapter Objectives Create dynamic Web pages that retrieve and display database data using Active Server Pages Process.
CPSC 203 Introduction to Computers T97 By Jie (Jeff) Gao.
Microsoft Office 2013 Try It! Chapter 4 Storing Data in Access.
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 6 1 Microsoft Office Access 2003 Tutorial 6 – Creating Custom Forms.
Web Design Terminology Unit 2 STEM. 1. Accessibility – a web page or site that address the users limitations or disabilities 2. Active server page (ASP)
XP New Perspectives on Creating Web Pages With Word Tutorial 1 1 Creating Web Pages With Word Tutorial 1.
Creating a Dynamic Adobe PDF - Using ColdFusion Randy Brown Michigan State Univerisity University Development Randy Brown
Practical Office 2007 Chapter 10
Microsoft Access 2003 Illustrated Complete
Intro to PHP & Variables
Microsoft Office Access 2003
Microsoft Office Access 2003
Introduction of Week 11 Return assignment 9-1 Collect assignment 10-1
Introduction to HTML5.
Tutorial 7 – Integrating Access With the Web and With Other Programs
King Saud University College of Business Administration Management Information Systems MS ACCESS.
Integrating Office 2013 Programs
Presentation transcript:

Cold Fusion Tutorial Mohammad Shamma SIMS 213 Spring 1999

Cold Fusion Tutorial Brief overview of CF Three-tiered architecture Building CF queries Specifying CF query output Building CF data input forms Inserting data from a CF form A sample CF database “drill-down” application

Cold Fusion Architecture

As shown in the previous slide, the Cold Fusion Application Server (CFAS) processes “.cfm” templates by parsing only CFML (Cold Fusion Markup Language) tags within the template. CFML looks almost exactly like HTML which makes building “.cfm” templates easier for user who are familiar with HTML.

Intro to CFML This is an example of CFML query that produces a student list. SELECT studentID, studentName FROM students The required attributes for are “name” and “datasource.” “Name” refers to an arbitrary name so that you can refer to this query in and “datasource” refers to the unique datasource name specified in the ODBC Administrator tool in Microsoft Windows. For further informaiton on ODBC please see FAQ at (

CFML (cont’d) Next, the tag is required to display the output of a particular. SELECT studentID, studentName FROM students #studentID# -- #studentName# Although the tags do not have to be placed within the tags, the must be placed within these tags.

CFML The following output will be displayed with whatever HTML formatting is inserted inside the tags. So if we wanted to apply HTML formatting to one of the output fields in the previous example, we would do so like this: #studentID# -- #studentName# The tags around the #studentID# output field will apply a “Bold” font style to that particular field.

What would this “.cfm” file look like? SELECT studentID, studentName FROM students CF Query example #studentID# -- #studentName# Once finished the “.cfm” file would look like this.

CF Data Input Forms A typical way to build a CF based data input form is to create a typical HTML form and assign the appropriate field names as attributes within your form. Ex. *Notice that the names of these two inputs correspond to the field names used in the previous example.

CF Data Input Forms Next you need to specify the form action, which in this case is the page that will insert the data from the form into the “student_db” datasource.

Inserting data from a form. The tag is an easy way to insert data from a form into a database table. The following is an example of what would be placed at the top of the “addStudent.cfm” action template: *Note that we are using the same datasource and that that table to be updated is specified as well.

Sample CFML files Along with these notes are a set of “.cfm” files that read and display simple data from a datasource, add data to that datasource and perform complex searches to “drill- down” into that datasource. The datasource for these files is a Microsoft Access database file called (tutorial.mdb).

CFML Sample files The file “grade_report.cfm” produces a list of students and their grades from particular courses. The files “addStudentGrade_EntryForm.cfm” and “addStudentgrade_EntryAction.cfm” allow data to be inserted into the database.

CFML Sample files Finally the last set of files allow you to build complex data “drill-down” applications to the database: –studentsearch_Search.cfm –studentsearch_Result.cfm –studentsearch_Detail.cfm –studentsearch_AppendCriteria.cfm

More on Cold Fusion If you want to know more about Cold Fusion ( Further documentation can be viewed from (