Title: ASP.Net MVC VS Javascript UI
Tags: javascript;asp.net-mvc;soa;frontend
Question: I haven't done any web development for the last 6 years apart from a small silverlight project two years ago.
So 6 years ago I was working on a web project project using ASP.net and I must confess that I never liked Web Forms. Because ASP.Net
was a requirement I and because I was starting to get interested in Restfull web services, I used markup free ASP.Net pages,
each being a controller, and in each there was a big if, which was looking for the method name in xml message being sent from the front-end.
Around that time I started seeing web application using web services for the back-end and javascript only interfaces, which were using Ajax requests.
So for the last 6 years I´ve worked mainly in the Services Layers, with SOA and more recently with Event SOA, so to me I don´t understand the need for ASP.Net MVC,
I am learning it, because it seems to be a requirement everywhere this days, but in the times of SOA why do you need ASP.MVC if you are using just MSFT stack?
Say I want to build a new system, with a web front-end, and I built it in Layers, like the example bellow:
DAL -> SOA Services -> Web API (WCF) -> Front-End (JavaScript only)
Would it be better if a built it using ASP.NET MVC? I mean don't take me wrong but I just don´t see it fit anything but small non-layered projects.
ASP.Net MVC is a huge improvement over Web Forms, and I was hoping you guys could give me some insights on this; I am not trying to be cynical here, I've been
away from Web Developmental for a long, time and I just need to know why people seem to prefer ASP.Net MVC over plain JavaScript front-ends.
Thanks a lot.
Comment: Check out Single Page Apps http://en.wikipedia.org/wiki/Single-page_application

Here is the accepted answer: This will get closed as you're really asking for opinions.
But the reasons include:
Purely javascript front-ends are still extremely hard to do well. Extremely.
ASP.net MVC came out a couple of years before you could really do that anyway
Code reuse is much easier in a server-side framework still
WCF webservice vs ASP.Net MVC is personal preference. Both have their weird black magic quirks that shows MS still doesn't quite get HTTP, HTML or javascript. They did just bring out a Web API for MVC, though it's still not clear why they did as it seems to adds very little.
Comment for this answer: I remember 6 years ago how difficult it was to work with JavaScript and xml async requests, the AJAX keyword did not exist yet, and there was no jQuery either. I thought that by know all the problems with JavaScript were gone, given the amount of libraries that exist nowadays, but in the end I understand that the challenges are still here, like the example you gave with accessibility.
Comment for this answer: While support is improving, don't forget about accessibility. Screen-readers are still about a decade behind the rest the web in terms of things like pure javascript interfaces. Sometimes you don't have a choice, but it's always better to make your content available sans-JavaScript.

Here is another answer: I understand that major question is "where to build views and UI logic - on server side or client side"  Shortly speaking - it depends on priorities. If you need quick results - use server side language to generate views and only plug in javascript into your pages. If you need to have responsive design with many dependences between components on the same page - probably javascript is your only choice.
Comment for this answer: I was expecting that most of the problems related to implementing a frontend using just JavaScript would be vanished by now, but it seems that a few of this problems are yet to be solved. Thanks a lot for your help.

{'source': 'StackExchangeDataset', 'subset': 'stackoverflow.com', 'metadata': {'AnswerCount': 2, 'CommentCount': 1, 'ContentLicense': 'CC BY-SA 3.0', 'CreationDate': '2013:00:03/07/13', 'FavoriteCount': None, 'PostTypeId': 1, 'Tags': '<javascript><asp.net-mvc><soa><frontend>', 'Title': 'ASP.Net MVC VS Javascript UI', 'ViewCount': 2664, 'id': 15276217, 'user_AboutMe': '<p>Software engineer - Motorsports</p>\n', 'user_AccountId': 1333626.0, 'user_DisplayName': 'MeTitus', 'user_Reputation': 3320.0, 'user_Views': 954.0, 'user_id': 1319512.0}}