Now that you’ve created add, modify, and delete templates, let’s put them all together and create a finished application—and this time, one that is constructed properly, using a CFC for database access.
The following templates are a combination of all you have learned in this and previous chapters.
Listing 14.15 is the ColdFusion Component that provides all database access (to get, add, update, and delete movies).
|→||ColdFusion Components were introduced in Chapter 11, “The Basics of Structured Development.”|
<!--- Name: movies.cfc Author: Ben Forta (firstname.lastname@example.org) Description: Movie database access component Created: 07/01/07 ---> <cfcomponent hint="OWS movie database ...