Book Image

ColdFusion 9 Developer Tutorial

By : John Farrar
Book Image

ColdFusion 9 Developer Tutorial

By: John Farrar

Overview of this book

Adobe ColdFusion is an application server, renowned for rapid development of dynamic websites, with a straightforward language (CFML), powerful methods for packaging and reusing your code, and AJAX support that will get developers deep into powerful web applications quickly. However, developing rich and robust web applications can be a real challenge as it involves multiple processes.With this practical guide, you will learn how to build professional ColdFusion applications. Packed with example code, and written in a friendly, easy-to-read style, this book is just what you need if you are serious about ColdFusion.This book will give you clear, concise, and practical guidance to take you from the basics of ColdFusion 9 to the skills that will make you a ColdFusion developer to be reckoned with. It also covers the new features of ColdFusion 9 like ORM Database Interaction and CF Builder.ColdFusion expert John Farrar will teach you the basics of ColdFusion programming, application architecture, and object reuse, before showing you a range of topics including AJAX library integration, RESTful Web Services, PDF creation and manipulation, and dynamically generated presentation files that will make you the toast of your ColdFusion developer town.This book digs deep with the basics, with real-world examples of the how and whys, to get more done faster with ColdFusion 9.
Table of Contents (22 chapters)
ColdFusion 9 Developer Tutorial
Credits
About the Author
About the Reviewers
Preface
Index

Standards


No matter how many libraries are out there, we need to have standards. We may be able to survive without them but that is a rough road to proving a point. Business is not just about survival, but also about prospering. Standards are the road map to uniform pragmatic progress and sustainable solutions.

Libraries

It should be a careful consideration to choose a library.

Size

The lighter a library, the more chance you can manage the code if you need to make changes. This is a truth on its own merit; however, it fails a number of critical aspects of pragmatic thinking. If we modify the core library, will it break us from working with any updates of the core library provider? Do we have the skills to productively manage our own variation? If these are not issues, then a light library could be a great solution.

Features

While we may choose small librarries in some cases, there are other cases where small means it just doesn't do enough. Some evangelists run about singing about everything they don't do. We acquire products for what they do far more than what they do not do. It would be far better to make sure the solution was unobtrusive than light in features. Consider light solutions even if they market them inside out, but make the decision based on implementation.

Begin with the end in mind

We also need to consider that a light library may make us provide a lower grade end product. If we hope to hit the end goals, we need to realize that limited manpower, time, and resources will always be factors. Libraries are community or commercial solutions that maximize our chance of success. Evaluate these carefully and council with other experts. Council is perhaps one of the greatest assets to put in our toolkits.

Research

Don't count on being smart enough. Pragmatic experience won't make us smarter, but it will make us wiser. Getting advice and looking at implementations is very prudent. There are many great tools like Google to find information. There are blogs, user group meetings, seminars, and more. When we gather this information, we can also go on forums for advice and store links in tools such as delicious (http://delicious.com/). These tools provide both private and public links.

Frameworks

Frameworks are libraries with an API. Frameworks go beyond two boards being nailed together to concepts you can expect when writing software with them. We build walls with frames that have the boards at every 16 inches in the US. Imagine having someone pre-build all the wall frames and deliver them as a standard package. This is sort of the concept of a framework.

There are light and full-featured frameworks out there. The one that works best for you is the one you should use. It's a choice between building the features yourself, doing without features, or dealing with the features as they exist. Of course, if you are fortunate you will get an unobtrusive framework that provides a method of doing things but doesn't prevent you from doing things a different way.

Methodologies

Most frameworks are designed to code by a single methodology. Some frameworks are designed to work with other frameworks hand-in-hand. This is a particular passion with me. Methodologies are how you write your applications. It could be said they are how you arrange your code.

If we decouple or more loosely couple our methodology from our framework, then more users can build applications according to their personality and use applications we wrote to run side-by-side in the same framework. One advantage of this is, if you become an advanced developer and a client wants you to build a complex application, you can build it in a methodology of your choice. Then the customer can build simpler applications that run side-by-side in a simpler methodology for the same site. This also makes it easier to distribute and reuse applications.

Tip

Invitation

Please note that this book is only one part of what I am doing to share with the community. You will soon see training videos online with screen recordings and more. Visit my blog and website for details, http://www.sosensible.com.