SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 62 | Next

Robin Pars, Laurence Moroney, and John Grieb

"Foundations of ASP.NET AJAX"

The result is rich client-side
functionality within the browser. These server controls can also connect directly to
ASP.NET Web Services using JavaScript service proxies to provide a richer experience on
the client.
This architecture allows for increased productivity because server controls generate
much of the code, which enables you to write fewer lines of JavaScript code. It allows for
the clean separation of content, style, behavior, and application logic. A typical design
pattern of an ASP.NET AJAX application involves it consuming web services directly from
the client without requiring postbacks to the web server. Not only do postbacks slow
down an application, but they also complicate the application design, implementation,
and deployment. In fact, if you don??™t use the AJAX functionalities, you have to post the
page back to the server (for example, because the user clicks the button where you have
inserted the code to call the Web Service method). The page is loaded again and then the
button click event handler is called. In the event handler code, there is the creation of the
object from the proxy class referenced to the web service.


Pages:
50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74