ASP.NET MVC vs. Jquery/AJAX (Where to draw the dividing line?)

Posted by punkouter on Stack Overflow See other posts from Stack Overflow or by punkouter
Published on 2010-05-18T15:47:16Z Indexed on 2010/05/18 15:51 UTC
Read the original article Hit count: 120

Filed under:
|
|

I am learning MVC and I understand the basics now. It is very good for CRUD pages and has built in HTTP methods to post/get edits/updates. That is nice. This is all very testable by just creating a new controller and testing it.

But I was thinking about other web page scenerios when using MVC. What about a page that has 2 listboxes that you add/remove users with. (A button will move the user from one listbox to another)

This would be done using Jquery/Javascript... But then what happens to testing? How do you test adding/removing users from a listbox like that example?

It seems to me the more jquery you use the less testable the page becomes right? When you get beyond basic forms being filled out then you need to use something more than the standard MVC pages.

What is the correct philosophy on this on when am I not understanding ?

© Stack Overflow or respective owner

Related posts about asp.net-mvc

Related posts about testing