18
Choosing between Silverlight and AJAX Ranjith Pallath Partner Technical Consultant | Microsoft Corporation | [email protected]

Choosing between Silverlight and AJAX

  • Upload
    tahir

  • View
    29

  • Download
    0

Embed Size (px)

DESCRIPTION

Choosing between Silverlight and AJAX. Ranjith Pallath Partner Technical Consultant | Microsoft Corporation | [email protected]. AGENDA. AJAX and Silverlight Rich Vs Reach Pros and Cons of AJAX Scenarios for using AJAX Pros and Cons of Silverlight - PowerPoint PPT Presentation

Citation preview

Page 1: Choosing between Silverlight and AJAX

Choosing between Silverlight and AJAX

Ranjith PallathPartner Technical Consultant | Microsoft Corporation| [email protected]

Page 2: Choosing between Silverlight and AJAX

AGENDA

AJAX and SilverlightRich Vs ReachPros and Cons of AJAXScenarios for using AJAXPros and Cons of SilverlightScenarios for using SilverlightSilverlight and AJAX

Page 3: Choosing between Silverlight 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.

Page 5: Choosing between Silverlight and AJAX

ASP.Net AJAX overview

Page 6: Choosing between Silverlight and AJAX

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

Page 7: Choosing between Silverlight and AJAX

Scenarios for using AJAX

High dependency on ServerEradicate User experience challengesLittle emphasis on User InterfaceTight coupling with ASP. NetClient side logics implemented in JavaScript

Page 8: Choosing between Silverlight and AJAX

Creating AJAX Application

DEMO

Page 9: Choosing between Silverlight and AJAX

Overview of Silverlight

Page 10: Choosing between Silverlight and AJAX

Silverlight overview

Page 11: Choosing between Silverlight and AJAX

Pros and Cons of Silverlight

Rich User Interface (Media, Animation)Managed CodeMultiple Device, Browser, PlatformWPF Association

Plug-in architectureLearning curvePlatform support

Advantages

Disadvantages

Page 12: Choosing between Silverlight and AJAX

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

Page 13: Choosing between Silverlight and AJAX

Creating Silverlight Application

DEMO

Page 14: Choosing between Silverlight and AJAX

Silverlight and AJAX

Silverlight 1.0 was all JavaScript and AJAXHTML Bridge<asp:MediaElement> and <asp:Silverlight> server controls

Page 15: Choosing between Silverlight and AJAX

Album Viewer Application

DEMO

Page 16: Choosing between Silverlight and AJAX

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

Page 17: Choosing between Silverlight and AJAX

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!

Page 18: Choosing between Silverlight and AJAX

© 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.