Page 1 of 1

MVC on the roadmap?

Posted: Thu Jun 19, 2014 1:48 pm
by sweeperq
Just curious if MVC is somewhere on the roadmap? It looks like a ton of work was put into the CommerceBuilder source (using interfaces, inheritance, etc) and I noticed that WebAPI is used in a few places. Would be great to gain more control over the HTML (ditch viewstate and WebResource/ScriptResource, move all JavaScript to bottom, etc) and have better separation between the presentation and data layers (all required data populated in view model so you aren't calling tons of helper functions from .Net controls).

Re: MVC on the roadmap?

Posted: Fri Jun 20, 2014 12:33 pm
by Shopping Cart Admin
We just removed MVC from voting in the feature request system (uservoice), it's not received a vote in over a year.

It would be a rewrite of the entire front facing store pages, so it's more likely to happen during a major release if we ever get enough community support. I guess not everyone wants to learn something new every day.

Re: MVC on the roadmap?

Posted: Sun Jun 22, 2014 1:09 pm
by mike92117
I wasn't aware it was up for a vote. It's a tough call because migrating an existing webforms store I'm sure would entail some work. I'd agree in the long run it's a good move but it's tough when you have an installed user base and I'm sure webforms will be here for years to come. Having said that, I'd still like to see this go that direction - eventually.

Re: MVC on the roadmap?

Posted: Mon Jun 23, 2014 12:38 pm
by sweeperq
+3 - There's my 3 votes :)

Re: MVC on the roadmap?

Posted: Tue Jun 24, 2014 3:33 am
by jmestep
I remember I had asked a couple of years ago, but I think that at this point in time, I would rather see html 5 implemented. From what I have read (and partly remember!) it is good for multiple devices.

Re: MVC on the roadmap?

Posted: Tue Jun 24, 2014 5:40 am
by sweeperq
Judy, MVC would give developers full control over the HTML code. Everything I do in MVC is HTML5.

Re: MVC on the roadmap?

Posted: Tue Jun 24, 2014 7:44 am
by rmaweb
I +1 the eventual migration to MVC. I love the MVC approach in php and it looks like it is just as good in asp.net based off this overview article http://www.asp.net/mvc/tutorials/older- ... c-overview

It also looks like the process can be done over a period of several versions as it looks like the web forms and mvc can coexist in the application?

Re: MVC on the roadmap?

Posted: Thu Jun 26, 2014 1:52 am
by mazhar
rmaweb wrote:I +1 the eventual migration to MVC. I love the MVC approach in php and it looks like it is just as good in asp.net based off this overview article http://www.asp.net/mvc/tutorials/older- ... c-overview

It also looks like the process can be done over a period of several versions as it looks like the web forms and mvc can coexist in the application?
We are partially using MVC in our application, I am talking about the Web API part. Its using MVC Web API project which is running along with web forms in application.