April 16, 2001
CFML features a tag named that can be used to "simplify" the creation of dynamic HTML tables. As a rule, avoid the use of this tag. Manually creating tables is not complex at all, and the amount of control over appearance that you lose by using this tag does not justify the minimal time saved (if...
April 15, 2001
ColdFusion Studio allows you to create Projects to organize your development work. There are many reasons to use Projects, you can open entire Projects at once, perform global search and replaces across all Project members, and more. But the most important use for Projects is the ability to upload...
April 14, 2001
Passing data in hidden fields is common practice among ColdFusion developers, as it should be. Being able to send data back and forth allows you to embed hidden information that you know you'll get back when the form is submitted. But be careful, don't place confidential information in hidden form...
April 13, 2001
When debugging ColdFusion applications developers often find that they have to write output to the screen (perhaps to display variable contents, or to check code flow). If the generated output is simple HTML then it is quite easy to find and read this output, but if you are generating more complex...
April 12, 2001
What is the difference between "WHERE pk=#pk#" and WHERE "pk=pk"? Lots. The former compares a database column to a ColdFusion variable (and will likely match a single row, if the primary key is specified). The latter compares the value in each column to itself, in other words, it matches every...
April 11, 2001
If you saw a variable named "user.login" would you assume it was a structure named "user" with a member named "login"? That's a logical assumption to make, but it may be incorrect. In fact, even if you saw the code you'd not be able to know if "user" was a structure merely by looking at it....
April 10, 2001
ColdFusion structures are special data types that store sets of data, think of them as variables that contain variables. And structures are really easy to use too. CFML come with a whole set of structure manipulation functions (they all start with Struct) but you actually do not really need most of...
April 9, 2001
Code snippets are blocks of saved code that ColdFusion Studio stores for future use. Snippets are inserted into your code by selecting them from the Snippets tab in the Resource Tab. Snippets are stored on your own computer, so how can groups of developers share snippets? Go to the Settings screen...
April 8, 2001
When ColdFusion Studio starts up, which folder does it place the File tab in? Not where you'd like it to be? You can change that. Go to Tools, Settings, and select the Startup tab. Here you may specify the startup folder (specific folder, last folder, or prompt for folder) and other startup options...
April 7, 2001
ColdFusion Studio won't yet write your client-side scripting code for you, but a little known feature can definitely help you get started. Switch the Resource Tab to Tag Inspector mode, and then click on the tag for which you want to write code in the editor. Scroll down the Tag Inspector list to...