Introduction to ColdFusion By Tom Dubeck. Overview What is ColdFusion? How does it compare to other scripts? Some example code. Why you might want to.

Slides:



Advertisements
Similar presentations
CF and JSP/Servlets Developed originally by Robi Sen For the CF UnderGround II Seminar, Apr 2001 Edited and enhanced by Charlie Arehart (Robi had an emergency.
Advertisements

 Copyright Wipro Technologies JSP Ver 1.0 Page 1 Talent Transformation Java Server Pages.
The Web Warrior Guide to Web Design Technologies
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 14 Web Database Programming Using PHP.
Server-Side vs. Client-Side Scripting Languages
PHP (2) – Functions, Arrays, Databases, and sessions.
Session 6 Server-side programming - ASP. An ASP page is an HTML page interspersed with server-side code. The.ASP extension instead of.HTM denotes server-side.
Fast Track to ColdFusion 9. Getting Started with ColdFusion Understanding Dynamic Web Pages ColdFusion Benchmark Introducing the ColdFusion Language Introducing.
Cold Fusion Tutorial Chris Marin. Web Application Server Cold Fusion is made by Allaire Allaire and Macromedia are in the process of merging. We can expect.
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 JSP: Directives and Scripting elements.
JavaScript ICW: Lecture 11 Tom Chothia. Last Lecture URLs Threads, to make a process run in parallel: Make it extend Thread Give it a run method Call.
Java Server Pages Russell Beale. What are Java Server Pages? Separates content from presentation Good to use when lots of HTML to be presented to user,
Form Handling, Validation and Functions. Form Handling Forms are a graphical user interfaces (GUIs) that enables the interaction between users and servers.
Overview of JSP Technology. The need of JSP With servlets, it is easy to – Read form data – Read HTTP request headers – Set HTTP status codes and response.
1 Forms for the Web Tom Muck
ALBERT WAVERING BOBBY SENG. Week Whatever: PHP  Announcements/questions/complaints.
CSC 318 WEB APPLICATION DEVELOPMENT.  Introduction to Server Scripting language  Client VS Server  Introduction to PHP  PHP Files and Syntax  Function.
1 CIS336 Website design, implementation and management (also Semester 2 of CIS219, CIS221 and IT226) Lecture 9 JavaServer Pages (JSP) (Based on Møller.
Introduction to PHP and Server Side Technology. Slide 2 PHP History Created in 1995 PHP 5.0 is the current version It’s been around since 2004.
Server- Side technologies Client-side vs. Server-side scripts PHP basic ASP.NET basic ColdFusion.
Copyright © Curt Hill PhP History and Introduction.
Lecture Note 3: ASP Syntax.  ASP Syntax  ASP Syntax ASP Code is Browser-Independent. You cannot view the ASP source code by selecting "View source"
3/8/00asp00 1 Active Server Pages from Microsoft Nancy McCracken Northeast Parallel Architectures Center at Syracuse.
PHP TUTORIAL. HISTORY OF PHP  PHP as it's known today is actually the successor to a product named PHP/FI.  Created in 1994 by Rasmus Lerdorf, the very.
JSP Java Server Pages Softsmith Infotech.
ASP.NET Web Application and Development Digital Media Department Unit Credit Value : 4 Essential Learning time : 120 hours Digital.
COLD FUSION Deepak Sethi. What is it…. Cold fusion is a complete web application server mainly used for developing e-business applications. It allows.
1 Accelerated Web Development Course JavaScript and Client side programming Day 2 Rich Roth On The Net
ColdFusion MX Rob Filardo and Lindsay Matteo A Brief History ColdFusion 1.0 was created in 1995 by Adam Berrey in order to help HTML programmers create.
INTRODUCTION TO JAVASCRIPT AND DOM Internet Engineering Spring 2012.
XP Tutorial 10New Perspectives on Creating Web Pages with HTML, XHTML, and XML 1 Working with JavaScript Creating a Programmable Web Page for North Pole.
Creating Dynamic Web Pages Using PHP and MySQL CS 320.
Open Source Software Unit – 3 Presented By Mr. R.Aravindhan.
Website Development with PHP and MySQL Saving Data.
Overview: 1. Discussion of the basic architecture of a web application. 2. Discussion of the relevance of using MySQL and PHP in a web application.
Dreamweaver 8 Introduction What you can do with Dreamweaver 8 What's new in Dreamweaver 8.
Introduction.  The scripting language most often used for client-side web development.  Influenced by many programming languages, easier for nonprogrammers.
EIW - ASP Introduction1 Active Server Pages VBScript.
XP Tutorial 10New Perspectives on HTML and XHTML, Comprehensive 1 Working with JavaScript Creating a Programmable Web Page for North Pole Novelties Tutorial.
ECA 225 Applied Interactive Programming1 ECA 225 Applied Online Programming basics.
David Lawrence 7/8/091Intro. to PHP -- David Lawrence.
 Previous lessons have focused on client-side scripts  Programs embedded in the page’s HTML code  Can also execute scripts on the server  Server-side.
Scripting Languages Client Side and Server Side. Examples of client side/server side Examples of client-side side include: JavaScript Jquery (uses a JavaScript.
ASP. ASP is a powerful tool for making dynamic and interactive Web pages An ASP file can contain text, HTML tags and scripts. Scripts in an ASP file are.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 14 Web Database Programming Using PHP.
ASP Syntax Y.-H. Chen International College Ming-Chuan University Fall, 2004.
Introduction to JavaScript MIS 3502, Spring 2016 Jeremy Shafer Department of MIS Fox School of Business Temple University 2/2/2016.
JSP Directive and Objects. JSP Directives As discussed before There are 3 types of elements in JSP Directive Elements Scripting Elements Standard Action.
Dr. Abdullah Almutairi Spring PHP is a server scripting language, and a powerful tool for making dynamic and interactive Web pages. PHP is a widely-used,
1 CSC160 Chapter 1: Introduction to JavaScript Chapter 2: Placing JavaScript in an HTML File.
Web Page Designing With Dreamweaver MX\Session 1\1 of 9 Session 1 Introduction to PHP Hypertext Preprocessor - PHP.
PHP Tutorial. What is PHP PHP is a server scripting language, and a powerful tool for making dynamic and interactive Web pages.
XP Tutorial 10New Perspectives on HTML, XHTML, and DHTML, Comprehensive 1 Working with JavaScript Creating a Programmable Web Page for North Pole Novelties.
The full name of PERL is Practical extraction and report language. It is similar to shell script and lot easier & powerful language. Perl is free to download.
Introduction to JavaScript MIS 3502, Fall 2016 Jeremy Shafer Department of MIS Fox School of Business Temple University 9/29/2016.
PHP using MySQL Database for Web Development (part II)
Web Database Programming Using PHP
Introduction to PowerShell
Web Database Programming Using PHP
PHP Introduction.
PHP.
Web DB Programming: PHP
IntroductionToPHP Static vs. Dynamic websites
Intro to PHP.
Tutorial 6 PHP & MySQL Li Xu
PHP an introduction.
Introduction to JavaScript
Web Application Development Using PHP
Presentation transcript:

Introduction to ColdFusion By Tom Dubeck

Overview What is ColdFusion? How does it compare to other scripts? Some example code. Why you might want to use it. Installing ColdFusion. Controlling ColdFusion.

What is ColdFusion? ColdFusion != Cold Fusion, it will not power your computer or win you a Nobel Prize in Physics It will however, let you write powerful web applications relatively quick and straightforward as compared to some other web scripts.

Other language Comparisons Perl Interpreted on a character basis Any shared data must go through hidden HTML field or manually created cookies. Both HTML and Headers must be spelt out using Print commands Syntax similar to C++ but with a lot more punctuation characters in weird places. Object Oriented?

Other Language Comparison ASP/VBscipt Interpreted on a Character basis Pages are loaded individually, but can be easily connected through Session and Application variables. ASP code is inserted in between normal HTML with special tags (much like JSP). Very different Syntax than C/Perl/etc, but very human readable. Barely Object Oriented

Other Language Comparison ColdFusion Interpreted on a Tag basis. Also administered by local Admin page. Like ASP, has Session, Application, and other scopes that can share information from page to page. Each Logic control or Data structure is represented by its own HTML/XML-ish tag, highly intermingled. Structures and Custom tags, not quite objects

Source Comparison

Tag based Code to declare/set variables for any kind of loop, index/while/container for both plain printing and containers/lists for database access for easy form field or argument validation and access

Operators In CFML, <>= already used in tags. = - is, equal, or eq != - is not, not equal ne ><>=- gt, lt, greater than or equal, gte XOR, EQV, IMP,^ and MOD supported as well.

Make your own tags, kind of like OOP Define a template MyClass.cfm Use to take in attributes Use thistag.executionmode to set behaviors for endtags Tag is called.

Why ColdFusion? Very high interactivity and support with Macromedia products include Flash and Dreamweaver. Verity Search Engine takes all the work out of full text searches. Admin page keeps important system settings (Databases, error handling) standardized between pages and hidden from those that don’t need to know. Very powerful query control Easy to use variable validation.

ColdFusion in Action Verity Search through Database Select ItemNumber, Description From MainInventory Select * From Products Where key in (#ValueList(Products.Key)#)

ColdFusion in Action Query of Queries Select * From MainInventory Select ItemNumber, Description From alldata Where type=“Electronics”

Query of Queries Uses the Query object instead of the database. Greate for narrowing results or re- ordering. Although it supports it, not a good idea to join.

In case you don’t like CFML tag- works like tag for JavaScript or for *SP. Supports for, while, do while loops identical to JavaScript. Function to declare functions, var to declare varibles, return anything you want. In other words, just like JavaScript. No print command, have to return a string and

Installing ColdFusion Can be done with or without a previous Web server. Can get a free developer’s version to tinker with on your machine from Default settings generally work.

ColdFusion Admin Conveniant place to control your Data Sources, Verity Collections, System settings, and Debug/Error handling.

ColdFusion Resources Macromedia’s Developers’ Forum Various online tutorials Various books