Welcome!

Steve Bryant

Subscribe to Steve Bryant: eMailAlertsEmail Alerts
Get Steve Bryant via: homepageHomepage mobileMobile rssRSS facebookFacebook twitterTwitter linkedinLinkedIn


Top Stories by Steve Bryant

Have you ever been to a site and gotten a pop-up box telling you about a JavaScript error on the page? It can be really annoying. What's worse is that the person responsible for maintaining the site doesn't even know that the error occurred. This article isn't about ColdFusion error handling. That was covered in 2000 and 2001 in CFDJ by Charlie Arehart's four-part series, "Toward Better Error Handling," as well as by others. Rather, this article will tell you some ways to trap JavaScript errors on the client. More important, it'll tell you how to communicate these errors to ColdFusion automatically so you can write the errors to a log file or e-mail the errors to yourself and find out about them right away. Indeed, the trick we use may be useful to you in ways beyond just... (more)

tag.cfc 0.1: Write Your Own Code Generator

Back when I had some free time, I started working on my own code generator, partly because other code generators create code slightly different from my preferences and partly for the challenge. I have since gotten too busy to finish it, but I went ahead and finished the kernel component of the system - the one that actually generates the code. To download the component go to www.bryantweb... (more)

Reusable (and Maintainable) Presentation Code

Everyone knows that you should reuse your code so that you don't have to repeatedly write the same functionality. You put widgets in custom tags and encapsulate logic in CFCs. Even so, your application's user interface may frequently end up changing. Sometimes the changes are so substantial that it hardly seems worth the effort to try to reuse code at all. Your efforts to reuse code and ... (more)

John Farrar on COOP

Steve Bryant's Blog Yesterday John Farrar presented to the Online ColdFusion Meetup Group on his forms custom tag set, COOP. Actually, he describes it as a framework to separate page markup from processing logic. Most of what I saw solves a problem in the same space as a custom tag set that I have been using for a few years (and hoping to put into beta soon). So, I am likely somewhat bias... (more)

Handling Site Layouts in ColdFusion with Layout Components

Most sites have similar issues related to the site layout. I have seen many solutions that solve some challenges related to layout, but fail to handle others elegantly. I have found that using layout components elegantly solves all of the layout problems I have faced. What Do I Want? Here are my goals for handling layouts. I want to: Make edits to the layout in one place Easily switch layo... (more)