Picking a ColdFusion MVC Framework

20,833

Solution 1

Seeing you are NEW to ColdFusion what I would do is pick ONE FRAMEWORK and stick to it. At first it will be hard you will have problems and you will be tempted to drop the Framework you have chosen but don't do it. After you have mastered one framework then you can learn the others.

Most of these you can add

An introduction to ColdFusion frameworks at Adobe.com

Most important is to remember we all have our opinions but there is NO real proof what is best. You can even NOT use a actual framework and just code carefully in MVC.

The stuff you are currently maintaining

I would pick ColdBox, ModelGlue or Framework/1.

ColdBox provides a little Code Generation and Framework/1 is very light so less to learn.

Solution 2

I've been using CFWheels for a couple of years and I've not found a better framework. It's inspired by Ruby on Rails and is very easy to learn with great docs and a very active community.

www.cfwheels.org

Solution 3

I teach a course in ColdFusion and use Sean Corfield's Framework/1 in the classroom. It's lightweight and has a very gentle learning curve, which makes it especially good for transitioning existing codebases. But at the same time, it's easy for a team of developers to work with and can scale to large apps. It's the framework that feels least like a framework and most like natural code, to me anyway.

http://github.com/seancorfield/fw1/

Solution 4

I wanted to give a +1 for cfwheels.

Since 2003, I've used Mach II, ColdBox, Fusebox, and Model-Glue for various projects. All had their pros and cons (Fusebox is the only one I'd avoid now) but, with a recent project, I decided to try CFWheels.

Using Wheels has been a blast. I've had a great time developing a site for some friends in my small town who own and operate an Ice Climbing and Guiding site ([www.ourayclimbing.com]). Nice SES URLs, runs great on Adobe CF and Railo, the admin was insanely easy to get going with the Scaffolding plugin, convention over configuration (which I love :)), etc.

In any case, if you stick with the major players (ColdBox, CFWheels, Mach II or Model-Glue), I think you'll be pleasantly surprised at what CF can offer you.

Solution 5

It has to be coldbox really.

It has excellent documentation on the site, and also has a book which has been brilliantly written to cover many aspects about object orientated programming, amongst other topics. Honestly, really impressed by the book, more than I was expecting.

What I like about the framework is that it uses coldfusion code in its handlers, when I picked it up I think the other frameworks where using xml...not sure if this has changed.

The framework is easy to pick up if you are knowledgeable on CFCs, and has several useful features for building sites. PLugins, Debug toolbar, URL rooting for "pretty URLS"..

I cant speak highly enough of the framework..

Theres also a really helpful community here who respond to all my questions really promptly.

Share:
20,833
user1477701
Author by

user1477701

I like to code and lift weights... I am a full-time full-stack Software Engineer. Received my BS in Computer Science, MBA, MS in Computer Science, and MS in Software Engineering. I spent a few years in the military then working as a contractor overseas which eventually brought me back to the states where I am currently contracting.

Updated on March 05, 2020

Comments

  • user1477701
    user1477701 about 4 years

    I am taking over a lot of the ColdFusion stuff that is lingering at our shop and they are insistent it stay on ColdFusion and that new projects in this area MUST be done in CF - basically this part is non-negotiable. I am not very experienced in CF (haven't touched it since 2003) so most of my development has been in .Net, MVC, C#, Linq-to-SQL in the past 4-5 years.

    I was doing some looking around for a MVC framework that I could relate my Asp.Net MVC experience to and hopefully an integrated ORM (I am stuck using CF 8 at least for a while). I have found a few like Model-and-glue, Mach II and Coldbox etc. but I don't really know where to start and wanted to get some opinions on the advantages, disadvantages, etc. of each of them from people who use them.

    I know that I will need to do an extensive brushing-up (pretty much re-learning) of CFML, so I don't need to be told that - I am looking into the future here.

    Could you please share any information you have on CF MVC Frameworks to help me choose which one will be best for me? Thank you.

  • Ciaran Archer
    Ciaran Archer over 13 years
    +1 - it's a very good MVC framework that strikes a good balance between speed of development and organisation. We wrote our own MVC-ish framework for the last few years but next time we'd like to go with FW/1. Good community too: groups.google.ie/group/framework-one
  • Peter Boughton
    Peter Boughton over 13 years
    Andy, I hope you don't mind; I changed "based on" to "inspired by", to clarify that it is not built on top of RoR. And I linkified your link for you. :)
  • Andreas Schuldhaus
    Andreas Schuldhaus over 13 years
  • user1477701
    user1477701 over 13 years
    If I was going to rewrite it, why would I learn a new language/framework? I would stick with what I have been doing for 6+ years: .Net
  • yfeldblum
    yfeldblum over 13 years
    @naspinski Yep, then stick with ASP.NET MVC! It's fairly solid itself, and is built on an extremely solid language and runtime. I personally like the NHaml template engine.
  • yfeldblum
    yfeldblum over 13 years
    @Andreas I've been using CF for a few years and have been bitten repeatedly by each flaw of the language that I listed above, as well as numerous other flaws.
  • Stephen Moretti
    Stephen Moretti over 13 years
    Justice, you aren't answering the question asked. You may feel that Ruby or .Net are the languages that should be used to develop an application, but the question states "MUST be done in CF", so your response is just FUD. Please stick to the question asked.
  • yfeldblum
    yfeldblum over 13 years
    @Stephen My answer was "Everything is negotiable."
  • Russ Johnson
    Russ Johnson over 13 years
    I'd have to second CFWheels. I have been using CF Frameworks for over 11 years. I stick to ColdBox and CFWheels exclusively. ColdBox is great and I tend to use it for much larger applications that interact with other apps or need alternate front-ends (Flex, etc.). But for small / mid-sized projects I always use Wheels. The built-in ORM and validations make it dead-simple and quick to get your app up and running. No other framework compares to it for speed of development.
  • user1477701
    user1477701 over 13 years
    Thanks a lot for this input, I agree that there is no 'best' framework, that is true for all languages
  • Jas Panesar
    Jas Panesar over 13 years
    -1 Comparing a framework (Rails) to a Language (ColdFusion) doesn't make a lot of sense. Coldfusion is mature and doesn't outdate it's code or have the types of performance or scaling issues Rails has right now. I would
  • Jas Panesar
    Jas Panesar over 13 years
    Hi Justice, just saw this now. I'm not sure if you have used coldfusion enough to comment on it, because you can use cf as a tag language (which seems to be what you're commenting on), or use cfscript, which is ecma script (ala javascript) based. It's quite clean. The standard coldfusion functions are far more mature and a wider/deeper feature set for the web out of the box than any language (including Ruby) that I've worked with. Check it out for yourself, I think you might be pleasantly surprised. Coldfusion makes app dev trivial more than any other lang I've found.
  • Dave DuPlantis
    Dave DuPlantis about 13 years
    Everything is negotiable only if you have decision-making ability. Many people do not. Whether or not you prefer ColdFusion (you clearly don't) doesn't matter if the language has already been decided for you ... and given that the OP hasn't used CF in years and is still supposed to work in it, even if the question were something other than "Picking a ColdFusion MVC Framework" (which Ruby, Python, and ASP.NET are clearly not), suggesting another language does the OP no good.
  • Edward J Beckett
    Edward J Beckett almost 12 years
    @yfeldblum Picking a ColdFusion MVC Framework VS Rewriting the CF apps in Rails 3: Really? Don't troll
  • yfeldblum
    yfeldblum almost 12 years
    @EddieB Ignoring the argument and sticking a shocked question mark after the headline: Really? Don't troll.
  • Edward J Beckett
    Edward J Beckett almost 12 years
    I only say that because both Ruby and ColdFusion have their pros and cons ... Your statement was completely off topic. The OP needed to know about CF MVC ... Not Java, Ruby, PHP, etc.
  • user752746
    user752746 almost 7 years
    I totally agree Gary, CFWheels or FW/1 are very easy to pick up and go.