FW/1 - Framework One Updated
October 12, 2009 · 4 Comments
Since I promised to keep most news about my lightweight, convention-based MVC framework, FW/1 on the RIAForge project blog, this is just a quick to say it's had a few updates and is currently at build 0.6.3. Recent updates have mostly been bug fixes as more and more people start using the framework and some FW/1 sites are now in production which of course makes me very happy!
I'm planning to complete the Reference Manual soon and make another pass over the Developer's Guide and examples. I hope to declare a stable 1.0 release fairly soon!
Tags: coldfusion · fw1 · oss

4 responses so far ↓
1 dan fredericks // Dec 29, 2009 at 12:27 PM
I have never really used a framework, however, I thought it would be a good idea to check into them. I have read what people have said about this framework, it is simple. I have been reveiwing the examples that come with it, and I am lost. I don't see how functions are called, I don't see how database calls would be made, I don't see where datasource variables would be set up. I just don't understand.
Maybe it is because I have not used frameworks before.
What would you suggest I do to understand this better? any more robust examples that I could see with code that does call databases, and sets more on the application.cfc page?
if not I understand, just thought I look into frameworks and see if they would work for me.
thanks
Dan
2 Sean Corfield // Dec 30, 2009 at 9:31 AM
Most CFML frameworks follow the MVC design pattern which provides guidance on where / how to interact with the database and how to handle global settings.
The reason none of the FW/1 examples use a database is because that requires additional setup scripts for users (and I'd only be able to provide MySQL code).
You could always join the framework-one Google Group and ask existing FW/1 users how they do this kind of stuff.
3 charlie arehart // Dec 1, 2010 at 8:29 AM
If you still have not done any that involve DB examples, I'm sure that some others new to frameworks would have the concerns Dan raised.
I was about to say that if the real concern was the need to provide scripts, you could at least provide simple examples based on Derby, since it's built into CF 8 and 9, but I realized then that you'd probably want something that worked as seamlessly on Railo. I don't think it bundled any DB, does it? Anyway, it would certainly be easy for Railo folks to add Derby, if indeed they wanted to leverage such examples. :-)
But really, I'm sure as well that those who may be interested in such examples would be happy either to install MySQL (if that's all you chose to do) or just to look at the code without running it.
Hope that's helpful.
4 charlie arehart // Dec 1, 2010 at 8:34 AM
And Sean, if you just wanted to edit those things and delete this comment, that would be fine, of course.
Leave a Comment