Silverlight 2.0 - Microsoft's RIA Platform Enters the Second Level - Presentation

Embed Size (px)

Citation preview

  • 8/14/2019 Silverlight 2.0 - Microsoft's RIA Platform Enters the Second Level - Presentation

    1/22

    Silverlight 2.0Thomas Gngler

    User-Interface-Technologies for Web-Environments

    Silverlight 2.0-

    MicrosoftsRIA Platform Enters

    Second Level

  • 8/14/2019 Silverlight 2.0 - Microsoft's RIA Platform Enters the Second Level - Presentation

    2/22

    Silverlight 2.0Thomas Gngler

    User-Inferface-Technologies for Web-EnvironmentsMotivation

    # Rich Internet Application (RIA) demands and features

    > Rich user interface behaviours

    > More responsive> Asynchronous communication

    > Network efficient

    > Enhanced client side Technology> Should be accessible from every kind of client

    > Not limited to a Web browser environment

    > Runs in a sandbox> Can run offline

    01 / 13

  • 8/14/2019 Silverlight 2.0 - Microsoft's RIA Platform Enters the Second Level - Presentation

    3/22

    Silverlight 2.0Thomas Gngler

    User-Inferface-Technologies for Web-EnvironmentsMicrosoft Silverlight

    # MS continued its commitment to user experience(UX)

    # Silverlight 1.0 was introduced in 2007

    > Cross-platform, cross-browser, cross-device> For designing, developing and delivering

    > Media experiences

    > Rich interactive applications# Silverlight 2.0 was introduced in 2008

    > .NET Framework

    > Deep Zoom technology> Digital Rights Management

    # Moonlight for Linux via a cooperation with Novell

    02 / 13

  • 8/14/2019 Silverlight 2.0 - Microsoft's RIA Platform Enters the Second Level - Presentation

    4/22

  • 8/14/2019 Silverlight 2.0 - Microsoft's RIA Platform Enters the Second Level - Presentation

    5/22

    Silverlight 2.0Thomas Gngler

    User-Inferface-Technologies for Web-Environments

    04 / 13

    CoreCLR and BCL

    # CoreCLR

    > A subset of the CLR of the .NET Framework

    > Full implementation of the CLI specifi

    cation> Memory management, generics, exception handling

    > CTS for programming language independency

    > VES transforms managed codeto CIL code> JIT compiles CIL code to machine code

    # BCL

    > String-, event-, thread-handling; regular expressions;collections; cryptography; globalisation

    > HTML/ JS bridge

  • 8/14/2019 Silverlight 2.0 - Microsoft's RIA Platform Enters the Second Level - Presentation

    6/22

    Silverlight 2.0Thomas Gngler

    User-Inferface-Technologies for Web-EnvironmentsWCF, LINQ, Sockets

    05 / 13

    # Windows Communication Foundation (WCF)

    > Web feeds: RSS 2.0, Atom 1.0

    > Web Services: SOAP Service 1.1, WCF Service,ASP.NET Web Service

    > REST: low level HTTP API, ADO.NET Data Service API

    # Components for data processing> Language Integration Query (LINQ)

    > JSON and XML data serialisation

    > POX processing# Bi-directional message transport via Sockets

    # Control mechanism to enable cross-domain calls

  • 8/14/2019 Silverlight 2.0 - Microsoft's RIA Platform Enters the Second Level - Presentation

    7/22

    Silverlight 2.0Thomas Gngler

    User-Inferface-Technologies for Web-Environments

    06 / 13

    DLR

    # Dynamic Language Runtime (DLR)

    > Language services for dynamic programming languages

    > Dynamic type system> Dynamic method dispatch

    > Dynamic code generation

    > Hosting API> Supported languages: Managed JScript, IronPython,

    IronRuby

    > Advantage: easy developing with a simple text editor> Chiron: local Web server and build tool for .xapfiles

  • 8/14/2019 Silverlight 2.0 - Microsoft's RIA Platform Enters the Second Level - Presentation

    8/22

    Silverlight 2.0Thomas Gngler

    User-Inferface-Technologies for Web-Environments

    07 / 13

    WPF, XAML, Controls

    # Windows Presentation Foundation (WPF)

    > Extensible controls, layout management, data-binding,

    styles and template skinning> Opportunity of re-using skills, controls und code

    > Currently no 3D and GPU support

    # Extensible Application Markup Language (XAML)> Declarative, XML-based language for describing UI

    controls and features

    > Definition of entry points for code-behindtechnique> XamlReaderto create managed objectsfrom XAML

    # ASP.NET server controls: e.g. Media Player Server Control

  • 8/14/2019 Silverlight 2.0 - Microsoft's RIA Platform Enters the Second Level - Presentation

    9/22

    Silverlight 2.0Thomas Gngler

    User-Inferface-Technologies for Web-Environments

    08 / 13

    Formats, Deep Zoom

    # Media formats

    > Widely based on MS codecs

    > Video formats: WMV7-9, WMVA with an implementationof VC-1 industrie standard for HD (WMVC1)

    > Audio formats: WMA7-9, MP3

    > Playlist formats: ASX (important for streaming)> Image formats: JPG, PNG; no GIF, SVG

    # Deep Zoom

    > Allows smooth in-place zooming and panning of largeimages by using fragmented, pre-rendered image parts

    > Can be manipulated with standard Silverlight metaphors

  • 8/14/2019 Silverlight 2.0 - Microsoft's RIA Platform Enters the Second Level - Presentation

    10/22

    Silverlight 2.0Thomas Gngler

    User-Inferface-Technologies for Web-Environments

    09 / 13

    Streaming and DRM

    # Supported streaming protocols: MMS, RTSP, RTSPT

    > Will be fall back to HTTP

    # Silverlight Streaming Service> To host RIAs and media data for free

    > 10 gb data storage with 5 gb traffic volume per month

    # Helpful add-ons for Windows Server 2008> For bandwidth throttling, configuring and hosting

    streaming media and playlists

    # Digital Rights Management (DRM)> Built-in access control to protect music and videos

    > Sends standard computer information to rights server

  • 8/14/2019 Silverlight 2.0 - Microsoft's RIA Platform Enters the Second Level - Presentation

    11/22

    Silverlight 2.0Thomas Gngler

    User-Inferface-Technologies for Web-Environments

    10 / 13

    Additional Features

    # CoreCLR security model

    > Replaces the CAS model of the CLR and simplifies it

    > Three layers of security> transparentcode, safe criticalcode, criticalcode

    # Asynchronous programming and threading

    > Allows programming task execution in the background> Background Workerand Dispatcherfor collaboration

    > No synchronous communication via HTTP API

    # Isolated Storagecomponent for accessing local storage# Naturally upload of large files impossible

    >> Isolated Storagefor saving file upload information

  • 8/14/2019 Silverlight 2.0 - Microsoft's RIA Platform Enters the Second Level - Presentation

    12/22

    Silverlight 2.0Thomas Gngler

    User-Inferface-Technologies for Web-Environments

    11 / 13

    Tools

    # Separation of designing and programming

    > MS Expression Studio for designers

    > MS Visual Studio for developers> Similar project structure enforces cooperation

    > Additional framework for browser-based unit testing

    # XAMLPad as basic visual editor for XAML markup# Deep Zoom Composer for image composition and export

    # Mono IDE with Moonlight SDK for non-Windows platforms

    # Lunar Eclipse as visual XAML editor for Linux# Converter to transform SVG markup to XAML markup

  • 8/14/2019 Silverlight 2.0 - Microsoft's RIA Platform Enters the Second Level - Presentation

    13/22

    Silverlight 2.0Thomas Gngler

    User-Inferface-Technologies for Web-Environments

    12 / 13

    Conclusion

    # Fulfillment of RIA characteristics

    > Rich user interface behaviours >> YES

    > More responsive >> YES> Asynchronous communication >> YES

    > Network efficient >> YES

    > Enhanced client side Technology >> YES> Should be accessible from every kind of client >> YES

    > Not limited to a Web browser environment >> NO

    > Runs in a sandbox >> YES> Can run offline >> NO

  • 8/14/2019 Silverlight 2.0 - Microsoft's RIA Platform Enters the Second Level - Presentation

    14/22

    Silverlight 2.0Thomas Gngler

    User-Inferface-Technologies for Web-EnvironmentsOutlook

    # Still in phase of development, but

    > Silverlight 1.0 is ready to deliver rich media experience

    > Expanded networking support and enriched BCL> Strict separation of UI and programming logic

    > Opportunity to choose favorite programming language

    # Missing features> Client side database systems for caching

    > 3D graphics support

    13 / 13

  • 8/14/2019 Silverlight 2.0 - Microsoft's RIA Platform Enters the Second Level - Presentation

    15/22

    Silverlight 2.0Thomas Gngler

    User-Interface-Technologies for Web-Environments

    Thank you

    for yourattention

  • 8/14/2019 Silverlight 2.0 - Microsoft's RIA Platform Enters the Second Level - Presentation

    16/22

    Silverlight 2.0Thomas Gngler

    User-Inferface-Technologies for Web-Environments

    15 / 13

    References

    # Microsoft Silverlight - Light up the Web [online]. 2008. Available from: http://www.microsoft.com/silverlight/[cited 15 May

    2008].

    # Microsoft Expression Studio [online]. 2008. Available from:http://www.microsoft.com/expression/ [cited 20 May 2008].

    # Silverlight [online]. 2008. Available from: http://silverlight.net/default.aspx [cited 27 May 2008]. MSDN Library [online].

    2008. Online documentation. Available from: http://msdn.microsoft.com/en-us/library/ [cited 27 May 2008].

    # Using REST Services in Silverlight 2 [online]. April 2008. Available from: http://blogs.msdn.com/

    astoriateam/archive/2008/04/24/using-rest-services-in-silverlight.aspx [cited 20 May 2008].

    # Adobe Systems, Inc.. Cross-Domain Policy File Specification [online]. April 2008. Available from:

    http://www.adobe.com/devnet/articles/crossdomain_policy_file_spec.html [cited 15 May 2008]

    # W. Bauwer. Wilco Bauwer - Silverlight [online]. March - April 2008. Netblog. Available from: http://www.

    wilcob.com/Wilco/Silverlight/Default.aspx [cited 19 May 2008].

    # M. de Icaza. Moonlight Designer [online]. August 2007. Available from:

    http://tirania.org/blog/archive/2007/Aug-31.html [cited 20 May 2008].# EMCA. Common Language Infrastructure (CLI), 4th edition, June 2006

    # S. Guthrie. Developer netblog [online]. September 2007. Available from: http://weblogs.asp.net/scottgu/ [cited 20 May

    2008].

    # F. Moritz. Rich Internet Applications (RIA): A convergence of user interface paradigms of web and desktop

    exemplied by JavaFX. Masters thesis, University of Applied Science Kaiserslautern, January 2008.

    # A. Thapliyal. Silverlight Roadmap Questions [online]. April 2008. Available from:

    http://blogs.msdn.com/ashish/archive/2008/04/03/silverlight-roadmap-questions.aspx [cited 19 May 2008].

    # shawnfa. .NET Security [online]. May 2007. 4 blog entries about the Silverlight Security Model. Available

    from: http://blogs.msdn.com/shawnfa/archive/tags/Silverlight/default.aspx [cited 28 May 2008].

    # B. Abrams. Silverlight 2 Developer Poster [online]. March 2008. Available from: http://blogs.msdn.com/brada/ar

    chive/2008/03/16/silverlight-2-developer-poster.asp [cited 20 May 2008].

  • 8/14/2019 Silverlight 2.0 - Microsoft's RIA Platform Enters the Second Level - Presentation

    17/22

    Silverlight 2.0Thomas Gngler

    User-Inferface-Technologies for Web-Environments

    16 / 13

    Abbreviations

    RIA Rich Internet Application SOAP Simple Object Access Protocol

    MS Microsoft ASP Active Server Pages

    CTP Community Test Preview REST Representational State Transfer

    RTW Ready To Web ADO ActiveX Data Objects

    CLR Common Language Runtime CRUD Create, Retrieve, Update, Delete

    BCL Base Class Library JSON JavaScript Object Notation

    WPF Windows Presentation Foundation POX Plain Old XML

    WCF Windows Communication Foundation CAS Code Access Security

    LINQ Language Integration Query GPU Graphic Processing Unit

    DLR Dynamic Language Runtime WMV Windows Media Video

    DRM Digital Rights Management WMVA Windows Media Video Advanced

    XAML Extensible Application Markup Language WMA Windows Media Audio

    CLI Common Language Infrastructure ASX Advanced Stream Redirector

    CTS Common Type System RTSP Real Time Streaming Protocol

    VES Virtual Execution System MMS Microsoft Media Server

    CIL Common Intermediate Language RTSPT RTSP using TCP

    JIT Just In Time

    RSS Really Simple Syndication

  • 8/14/2019 Silverlight 2.0 - Microsoft's RIA Platform Enters the Second Level - Presentation

    18/22

    Silverlight 2.0Thomas Gngler

    User-Inferface-Technologies for Web-Environments

    17 / 13

    HTML/ JS Bridge

    # C# code

  • 8/14/2019 Silverlight 2.0 - Microsoft's RIA Platform Enters the Second Level - Presentation

    19/22

    Silverlight 2.0Thomas Gngler

    User-Inferface-Technologies for Web-Environments

    18 / 13

    HTML/ JS Bridge

    # JavaScript code

  • 8/14/2019 Silverlight 2.0 - Microsoft's RIA Platform Enters the Second Level - Presentation

    20/22

    Silverlight 2.0Thomas Gngler

    User-Inferface-Technologies for Web-EnvironmentsCross-domain policy

    # MS specification: clientaccesspolicyfile

    # Adobe Flash specification: crossdomain file

    19 / 13

  • 8/14/2019 Silverlight 2.0 - Microsoft's RIA Platform Enters the Second Level - Presentation

    21/22

    Silverlight 2.0Thomas Gngler

    User-Inferface-Technologies for Web-EnvironmentsCode-Behind

    # XAML code

    # C# code

    20 / 13

  • 8/14/2019 Silverlight 2.0 - Microsoft's RIA Platform Enters the Second Level - Presentation

    22/22

    Silverlight 2.0Thomas Gngler

    User-Inferface-Technologies for Web-EnvironmentsMedia Player Control

    # ASP.NET Media Player Server Control

    21 / 13