intro to coldfusion

48
Introduction to ColdFusion Terry Ryan Developer Evangelist http://terrenceryan.com @tpryan

Upload: terry-ryan

Post on 03-Sep-2014

6.869 views

Category:

Technology


0 download

DESCRIPTION

An Introduction to ColdFusion

TRANSCRIPT

Page 1: Intro to Coldfusion

Introduction to ColdFusion

Terry RyanDeveloper Evangelisthttp://terrenceryan.com@tpryan

Page 2: Intro to Coldfusion

Purpose

• Introduce ColdFusion• Explain why • Provide a foundation

Page 3: Intro to Coldfusion

Not for this guy

Page 4: Intro to Coldfusion

Agenda

• Basics of ColdFusion• Show off cool stuff• Point out how to go further

Page 5: Intro to Coldfusion

Introduction

Page 6: Intro to Coldfusion

ColdFusion is a web application server

Page 7: Intro to Coldfusion

It’s comparable to PHP, and ASP.NET

Page 8: Intro to Coldfusion

Why use ColdFusion over those others?

Page 9: Intro to Coldfusion

ColdFusion’s Advantage

• ColdFusion is easy and concise• ColdFusion has tons of

baked in functionality

Page 10: Intro to Coldfusion

ColdFusion often refers:Server

Language

Page 11: Intro to Coldfusion

Language

CFML• Tag based• Can do everything

CFScript• Script based• Can do most things

Page 12: Intro to Coldfusion

Demo

CFML vs CFScript

Page 13: Intro to Coldfusion

Language

CFML• View and UI

CFScript• Backend• Libraries• Data Access

Page 14: Intro to Coldfusion

Variables

• Loose Typing–String–Numeric–Date–Boolean

Page 15: Intro to Coldfusion

Demo

Typing

Page 16: Intro to Coldfusion

Variables - Structured

• Array• Struct• Query

Page 17: Intro to Coldfusion

Array

• Ordered list of items

• Sortable• Multi Dimensions

available

Page 18: Intro to Coldfusion

Struct

• Hashmap or Dictionary

• Not really sortable

Page 19: Intro to Coldfusion

Query

• Recordset or Iterator• Structured data from

database or other remote operation

• Sortable, loopable• Searchable with SQL

Page 20: Intro to Coldfusion

Demo

Database Querying

Page 21: Intro to Coldfusion

CFC’s

Page 22: Intro to Coldfusion

CFC’s are ColdFusion’s:ObjectLibrary

Webservice

Page 23: Intro to Coldfusion

Demo

CFC’s in Action

Page 24: Intro to Coldfusion

Scopes

Page 25: Intro to Coldfusion

Scopes

• Scopes are structs containing related variables–Origin–Persistence–Accessibility

Page 26: Intro to Coldfusion

Scopes

• URL– URL parameters

• Form– Form post values

• Request– The ent ire length of a s ingle request

• Session– Persist for one user’s session

• Application– Persist for al l sessions of al l users

• CGI– Environment variables from webserver

• Variables– Default scope

Page 27: Intro to Coldfusion

Demo

Scopes

Page 28: Intro to Coldfusion

Cool Stuff ColdFusion Does

Page 29: Intro to Coldfusion

Demo

Twitter Search

Page 30: Intro to Coldfusion

Features Demoed

• Feed Processing• List Processing• Custom Tags• PDF Creation• Excel Creation• Google Map Integration• Image Processing• Caching

Page 31: Intro to Coldfusion

Demo

Apptacular

Page 32: Intro to Coldfusion

Features Demoed

• ColdFusion Builder• ColdFusion Builder Extensions• Database Introscpection• ORM

Page 33: Intro to Coldfusion

Features not covered

• Exchange Integration

• SharePoint Integration

• Offi ce Integration– Word– PowerPoint

• Java Integration– Hibernate (ORM)– ehCache (Cache)– Solr (Search)

• .Net Integration

• UI tools– ExtJS

• JavaScript Integration

• Network Abilities– FTP– HTTP– IMAP– POP– SMTP– SMS– IMPP

Page 34: Intro to Coldfusion

Learn More

Page 35: Intro to Coldfusion

ColdFusion Week

Introduction to ColdFusion Components (CFCs)Monday, Sept. 12, 2011 4:00 P.M. Pacifi c

Developing Your First Application Using ColdFusion 9 and ORMThursday, September 15, 2011 10:00 AM US/Pacifi c

ColdFusion and Mobile - Browser-Based Applications Made EasyThursday, September 15, 2011 1:00 PM US/Pacifi c

Become ColdFusion Empowered in Under an Hour Thurs, September 15, 2011 4:00 PM US/Pacifi c

Page 36: Intro to Coldfusion

Adobe Developer Connection

http://www.adobe.com/devnet/coldfusion.html

Page 37: Intro to Coldfusion

CFWACK

• ColdFusion Web Application Construction Kit

Page 38: Intro to Coldfusion

ColdFusionBloggersColdFusionBloggers.org

Page 39: Intro to Coldfusion

ColdFusion Refcardz• ColdFusion– http://

refcardz.dzone.com/refcardz/getting-started-coldfusion-9

• ColdFusion Builder 2– http://

refcardz.dzone.com/refcardz/coldfusion-builder-2-faster

Page 40: Intro to Coldfusion

RIAForge

RIAForge.orgOpen Source repository for ColdFusion and other Adobe Products

Page 41: Intro to Coldfusion

Getting the bits

Page 42: Intro to Coldfusion

ColdFusion

• Developer version is free• http://www.adobe.com/go/

coldfusion

Page 43: Intro to Coldfusion

ColdFusion Builder

• Not free, but there is a free version

• http://www.adobe.com/go/cfbuilder

Page 44: Intro to Coldfusion

Conclusions

Page 45: Intro to Coldfusion

ColdFusion is easy and concise

Page 46: Intro to Coldfusion

ColdFusion is easy and concise

Page 47: Intro to Coldfusion

ColdFusion has tons of baked in functionality

Page 48: Intro to Coldfusion

Follow up?

• Feel free to contact me–[email protected]–http://terrenceryan.com–Twitter: @tpryan