ASP.NET MVC
-
So, I am creating a new website, and I'm figuring it's a good time to learn ASP.NET MVC. I'm watching a video about it right now. I am thinking that I will like it, once I get a handle on it. Right now it seems like there's a lot of pieces to figure out. I am hating the idea of putting code back in the aspx tho, I am waiting for the moment where it becomes clear that I don't need to do that.
Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
-
So, I am creating a new website, and I'm figuring it's a good time to learn ASP.NET MVC. I'm watching a video about it right now. I am thinking that I will like it, once I get a handle on it. Right now it seems like there's a lot of pieces to figure out. I am hating the idea of putting code back in the aspx tho, I am waiting for the moment where it becomes clear that I don't need to do that.
Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
I'm surprised you don't go Silverlight?
Never underestimate the power of human stupidity RAH
-
I'm surprised you don't go Silverlight?
Never underestimate the power of human stupidity RAH
So am I.... Silverlight is out because people have to download a plugin. I believe a silverlight version is planned down the track. ASP.NET MVC seems like it could do some cool things, especially readable URLs. However, I feel like I'd like to play with the ASP.NET AJAX controls, and I'm not sure that is possible with ASP.NET MVC, so I am feeling torn. I also hate how the code goes into the aspx in MVC, that's just ugly.
Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
-
So am I.... Silverlight is out because people have to download a plugin. I believe a silverlight version is planned down the track. ASP.NET MVC seems like it could do some cool things, especially readable URLs. However, I feel like I'd like to play with the ASP.NET AJAX controls, and I'm not sure that is possible with ASP.NET MVC, so I am feeling torn. I also hate how the code goes into the aspx in MVC, that's just ugly.
Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
Why don't you use jQuery UI[^] instead of ASP.NET AJAX controls? As for the aspx did you look at Spark view engine?
Giorgi Dalakishvili #region signature My Articles Browsing xkcd in a windows 7 way[^] #endregion
-
So, I am creating a new website, and I'm figuring it's a good time to learn ASP.NET MVC. I'm watching a video about it right now. I am thinking that I will like it, once I get a handle on it. Right now it seems like there's a lot of pieces to figure out. I am hating the idea of putting code back in the aspx tho, I am waiting for the moment where it becomes clear that I don't need to do that.
Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
I know it struck me at first as going back to the classic ASP model. There was an article I read a short time ago, I believe by Dino Esposito, giving the case where this wasn't as bad as it seems. If I can remember it I'll pass it along.
I know the language. I've read a book. - _Madmatt
-
So, I am creating a new website, and I'm figuring it's a good time to learn ASP.NET MVC. I'm watching a video about it right now. I am thinking that I will like it, once I get a handle on it. Right now it seems like there's a lot of pieces to figure out. I am hating the idea of putting code back in the aspx tho, I am waiting for the moment where it becomes clear that I don't need to do that.
Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
I would argue that the only code you're putting (you should be putting) in the ASPX is for view-related template expression. So, extracting data from the model. If you have to go beyond that, it's likely a candidate for a partial view and some more controller logic. For all things UI I use straight-up HTML and jQuery/jQuery UI. It's nothing at all like classic ASP ;), except maybe your code tags. I spent three years too many of my life there. When you're getting started, I think the size of the default/starter project (even the empty one) is a little overwhelming. Once you're more comfortable with the framework I find it very natural. I think of the View (the ASPX) as simply a template. No logic, baby. Cheers.