I Had Fun Yesterday!

We've been really busy at work for years. A lot of the time it feels like a grind. But, yesterday, I really enjoyed myself.

I have been working on a project that will get us started on using CFCs for our database access. I know, I know. We're a little late for that train, huh... Well, a huge portion of our application was already written in the FB3 framework before CFCs even existed. That's a lot of procedural momentum. It took me a long time to get approved to start this project (and even longer to fit it in my work schedule).

Due to requirements at work, I am using Brian Rinaldi's Illudium PU-36 Code Generator. I made a minor tweek to the generator code so that I could use it outside of the flex interface. And I've been spending some time here and there customizing the generator templates to produce the code I want.

Yesterday, I finally got the per-table templates to a good place and started building the service that will pull it all together. As I built that out and made small changes to it and the templates during the day, my test template kept getting cleaner and simpler all day long! I really just wanted to share how exciting it was. I'm doing something that will really help us at work! And I'm proud of it from a technical perspective!

I think the last time I was this excited at work was when I proved that we could use AJAX and started making parts of our application much more intuitive. :-)

If people are interested in what I'm doing with Brian's generator, how I'm using it, how I'm organizing my CFCs, etc., I could write that up. Anyone?

Related Blog Entries

Comments
MIke's Gravatar I would love to hear how your using Brian's generator. I've never used it before but I'm thinking it may be a good tool to migrate old code.
# Posted By MIke | 1/24/08 8:34 AM
Brian Rinaldi's Gravatar Um...I am interested :) I will let you in on a little secret, I am in the process of rebuilding much of the guts of the generator from the ground up (not the templating however which will remain the same) to support some much needed features like column aliasing and more. So, if ever there was a good time to share your information about how you use the generator, now is it.
# Posted By Brian Rinaldi | 1/24/08 8:37 AM
Brian Rinaldi's Gravatar On a side note, I still have the patch you sent me ages ago. I know this project hasn't gotten much love for a while, but I have really begun to give it some focus lately.
# Posted By Brian Rinaldi | 1/24/08 8:40 AM
Jeff Gladnick's Gravatar I would like to see the code that de-flexify's the PU-36 code generator. I use Railo (www.railo.ch) a lot for development at home, and in order to use Brian's awesome code generator I had to install CF8 on my machine too.
# Posted By Jeff Gladnick | 1/24/08 10:54 AM
Brian Swartzfager's Gravatar Hi, Chris,

No need to apologize for the fact you're just starting to use CFC objects for database transactions. I think most of us look at the latest technologies and techniques all around us and feel like we're behind in one area or another (at least I do). There's only so much time to get things done, so you make your improvements when and where you can.
# Posted By Brian Swartzfager | 1/24/08 12:01 PM
Henry's Gravatar yeah, pls share the experience or maybe template as well, with us~ :-)
# Posted By Henry | 1/24/08 12:14 PM
Cozmo's Gravatar >>I could use it outside of the flex interface.

This I would love to see.

I use the Illudium Code Generator a lot. One of my biggest problems with it is that it takes too many clicks to get anything of scale done. It is something to the tune of 10-15 clicks per table. It really adds up.
# Posted By Cozmo | 1/25/08 7:48 AM
Chris Phillips's Gravatar @Brian R. - It's pretty awesome to know the creator of Iludium will be reading about my experiences. I really like the idea behind your generator. I'm sure it will only get better as you work on it!

@Brian S. - I appreciate your comments. There are so many areas that I want to improve... Sometimes I feel discouraged. However, I look at last year and my skills in most of my core technologies actually improved a lot. I'm much stronger in JavaScript, CSS, and SQL than I was at the end of 2006. So, maybe this year is the big year for OO and patterns...

@Henry and @Cozmo - I'll communicate with my bosses at work and share as much as they are willing to let me. :-)
# Posted By Chris Phillips | 1/25/08 10:25 AM
Chris Phillips's Gravatar OK. I pushed out the system that uses the Illudium Code Generator this afternoon at work. It is in production and running a small internal utility related to support tickets.
Every went well. :-) I will try to make time soon to do a write-up on my experience.
# Posted By Chris Phillips | 2/6/08 8:05 PM
BlogCFC was created by Raymond Camden. This blog is running version 5.6.002.