Charlie Arehart

Subscribe to Charlie Arehart: eMailAlertsEmail Alerts
Get Charlie Arehart via: homepageHomepage mobileMobile rssRSS facebookFacebook twitterTwitter linkedinLinkedIn

Top Stories by Charlie Arehart

In my Journeyman column last month (CFDJ Vol. 2, issue 4) we began looking at how - and why - to call custom tags in different ways. So far, we've learned that the CF_ approach will look first locally, then in the shared \cfusion\customtags directory, while the CFMODULE NAME= approach will look only in the shared directory. But what if you can't place files in the shared customtags directory? Perhaps you work in a tightly controlled corporate environment where you have to get all sorts of permissions to place files in the shared directory or, worse, you're in a hosted environment where you're extremely limited in what you can do and they absolutely refuse to place any tags you'd like to use in the shared directory? Well, it's good to know that at least one solution exists. You can place the intended tag in the local directory and execute it from there using the CF_ ... (more)

Using Saved Queries in the Query Builder

If you "save" the query instead (either by using the left-most icon at the top of the query builder or by simply closing the query builder once you've created or modified one), this saved query is presented in a list of all such queries that have been saved for the given datasource (presented below the list of tables for that datasource, as shown in the database tab). You can then drag and drop such a saved query onto your CFML code. You can also change a saved query by double-clicking on it in the just-mentioned list of saved queries. Note, however, that once a query is dropped... (more)

Toward Better Error Handling

When your users experience a CF error, do they still see the traditional default - a plain black-on-white CF error screen? More important, are you being notified when such errors occur? Would you like to log the errors to a database? If you're not taking advantage of such capabilities, you should learn about better error handling techniques that are often missed or misunderstood. In the first two parts of this series (CFDJ, Vol. 2, issues 10 and 12) we learned how to create more effective error handling than the traditional CF default error message. Those articles focused on cha... (more)

Helping Yourself

In my work as an Allaire-certified instructor, students often ask questions, and while the courses address most of them, they sometimes have some really interesting ones that I know have been asked and answered before. Often they'll be the frequently asked ones, but occasionally they have some really specific needs that may not be that common. In such cases I try not to just answer the question but also point them to resources where they can find such answers themselves in the future. In this month's Journeyman column I'd like to carry on that notion of "teaching a person to fish"... (more)

Setting Up Your Development Server with ColdFusion 5, MX, and BlueDragon

The world of ColdFusion application servers is quite interesting at the moment. Macromedia's recent update to CFMX 6.1 promises to add a lot of stability and speed to the product. BlueDragon, New Atlanta's alternate CFML runtime engine continues to gain momentum. Yet despite these two great products, much of the development out there is still based on ColdFusion 5 (or earlier). What if you're interested in running one or more of these at once? Perhaps you're going to upgrade an app from one server to another? How do you test your current applications for compatibility among the ... (more)