D'Arcy from Winnipeg
Solution Architecture, Business & Entrepreneurship, Microsoft, and Adoption

Twin Cities Code Camp - MVC Framework Talk

Saturday, April 5, 2008 12:54 PM

Having a ball here in Minneapolis (although the lack of sleep is going to smack me in a little bit...if not already)...

My presentation went well enough I think. I ran into some hardware/software issues, and I need to better streamline how I cover the different aspects of how the MVC projects are structured. I also discovered an important rule when it comes to technology presentations:

Don't assume that its as easy for something to work the way you think it would.

Especially with the MVC framework. I'm doing a talk this afternoon on using the MVC pattern without the MVC framework...and I realized this morning how much I *still* haven't gotten my head around the concepts in the MVC framework. I found myself trying to dim up a controller in the view code behind...which doesn't work as well as when you use, say, the HTML helpers in the ASPX page.

I also realized that you can't pass in multiple values easily from a view to a controller...wait...no, let me rephrase that:

I also realized that its not incredibly obvious about how to pass multiple values easily from a view to a controller. By that, I mean that you need to know about the helper objects that support it (whether that be at the aspx level or using the Controller.ReadFromRequest method, etc.).

I was talking with a colleague, and he mentioned that at the recent VSLive event a presenter told him that the MVC Framework, as it is now, will be good for content-driven apps (that notion supported by the release of Kigg) but not for business applications. As a community, I think this is where we need to focus for providing feedback to the ASP.NET team, and also leverage what's already in the Rails or MonoRail community (there are obviously business apps developed with those technologies, so what is the MVC framework missing that the others have?).

Anyway, it was a great session...for myself for sure, and I hope for those that were in attendance. I'll be posting a more fleshed out example this week to make up for my demonstration that fell short.

D




Feedback

# re: Twin Cities Code Camp - MVC Framework Talk

1) I can't disagree more about MVC not being for business applications. Not only are there many business apps written in other MVC frameworks, but I myself have been writing an application (not nec. content based) in MVC as well. Give me the name of that presenter so I can go beat him to death.

2) Um, excuse me? "Dim up a controller"? Were you trying to use *VB* to do this? *There's* your presentation problem!! ;) 4/5/2008 2:26 PM | Justice~!

# re: Twin Cities Code Camp - MVC Framework Talk

Thanks for coming down, eh! :)

I enjoyed the first ASP.NET MVC session, but I thought it could have been a little more organized. There's a lot to cover (routing, controllers, models, views, etc) in such a short period of time that it's hard to make it up on the fly. It probably would have been better to have and a couple of demos ready to go, and maybe already have them most of the way coded.

I missed your second session (I had to see hometown hero Jason Bock in action) so I was wondering if you have slide decks or demos available from that?

Once again, thanks for coming!


ps. I'm sort of following (as new chapters are made available) the Manning (Early Access Program) book on ASP.NET MVC here: http://www.manning.com/palermo/ 4/6/2008 2:15 AM | Eric

# re: Twin Cities Code Camp - MVC Framework Talk

Oh yeah... what were the specs of your laptop? 4/6/2008 2:37 AM | Eric

# re: Twin Cities Code Camp - MVC Framework Talk

@Justice - Oh don't start with the whole "It's MVC not MVB" thing...

@Eric - Thanks for the feedback. Yeah, there was alot of stuff to cover...as part of the code camp content I'll be posting, I'll have a full *working* calculator demo as well. ;)

The second session wasn't a typical sit and watch type. We had a handful of people and did more of a conversational type...although I wish we had made notes because we had really great discussion around architecting web-form based web apps as well. I'll do a post up on what the main points were that I covered at least though.

Oh...and the laptop thing...so after my session I went back to the speakers room, dumbfounded about how my machine was so slow...and then AVG alerted me that it had completed its full system scan. :S

D 4/6/2008 7:06 AM | D'Arcy from Winnipeg

# re: Twin Cities Code Camp - MVC Framework Talk

LOL on the virus scan.

Please do post your notes on the second session! 4/6/2008 10:20 AM | Eric

Post a comment