Much of Advanced Macromedia ColdFusion 5 Application Development is a
discussion of technologies and ideas with examples to demonstrate specific
techniques. The book also contains case studies to illustrate real-world
examples of specific topics. ColdFusion 5 is a massive upgrade, and it adds lots
of new features, including some designed specifically for advanced and power
users. This book addresses these issues and technologies, including
Using clustering and fail-over technologies to ensure server uptime
Using the new archive and restore features
Server monitor and benchmarking
Creating secure applications and integrating with existing security systems
Writing custom tags and functions
Working with XML and XSL
Table of Contents
Who Should Use This Book? How to Use This Book.
I. CREATING HIGH-AVAILABILITY APPLICATIONS.
1. Understanding High Availability.
High Availability Explained. How Do I Tell My
Server Load? The High-Availability Plan: Six Must-Haves for Building
High-Availability. Solutions. Some Truths About Web Hosting. Active Site
Monitoring. The Quality of Service Guarantee.
2. Monitoring System Performance.
Understanding Performance. Monitoring Your
ColdFusion Server. Setting Up a Default Probe to Verify Content. Understanding
Performance. Why Monitor Performance? Monitoring Performance on Unix and Linux
Servers. Deciding What to Do Next. Using SNMP.
3. Different Ways to Scale.
Part One: Understanding Scaling Issues. Part
Two: Choosing a Load-Balancing Solution.
4. Software-Based Load Balancing.
5. Hardware-Based Load Balancing.
Why Invest in Hardware-Based Load Balancing? Two
Types of Hardware Load Balancers. How Hardware Load Balancing Works. More About
Algorithms. Integrating LocalDirector Within ColdFusion. Managing Web Server
Traffic with ColdFusion Administrator. Using ClusterCATS Explorer to Manage Your
LocalDirector. The Great Megaproxy Headache for Network Engineers. Implementing
Other Hardware Load-Balancing Solutions. Using Load Balancing for Business
6. Managing Session State in Clusters.
What Is Client State? Information Embedded in
the URL or in a FORM Post. Cookies. The Scenario.
II. ENSURING SECURITY.
7. Understanding Security.
Security Risks. ColdFusion and Security.
Enabling SSL on a Server. Authentication and Authorization. Access Control.
8. ColdFusion Security Options.
Basic Versus Advanced Security. Relying on the
Web Server or OS.
9. Implementing Advanced Security.
Do You Need Advanced Security? What Is
SiteMinder? Defining the Security Context. Creating Rules. User Directories
Options. Creating Policies. Applying Advanced Security to an Extranet Scenario.
Authenticating a User Against a Defined User Directory with .
10. Security in Shared and Hosted Environments.
Security Risks. Sandbox. Securing Remote
Development Services. DSNless Database Connections. Other Issues.
III. ADVANCED APPLICATION DEVELOPMENT.
11. ColdFusion Scripting.
Understanding . Using .
Unsupported Tags and Functions. Common Errors and Resolutions. Creating Your Own
12. Using Regular Expressions.
Understanding Regular Expressions. Using the RE
Functions. RegEx Basics. Real-World Usage.
13. Creating Intelligent Agents.
Overview. . Putting the Tag to
Use. Creating Intelligent Agents with . . Putting the Tag
14. XML Development.
XML Overview. XML Documents. Validating XML
Documents. Leveraging XML in Your Applications. ColdFusion with XML.
15. Using WDDX.
Introducing WDDX. The WDDX Format: It's XML!
16. Advanced WDDX Integration.
Macromedia's WDDX Interface for COM.
Macromedia's WDDX Interface for COM. Macromedia's WDDX Interface for COM.
Integrating with Active Server Pages. Integrating with Visual Basic. Integrating
Additional Resources Available in the WDDX SDK.
17. Interacting with Directory Services.
Understanding LDAP. Using . Querying
Public LDAP Servers. Interacting with Directories.
18. Internationalization and Localization.
Why Internationlization and Localization? What
Are the Main Issues? What's Internationalization? What's Localization? What's
Involved in Localization/Internationalization? UNICODE. Database Issues. Verity
Issues. Locale Functions. What to Do If Your Locale's Not Supported by
ColdFusion. Creating a Multilanguage Application.
IV. EXTENDING COLDFUSION.
19. Creating Advanced Custom Tags.
Reviewing Simple CFML Custom Tags. Understanding
Nested Custom Tags . Using the ThisTag Scope. Creating Tag Families. Introducing
. Making Nested Custom Tags Flexible. Dynamically Populating the
Custom Tag. Wrapping Up . Securing Your Tags.
20. Creating User-Defined Functions.
Understanding UDFs. Creating UDFs. UDF Syntax.
Passing Functions as Arguments. UDF Limitations. Do's and Donts of UDFs.
21. Extending ColdFusion with COM.
Understanding COM. Overview. Using
COM. Integrating with Popular Applications.
22. Extending ColdFusion with CORBA.
Introduction to CORBA. How CORBA Works.
Configuring ColdFusion to Work with CORBA. Working with CORBA in ColdFusion.
23. Extending ColdFusion with Java.
ColdFusion and Java. Introducing Java. Basic
Java Concepts. Administering Java Settings in the ColdFusion Administrator.
Calling Java Servlets with the Tag. Calling JRun Servlets with the
Tag. Calling Java Objects. Calling Enterprise JavaBeans with the
24. Extending ColdFusion with CFX.
What Are CFX Tags? Using the C++ API. Building
Your First C++ CFX Tag: CFX_ListRemoveDuplicates. Shortening Your Source Code
with the "Macros" on the CD-ROM. Building Your Second CFX Tag:
CFX_QueryAddColumn. Using the Java API. Creating Your First Java CFX Tag:
CFX_JavaRemoveDup. Editing a Tag Setting in the ColdFusion Administrator.
25. Writing ColdFusion Studio Tag Extensions.
About VTML. Creating Tag Definitions. Creating
Tag Definitions. Creating Tag Editor Dialog Boxes. Creating Wizards. Resources
to Speed VTML Development.
26. Scripting ColdFusion Studio.
About Studio and Scripting. Writing VTOM
Scripts. Scripting Beyond the VTOM.
Appendix A. VTML and WIZML Language Reference.
Appendix B. ColdFusion Studio Object Model Reference.
The ActiveDocument Object. The Application
Object. The DeploymentManager Object. The DocumentCache Object. The HTTPProvider
Object. The ZipProvider Object.
Appendix C. The WDDX DTD.