Click here to Skip to main content
15,888,527 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
I am new to SPA and I want to know that whether for my new project should I go for this or not. The confusion is because when I Goggled about it and found that in the MVC 4 RC SPA template is removed because of some compatibilities issues although it was present in the BETA version but on the other hand I also found that the best example of SPA is GMAIL.
So looking on both the points I got confused. Please share some links or articles about SPA elaborating its Pros & Cons. Also please share that how can I use it with MVC 4 RC.


Thanks.
Posted

Firstly make you requirment, that what exactly you want in your application. because both Web and MVC application has their Pros & Cons, so it is upto your requirement and knowledge that what will you chose.

for MVC plese visit:
http://www.asp.net/mvc/tutorials/mvc-4/getting-started-with-aspnet-mvc4/intro-to-aspnet-mvc-4[^]
http://www.asp.net/mvc/tutorials/mvc-4[^]


Thanks,
Ambesha
 
Share this answer
 
v2
Think of an SPA[^] more like of an old winapi desktop application, but running on web.
The main concept is, that EVERY communication between the client side and the server side is done via ajax calls. MVC is a good platform for that, but there is a wide range of possible implementations. The most inelegant way is to render the html code on server side, and use ajax only to display it and catch events - the other end is to move every presentation layer function to client side, and use DOM to build and handle the GUI.
A template is just a template, but I am not sure, it was removed: http://nuget.org/packages/SinglePageApplication[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900