Wednesday, March 26, 2008

Silverlight : Overview

Overview
Silverlight is a cross-browser, cross-platform browser plug-in to create Rich Internet Applications with support for vector and bitmap graphics, animation, and media playback. Silverlight applications consist of two main parts, the UI declaration using XAML and the program code. Silverlight is a subset of the Windows Presentation Foundation available in the .NET Framework 3.0.
Programming Prerequisites
Silverlight 1.0
Working knowledge of JavaScript
XML basics
Silverlight 2.0
Working knowledge of .NET and a managed language of choice
XML basics
Supported Client Platforms
Windows 2003/XP/Vista
Internet Explorer 6/7
Firefox 1.5/2
Windows 2000. Silverlight 2.0 only.
Internet Explorer 6
Firefox 1.5/2
Macintosh OS X 10.4.8+. Note! Silverlight 2.0 only runs on Intel processors.
Firefox 1.5/2
Safari
Linux, Project Moonlight (announced)
Firefox
Konqueror, WebKit, Opera (planned)
Mobile support has also been announced, but currently Microsoft hasn't released any specifics.
Supported Server Platforms
Supported web servers must be able to deliver .html, .js, .xaml, .zip and .dll (Silverlight 2.0) files along with any desired media assets. This includes Apache, Microsoft IIS, and other web servers.
Silverlight 1.0 and Silverlight 2.0
Silverlight 1.0 and the next release, currently numbered 2.0, share similarities in terms of using XAML as the declarative markup language, but differ vastly in their programming model.
Silverlight 1.0
Uses the browser's JavaScript engine for all code execution.
Is essentially a rendering and media playback engine.
Silverlight 2.0
Programmed using managed code running on the .NET managed Common Language Runtime (CLR).
Many languages to choose from: Ruby, Python, C#, Visual Basic, JavaScript, and more.
Client application level performance.
Expanded feature set.
Design & Development Tools
The minimum requirement to develop Silverlight 1.0 applications is a text editor. Silverlight 2.0 runs managed code which must first be compiled. Free .NET compilers are available in the .NET Framework SDK. However, there are many tools for both designers and developers available on the Windows platform.
Microsoft Silverlight 1.0 SDK
Microsoft Expression Suite
Microsoft Visual Studio
XamlPad, which is part of the .NET 3.0 Framework SDK, and similar tools
Adobe Illustrator to XAML export plug-in. This plug-in can create XAML for both the Windows Presentation Foundation and Silverlight.
Silverlight 1.0 and Case-Sensitivity
Please note that while XAML is case-sensitive, JavaScript used to script Silverlight 1.0 is not. This means you will have to make the decision whether to use JavaScript style camel-casing on method and property names (object.theMethod) or .NET style Pascal-casing (object.TheMethod). If you intend to port your Silverlight 1.0 application to 2.0, you may wish to use Pascal-casing to remove one extra step.
Our samples use Pascal-casing as this is the format used in the Silverlight SDK documentation method signatures (but not examples!) and this is what you'll see in Silverlight 2.0.
Further reading
Related information on the web is listed below.
Silverlight on Microsoft.com
Microsoft Expression Suite
Silverlight Reference on the Microsoft Developer Network
Moonlight, the Silverlight implementation for Linux
How to create Silverlight 2.0 Applications with Notepad
Sessions from MIX07

Links to this post:

Create a Link

<< Home