Book description
With more than 75 of the Fortune 100 companies using it (and more than 10,000 organizations employing it worldwide), it’s pretty much a given that if you’re developing applications for the Web, you’re going to need to know ColdFusion at some point! Not to worry: Macromedia ColdFusion MX 7 Web Application Construction Kit provides everything you need to start creating Web-based applications immediately—including the latest version of the ColdFusion Web Application Server and development environment. Author and ColdFusion master Ben Forta starts by covering the fundamentals of Web-based database design and then proceeds to show you how to do everything from create data-driven pages to build complete applications, implement security mechanisms, integrate with e-mail, interact with Macromedia Flash, and more. From design and installation to application deployment and troubleshooting, this guide’s got ColdFusion covered, including all the features new to the latest version: structured business reports, rich forms, Enterprise Manager (which lets users cluster multiple ColdFusion servers on a single machine), and more!
Table of contents
- Copyright
- About the Author
- Acknowledgments
- Introduction
-
1. Getting Started
- 1. Introducing ColdFusion
- 2. Introducing Macromedia Dreamweaver MX 2004
- 3. Accessing the ColdFusion Administrator
- 4. Previewing ColdFusion
- 5. Building the Databases
- 6. Introducing SQL
- 7. SQL Data Manipulation
-
2. Using ColdFusion
- 8. Using ColdFusion
- 9. CFML Basics
- 10. Creating Data-Driven Pages
- 11. The Basics of Structured Development
- 12. ColdFusion Forms
- 13. Form Data Validation
- 14. Using Forms to Add or Change Data
- 15. Beyond HTML Forms: Flash and XForms
- 16. Graphing, Printing, and Reporting
-
17. Debugging and Troubleshooting
- Troubleshooting ColdFusion Applications
- Using the ColdFusion Debugging Options
- Using the ColdFusion Log Files
- Preventing Problems
-
3. Building ColdFusion Applications
- 18. Planning an Application
- 19. Introducing the Web Application Framework
-
20. Working with Sessions
- Addressing the Web's Statelessness
- Using Cookies to Remember Preferences
- Using Client Variables
- Using Session Variables
- Locking Revisited
- Working with onSessionStart and onSessionEnd
-
21. Securing Your Applications
- Options for Securing Your Application
- Using ColdFusion to Control Access
-
Using Session Variables for Authentication
- Checking and Maintaining Login Status
- Restricting Access to Your Application
- Creating a Login Page
- Verifying the Login Name and Password
- Personalizing Based on Login
- Being Careful with Passed Parameters
- Other Scenarios
- Using ColdFusion's <cflogin> Framework
- Tags and Functions Provided by the <cflogin> Framework
- Using <cflogin> and <cfloginuser>
- Using getAuthUser() in Your Application Pages
- Using Roles to Dynamically Restrict Functionality
- Using Operating System Security
- Defending against Cross-Site Scripting
- 22. Building User-Defined Functions
-
23. Building Reusable Components
- Easy, Powerful Extensibility
- Introducing CFML Custom Tags
- How to Use Custom Tags
- Controlling Template Locations with <cfmodule>
- Writing Custom Tags That Display Information
- Custom Tags That Process Data
- Custom Tags That Encapsulate Business Rules
- Custom Tags for General-Purpose Use
- Additional Custom Tag Topics
- Introducing ColdFusion Components
- Your First CFC
- A More Complete CFC
- Components that Hold Instance Data
- Learning More About CFCs
-
24. Improving the User Experience
- Usability Considerations
- Remembering Settings
- Creating Next-n Records Interfaces
- Returning Page Output Right Away with <cfflush>
-
25. Improving Performance
- Options in the ColdFusion Administrator
- Improving Query Performance with Caching
- Caching Page Output
-
26. Integrating with Macromedia Flash
- Flash Integration Concepts
- Your First Flash Movie
- Using Flash Remoting
- Working with Recordsets in Flash
- Calling CFC Methods from Flash
- Other Cool Flash Remoting Features
-
27. Interacting with Email
- Sending Email from ColdFusion
- Retrieving Email with ColdFusion
- 28. Online Commerce
- 4. Advanced ColdFusion
-
5. Appendices
- A. Installing ColdFusion MX 7, Dreamweaver MX 2004, and the Sample Files
-
B. ColdFusion Tag Reference
- Tag Groups by Function
-
Alphabetical List of ColdFusion Tags
- <cfabort>
- <cfapplet>
- <cfapplication>
- <cfargument>
- <cfassociate>
- <cfbreak>
- <cfcache>
- <cfcalendar>
- <cfcase>
- <cfcatch>
- <cfchart>
- <cfchartdata>
- <cfchartseries>
- <cfcol>
- <cfcollection>
- <cfcomponent>
- <cfcontent>
- <cfcookie>
- <cfdefaultcase>
- <cfdirectory>
- <cfdocument>
- <cfdocumentitem>
- <cfdocumentsection>
- <cfdump>
- <cfelse>
- <cfelseif>
- <cferror>
- <cfexecute>
- <cfexit>
- <cffile>
- <cfflush>
- <cfform>
- <cfformgroup>
- <cfformitem>
- <cfftp>
- <cffunction>
- <cfgraph>
- <cfgraphdata>
- <cfgrid>
- <cfgridcolumn>
- <cfgridrow>
- <cfgridupdate>
- <cfheader>
- <cfhtmlhead>
- <cfhttp>
- <cfhttpparam>
- <cfif>
- <cfimpersonate>
- <cfimport>
- <cfinclude>
- <cfindex>
- <cfinput>
- <cfinsert>
- <cfinvoke>
- <cfinvokeargument>
- <cfldap>
- <cflocation>
- <cflock>
- <cflog>
- <cflogin>
- <cfloginuser>
- <cflogout>
- <cfloop>
- <cfmail>
- <cfmailparam>
- <cfmailpart>
- <cfmodule>
- <cfntauthenticate>
- <cfobject>
- <cfobjectcache>
- <cfoutput>
- <cfparam>
- name
- <cfpop>
- <cfprocessingdirective>
- <cfprocparam>
- <cfprocresult>
- <cfproperty>
- <cfquery>
- <cfqueryparam>
- <cfregistry>
- <cfreport>
- <cfreportparam>
- <cfrethrow>
- <cfreturn>
- <cfsavecontent>
- <cfschedule>
- <cfscript>
- <cfsearch>
- <cfselect>
- <cfservlet>
- <cfservletparam>
- <cfset>
- <cfsetting>
- <cfsilent>
- <cfslider>
- <cfstoredproc>
- <cfswitch>
- <cftable>
- <cftextarea>
- <cftextinput>
- <cfthrow>
- <cftimer>
- <cftrace>
- <cftransaction>
- <cftree>
- <cftreeitem>
- <cftry>
- <cfupdate>
- <cfwddx>
- <cfxml>
-
C. ColdFusion Function Reference
-
Functions by Topic
- String-Manipulation Functions
- Date and Time Functions
- Data Formatting Functions
- Mathematical Functions
- International Functions
- List-Manipulation Functions
- Array-Manipulation Functions
- Structure-Manipulation Functions
- Query-Manipulation Functions
- Security Functions
- System Functions
- Client Variable–Manipulation Functions
- Expression Evaluation Functions
- Bit- and Set-Manipulation Functions
- Conversion Functions
- XML Functions
- Event Gateway Functions
- SOAP Functions
- Miscellaneous Functions
-
Alphabetical List of ColdFusion Functions
- Abs()
- Acos()
- AddSOAPRequestHeader
- AddSOAPResponseHeader
- ArrayAppend()
- ArrayAvg()
- ArrayClear()
- ArrayDeleteAt()
- ArrayInsertAt()
- ArrayIsEmpty()
- ArrayLen()
- ArrayMax()
- ArrayMin()
- ArrayNew()
- ArrayPrepend()
- ArrayResize()
- ArraySet()
- ArraySort()
- ArraySum()
- ArraySwap
- ArrayToList()
- Asc()
- Asin()
- Atn()
- AuthenticatedContext()
- AuthenticatedUser()
- BinaryDecode
- BinaryEncode
- BitAnd()
- BitMaskClear()
- BitMaskRead()
- BitMaskSet()
- BitNot()
- BitOr()
- BitSHLN()
- BitSHRN()
- BitXor()
- Ceiling()
- CharsetDecode()
- CharsetEncode()
- Chr()
- Cjustify()
- Compare()
- CompareNoCase()
- Cos()
- CreateDate()
- CreateDateTime()
- CreateODBCDate()
- CreateODBCDateTime()
- CreateODBCTime()
- CreateObject()
- CreateTime()
- CreateTimeSpan()
- DateAdd()
- DateCompare()
- DateConvert()
- DateDiff()
- DateFormat()
- DatePart()
- Day()
- DayOfWeek()
- DayOfWeekAsString()
- DayOfYear()
- DaysInMonth()
- DaysInYear()
- DE()
- DecimalFormat()
- Decrypt()
- DeleteClientVariable()
- DirectoryExists()
- DollarFormat()
- Duplicate()
- Encrypt()
- Exp()
- ExpandPath()
- Evaluate()
- FileExists()
- Find()
- FindNoCase()
- FindOneOf()
- FirstDayOfMonth()
- Fix()
- FormatBaseN()
- GenerateSecretKey()
- GetBaseTagData()
- GetBaseTagList()
- GetBaseTemplatePath()
- GetClientVariablesList()
- GetContextRoot()
- GetCurrentTemplatePath()
- GetDirectoryFromPath()
- GetException()
- GetFileFromPath()
- GetFunctionList()
- GetGatewayHelper()
- GetHttpRequestData()
- GetHttpTimeString()
- GetLocale()
- GetLocaleDisplayName()
- GetMetaData()
- GetMetricData()
- GetPageContext()
- GetProfileString()
- GetSOAPRequest()
- GetSOAPRequestHeader()
- GetSOAPResponse()
- GetSOAPResponseHeader()
- GetTempDirectory()
- GetTempFile()
- GetTemplatePath()
- GetK2ServerCollections()
- GetK2ServerDocCount()
- GetK2ServerDocCountLimit()
- GetTickCount()
- GetTimeZoneInfo()
- GetToken()
- Hash()
- Hour()
- HTMLCodeFormat()
- HTMLEditFormat()
- IIf()
- IncrementValue()
- InputBaseN()
- Insert()
- Int()
- IsArray()
- IsAuthenticated()
- IsAuthorized()
- IsBinary()
- IsBoolean()
- IsCustomFunction()
- IsDebugMode()
- IsDefined()
- IsDate
- IsK2ServerDocCountExceeded()
- IsK2ServerOnline()
- IsLeapYear()
- IsNumeric()
- IsNumericDate()
- IsObject()
- IsProtected()
- IsSimpleValue()
- IsSOAPRequest()
- IsStruct()
- IsQuery()
- IsUserInRole()
- IsWDDX()
- IsXML()
- IsXmlAttribute()
- IsXMLDoc()
- IsXMLElem()
- IsXmlNode()
- IsXMLRoot()
- JavaCast()
- JSStringFormat()
- LCase()
- Left()
- Len()
- ListAppend()
- ListChangeDelims()
- ListContains()
- ListContainsNoCase()
- ListDeleteAt()
- ListFind()
- ListFindNoCase()
- ListFirst()
- ListGetAt()
- ListInsertAt()
- ListLast()
- ListLen()
- ListPrepend()
- ListSort()
- ListToArray()
- ListQualify()
- ListRest()
- ListSetAt()
- ListValueCount()
- ListValueCountNoCase()
- LJustify()
- Log()
- Log10()
- LSCurrencyFormat()
- LSDateFormat()
- LSEuroCurrencyFormat()
- LSIsCurrency()
- LSIsDate()
- LSIsNumeric()
- LSNumberFormat()
- LSParseCurrency()
- LSParseDateTime()
- LSParseEuroCurrency()
- LSParseNumber()
- LSTimeFormat()
- LTrim()
- Max()
- Mid()
- Min()
- Minute()
- Month()
- MonthAsString()
- Now()
- NumberFormat()
- ParagraphFormat()
- ParameterExists()
- ParseDateTime()
- Pi()
- PreserveSingleQuotes()
- Quarter()
- QueryAddColumn()
- QueryAddRow()
- QueryNew()
- QuerySetCell()
- QuotedValueList()
- Rand()
- Randomize()
- RandRange()
- REFind()
- REFindNoCase()
- ReleaseCOMObject()
- RemoveChars()
- RepeatString()
- Replace()
- REReplace()
- REReplaceNoCase()
- ReplaceList()
- Reverse()
- Right()
- RJustify()
- Round()
- RTrim()
- Second()
- SendGatewayMessage()
- SetLocale()
- SetProfileString()
- SetVariable()
- Sgn()
- Sin()
- SpanExcluding()
- SpanIncluding()
- Sqr()
- StripCR()
- StructAppend()
- StructClear()
- StructCopy()
- StructCount()
- StructDelete()
- StructFind()
- StructFindKey()
- StructFindValue()
- StructGet()
- StructInsert()
- StructIsEmpty()
- StructKeyArray()
- StructKeyExists()
- StructKeyList()
- StructNew()
- StructSort()
- StructUpdate()
- Tan()
- TimeFormat()
- ToBase64()
- ToBinary()
- ToScript()
- ToString()
- Trim()
- UCase()
- URLDecode()
- URLEncodedFormat()
- Val()
- WriteOutput()
- ValueList()
- Week()
- Wrap()
- XMLChildPos()
- XMLElemNew()
- XMLFormat()
- XMLGetNodeType()
- XMLNew()
- XMLParse()
- XMLSearch()
- XMLTransform()
- XMLValidate()
- Year()
- YesNoFormat()
-
Functions by Topic
-
D. Special ColdFusion Variables and Result Codes
-
Special ColdFusion Variables and Result Codes
- ATTRIBUTE Variables
- CALLER Variables
- CGI Variables
- <cfcatch> Variables
- <cfcollection action="list"> Query Columns
- <cfdirectory action="list"> Query Columns
- <cffile action="upload"> Variables
- <cfftp> Variables
- <cfftp action="ListDir"> Query Columns
- <cfhttp> Variables
- <cfldap action="query"> Query columns
- <cfpop action="GetHeaderOnly|GetAll"> Query Columns
- <cfquery> Variables
- <cfregistry> Query Variables
- <cfsearch> Results Variables
- <cfservlet> Variables
- <cfstoredproc> Variables
- CLIENT Variables
- COOKIE Variables
- ERROR Variables
- FORM Variables
- Query Variables
- REQUEST Variables
- SERVER Variables
- SESSION Variables
- ThisTag Variables
- URL Variables
-
Special ColdFusion Variables and Result Codes
-
E. Verity Search Language
- Using Angle Brackets Around Operators
- Operators Are Not Case Sensitive
- Using Prefix Instead of Infix Notation
- Searching for Special Characters as Literals
- Understanding Concept Operators
- Understanding Evidence Operators
- Understanding Proximity Operators
- Understanding Relational Operators
- Understanding Search Modifiers
- Understanding Score Operators
- F. ColdFusion MX 7 Directory Structure
- G. Sample Application Data Files
Product information
- Title: macromedia® Coldfusion® MX 7 Web Application Construction Kit
- Author(s):
- Release date: March 2005
- Publisher(s): Adobe Press
- ISBN: 9780321223678
You might also like
book
Adobe ColdFusion 8 Web Application Construction Kit, Volume 1: Getting Started
The ColdFusion Web Application Construction Kit is the best-selling ColdFusion series of all time—the books that …
book
Premiere Elements for Windows: Visual QuickStart Guide
Just because you don't work for a major production house and you don't plan to add …
book
Windows® 98 Unleashed
Windows 98 Unleashed provides you with comprehensive coverage of the newest Windows features. This complete reference …
book
Absolute Beginner's Guide to Microsoft® Office OneNote™ 2003
Absolute Beginner's Guide to Microsoft Office OneNote 2003 is a from-scratch reference that helps you get …