wdn08 silverlight

26
A real-world overview of Silverlight Walter Smith Jackson Fish Market 30 Jan 2008 Web Directions North ’08

Upload: wsmith67

Post on 07-Nov-2014

1.867 views

Category:

Technology


0 download

DESCRIPTION

Presented at Web Developers North 2008, Vancouver BC. Audio eventually at http://north08.webdirections.org/.

TRANSCRIPT

Page 1: WDN08 Silverlight

A real-world overview of Silverlight

Walter SmithJackson Fish Market

30 Jan 2008Web Directions North ’08

Page 2: WDN08 Silverlight

What to expect! Who is this guy?

! Silverlight: What, Why, How, and When

! Demos

! Pros, Cons, and Advice

...not a Silverlight tutorial

Page 3: WDN08 Silverlight

About the author

Page 4: WDN08 Silverlight

We make beautiful software for the weband o!er exclusive sponsorships to brand advertisers.

! Aesthetics are part of functionality

! Designers and developers work very closely

! We are technology-agnostic

Page 5: WDN08 Silverlight
Page 6: WDN08 Silverlight
Page 7: WDN08 Silverlight

Ta!ti

! Commissioned by Microsoft

! Exploration of di"erent client UI concepts for Live Search

! Built in Silverlight 1.0 (pre-release!) so we did not have the tools available now

Page 8: WDN08 Silverlight
Page 9: WDN08 Silverlight
Page 10: WDN08 Silverlight

Context:Silverlight & WPF

Page 11: WDN08 Silverlight

WPF(Windows Presentation Foundation)

! New framework for building UI of Windows applications

! Delivered with .NET Framework 3.0

! Part of a huge wave of new tools and technologies from Microsoft

Page 12: WDN08 Silverlight

WPF is cool—but not for this audience!

! Windows only

! Part of .NET 3.0 Framework — up to 50MB download, full installer wizard

! Not well-integrated with web technologies

Silverlight = stream-lined WPF for the web

! Windows, Mac, Linux

! Standalone, ~4MB, one-click installer

! Browser plugin (IE, FF, Safari), two-way integration with HTML/JS

! Still has plenty of WPF and .NET goodness

Page 13: WDN08 Silverlight

Object model

Brush

Line

Path

Image

Canvas

StoryboardAnimation

Media

Transform

Control

Runtime

!Rendering!Event handling!Animation!A/V media!Networking!CLR/.NetFx

subset in SL new for SL

Markup (XAML)

Essence of WPF/Silverlight

Page 14: WDN08 Silverlight

XAML! Simple XML serialization of objects

! Markup model = object model

! Plain text, easy to read and write

! Can generate/load at runtime

Page 15: WDN08 Silverlight

RoadmapSilverlight 1.0 (now)

! Visual hierarchy

! Input events

! Animation

! Image & A/V codecs

! Downloader

! Code in browser’s JavaScript engine

Silverlight 2.0 (" now, # soon)

! Controls

! Layout managers

! Data binding

! CLR (.NET runtime)

! .NET Framework subset

! DLR (dynamic languages)

! Code in C#, Ruby, Python

Page 16: WDN08 Silverlight

Media support! Codecs built-in—not dependent on WMP

! WMV, VC-1, WMA, MP3, streaming support (w/Windows Server)

! Expression Media Encoder: encodes, annotates, wraps in skinnable player

! Silverlight Streaming service: free CDN for Silverlight content

(Caveat: we have not used any of this yet)

Page 17: WDN08 Silverlight

Tools

Page 18: WDN08 Silverlight

Designer + Developer = UI

! Separation of visuals from behavior

! In HTML world:Structural markup + CSS + <script src=>

! In Silverlight world:XAML (w/Resources) + code-behind

! Designers and developers can work independently, together

Page 19: WDN08 Silverlight

Programming

Page 20: WDN08 Silverlight

Graphic Design

Page 21: WDN08 Silverlight

Interaction Design

Page 22: WDN08 Silverlight

.rb.cs

XAML

ExpressionBlend

ExpressionDesign

VisualStudio

TextEditor

.js

VC1MP3

PNG

DLLZIP

(names)

Page 23: WDN08 Silverlight

Code $ Names % XAML

Page 24: WDN08 Silverlight

Demos

Page 25: WDN08 Silverlight

For more info

silverlight.net

Page 26: WDN08 Silverlight

Thank you