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.
Archived Comments
Will this run on Coldfusion 6.1??
It requires ColdFusion 8. Sorry, I should have made that clear.
Thanks...
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 :)
Definitely a good "selling point" for CF8 ... LOL
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!
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
Um - you got MySQl 4 or 5?
I'm sorry 5... maybe that's the reason.
Well, I may have made the script wrong. You can do it by hand of course. :)
Haha, sure sure ... I understand!
Just figured I would ask before I go and spend too much time on it.
Thanks man!
HI Ray - how up to date is this code base?
The answer is - not. If you want the latest, please remind me next week to get it updated.
Hi Ray - a reminder as requested.
The zip has been updated.
Dear Ray! I'm looking for a code with flash graphics. It would be great to integrate this technology into our site scibet.com
No quite sure what you mean. If you are looking for a particular project, you want to search at http://www.riaforge.org.
Thank you for releasing the source code for RIAForge. The ao.sql file to set up the tables isn't part of the download (or at least I can't find it).
Would it be possible to include it or let me know where I can find it.
Thanks
Tamas
You can get the schema here: http://www.coldfusionjedi.c...