Choosing between Silverlight and AJAX
Ranjith PallathPartner Technical Consultant | Microsoft Corporation| [email protected]
AGENDA
AJAX and SilverlightRich Vs ReachPros and Cons of AJAXScenarios for using AJAXPros and Cons of SilverlightScenarios for using SilverlightSilverlight and AJAX
AJAX and SilverlightBoth are client technologies bur are not replacement for each other. Silverlight is mainly used for rich UI.Technology Specification / TechnologyASP. Net Ajax provides both pure client APIs and server tools like (Update Panel), With Silverlight you can have server integration by using the web services.ASP. Net Ajax works on JSON platform based on JavaScript and Xml. Silverlight is like a browser add-on that can understand XMAL code used by Silverlight.Use silverlight when you need rich UI and don't have heavy server dependency. Ajax can be used to make web applications perform better.
Pros and Cons of AJAX
Works on top of existing ASP. Net pagesEasy implementationBetter response time for pagesMatured (Over 4 years)
JavaScript is very limitingUI Enhancement is limited to asynchronous postback and DHTMLDependent in browser capability
Advantages
Disadvantages
Scenarios for using AJAX
High dependency on ServerEradicate User experience challengesLittle emphasis on User InterfaceTight coupling with ASP. NetClient side logics implemented in JavaScript
Pros and Cons of Silverlight
Rich User Interface (Media, Animation)Managed CodeMultiple Device, Browser, PlatformWPF Association
Plug-in architectureLearning curvePlatform support
Advantages
Disadvantages
Scenarios for using Silverlight
Importance on User InterfaceCreating Media Oriented Applications (Audio, Video, Animation)Client side logic in Managed LanguageFairly disconnected modelMultiple platform, multiple device, multiple browser supportVector Graphics
Silverlight and AJAX
Silverlight 1.0 was all JavaScript and AJAXHTML Bridge<asp:MediaElement> and <asp:Silverlight> server controls
References
Silverlight Resources http://silverlight.net/GetStarted/ http://silverlight.net/Learn/ http://silverlight.net/blogs/jesseliberty/ http://weblogs.asp.net/scottgu
AJAX Resources http://www.asp.net/ajax/
http://weblogs.asp.net/atlas-team/default.aspx
Feedback / QnA
Your Feedback is Important!Please take a few moments to fill out our
online feedback form
Use the Question Manager on LiveMeeting to ask your questions now!
© 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.
The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after
the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.