1 / 18

Choosing between Silverlight and AJAX

This presentation explores the key differences and scenarios for using Silverlight and AJAX in web development. We analyze their advantages and drawbacks, detailing when to choose each technology based on application needs. AJAX offers enhancements to existing ASP.NET applications with client-side scripting, while Silverlight provides rich user interfaces and robust media capabilities. Learn about implementation challenges, user experience considerations, and how both technologies can coexist without replacing each other. Ideal for developers and decision-makers assessing modern web technologies.

tahir
Télécharger la présentation

Choosing between Silverlight and AJAX

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Choosing betweenSilverlight and AJAX Ranjith Pallath Partner Technical Consultant | Microsoft Corporation | rapallat@microsoft.com

  2. AGENDA • AJAX and Silverlight • Rich Vs Reach • Pros and Cons of AJAX • Scenarios for using AJAX • Pros and Cons of Silverlight • Scenarios for using Silverlight • Silverlight and AJAX

  3. AJAX and Silverlight • Both are client technologies bur are not replacement for each other. • Silverlight is mainly used for rich UI. • Technology Specification / Technology • ASP. 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.

  4. Rich Vs Reach

  5. ASP.Net AJAX overview

  6. Pros and Cons of AJAX Advantages • Works on top of existing ASP. Net pages • Easy implementation • Better response time for pages • Matured (Over 4 years) Disadvantages • JavaScript is very limiting • UI Enhancement is limited to asynchronous postback and DHTML • Dependent in browser capability

  7. Scenarios for using AJAX • High dependency on Server • Eradicate User experience challenges • Little emphasis on User Interface • Tight coupling with ASP. Net • Client side logics implemented in JavaScript

  8. DEMO Creating AJAX Application

  9. Overview of Silverlight

  10. Silverlight overview

  11. Pros and Cons of Silverlight Advantages • Rich User Interface (Media, Animation) • Managed Code • Multiple Device, Browser, Platform • WPF Association Disadvantages • Plug-in architecture • Learning curve • Platform support

  12. Scenarios for using Silverlight • Importance on User Interface • Creating Media Oriented Applications (Audio, Video, Animation) • Client side logic in Managed Language • Fairly disconnected model • Multiple platform, multiple device, multiple browser support • Vector Graphics

  13. DEMO Creating Silverlight Application

  14. Silverlight and AJAX • Silverlight 1.0 was all JavaScript and AJAX • HTML Bridge • <asp:MediaElement> and <asp:Silverlight> server controls

  15. DEMO Album Viewer Application

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

  17. 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!

More Related