Escolar Documentos
Profissional Documentos
Cultura Documentos
Copyright 2004-2010 Manoj Kumar Sharma. All rights reserved. This presentation is for training purposes only, and cannot be reproduced in any form without an express written permission.
Understanding
Welcome
Understanding Silverlight 3.0
Copyright 2004-2010 Manoj Kumar Sharma. All rights reserved. This presentation is for training purposes only, and cannot be Reproduced in any form without an express written permission.
2 2 of 48
12/12/2009
Windows CardSpace
3 3 of 48
Introducing WPF
The Presentation Layer (UI): from Yesterday to Tomorrow
Copyright 2004-2010 Manoj Kumar Sharma. All rights reserved. This presentation is for training purposes only, and cannot be Reproduced in any form without an express written permission.
4 4 of 48
12/12/2009
Copyright 2004-2010 Manoj Kumar Sharma. All rights reserved. This presentation is for training purposes only, and cannot be Reproduced in any form without an express written permission.
5 5 of 48
Copyright 2004-2010 Manoj Kumar Sharma. All rights reserved. This presentation is for training purposes only, and cannot be Reproduced in any form without an express written permission.
6 6 of 48
12/12/2009
Copyright 2004-2010 Manoj Kumar Sharma. All rights reserved. This presentation is for training purposes only, and cannot be Reproduced in any form without an express written permission.
7 7 of 48
Copyright 2004-2010 Manoj Kumar Sharma. All rights reserved. This presentation is for training purposes only, and cannot be Reproduced in any form without an express written permission.
8 8 of 48
12/12/2009
Copyright 2004-2010 Manoj Kumar Sharma. All rights reserved. This presentation is for training purposes only, and cannot be Reproduced in any form without an express written permission.
9 9 of 48
Copyright 2004-2010 Manoj Kumar Sharma. All rights reserved. This presentation is for training purposes only, and cannot be Reproduced in any form without an express written permission.
10 10 of 48
12/12/2009
Copyright 2004-2010 Manoj Kumar Sharma. All rights reserved. This presentation is for training purposes only, and cannot be Reproduced in any form without an express written permission.
11 11 of 48
WF WPF
Copyright 2004-2010 Manoj Kumar Sharma. All rights reserved. This presentation is for training purposes only, and cannot be Reproduced in any form without an express written permission.
12 12 of 48
12/12/2009
Copyright 2004-2010 Manoj Kumar Sharma. All rights reserved. This presentation is for training purposes only, and cannot be Reproduced in any form without an express written permission.
13 13 of 48
Copyright 2004-2010 Manoj Kumar Sharma. All rights reserved. This presentation is for training purposes only, and cannot be Reproduced in any form without an express written permission.
14 14 of 48
12/12/2009
Copyright 2004-2010 Manoj Kumar Sharma. All rights reserved. This presentation is for training purposes only, and cannot be Reproduced in any form without an express written permission.
15 15 of 48
Copyright 2004-2010 Manoj Kumar Sharma. All rights reserved. This presentation is for training purposes only, and cannot be Reproduced in any form without an express written permission.
16 16 of 48
12/12/2009
Presentation Framework Presentation Core Common Language Runtime milcore DirectX Kernel
Copyright 2004-2010 Manoj Kumar Sharma. All rights reserved. This presentation is for training purposes only, and cannot be Reproduced in any form without an express written permission.
17 17 of 48
18 18 of 48
12/12/2009
Copyright 2004-2010 Manoj Kumar Sharma. All rights reserved. This presentation is for training purposes only, and cannot be Reproduced in any form without an express written permission.
19 19 of 48
Copyright 2004-2010 Manoj Kumar Sharma. All rights reserved. This presentation is for training purposes only, and cannot be Reproduced in any form without an express written permission.
20 20 of 48
10
12/12/2009
Copyright 2004-2010 Manoj Kumar Sharma. All rights reserved. This presentation is for training purposes only, and cannot be Reproduced in any form without an express written permission.
21 21 of 48
Sounds familiar
Doesnt Macromedia (er Adobe) already give this to us? Its called Flash? Or Flex?
Wellkind of. But SilverLight is better. Trust me.
Copyright 2004-2010 Manoj Kumar Sharma. All rights reserved. This presentation is for training purposes only, and cannot be Reproduced in any form without an express written permission.
22 22 of 48
11
12/12/2009
Why now?
HTML + CSS + JavaScript is too limiting The Browser as a development platform is, well, less than ideal More applications are becoming web-ified, but at the cost of user experience End user expectations are changing. They want richness and interactivity (yes, even in LOBs)
Copyright 2004-2010 Manoj Kumar Sharma. All rights reserved. This presentation is for training purposes only, and cannot be Reproduced in any form without an express written permission.
23 23 of 48
Great
So another platform I have to learn?!!!!!
Sort ofbut you get to leverage a lot of your existing skills
UI parts are based on .NET 3.0 (read XAML) Programming model is JavaScript Feels good to both rich client and web developers
Copyright 2004-2010 Manoj Kumar Sharma. All rights reserved. This presentation is for training purposes only, and cannot be Reproduced in any form without an express written permission.
24 24 of 48
12
12/12/2009
SilverLight Versions
Versions of SilverLight currently available
1.0
Does the basic XAML stuff, but still requires you to work (sorry) JavaScript is the programming modelfeels warm and cozy to web developers ~ 2 MB download
1.1
Does away more XAML-ish stuff (less work for you ) Brings in a managed programming model SilverLight + .NET Framework ~ 4 MB (cross platform)
Copyright 2004-2010 Manoj Kumar Sharma. All rights reserved. This presentation is for training purposes only, and cannot be Reproduced in any form without an express written permission.
25 25 of 48
SilverLight Versions
2.0
Includes refactored version of .NET framework with CLR 3.0. Designed from ground up to support .NET Languages like C# and VB.NET. Supports Dynamic Language Runtime (DLR) for compilation and execution of dynamic languages like IronPython, Managed JScript and IronRuby. With a subset of the WPF programming model and includes support for UI Controls, Layout, Databinding, Documents, Media, Animation and High-quality Video. ~ 4.6 MB download, containing a stripped-down version of the .NET framework in your browser. So there is no need to install the .NET framework on the browser client machines.
Copyright 2004-2010 Manoj Kumar Sharma. All rights reserved. This presentation is for training purposes only, and cannot be Reproduced in any form without an express written permission.
26 26 of 48
13
12/12/2009
27 27 of 48
SilverLight Versions
Copyright 2004-2010 Manoj Kumar Sharma. All rights reserved. This presentation is for training purposes only, and cannot be Reproduced in any form without an express written permission.
28 28 of 48
14
12/12/2009
29 29 of 48
Graphics Support:
Flash: Povides with 2D animation graphics only. SilverLight: Currently No. Next Version Yes.
Copyright 2004-2010 Manoj Kumar Sharma. All rights reserved. This presentation is for training purposes only, and cannot be Reproduced in any form without an express written permission.
30 30 of 48
15
12/12/2009
Copyright 2004-2010 Manoj Kumar Sharma. All rights reserved. This presentation is for training purposes only, and cannot be Reproduced in any form without an express written permission.
31 31 of 48
32 32 of 48
16
12/12/2009
Web
33 33 of 48
SilverLight Presentation Runtime Native DOM API XAML Media Support (Audio/Video) Presentation Core Browser Plug-In Operating System (Windows, Mac)
Copyright 2004-2010 Manoj Kumar Sharma. All rights reserved. This presentation is for training purposes only, and cannot be Reproduced in any form without an express written permission.
34 34 of 48
17
12/12/2009
Operating systems
Windows XP SP2, Vista, 2003, 2008 Mac OS X (10.4.8+) both Intel and PowerPC (PPC) Versions Mono Project working on Linux implementation
Copyright 2004-2010 Manoj Kumar Sharma. All rights reserved. This presentation is for training purposes only, and cannot be Reproduced in any form without an express written permission.
35 35 of 48
Major Features
XAML Subset:
2D Graphics (shapes, transformations, clipping, masking) Animations Input: Mouse and Keyboard Media (WMV, WMA, MP3) Imaging (JPG, PNG) Text (static and flow)
36 36 of 48
18
12/12/2009
Animation Basics
Animations change properties over time Support Linear, Discrete and Spline animation Animatable property types:
Double, Color, Point
37 37 of 48
Features: Media
Media Features
No OS dependencies. Everything ships inside the platform
Video: WMV V7, V8, V9, VC-1 Audio: WMA V7, V8, V9 (standard), MP3
Copyright 2004-2010 Manoj Kumar Sharma. All rights reserved. This presentation is for training purposes only, and cannot be Reproduced in any form without an express written permission.
38 38 of 48
19
12/12/2009
Features: Text
Glyphs
Fixed text Full Unicode glyph rendering support Does not support layout (word/line breaking)
TextBlock
Basic layout support
Left-aligned, English based text wrapping
Support font encryption and compression V1 supports 64K Unicode Basic Multi-lingual Plane Post V1, increased language support
Copyright 2004-2010 Manoj Kumar Sharma. All rights reserved. This presentation is for training purposes only, and cannot be Reproduced in any form without an express written permission.
39 39 of 48
Copyright 2004-2010 Manoj Kumar Sharma. All rights reserved. This presentation is for training purposes only, and cannot be Reproduced in any form without an express written permission.
40 40 of 48
20
12/12/2009
So, how do I
Tools
Developer
Visual Studio 2005 minimum for v1.0 development Visual Studio 2008 SP1 with SilverLight 2 Firebug (HTML, CSS and JS monitoring) Any text editor
Designers
Expression Blend and Design XAML exporters Adobe Illustrator, Office (good for font subsetting), Others
XAML Pad
Copyright 2004-2010 Manoj Kumar Sharma. All rights reserved. This presentation is for training purposes only, and cannot be Reproduced in any form without an express written permission.
41 41 of 48
Microsoft Expression
Complete tool set to build rich experiences Bridging the designer-developer gap Seamless integration with Visual Studio 2008
Graphics Designer
Interactive Designer
Web Designer
42 42 of 48
Copyright 2004-2010 Manoj Kumar Sharma. All rights reserved. This presentation is for training purposes only, and cannot be Reproduced in any form without an express written permission.
21
12/12/2009
And, how do I
In terms of Knowledge:
SilverLight development is similar to HTML development
Presentation format for SilverLight is XAML - XAML is XML (markup) SilverLight V1.0 programming language is JavaScript
Copyright 2004-2010 Manoj Kumar Sharma. All rights reserved. This presentation is for training purposes only, and cannot be Reproduced in any form without an express written permission.
43 43 of 48
MS AJAX Library DOM Integration Application Services Deploy Friction-Free Installer AutoUpdater
LINQ
XLINQ DLR
POX
Ruby
Python
Presentation Core
V1.0
Animation Images
Copyright 2004-2010 Manoj Kumar Sharma. All rights reserved. This presentation is for training purposes only, and cannot be Reproduced in any form without an express written permission.
44 44 of 48
22
12/12/2009
Resources
.NET 3.5 SP1 Changes: http://www.asp.net/downloads/3.5-sp1/Readme/ To see a nice little demo comparing WPF, SilverLight, Flash, Java (Swing), DHTML (JavaScript), etc.: http://www.bubblemark.com/ SilverLight Downloads & Version Comparison: http://silverlight.net/GetStarted/overview.aspx SilverLight Controls Demo: http://silverlight.net/Samples/2b2/SilverlightControls/run/default.html SilverLight Home http://www.silverlight.net SilverLight Samples Home http://silverlight.net/community/communitygallery.aspx WPF Samples http://windowsclient.net/downloads/folders/wpfsamples/default.aspx http://thewpfblog.com http://nibblestutorials.net
Copyright 2004-2010 Manoj Kumar Sharma. All rights reserved. This presentation is for training purposes only, and cannot be Reproduced in any form without an express written permission.
45 45 of 48
Thank You
MANOJ KUMAR SHARMA
manoj.sharma@crbiconsultingindia.com
Developer Evangelist
Copyright 2004-2010 Manoj Kumar Sharma. All rights reserved. This presentation is for training purposes only, and cannot be Reproduced in any form without an express written permission.
46
23