Developer tools
|
|
At the heart of every ColdFusion application is the ColdFusion Server. This has an open, extensible architecture that integrates easily with existing systems, as well as built-in application and infrastructure services. This product supports ColdFusion Markup Language (CFML), a server-side scripting language that is easy to learn and cleanly integrates with all popular Web languages and technologies. It works with multi-tier architectures through COM, COBRA and EJB integration. It can also be easily extended and thousands of third-party components are available.
|
ColdFusion 5 uses a single installer for all versions. When you purchase a license, you can upgrade the evaluation version to ColdFusion Professional or ColdFusion Enterprise simply by entering the serial number into the ColdFusion Administrator. You donÆt need to reinstall. One of the best new features in ColdFusion 5 is the ability to write your own functions. You can write functions in CFScript and then call them from anywhere in your page. You use functions that youÆve written in exactly the same way as regular ColdFusion functions.
<cfscript> <!--- Use the custom function
"odd" to check if X is odd or even ---> ColdFusion
5 includes new ODBC drivers from Merant. These æwire-protocolÆ drivers
offer a more direct and efficient connection to several types of
databases. To
locate the new drivers:
ColdFusion 5 allows you to write SQL queries against query result set variables. This allows you to easily integrate information from multiple data sources and increase query performance by querying result sets in memory. The following code example shows how to combine the results of queries from two separate data sources: <!--- Regular query 1 gets information
about Employees ---> <!--- Regular query 2 gets information
about Partners ---> <!-- Combine queries of employees and
partners using query of queries ---> ColdFusion
5 includes a special version of Macromedia Generator that can produce a
range of dynamic graphs. Graphs can be produced from queries, by
specifying particular values or a combination of both. You
can create the following types of graphs:
The
following code example will generate a simple graph from a query: <cfgraph
type="bar" The
new CFFlush tag allows you to incrementally output ColdFusion pages as
they are produced. This tag is particularly useful for returning
long-running pages, such as complex searches.
<!---
Put slow queries below here. The
ColdFusion Administrator now has built-in help. The help documents all
function within the administrator. There are also complete guides for the
new administrative tools in ColdFusion 5 Enterprise. The new CFLog tag can be used to write customised log entries. You can create your own log file or write to the built-in Application or Scheduler logs. This tag is useful for customised error handling, reporting and audit trails. You
can now monitor the ColdFusion server with a range of built-in
administrative reports. To view the reports:
Macromedia
has released an update for ColdFusion Studio 4.5.
The
update allows users of ColdFusion Studio 4.5.2 to take advantage of the
new features of ColdFusion 5 by installing new ColdFusion 5 tag
definitions and help files on workstations currently running Studio. You
can download the update from: http://www.coldfusion.com/developer/REFERENCEDESK/ProductUpdates.cfm
CFDump
is a new ColdFusion tag that is very useful for debugging your templates.
CFDump
can display the contents of simple variables, queries, arrays, structures
and WDDX variables created with
The
CFReport tag
allows reports from the Crystal Reports Professional report writer to be
displayed through a ColdFusion interface. The CFReport tag requires the
name of the report to run and you can also pass information to the report
file being displayed to change the reportÆs appearance. The
following code example shows a simple call to CFReport: <cfreport report = ô/reports/monthlysales.rptö> |
© Australian Consolidated Press 2001. All rights reserved.