A ColdFusion variable is created by assigning a value to it. Most commonly, you create variables by using the CFSet tag. You can also use the CFParam tag and assignment statements in CFScript. Tags that create data objects also create variables
Structures are everywhere in the ColdFusion world. As of ColdFusion 4.5, form, application, session, server, request, and URL variables are stored in structures. Allaire Spectra makes extensive use of structures and associative arrays.
We all know that locking is important. Most of us even understand why locks are needed. But exactly where to use a lock, which lock type to use and what code to put within the lock remains confusing at best.
We all start out learning ColdFusion by outputing variables using CFOUTPUT and some pound signs. A variable with an name like myvariable was passed to the page by a form or a link and output as #myvariable#. By not understanding and using scope, we unwittingly add inefficiencies to our code and overlook a lot of advantages that come with using scopes.
For anyone new to application development, you may be perplexed when you create your form for editing some data that should allow a user to uncheck a checkbox and update a record to a status of not checked. You will sooner or later discover an oddity about HTML forms. HTML forms won't allow you to uncheck like you think you should be able to. If you uncheck the checkbox, the value becomes NULL and the form doesn't bother to pass the field. You will find that ColdFusion does have a simple solution and much more with the CFPARAM tag
Macromedia's Chief Evangelist for ColdFusion, Ben Forta, spent the spring and early summer 2004 previewing the next generation of ColdFusion to user groups throughout North America. The pre-release name of the product is Blackstone and has a host of features that will be of interest to new and veteran ColdFusion and Flash programmers. Some of the major enhancements are: Wizards and enhancements for new CF'ers, major enhancement to CFFORM (key phrase: type = "flash"), introduction of CFDOCUMENT, and improved reporting with CFREPORT and a report creation tool
There are many things to consider when determining how you will host your ColdFusion site. Issues include tag availability, database needs, disk space, bandwidth, security, support, e-commerce, and software costs..
3 times | category:
this:1/125records total:8 Start Previous Next Last goto: