0

Arf! in 30 minutes

ColdFusion
Joe Rinehart has recently made Arf! available to the public.  OK, I am a little behind.  He actually did so in November, but nontheless...  Even though it is still in Alpha release, but seems quite stable so far.  Arf! is intended to be somewhat of an answer to Ruby on Rails in that it is employees the same type of Active Record programming, and takes much of the redundency out of programming, virtually elminating most common CRUD procedures, and managing relationships between objects with methods such as hasMany(), belongsTo().  It is very straight forward, and I had his core files downloaded, installed and had run through his example in about 30 minutes.  I have not experimented beyond duplicating his demo, but it has obvious benefits in rapid development!   Go take a look at Joe's 10 minute video tutorial/introduction.
tags:
ColdFusion
Ryan said:
 
I'm lacking very much in the use of frameworks, would you recommend using Arf! as a good place to start?

Ryan
 
posted 1418 days ago
Add Comment Reply to: this comment OR this thread
 
 
Well, I think it might be a mistatement to actually call Arf! an application framework. It could be called a framework for your models, but even so, it can be used within other frameworks such as Mach-II, Model Glue, Fusebox, etc., and can be used to work with ColdSpring. I haven't put all of these things together yet in 1 app yet, so I can't give you specifics on acheiving that, but I wanted to try to clarify that a bit.

Now, regarding frameworks... This is an often debated topic, and usually has the same kind of definitive answer as "Which is better, Ford or Chevy?"

I personally have used Fusebox 3 in the old days, which is a farcry (pun intened: See FarCry framework) from what it is today. I have limited experience with Model Glue and like what I see in it, but my personal weapon of choice is Mach-II. For some reason it really just jives with me. If you are new to the MVC pattern, I think it really helps to enforce following it.

...out of characters. See next comment
 
posted 1418 days ago
Add Comment Reply to: this comment OR this thread
 
 
At the CFUnited '05 conference, I sat in on the BOF Roundtable on framework comparisons. I think Hal Helms stated it best when he made the comment, that in an MVC application, the "C" (controller aka framework) should have a very humble role. It should really just be a means of communication between your model and your view and really nothing else. I think Fuesbox, Mach-II, and Model Glue all fill that role nicely.

One point that came out was regarding learning curve. Here is what I took away from that:

-Fusebox: easiest to learn, but doesn't enforce MVC or OO ideals. It can employ them but doesn't enforce them.

-Model Glue: A little harder if OO is foreign, but will still allow some old habits to creep in. It can strictly adhere to MVC but will allow some cheating.

-Mach-II: If new to OO, hardest to learn, but best enforces OO and MVC.

That said, I decided Mach-II is what I would focus on. It makes tasks very easy to perform, and it does a great job organizing my code.
 
posted 1418 days ago
Add Comment Reply to: this comment OR this thread
 
Ryan said:
 
Dave,
Thank you so much for your feedback. I've heard a lot about the frameworks you mentioned and now it is just time to pick one I believe. I downloded ColdSpring the other day but didn't go much further. Maybe I will focus one ModelGlue or Mach-II.

Thanks again,
Ryan
 
posted 1418 days ago
Add Comment Reply to: this comment OR this thread
 

Search