18
Client side technologies Microsoft Silverlight Thomas Friese, Georg Mierau, Thomas Roffmann, Max Sträßer Web Technologies – Prof. Dr. Ulrik Schroeder – WS 2010/11 1 The slides are licensed under a eative Commons Attribution 3.0 License

S1lverl1ght 25.11.10 final

Embed Size (px)

DESCRIPTION

 

Citation preview

Page 1: S1lverl1ght 25.11.10 final

Client side technologiesMicrosoft Silverlight

Thomas Friese, Georg Mierau, Thomas Roffmann, Max Sträßer

Web Technologies – Prof. Dr. Ulrik Schroeder – WS 2010/111

The slides are licensed under aCreative Commons Attribution 3.0 License

Page 2: S1lverl1ght 25.11.10 final

Overview

Introduction to Silverlight History Technology Program structure and Syntax Live-Demo

Web Technologies2

Page 3: S1lverl1ght 25.11.10 final

Introduction

Application framework for writing and running RIAs Renders XAML-based user interfaces

Client-side execution: Browser-Plugin Separated Structure

Design: XAML Functionality: C# / VB.NET

Integrates multimedia, graphics, animations and interactivity into a single runtime environment

Web Technologies3

Page 4: S1lverl1ght 25.11.10 final

History

Silverlight 1.0 JavaScript-API User-Input / UI-Core Multimedia Rendering (e.g. Mp3, WMA, WMV 8/9) XAML for UI creation

Silverlight 2 Canvas Containers: Stackpanel, Grid

Web Technologies4

Page 5: S1lverl1ght 25.11.10 final

History

Silverlight 3 Available for Mac OS Hardware-Acceleration Out-of-Browser Technology

Silverlight 4 Printer System Webcam, Microphone support Recording of audio & video Data Binding

Web Technologies5

Page 6: S1lverl1ght 25.11.10 final

Technical Concept

Based on .NET 2.0 & Subset of WPF Windows Presentation Foundation Silverlight: WPF/E (verywhere)

Data-Communication: HTTP-GET and –REST Web-Services

Execution of Code in a Sandbox

Web Technologies6

Page 7: S1lverl1ght 25.11.10 final

(Dis-)Advantages . NET-based Programming-Language Professional software development environment

Microsoft Visual Studio 2010 Ultimate Only Client needs Plugin Vectorbased Graphics

Media Content has to be converted e.g. video files Not 100% Cross-Browser & Cross-Platform-compatible

Moonlight (Linux) Equates to Silverlight 2.0

No Development-Tools for Linux Proprietary

Web Technologies7

Page 8: S1lverl1ght 25.11.10 final

XAML Extensible Application Markup Language

Declarative XML-based language Created by Microsoft Interface design

Web Technologies8

Page 9: S1lverl1ght 25.11.10 final

Web Technologies9

Grids & Text

Page 10: S1lverl1ght 25.11.10 final

Buttons

Web Technologies10

Page 11: S1lverl1ght 25.11.10 final

Border & StackPanel

Web Technologies11

Page 12: S1lverl1ght 25.11.10 final

What does this code do?

Web Technologies12

Page 13: S1lverl1ght 25.11.10 final

Projection

Web Technologies13

Page 14: S1lverl1ght 25.11.10 final

Transformation

Web Technologies14

Page 15: S1lverl1ght 25.11.10 final

C# Multiparadigm programming language

Imperative Declarative Functional Generic Object-oriented (class-based)

Developed by Microsoft Within .NET

Specifies how objects created by XAML will work Access to Attributes of objects

Web Technologies15

Page 16: S1lverl1ght 25.11.10 final

C#

Web Technologies16

Page 17: S1lverl1ght 25.11.10 final

Performance Comparison

© FlashFX-Group

Web Technologies17

Page 18: S1lverl1ght 25.11.10 final

Why Silverlight?

Object oriented Programming XAML

Markup Language – independent from specific language Understood by search engines Flash: Barely search engine support

Out-of-Browser installation

Web Technologies18