February 5, 2001
Passing ColdFusion strings to client-side JavaScript is easy - all you need to do is refer to the variable in your JavaScript code and when ColdFusion parses the code it'll replace the variable with the string. But what if the string contains special characters -characters that are invalid within...
February 4, 2001
Many ColdFusion tags take queries as attributes, queries usually created with (or some other tag). So how to you use tags that expect queries with data of your own? Simply create your own queries on-the-fly. CFML features a function named QueryNew() that can be used to create queries, as well as...
February 3, 2001
Windows INI style files are plain text files that are well suited for reading and writing of configuration information. And while Windows itself does not really use these any more (the registry essentially replaced them), application developers still find them very useful as they are easy to work...
February 2, 2001
ColdFusion Studio has all sorts of toolbars, and they can be moved and docked as needed so as to give you instant access to the functions and features you need most. But the most useful (and most overlooked) toolbar is one that does not come with Studio - it's the one you create yourself. Studio...
February 1, 2001
Never assume your Web server is secure - chances are that it is not, despite your best intentions. Of all the machines on your network the Web server is the most visible, the one that most information is known about, and the one that most users access. Without much effort would-be hackers can find...
January 31, 2001
The SQL wildcard characters are invaluable in performing flexible text searches - they allow for the creation of powerful applications that might otherwise be impossible to write. But that power comes with a hefty price tag - wildcard searches tend to be among the slowest SQL operations (because...
January 30, 2001
ColdFusion Studio features an extensive selection of integrated help documents which can be browsed or searched as needed. You can also bookmark specific help pages for rapid access to them when needed. To bookmark a help page simple right click on the page (in the Help tree) and click Add...
January 29, 2001
Client-side JavaScript is used to implement programmatic control of everything in a browser right within the browser itself. JavaScript code is usually invoked in response to something happening (a page is loaded, a screen element is clicked, the mouse moves over an image, a select list changes,...
January 28, 2001
Savvy CF Studio users know that the right mouse button is one of their best friends. This is particularly true within the editor window itself, and especially of the often unnoticed "Selection" menu that is displayed. Using the options under this menu you can quickly convert text to lists and...
January 27, 2001
To display dates, times, numbers, and currencies in local formats use the ColdFusion LS functions (yep, they each start with LS). Using these functions you can write code that renders localized output dynamically. And to simplify localized data collection, there are even LS versions of the decision...