Building a Custom Ecommerce Application: ASP.NET MVC or Forms?

I am tasked with building a custom ecommerce app that will populate purchase options from a spreadsheet and track orders, call paypal, etc. This will be pretty much like "select options", "enter billing information", "confirm" payment "," account settings "(now payment is being made)". Another team here in the office is using MVC for a new project that this project will eventually work with. The question is, does an eCommerce application make more sense to use ASP.NET MVC or regular forms? (will use SSL if it matters)

+2


source to share


2 answers


I would go with MVC personally. Both options are viable to tell the truth. I just prefer the MVC model, it's lightweight, customizable, I know exactly what's going on (no server management, yay!), Have full control over the markup, integrating third party libraries like jQuery is a breeze (even for Ajax - I've used jQuery Ajax with WebForms, but it wasn't as nice as MVC). I don't know, you have already tried MVC, if yes - then you know how it works, if not - this might be a good opportunity for you to learn something new and fun.

Support for third-party controls should be an important factor in your decision. Are there any you would like to use for your application? Perhaps this is a solution like a shopping cart? Note that MVC is relatively new and doesn't know the concept of server controls, so most existing solutions won't work or require some hacks (it jitters when I think about how to embed WebForms in MVC ...). However, with the concept of models, controllers and views, it is fairly easy to develop your own solution. Have you done layered architecture in WebForms? If yes, then you will feel at home, only everything will fill more in the right place. :)



Good luck!

+3


source


Not only should you be using ASP.NET MVC, you should take a look at the Rob Connery weblog showcase store app series as a guide for some of your decision. He reviews some of the technical / architectural solutions in an open series.



+2


source







All Articles