ADVANCED macromedia COLDFUSION MX 7 Application Development [Electronic resources]

Ben Forta, Dain Anderson, Brian Baxter, Jeffrey Bouley, Raymond Camden, Adam Churvis, David Churvis, Ken Fricklas, Paul Hastings, Sam Neff, Robi Sen

نسخه متنی -صفحه : 240/ 2
نمايش فراداده

Copyright

ACKNOWLEDGMENTS

ABOUT THE AUTHORS

Introduction

Who Should Use This Book?

How to Use This Book

Part 1. Creating High Availability Applications

Chapter 1. Understanding High Availability

High Availability Explained

How Do I Know My Server Load?

The High-Availability Plan: Seven Must-Haves for Building High-Availability Solutions

Some Truths about Web Hosting

Active Site Monitoring

The Quality of Service Guarantee

What Next?

Chapter 2. Monitoring System Performance

Monitoring Your ColdFusion MX 7 Server

Active Monitoring

Deciding What to Do Next

Chapter 3. Scaling with ColdFusion MX 7

The Importance of Scaling

Scaling Considerations

How to Write ColdFusion MX 7 Applications That Scale

Keeping Web Site Servers in Sync

Multiple ColdFusion MX 7 Instances

Hardware vs. Software Load Balancing Options

Scaling with ColdFusion MX 7 Load Balancing

Hardware Load-Balancing Options

Finishing Up

Chapter 4. Scaling with J2EE

Benefits of Deploying ColdFusion on J2EE Application Server

Development Values of ColdFusion MX on J2EE

How ColdFusion Lives on Top of Java Server

Scaling with ColdFusion and JRun

Scaling with Other Java Application Servers

Tuning the Java Virtual Machine

Summary

Chapter 5. Managing Session State in Clusters

What Is Session State?

The History of Managing State

Options for Managing Session State

Chapter 6. Deploying Applications

Deployment Options

ColdFusion Archives

J2EE Archives

ColdFusion Compiler

Choosing the Right Deployment Option

Part 2. Ensuring Security

Chapter 7. Understanding Security

Security Risks

Encryption

Browser Validation

Authentication and Authorization

Chapter 8. ColdFusion Security Options

Operating System Security

Web Server Security

ColdFusion Security Framework

ColdFusion Login Wizard Extension

Chapter 9. Creating Server Sandboxes

Understanding Sandboxes

Creating and Securing Applications Using Sandboxes

Chapter 10. Security in Shared and Hosted Environments

Risks in the Shared Environment

Securing RDS

ColdFusion Sandbox

Multiple Server Configurations

Configuring ColdFusion for Multiple Hosts

Other Issues

Staying Informed

Chapter 11. Using the Administrator API

Understanding the Admin API

Building Custom Admin Consoles

Security Implications for the Admin API

Admin API Best Practices

Part 3. Advanced Application Development

Chapter 12. ColdFusion Scripting

What Is <cfscript>?

Implementing <cfscript>

Common Problems and Solutions

User-Defined Functions in <cfscript>

Exception Handling in <cfscript>

Chapter 13. Using Regular Expressions

Introducing Regular Expressions

RegEx Support in ColdFusion

Using Regular Expressions in ColdFusion

Some Convenient RegEx UDFs

Building a RegEx Testing Page

Crafting Your Own Regular Expressions

Learning More about Regular Expressions

Chapter 14. Working with XML

XML Document Structure

Parsing XML Documents

Creating XML Objects

Using Special Characters in XML

XML Namespaces

Validating XML

More XML Resources

Chapter 15. Manipulating XML with XSLT and XPath

Understanding XPath

Transforming XML into Content by Using XSLT

More XPath and XSLT Resources

Chapter 16. Using WDDX

Introducing WDDX

Using WDDX with ColdFusion

Anatomy of a WDDX Packet

Using WDDX Packets to Store Information in Files

Other Places to Store WDDX Packets

Exchanging WDDX Packets among Web Pages

Binary Content in WDDX Packets

Chapter 17. Using JavaScript and ColdFusion Together

A Crash Course in JavaScript

Working with Form Elements

Passing Variables to JavaScript

Passing Data to JavaScript Using <cfwddx>

Working with WDDX Packets in JavaScript

Calling CFCs from JavaScript

Passing Simple Variables to ColdFusion

Chapter 18. Creating Advanced Custom Tags

Simple CFML Custom Tags: Back to Basics

Paired Custom Tags

Nested Custom Tags

Creating an Advanced Custom Tag

Where to Go From Here

Chapter 19. Creating Advanced ColdFusion Components

A Review of CFCs

CFC Syntax

Calling CFCs

Introspection

Managing Components

Persisting CFCs for Performance

All This "Object" Stuff

The THIS Scope

Inheritance

Persistence and Constructors

Security

CFC "Good" Practices

Chapter 20. XForms and CFML

What's wrong wit221 Forms?

The History of XForms

What is XForms?

Creating XForms in CFML

XSL: The eXtensible Stylesheet Language

Chapter 21. Using Server-Side HTTP and FTP

Overview

<cfhttp>

Putting <cfhttp> to Use

<cfftp>

Putting <cfftp> to Use

Chapter 22. Interacting with Directory Services

Understanding LDAP

Using <cfldap>

Querying Public LDAP Servers

Interacting with Directories

Building an LDAP CFC

Chapter 23. ColdFusion and Globalization

Why Go Global?

What Is Globalization?

Going Global

Better G11N Practices

Part 4. Extending ColdFusion

Chapter 24. Creating and Consuming Web Services

Understanding Web Services

WSDL

Creating Web Services

Consuming Web Services

Working with SOAP Requests

Best Practices

Chapter 25. Integrating with .NET

.NET Fundamentals

.NET Web Service (Returning a Simple Type)

.NET Web Service (Returning a Complex Type)

ColdFusion Web Service (Returning a Complex Type)

A Real-World Example

Summing Up

Chapter 26. Extending ColdFusion with COM

Chapter 27. Integrating with Microsoft Office

Document Properties

Microsoft Jet

Apache POI

HTML, XML, and CSS

Automation

Chapter 28. Extending ColdFusion with CORBA

Chapter 29. Extending ColdFusion with Java

Using Java Class Objects

Using Java Beans

Using Tag Libraries

Accessing the Underlying Servlet Context

Integrating with Java Servlets and JSP Pages

Integrating with EJBs

Writing Java CFX Tags

Chapter 30. Extending ColdFusion with CFX

Chapter 31. Event Gateways

What Is an Event Gateway?

Creating a Simple Gateway Application

Creating an Initiator Application Using the ColdFusion Gateway

Debugging CFML Applications for Event Gateways

Creating Your Own Custom Gateways

A POP3 Custom Gateway

Chapter 32. Integrating with SMS and IM

Understanding IM

Defining IM Gateways

Creating your First IM Application

Creating Interactive Applications

Understanding SMS

Defining SMS Gateways

Generating SMS Messages

Responding to SMS Messages

Extending Your Application Even Further

Part 5. Appendix

Appendix A. The WDDX.DTD File

Index