+ All Categories
Home > Documents > Adobe ColdFusion

Adobe ColdFusion

Date post: 20-Jan-2016
Category:
Upload: gerry
View: 41 times
Download: 0 times
Share this document with a friend
Description:
Adobe ColdFusion. Omar Guerra. Overview. This language compares to JavaServer Pages (JSP), ASP.NET, or PHP, and resembles HTML in syntax. The most distinguishing feature is its associated scripting language, ColdFusion Markup Language (CFML). - PowerPoint PPT Presentation
Popular Tags:
25
Omar Guerra
Transcript
Page 1: Adobe ColdFusion

Omar Guerra

Page 2: Adobe ColdFusion

OverviewThis language compares to JavaServer Pages

(JSP), ASP.NET, or PHP, and resembles HTML in syntax.

The most distinguishing feature is its associated scripting language, ColdFusion Markup Language (CFML).

ColdFusion supports programming languages other than CFML, such as server-side Action script and embedded scripts that can be written in a JavaScript-like language, known as CFScript.

Page 3: Adobe ColdFusion

OverviewColdFusion is most often used for data-driven

web sites or intranets, but can also be used to generate remote services such as SOAP web services or Flash remoting.

It is well suited as the server-side technology to the client-side Flex.

ColdFusion can also handle asynchronous events such as Short Message Service (SMS) and instant messaging via its gateway interface.

Page 4: Adobe ColdFusion

OverviewWhat is ColdFusion capable of?

Query a database Allow users to upload files Create/read files on the server (for example, the files that

your users upload) Have a "member's area" (i.e. via a login page) Have a shopping cart Present a customized experience (for example, based on

users' browsing history) Create a "member's area" (i.e. via a login page) Send emails (for example, newsletters to a mailing list) Schedule tasks to run automatically (for example, your

email newsletters) FTP files to/from another server Publish web services

Page 5: Adobe ColdFusion

Overview (Disclaimer)Down sides to using ColdFusion

Expensive. Costs $1,299 full version, $649 upgrade version.

Not as popular as PHP, ASP.NET, or JSP. Most companies use one of these 3 technologies. Limited job search.

Primarily used in corporate environment.Not all web hosting companies support it.Those that do (www.godaddy.com) charge

extra for using it ($1.99 / month).

Page 6: Adobe ColdFusion

Main FeaturesClient and server cache management.Client-side code generation, especially for form widgets

(GUI that displays an information arrangement changeable by the user, such as a window or text box) and validation.

Conversion from HTML to PDF and FlashPaper (virtual printer ; all files printed from FlashPaper become Flash or PDF files).

Data retrieval from common enterprise systems such as Active Directory, POP, HTTP, FTP, Microsoft Exchange Server.

Platform-independent database querying via Open Database Connectivity (ODBC) or Java Database Connectivity (JDBC).

XML parsing, querying, and validation.

Page 7: Adobe ColdFusion

Other Programming LanguagesColdFusion and Java

ColdFusion can be deployed to servlet containers such as Apache Tomcat and Mortbay Jetty.

ColdFusion is a Java EE application Enterprise Edition: builds on the solid foundation of Java

Platform, Standard Edition (Java SE) and is the industry standard for implementing enterprise-class service-oriented architecture (SOA) and next-generation web applications.

Its code can be mixed with Java classes to create a variety of applications and utilize existing Java libraries.

It has access to all underlying Java classes, supports JSP custom tag libraries, and can access JSP functions after retrieving the JSP page context.

Page 8: Adobe ColdFusion

Other Programming LanguagesColdFusion and .NET

ColdFusion 8 natively supports .NET within the CFML syntax.

Developers can simply call any .NET assembly (partially compiled code library for use in deployment, versioning and security) without needing to recompile or alter the assemblies in any way.

Data types are automatically translated between ColdFusion and .NET.

Offers ability to access .NET assemblies remotely through proxy which allows users to leverage .NET without having to be installed on a Windows operating system.

Page 9: Adobe ColdFusion

InstallationBefore installing, it is a good idea to shut

down your firewall. Some firewalls may cause installation errors.

Step 1: After confirming the language on first screen, the ColdFusion installation process begins.

Page 10: Adobe ColdFusion

InstallationStep 2: Confirm the license agreement:

Page 11: Adobe ColdFusion

InstallationStep 3: Select the installation type.

If you have a purchased copy, then enter the serial number at this screen.

In most cases, selecting “Developer Edition” is fine.

Page 12: Adobe ColdFusion

InstallationStep 4: Installer Configuration

The first option (“Server Configuration”) is the most common option.

Page 13: Adobe ColdFusion

InstallationStep 5: Subcomponent Installation

Select the subcomponents you want to install. By default, all subcomponents are selected.

Page 14: Adobe ColdFusion

InstallationStep 6: Select Installation Directory

Select the directory you would like to install into. It is recommended to leave this as default.

Page 15: Adobe ColdFusion

InstallationStep 7: License Agreement

This screen only appears if you previously selected Adobe LifeCycle Data Services ES (at step 5):

Page 16: Adobe ColdFusion

InstallationStep 8: Adobe LifeCycle Data Services ES

InstallationIf you have a serial number for Adobe

LifeCycle Data Services ES, enter it here. Otherwise leave it blank:

Page 17: Adobe ColdFusion

InstallationStep 9:Previous ColdFusion Installation

DetectedIf you do, you can choose to have both versions

co-exist on your computer, or to overwrite the previous version.

Page 18: Adobe ColdFusion

InstallationStep 10: Configure Web Servers/Websites

If you run your own web server (such as IIS or Apache), this screen allows you to select which websites should be configured to use ColdFusion. Click on “All IIS websites”:

Page 19: Adobe ColdFusion

InstallationStep 11: Choose ColdFusion Administrator

LocationThis screen lets you choose where to put the

files for the ColdFusion Administrator. The CF Administrator is usually accessed at http://localhost/cfide/administrator

Page 20: Adobe ColdFusion

InstallationStep 12: Administrator Password

You are required to enter a password for accessing the CF Administrator.

Page 21: Adobe ColdFusion

InstallationStep 13: Enable RDS

As a general rule, disable RDS on production servers. Only enable RDS if you need to access the server remotely for development purposes. In this demonstration, it is important to ENABLE RDS:

Page 22: Adobe ColdFusion

InstallationPre-Installation Summary

Review your settings. If all is correct, click “Install”:

Page 23: Adobe ColdFusion

InstallationStep 15:

Once it has been installed, a notification window tells you installation was completed successfully. If not, you will be notified of any errors that occurred during installation:

Page 24: Adobe ColdFusion

Tag SyntaxColdFusion Syntax refers to a set of rules that

determine how the ColdFusion application will be written and interpreted by the CF Server.

These rules are referred to as the ColdFusion Markup Language (CFML).

CFML consists of a number of tags.Similar to HTML, these usually consist of an

opening tag and a closing tag, and are surrounded by greater than (>) and less than (<) symbols .

Page 25: Adobe ColdFusion

Tag SyntaxColdFusion tags use the following format:

<tagname attribute=“value”> Code/text that is affected by the

surrounding tags.</tagname>

Code Example:<cfoutput query=“myQuery”>

#firstname#<br /></cfoutput>


Recommended