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.

Slides:



Advertisements
Similar presentations
PHP I.
Advertisements

JavaScript FaaDoOEngineers.com FaaDoOEngineers.com.
Java Script Session1 INTRODUCTION.
Apache Struts Technology
1 CSC 551: Web Programming Spring 2004 client-side programming with JavaScript  scripts vs. programs  JavaScript vs. JScript vs. VBScript  common tasks.
1 ColdFusion Sandra Cadena-Torres IS-373 ~ Spring 2010.
 Copyright Wipro Technologies JSP Ver 1.0 Page 1 Talent Transformation Java Server Pages.
The Web Warrior Guide to Web Design Technologies
Server-Side vs. Client-Side Scripting Languages
Integrating Access with the Web and with Other Programs.
15 Chapter 15 Web Database Development Database Systems: Design, Implementation, and Management, Fifth Edition, Rob and Coronel.
28/1/2001 Seminar in Databases in the Internet Environment Introduction to J ava S erver P ages technology by Naomi Chen.
Fast Track to ColdFusion 9. Getting Started with ColdFusion Understanding Dynamic Web Pages ColdFusion Benchmark Introducing the ColdFusion Language Introducing.
Kashif Jalal CA-240 (072) Web Development Using ASP.NET CA – 240 Kashif Jalal Welcome to week – 2 of…
Outline IS400: Development of Business Applications on the Internet Fall 2004 Instructor: Dr. Boris Jukic Server Side Web Technologies: Part 2.
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.
Guide To UNIX Using Linux Third Edition
Chapter 11 ASP.NET JavaScript, Third Edition. 2 Objectives Learn about client/server architecture Study server-side scripting Create ASP.NET applications.
1 Java Server Pages Can web pages be created specially for each user? What part does Java play?
Mgt 240 Lecture Website Construction: Software and Language Alternatives March 29, 2005.
1 Chapter 20 — Creating Web Projects Microsoft Visual Basic.NET, Introduction to Programming.
TIBCO Designer TIBCO BusinessWorks is a scalable, extensible, and easy to use integration platform that allows you to develop, deploy, and run integration.
Copyright © 2007 Ramez Elmasri and Shamkant B. Navathe Slide
UNIT-V The MVC architecture and Struts Framework.
Form Handling, Validation and Functions. Form Handling Forms are a graphical user interfaces (GUIs) that enables the interaction between users and servers.
CST JavaScript Validating Form Data with JavaScript.
Java Server Pages (JSP) Presented by: Ananth Prasad & Alex Ivanov May 10, 2001.
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 Web Database Processing. Web Database Applications Static Report Publishing a report is prepared from a database application and exported to HTML DB.
JSP Standard Tag Library
Server- Side technologies Client-side vs. Server-side scripts PHP basic ASP.NET basic ColdFusion.
FALL 2005CSI 4118 – UNIVERSITY OF OTTAWA1 Part 4 Web technologies: HTTP, CGI, PHP,Java applets)
Architecture Of ASP.NET. What is ASP?  Server-side scripting technology.  Files containing HTML and scripting code.  Access via HTTP requests.  Scripting.
Database-Driven Web Sites, Second Edition1 Chapter 8 Processing ASP.NET Web Forms and Working With Server Controls.
Dr. Azeddine Chikh IS444: Modern tools for applications development.
Basics of Web Databases With the advent of Web database technology, Web pages are no longer static, but dynamic with connection to a back-end database.
Loops in CF: To loop or not to loop? Neil Ross
McGraw-Hill/Irwin © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Dynamic Action with Macromedia Dreamweaver MX Barry Sosinsky Valda Hilley.
Tutorial 10 Adding Spry Elements and Database Functionality Dreamweaver CS3 Tutorial 101.
Advanced Web Design Scripting Tutorial Chapters. Scripting Intro The scripting part of the forthcoming Advanced Web Design textbook introduces you to.
GDT V5 Web Services. GDT V5 Web Services Doug Evans and Detlef Lexut GDT 2008 International User Conference August 10 – 13  Lake Las Vegas, Nevada GDT.
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.
COLD FUSION Deepak Sethi. What is it…. Cold fusion is a complete web application server mainly used for developing e-business applications. It allows.
Tutorial 121 Creating a New Web Forms Page You will find that creating Web Forms is similar to creating traditional Windows applications in Visual Basic.
9 Chapter Nine Compiled Web Server Programs. 9 Chapter Objectives Learn about Common Gateway Interface (CGI) Create CGI programs that generate dynamic.
Client Scripting1 Internet Systems Design. Client Scripting2 n “A scripting language is a programming language that is used to manipulate, customize,
1 Accelerated Web Development Course JavaScript and Client side programming Day 2 Rich Roth On The Net
ASP.NET.. ASP.NET Environment ASP.NET is Microsoft's programming framework that enables the development of Web applications and services. It is an easy.
Introduction to ColdFusion Yu Fu 2003 MEC Candidate.
Chapter 8 Collecting Data with Forms. Chapter 8 Lessons Introduction 1.Plan and create a form 2.Edit and format a form 3.Work with form objects 4.Test.
Website Development with PHP and MySQL Saving Data.
1 © Netskills Quality Internet Training, University of Newcastle HTML Forms © Netskills, Quality Internet Training, University of Newcastle Netskills is.
CF101: Welcome to ColdFusion Simon Horwith CTO, Etrilogy Ltd.
JSTL The JavaServer Pages Standard Tag Library (JSTL) is a collection of useful JSP tags which encapsulates core functionality common to many JSP applications.
JAVA BEANS JSP - Standard Tag Library (JSTL) JAVA Enterprise Edition.
© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/3 JSP Application Models.
8 Chapter Eight Server-side Scripts. 8 Chapter Objectives Create dynamic Web pages that retrieve and display database data using Active Server Pages Process.
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.
Chapter 6 Chapter 6 Server Side Programming (JSP) Part 1 1 (IS 203) WebProgramming (IS 203) Web Programming.
10 Copyright © 2004, Oracle. All rights reserved. Building ADF View Components.
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,
Web Database Programming Using PHP
CF101: Welcome to ColdFusion
Web Database Programming Using PHP
MSIS 655 Advanced Business Applications Programming
Web DB Programming: PHP
Database Connectivity and Web Development
Web Application Development Using PHP
Presentation transcript:

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 database-oriented web applications Database connectivity established through a tag-based script called Database Markup Language (DBML) Version 1.5 was a dramatic improvement. Among other things, it included integration and C++ compatibility to allow for coding extensions Early on, ColdFusion faced competition from Microsoft, which was developing the technology that would lead to ASP Version 2.0 included such advances as 150 new functions, looping, variables, typeless expression evaluation, and a number of other language enhancements. ColdFusion 3.1 offered greater support for Windows NT and Sun Solaris systems, and also featured automated page generation and tag completion. It also included enhanced security and a new multi- threading service. Now, ColdFusion applications can even be deployed on J2EE servers

About ColdFusion MX ColdFusion MX is a rapid scripting environment server for creating dynamic Internet Applications. It enables developers to easily build and deploy things such as dynamic websites, self-service applications, and commerce sites. ColdFusion Markup Language (CFML) is a tag-based language, similar to HTML, that uses special tags and functions. CFML looks similar to HTML--it includes starting and, in most cases, ending tags, and each tag is enclosed in angle brackets. All ending tags are preceded with a forward slash (/) and all tag names are preceded with cf ; for example: tag body text and CFML CFML provides a layer of abstraction that hides many low-level details involved with Internet application programming. It lets you easily build applications that integrate files, databases, legacy systems, mail servers, FTP servers, objects, and components.

ColdFusion Components CFML also includes a built-in scripting language, CFScript, that lets you write code in a manner that is familiar to programmers and JavaScript writers. You can extend CFML further by creating custom tags or user- defined functions (UDFs), or by integrating COM, C++, and Java components (such as JSP tag libraries). You can also create ColdFusion components (CFCs), which encapsulate related functions and properties and provide a consistent interface for accessing them.

CFML Basics Functions - can use built in functions or define your own. Used to manipulate data and return a result. Expressions Variables and constants Flow-control constructs such as if-then and loops. CFML is an imperative language. CFML control tags are very similar to Java control words: cfif, cfelse, cfelseif, cfswitch, cfbreak, cfcase, cfloop…recognize any of those? The cf loop tag provides five types of loops: index (kind of like a “for” loop), conditional, query (runs through loop once for each row in a query), list (runs through loop once for each entry in a list – perhaps like an iterator), and collection.

CFML Oddities CFML is case insensitive CFML is typeless – you do not specify variable data types. Although, CFML data falls into the following categories: simple (boolean values, numbers, strings, etc.), complex (arrays, structures, queries), binary (such as the contents of a.gif file), object (like Java, CORBA or ColdFusion component objects) CFML has a language within it! CFScript is a scripting language that is similar to JavaScript but is simpler to use. Also, unlike JavaScript, CFScript only runs on the ColdFusion server; it does not run on the client system. Java now has interfaces for building ColdFusion custom CFX’s in Java! Interfaces such as the Query interface allows the user to iterate through query rows and columns.

How ColdFusion Pages are Processed

Common CFML Tags Source: TagPurpose cfquery Establishes a connection to a database (if one does not exist), executes a query, and returns results to the ColdFusion environment. cfoutput Displays output that can contain the results of processing ColdFusion functions, variables, and expressions. cfset Sets the value of a ColdFusion variable. cfmail Lets an application send SMTP mail messages using application variables, query results, or server files. (Another tag, cfpop, gets mail.) cfchart Converts application data or query results into graphs, such as bar charts or pie charts, in Flash, JPG, or PNG format cfobject Invokes objects written in other programming languages, including Java objects such as Enterprise JavaBeans or Common CORBA objects

There are CFML tags built in for… Manipulating variables Creating interactive forms Accessing and manipulating databases Displaying data Controlling the flow of execution on the ColdFusion page Handling errors Processing ColdFusion pages Managing the CFML application framework Manipulating files and directories Using external tools and objects, including Verity collections, COM, Java, and CORBA objects, and executable programs

Custom Tags ColdFusion lets you create custom tags. You can create two types of custom tags: 1. CFML custom tags that are ColdFusion pages 2. CFX tags that you write in a programing language such as Java or C++ Custom tags can encapsulate frequently used code. These tags enable you to place this code in one place and call it from many places. Custom tags also let you abstract complex logic into a single, simple interface.

CF Application Example – Top The top portion of the application has two text form fields. The “Name” field accepts a name up to 20 characters long, while the “Zip Code” field checks to see if integers are entered in a zip code pattern. Both of these forms are required, and a popup notification appears when information has not been entered.

CF Application Example – Middle The center portion of the application comes into view once the submit button has been pressed. The form variables that were entered in the text fields are printed, as shown in the upcoming code.

CF Application Example – Bottom The bottom of the application displays the contents of a database containing all of the previous entries of the form. The buttons remove and show the custom tag contents to the application.

Above is what the custom tag template looks like on its own. On the right is what the application looks like without the code calling the Coldfusion custom tag.