com.sebtools Build 8: FileMgr and Mailer Updates

John Whish found a couple of bugs in FileMgr (ColdFusion 9 compatibility and a bug in the getFilePath method) that should be fixed now.

I also added getNoticeMethod to Mailer.cfc which should make it easier to see what it is doing when sending notices as well as make it possible to interject a step after the notice email is compiled but before it sends.

com.sebtools is open source and free for any use.

Tracking Scheduled Tasks with Scheduler 1.1

One of the sites I work on went through a period where it ran very slowly (or even crashed) a few times a month. Each time, the problem generally started around three in the morning. As the site has several scheduled tasks, I was asked if any of them could be the culprit. At the time, I had no reliable way to answer that question. Now I do.

[More]

DataMgr 2.2.0.2 and com.sebtools Build 2

I just fixed a couple of bugs in DataMgr which caused an update in both DataMgr and in the com.sebtools pack. The com.sebtools package also includes an update to FileMgr among other components.

[More]

com.sebtools Build 1

I have done a few entries on components that use DataMgr (listed under "DataMgr Utility Set"). Until now, I have had each as a separate download. My thinking was that it would reduce the amount of data you would need to download in order to use the tools. In fact, this added a step to use them as you had to download DataMgr as well if you didn't already have it.

In an attempt to learn from this mistake, I have merged all of these projects as the com.sebtools package.

[More]

I Never Break Encapsulation (almost)

One of the larger systems that on which I work runs multiple sites from one code base. Each site needs to have some data that is specific to that site. For example, each site should use a different from email address and mail server when sending email.

During the initial development of the system, I decided to give each site its own application scope. After that, I don't have to worry about which data is site-specific and which isn't. Despite a continually growing number of sites, this has worked pretty well for more than five years.

Then the use of one of my own open source projects revealed a problem with this approach.

[More]

Scheduler.cfc 1.0

More than a year ago, I released a beta of Scheduler.cfc. Then I promptly forgot to release a full version. So, now I mean to correct that oversight.

[More]

SpamFilter 1.1

Since I first released SpamFilter, I have added several new spam definitions to it without needing to touch the actual code. The most recent addition, however, did require me to update the code. Since I did that, I decided to go ahead and make another change to take advantage of new functionality in DataMgr 2.2 (on which SpamFilter 1.1 is dependent).

[More]

Managing Uploaded Files with FileMgr

Years ago, I used to put uploaded files any random place in my sites. This turned out to be a pain when I wanted to deploy a new version of a site. If I was using FTP, I couldn't just upload a set of root folders because some folders used for uploads might be within them and I wouldn't want to overwrite files that had been uploaded on the live site. If I was using subversion, then I would have to select "ignore" on each upload location individually. Even comparisons in BeyondCompare were a little more tedious.

[More]

Preventing Form Spam in cf_sebForm

I use cf_sebForm for all of my contact forms. Form spam is a constant problem for those forms. So, I set up a generic way to do filtering in those forms and wrote both cf_sebForm and SpamFilter.cfc to follow the same guidelines.

[More]

Add SpamFilter.cfc to BlogCFC

BlogCFC does a good job of preventing spam, but I sometimes get comment spam that I think SpamFilter.cfc could prevent. I decided to see how easily I could implement it on BlogCFC.

It turns out that it is pretty easy. I had to add a few lines to Application.cfm and addcomment.cfm. The drawback here is that I will have to repeat this process when I upgrade, but it is pretty painless.

[More]

More Entries

BlogCFC was created by Raymond Camden. This blog is running version 5.8.001.