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...
April 6, 2001
Working with lots of images? ColdFusion Studio features an integrated image thumbnail viewer Simple select the directory containing the images, and then click the Thumbnails button (the one with the picture of a mountain and a blue sky). Studio will create a thumbnail for each image allowing you to...
April 5, 2001
HTML forms usually have a single submit button, but you can actually create as many submit buttons as you'd like (for example, one for "Edit" and one for "Delete"). No matter which button is clicked, the same form will be submitted to the same ACTION page. So how will you know which button was...
April 4, 2001
lets you create "while loops" - loops that execute as long as a specified condition is TRUE. But it is important to note that the CONDITION is evaluates before each iteration, and so if the CONDITION becomes FALSE mid-iteration that iteration will still continue in its entirety. (Applies to:...
April 3, 2001
Most developers know that and are good alternatives for some lists of and tags. But many developers do not know that a single can contain multiple values simply by specifying those values in a list (comma delimited, by default). This does mean, however, that if your statement needs to match a value...
April 2, 2001
Deadlocks are locks stuck in a state where multiple locks are waiting for each other to unlock (and so none ever do). Deadlocks are usually caused by nesting locks, and so the way to prevent deadlocks is to ensure that nesting always occurs in the exact same sequence, and that less specific locks...