Welcome!

You will be redirected in 30 seconds or close now.

ColdFusion Authors: Yakov Fain, Jeremy Geelan, Maureen O'Gara, Nancy Y. Nee, Tad Anderson

Related Topics: ColdFusion

ColdFusion: Article

Mastering ColdFusion 5

Mastering ColdFusion 5

I received Mastering ColdFusion 5 two months ago and began using it immediately. Since I had recently upgraded to ColdFusion 5.0, I used this book to learn about some of its new features; I used three of them (query-of-a-query, CFFLUSH, and CFSAVECONTENT) in a single template the first day. This book is an excellent reference to the new features of CF 5.0.

That's not all it's good for. Danesh, Motlagh, and Camden have written a fine book suitable for both novice and expert ColdFusion developers. It's clear that their intention was to produce a comprehensive work that serves not only as an introductory through advanced text but also as a reference to all things ColdFusion. Its whopping 1,263 pages and mammoth size attest to this.

The book is well organized into four parts and five appendices. Part 1 covers the basics, such as "Creating Your First ColdFusion Template," "Passing Data Between ColdFusion Templates," and "Retrieving Data from a Database." It introduces the beginner to the rudiments of ColdFusion development and offers a solid overview of the architecture of any database-backed CF application.

Part 2 provides what every other programming book offers: an explanation of the meaning and syntax of variables, operators, data structures, flow control, and more. It illustrates a how-to program, specifically, how to program in ColdFusion Markup Language (CFML). This section also explains ColdFusion-specific conventions, techniques, and technologies. For instance, it discusses and illustrates the "ColdFusion application framework," i.e., how to use the built-in capabilities of the ColdFusion server to maintain client state within an application, as well as graphing in ColdFusion, variable locking, form validation, error control, and the myriad other functions that CF provides.

Two chapters within Part 2 are worth mentioning. First, "Using Advanced Query Techniques" provides the best introduction to advanced SQL that I've seen. This chapter focuses on JOIN techniques and syntax, then addresses subqueries and table creation before proceeding to excellent coverage of advanced CFQUERY topics like caching strategies and transaction processing. Second, the chapter "Using ColdFusion Studio" is not something I remember seeing in other books. It provides a brief, useful introduction to the Studio interface and utilities, which should interest beginning CF programmers.

Part 3 focuses on the various technologies built into the ColdFusion platform that enable communication with other popular Internet servers and services via such protocols as SMTP, HTTP, FTP, and LDAP. This section focuses on the CFMAIL tag since e-mail is the most complicated Internet service. Examples of how to send and receive e-mail from within ColdFusion are provided as well as good examples of generating message content from a query, generating a recipient list from a query, and so on.

I eagerly skipped straight to the chapter on CF and LDAP, mainly because I'm having a problem SSL-encrypting communications between my CF server and LDAP server. Unfortunately, this section doesn't cover SSL-encryption in any depth. This is puzzling, since I'd assume the one thing most developers would be using LDAP for would be authentication, and if you're authenticating across a network you'd want to ensure the credentials you're sending are properly encrypted. (The authors do address this topic in slightly more detail in the ColdFusion Tag Reference entry for CFLDAP at the back of the book. At least there it unveils the magic term - cert7.db - that's the key to getting SSL-encryption between CF and LDAP to work at all.)

Part 4 covers such advanced topics as query-of-queries, ColdFusion scripting, using the Verity search engine, CF custom tags, user-defined functions, and WDDX. Being new to CF 5.0, I found the chapters on query-of-queries and user-defined functions particularly enlightening and useful. The sections on the CF Administrator and administering a CF server are welcome additions as well.

Finally, the most important of the six appendices are the ColdFusion Tag Reference and Function Reference; they're what you'd expect: long lists of tags and functions with corresponding explanatory text. I'm a little disappointed with these two sections. The two-column layout is visually confusing - a single-column layout would have been much easier to browse. Also, the function reference is organized alphabetically, not grouped by function type (e.g., string functions, date functions, list functions). There's an index of functions grouped by type at the beginning of this reference, but using it would require a separate lookup - one for the name of the function, the other for the function itself - something the harried developer doesn't want to do every time he or she needs a quick reference. Grouping the entire function reference by type, then alphabetically, would have been a lot better.

Since Mastering ColdFusion 5 comprehensively covers almost everything from introductory material to the nitty-gritty of the ColdFusion Markup Language and SQL, advanced application development techniques, and server administration, it could be the one book you use for learning and reference. This book is not something you'd lug around in your backpack (although an 11MB PDF of the entire book is included on the accompanying CD, and is certainly worthy of disk space on a laptop). It is, however, the kind of volume you'd want by your workstation. It's a valuable introduction to new features of ColdFusion, as well as a solid, comprehensive reference to CFML and its built-in functions.

Mastering ColdFusion 5
By Arman Danesh, Kristin Aileen Motlagh and Raymond Camden
Sybex
1,263 pages, $49.95

More Stories By Mark Cyzyk

Mark Cyzyk is the Web Architect at Johns Hopkins University in Baltimore,
Maryland.

Comments (0)

Share your thoughts on this story.

Add your comment
You must be signed in to add a comment. Sign-in | Register

In accordance with our Comment Policy, we encourage comments that are on topic, relevant and to-the-point. We will remove comments that include profanity, personal attacks, racial slurs, threats of violence, or other inappropriate material that violates our Terms and Conditions, and will block users who make repeated violations. We ask all readers to expect diversity of opinion and to treat one another with dignity and respect.


@ThingsExpo Stories
Real IoT production deployments running at scale are collecting sensor data from hundreds / thousands / millions of devices. The goal is to take business-critical actions on the real-time data and find insights from stored datasets. In his session at @ThingsExpo, John Walicki, Watson IoT Developer Advocate at IBM Cloud, will provide a fast-paced developer journey that follows the IoT sensor data from generation, to edge gateway, to edge analytics, to encryption, to the IBM Bluemix cloud, to Wa...
What is the best strategy for selecting the right offshore company for your business? In his session at 21st Cloud Expo, Alan Winters, U.S. Head of Business Development at MobiDev, will discuss the things to look for - positive and negative - in evaluating your options. He will also discuss how to maximize productivity with your offshore developers. Before you start your search, clearly understand your business needs and how that impacts software choices.
SYS-CON Events announced today that Massive Networks, that helps your business operate seamlessly with fast, reliable, and secure internet and network solutions, has been named "Exhibitor" of SYS-CON's 21st International Cloud Expo ®, which will take place on Oct 31 - Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. As a premier telecommunications provider, Massive Networks is headquartered out of Louisville, Colorado. With years of experience under their belt, their team of...
SYS-CON Events announced today that Fusic will exhibit at the Japan External Trade Organization (JETRO) Pavilion at SYS-CON's 21st International Cloud Expo®, which will take place on Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. Fusic Co. provides mocks as virtual IoT devices. You can customize mocks, and get any amount of data at any time in your test. For more information, visit https://fusic.co.jp/english/.
SYS-CON Events announced today that MIRAI Inc. will exhibit at the Japan External Trade Organization (JETRO) Pavilion at SYS-CON's 21st International Cloud Expo®, which will take place on Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. MIRAI Inc. are IT consultants from the public sector whose mission is to solve social issues by technology and innovation and to create a meaningful future for people.
SYS-CON Events announced today that Enroute Lab will exhibit at the Japan External Trade Organization (JETRO) Pavilion at SYS-CON's 21st International Cloud Expo®, which will take place on Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. Enroute Lab is an industrial design, research and development company of unmanned robotic vehicle system. For more information, please visit http://elab.co.jp/.
SYS-CON Events announced today that Mobile Create USA will exhibit at the Japan External Trade Organization (JETRO) Pavilion at SYS-CON's 21st International Cloud Expo®, which will take place on Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. Mobile Create USA Inc. is an MVNO-based business model that uses portable communication devices and cellular-based infrastructure in the development, sales, operation and mobile communications systems incorporating GPS capabi...
There is huge complexity in implementing a successful digital business that requires efficient on-premise and cloud back-end infrastructure, IT and Internet of Things (IoT) data, analytics, Machine Learning, Artificial Intelligence (AI) and Digital Applications. In the data center alone, there are physical and virtual infrastructures, multiple operating systems, multiple applications and new and emerging business and technological paradigms such as cloud computing and XaaS. And then there are pe...
SYS-CON Events announced today that Interface Corporation will exhibit at the Japan External Trade Organization (JETRO) Pavilion at SYS-CON's 21st International Cloud Expo®, which will take place on Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. Interface Corporation is a company developing, manufacturing and marketing high quality and wide variety of industrial computers and interface modules such as PCIs and PCI express. For more information, visit http://www.i...
SYS-CON Events announced today that Keisoku Research Consultant Co. will exhibit at the Japan External Trade Organization (JETRO) Pavilion at SYS-CON's 21st International Cloud Expo®, which will take place on Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. Keisoku Research Consultant, Co. offers research and consulting in a wide range of civil engineering-related fields from information construction to preservation of cultural properties. For more information, vi...
SYS-CON Events announced today that SIGMA Corporation will exhibit at the Japan External Trade Organization (JETRO) Pavilion at SYS-CON's 21st International Cloud Expo®, which will take place on Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. uLaser flow inspection device from the Japanese top share to Global Standard! Then, make the best use of data to flip to next page. For more information, visit http://www.sigma-k.co.jp/en/.
SYS-CON Events announced today that B2Cloud will exhibit at SYS-CON's 21st International Cloud Expo®, which will take place on Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. B2Cloud specializes in IoT devices for preventive and predictive maintenance in any kind of equipment retrieving data like Energy consumption, working time, temperature, humidity, pressure, etc.
Agile has finally jumped the technology shark, expanding outside the software world. Enterprises are now increasingly adopting Agile practices across their organizations in order to successfully navigate the disruptive waters that threaten to drown them. In our quest for establishing change as a core competency in our organizations, this business-centric notion of Agile is an essential component of Agile Digital Transformation. In the years since the publication of the Agile Manifesto, the conn...
While some developers care passionately about how data centers and clouds are architected, for most, it is only the end result that matters. To the majority of companies, technology exists to solve a business problem, and only delivers value when it is solving that problem. 2017 brings the mainstream adoption of containers for production workloads. In his session at 21st Cloud Expo, Ben McCormack, VP of Operations at Evernote, will discuss how data centers of the future will be managed, how th...
SYS-CON Events announced today that NetApp has been named “Bronze Sponsor” of SYS-CON's 21st International Cloud Expo®, which will take place on Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. NetApp is the data authority for hybrid cloud. NetApp provides a full range of hybrid cloud data services that simplify management of applications and data across cloud and on-premises environments to accelerate digital transformation. Together with their partners, NetApp em...
SYS-CON Events announced today that Nihon Micron will exhibit at the Japan External Trade Organization (JETRO) Pavilion at SYS-CON's 21st International Cloud Expo®, which will take place on Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. Nihon Micron Co., Ltd. strives for technological innovation to establish high-density, high-precision processing technology for providing printed circuit board and metal mount RFID tags used for communication devices. For more inf...
SYS-CON Events announced today that Suzuki Inc. will exhibit at the Japan External Trade Organization (JETRO) Pavilion at SYS-CON's 21st International Cloud Expo®, which will take place on Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. Suzuki Inc. is a semiconductor-related business, including sales of consuming parts, parts repair, and maintenance for semiconductor manufacturing machines, etc. It is also a health care business providing experimental research for...
SYS-CON Events announced today that Ryobi Systems will exhibit at the Japan External Trade Organization (JETRO) Pavilion at SYS-CON's 21st International Cloud Expo®, which will take place on Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. Ryobi Systems Co., Ltd., as an information service company, specialized in business support for local governments and medical industry. We are challenging to achive the precision farming with AI. For more information, visit http:...
SYS-CON Events announced today that Daiya Industry will exhibit at the Japan External Trade Organization (JETRO) Pavilion at SYS-CON's 21st International Cloud Expo®, which will take place on Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. Daiya Industry specializes in orthotic support systems and assistive devices with pneumatic artificial muscles in order to contribute to an extended healthy life expectancy. For more information, please visit https://www.daiyak...
In his session at @ThingsExpo, Greg Gorman is the Director, IoT Developer Ecosystem, Watson IoT, will provide a short tutorial on Node-RED, a Node.js-based programming tool for wiring together hardware devices, APIs and online services in new and interesting ways. It provides a browser-based editor that makes it easy to wire together flows using a wide range of nodes in the palette that can be deployed to its runtime in a single-click. There is a large library of contributed nodes that help so...