Open Source Rich Internet Applications with Silverlight Moonlight

  • Slides: 10
Download presentation
Open Source Rich Internet Applications with Silverlight & Moonlight Joseph Hill Product Manager, Novell

Open Source Rich Internet Applications with Silverlight & Moonlight Joseph Hill Product Manager, Novell

What is Silverlight? ‣ ‣ Web Browser plugin delivering: ‣ Rich Media Experiences ‣

What is Silverlight? ‣ ‣ Web Browser plugin delivering: ‣ Rich Media Experiences ‣ Rich Internet Applications Cross-browser, Cross-platform www. silverlight. net

Enter Moonlight ‣ Mono ‣ ‣ Open Source, Cross-Platform. NET implementation ‣ Runs Windows.

Enter Moonlight ‣ Mono ‣ ‣ Open Source, Cross-Platform. NET implementation ‣ Runs Windows. Forms and Gtk# Desktop Apps, as well as ASP. NET Timeline ‣ WPF/E – '06 through March '07 ‣ ‣ Silverlight 1. 1 – Announced Mix 07 - March ‣ ‣ Renamed Silverlight 1. 0 on eve of Mix 07 Embeds. NET runtime Moonlight 1. 1 – Re. Mix Paris - September 07 ‣ first public demos (Silverlight Airlines and Chess) go-mono. com/moonlight

Media Support ‣ Video Support up to HD resolutions: WMV V 7, V 8,

Media Support ‣ Video Support up to HD resolutions: WMV V 7, V 8, V 9, VC-1 ‣ Audio: WMA V 7, V 8, V 9 (standard), MP 3 ‣ Support HTTP Progressive Download

XAML ‣ ‣ ‣ Similar to SVG ‣ Covered by Open Specification Promise ‣

XAML ‣ ‣ ‣ Similar to SVG ‣ Covered by Open Specification Promise ‣ Basis for other rendering technologies, such as WPF and XPS ‣ Can define both graphics and animation (Story. Boards) <Canvas � ‣ xmlns="http: //schemas. microsoft. com/client/2007" ‣ xmlns: x="http: //schemas. microsoft. com/winfx/2006/xaml" ‣ Width="455" Height="349"> ‣ <Text. Block Text="Hello World"/> </Canvas>

Scripting with Java. Script • DOM-Addressable ‣findname ‣ equivalent to document. get. Element. By.

Scripting with Java. Script • DOM-Addressable ‣findname ‣ equivalent to document. get. Element. By. Id() ‣ Elements can be controlled via properties and methods ‣ Supports tree walking via children collection ‣property accessors • getvalue('key') • setvalue('key', value) ‣positioning • Canvas. Top and Canvas. Left • Width and Height

Page. html ‣ ‣ . . . ‣ <script type="text/javascript" src='data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%20415%20289%22%3E%3C/svg%3E' data-src="Silverlight. js"></script> ‣ <script

Page. html ‣ ‣ . . . ‣ <script type="text/javascript" src="Silverlight. js"></script> ‣ <script type="text/javascript" src="Create. Silverlight. js"></script> . . . ‣ <div style="position: absolute; left: 100 px; top: 100 px; " id="Silverlight. Control. Host"> ‣ <script type="text/javascript"> ‣ ‣ . . . create. Silverlight(); </script> </div>

Silverlight 2. 0 ‣ Embeds Common Language Runtime (. NET) ‣ C#, VB, Boo,

Silverlight 2. 0 ‣ Embeds Common Language Runtime (. NET) ‣ C#, VB, Boo, F#, etc ‣ Silverlight Class Libraries ‣ ‣ ‣ Subset of. NET Base Class Libraries with extra Silverlight Functionality Silverlight Control Toolkit ‣ Text. Boxes, Buttons, Drop. Down. Lists, Calendars, Data. Grids, etc ‣ MS-PL License Dynamic Language Runtime ‣ Iron. Python, Iron. Ruby, Jscript. NET, VBScript, etc

XAP File Format ‣ ‣ ‣ . xap = Modified. zip file ‣ XAML

XAP File Format ‣ ‣ ‣ . xap = Modified. zip file ‣ XAML ‣ Compiled Assemblies ‣ Embedded Resources chiron. exe ‣ Included in Silverlight Dynamic Language SDK ‣ Runs on Mono mxap ‣ Performs C# compilation ‣ Will be included in Mono

Leaving the Browser ‣ ‣ Desklets Gtk# Integration

Leaving the Browser ‣ ‣ Desklets Gtk# Integration