You want some RIAForge source? You got some RIAForge source!

Folks have been buggingasking me about sharing the source to RIAForge for a while now, and I've finally gotten to packaging it up. You can download it via the Download link below. Before you download though, please read the following notes.

First off - one of the reasons I was hesitant to share the code was because - like most people - I had cut a few corners here and there. I tried to document where I did that so I'd come back later and fix it, but, don't expect this to be the prettiest code you've ever seen come from me. A good example of this is the admin authentication. It's hard coded. (And yes, I changed the username/password in the code I provided here.)

This is a Model-Glue application. It makes very minor use of Reactor.

The application uses MySQL. I included the table scripts in a file named ao.sql.

The site assumes your have a web server that responses to www.yoursite.com and *.yoursite.com. Look at how Application.cfm looks at the cgi.server_name variable and rewrites the event. This is simple - but I was rather proud of it.

The site makes use of a modified version of BlogCFC, LighthousePro, and Canvas. The main modifications were support for dynamic settings based on the request, all of which were rolled back into the products themselves. This is why BlogCFC can easily support a "Blogger.com" style setup.

I'll be happy to answer questions about the code, but I cannot support the codebase as a real "project" per se. Right now I just don't have the bandwidth. So if you do use this code, please note that I cannot provide support for it. (Well, that's a lie. Most folks know I'm a sucker for a call for help, but in general, the answer will be no.) That being said - a lot of time went into this code, so if you do use it, I ask that you visit the wishlist and give it some loving.

Comments

Will this run on Coldfusion 6.1??
# Posted By Robert Owen | 7/11/07 10:44 PM
It requires ColdFusion 8. Sorry, I should have made that clear.
# Posted By Raymond Camden | 7/11/07 10:50 PM
Thanks...
# Posted By Robert Owen | 7/11/07 10:53 PM
Thank you very much sir.. I think this is an amazing idea.. and will help spawn many needed niche environments for developers.

Looking forward to getting it running :)
# Posted By cmoore | 7/12/07 3:47 AM
Definitely a good "selling point" for CF8 ... LOL
# Posted By Sid Wing | 7/12/07 11:19 AM
Thanks Ray, I am one of those folks that has been bugging, nay I say asking, for the source. This will help us internally so much. I will give back the code to implement this on Oracle.

See you at MAX!
# Posted By Mark Cadle | 7/16/07 4:41 PM
Oh well, I must not have the right MySQL version because it won't let me execute the sql script.

I'm getting syntax errors.

Script line: 8   You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'CONSTRAINT PRIMARY
GO
ALTER TABLE textblocks
   DROP CONSTRAINT PRIMARY
GO
AL' at line 2
# Posted By Joshua Rountree | 7/10/08 3:33 PM
Um - you got MySQl 4 or 5?
# Posted By Raymond Camden | 7/11/08 9:13 AM
I'm sorry 5... maybe that's the reason.
# Posted By Joshua Rountree | 7/11/08 9:14 AM
Well, I may have made the script wrong. You can do it by hand of course. :)
# Posted By Raymond Camden | 7/11/08 9:15 AM
Haha, sure sure ... I understand!
Just figured I would ask before I go and spend too much time on it.

Thanks man!
# Posted By Joshua Rountree | 7/11/08 9:18 AM