Skip to main content

Posts

Showing posts from December, 2004

Hal Helms Newsletters - OO Primer

If you're new to OO or want to solidify what you already know (or *think* you already know ...), you're going to want to check out Hal Helms' latest series of newsletters:http://halhelms.com/index.cfm?fuseaction=newsletters.detail
Hal has a real gift to explaining OO concepts in a way that makes them very easy to understand and is very passionate about getting people to start thinking in OO, so his latest two newsletters (and the upcoming ones he's hinted at) should be considered "must read" materials for CFers looking to make the transition to OO. And that should be each and every one of you!
I'm going to be covering an intro to OO thinking, principles, etc. at our February CFUG meeting as well so I should have some thoughts over the next month or so. This will be a good way for me to get started on the series of OO blog entries/articles I have planned for the new year.
I hereby declare 2005 to be "the year of OO" for all CFers! :-)

Server Migration

If you're reading this, you're hitting my new dedicated server. The migration wasn't too bad, although I did change the blog database from SQL Server 2000 to MySQL 4.1.7 which was semi-challenging.

ere's the steps I took to migrate from SQL Server to MySQL:

Ran the MySQL script that comes with Ray Camden's blog software to create the database

Downloaded and installed MySQL ODBC driver for Windows on my Windows laptop that I have SQL Server Enterprise Manager installed on

Created a user in MySQL to use for the migration

Created ODBC datasource to the MySQL database

Got an error about the authentication method when I tried to connect via the ODBC driver; this is related to the new password hashing mechanism in MySQL 4.1.

Went to the MySQL command line and reset the user's password to the old hash method:SET PASSWORD FOR 'some_user'@'some_host' = OLD_PASSWORD('newpwd');You have to do this if you want to connect via ODBC!

Created the ODBC con…

Exercises in Design Patterns

I had a really eloquent version of this post all worked out, but for some reason it choked when I submitted it, so this will be a less eloquent, abbreviated version.
Apologies that I've been in a cave lately. I've had the typical end-of-the-year project pileup to dig out from under, but in the course of working feverishly on some of these projects, I've taken the opportunity to take a much closer look at some design patterns, specifically in my case DAOs and how to use them better and more effectively.

I've been using DAOs in Mach-II projects for quite some time now, and although it's been working great I realized I've been using them a bit prescriptively without *really* digging down deep and understanding all the surrounding issues, gotchas, and possibilities. So I've been reading, researching, and reading some more over the past few weeks and I'm starting to have some revelatory insights on some things.
The purpose of this post isn't to…

J2EE's Growing Pains

Given the discussion some of us in the CF community have been having lately about the affect alternative CFML engines have on CF as a whole, I thought this article about what's going on in the J2EE world these days was pretty interesting:Alternative Frameworks: Bad for J2EE ... or Good?On one front, the commoditization of things like app servers may lead to the big J2EE players to abandon their commercial offerings if they're no longer profitable. (I don't agree with this argument at all, but it's one that's frequently made.)On another front, many in the Java world are challenging the complexities of J2EE and coming up with alternative frameworks such as Spring (dev framework) and Hibernate (persistence framework). These alternatives are more lightweight and easier to use than their heavier counterparts, but some argue that it starts to water down the standards.On the CF side of the world, these arguments are very analogous to the situation with Macro…