choosing between silverlight and ajax

Post on 05-Jan-2016

33 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

DESCRIPTION

Choosing between Silverlight and AJAX. Ranjith Pallath Partner Technical Consultant | Microsoft Corporation | rapallat@microsoft.com. AGENDA. AJAX and Silverlight Rich Vs Reach Pros and Cons of AJAX Scenarios for using AJAX Pros and Cons of Silverlight - PowerPoint PPT Presentation

TRANSCRIPT

Choosing between Silverlight and AJAX

Ranjith PallathPartner Technical Consultant | Microsoft Corporation| rapallat@microsoft.com

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.

ASP.Net AJAX overview

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

Creating AJAX Application

DEMO

Overview of Silverlight

Silverlight overview

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

Creating Silverlight Application

DEMO

Silverlight and AJAX

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

Album Viewer Application

DEMO

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.

top related