Code Behind Methods Against JQuery AJAX Calls

The the war prewing I can feel it!

Old school coders are used to ensure that each server control generates events in .cs .. files, for example. Getting bootstrapping data, saving data, deleting data ... and binding data sources to a server control ..

New school coders want to do this in jQuery + AJAX calls to .svc files ... This gives an automatic absence of messages, so this is an advantage ... and I think this is a different way of thinking .. All of the sudden UI related events are executed in jQuery ..

What is the most modern and efficient way? How can I convince old school programmers to provide you with this new paradigm? (assuming this is the best way)

+5
source share
3 answers

I would say that ASP.NET MVC and adoption of jQuery are a response to criticism aligned on the ASP.NET Webforms + MSAJAX stack.

Webforms was conceived to try to create drag and drop control technology on the Internet in the same way that applications were created using Visual Basic, ActiveX, and COM. This created a terribly complex and inefficient way to build web applications.

Although web forms will work for a while, MVC + jQuery is a way to go or even completely remove ASP.NET on the server side and just use something like extjs / jqueryUI and WCF web services.

+4
source

. AJAX XmlHttpRequest.

, . , .

+4

JQuery + AJAX - , , , .

- , , .

, , ASP.NET MVC.NET(). , .

,

+3

All Articles