WebForms or MVC for my next project?

I’ve a new project lined up for the second week of March, and I’m seriously considering MVC for the application code.

Some food for thought: Choosing Between WebForms and MVC

Advertisements

3 Comments on “WebForms or MVC for my next project?”

  1. Vaibhav says:

    Hi there. Do write about which you chose and why. There is still no complete expert opinion on this, and so we all need to learn from each others’ experiences.

    Maybe you can write a little bit about what type of project you have and why you chose to go with MVC, and then follow it up after a few weeks to let us know if that was a good choice. 🙂

  2. hyperoceanic says:

    Hi Vaibhav – thanks for commenting.

    I’ve been mulling it over, over the course of the day. Here are the salient points.

    1: I’ve not invested in WebForms knowledge massively – though my knowledge of yer basic/raw HTML is pretty good.

    2: Almost everything I do is test-driven.

    3: I’m pretty happy with a Winforms-like programming interface.

    4: I hate code and HTML being mushed together.

    5: I get to choose, and I carry the can if it goes wrong 🙂

    Points to MVC, I’d say. Now the choice is between the standard view engine, Brails (Boo==love) or the NHAML renderer. I think I’ll need to sit down and do a couple of hours playing.

    The rest of the stack will be the Castles projects ActiveRecord with ActiveWriter providing the modelling environment. I’ll have to hack ActiveWriter to allow better attributing of properties though.

    \m

  3. V says:

    Yeah, for you its a no-brainer at this stage. 🙂

    I have read about the Castles project and looked at their stuff, but never had a chance to work on it. Lucky you.

    I will follow this thread to see where you go 🙂