Open source rich internet applications with silverlight moonlight
Download
1 / 10

Open Source Rich Internet Applications with Silverlight & Moonlight - PowerPoint PPT Presentation


  • 98 Views
  • Uploaded on

Open Source Rich Internet Applications with Silverlight & Moonlight. Joseph Hill Product Manager, Novell. What is Silverlight?. Web Browser plugin delivering: Rich Media Experiences Rich Internet Applications Cross-browser, Cross-platform. www.silverlight.net. Enter Moonlight. Mono

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about ' Open Source Rich Internet Applications with Silverlight & Moonlight' - athena-wilkins


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
Open source rich internet applications with silverlight moonlight
Open Source Rich Internet Applications with Silverlight & Moonlight

  • Joseph Hill

  • Product Manager, Novell


What is silverlight
What is Silverlight? Moonlight

  • Web Browser plugin delivering:

    • Rich Media Experiences

    • Rich Internet Applications

  • Cross-browser, Cross-platform

www.silverlight.net


Enter moonlight
Enter Moonlight 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

      • Renamed Silverlight 1.0 on eve of Mix 07

    • Silverlight 1.1 – Announced Mix 07 - March

      • Embeds .NET runtime

    • Moonlight 1.1 – ReMix Paris - September 07

      • first public demos (Silverlight Airlines and Chess)‏

go-mono.com/moonlight


Media support
Media Support Moonlight

  • Media Support

    • Video Support up to HD resolutions: WMV V7, V8, V9, VC-1

    • Audio: WMA V7, V8, V9 (standard), MP3

    • Support HTTP Progressive Download


XAML Moonlight

  • Similar to SVG

    • Covered by Open Specification Promise

    • Basis for other rendering technologies, such as WPF and XPS

    • Can define both graphics and animation (StoryBoards)‏

  • <Canvas

    • xmlns="http://schemas.microsoft.com/client/2007"

    • xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"

    • Width="455" Height="349">

    • <TextBlockText="Hello World"/>

  • </Canvas>


Scripting with JavaScript Moonlight

  • DOM-Addressable

  • findname

    • equivalent to document.getElementById()‏

    • 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
    Page.html Moonlight

    • ...

      • <scripttype="text/javascript" src="Silverlight.js"></script>

      • <scripttype="text/javascript" src="CreateSilverlight.js"></script>

    • ...

      • <divstyle="position:absolute; left:100px; top:100px;" id="SilverlightControlHost">

        • <scripttype="text/javascript">

          • createSilverlight();

        • </script>

      • </div>

    • ...


    Silverlight 2 0
    Silverlight 2.0 Moonlight

    • 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

      • TextBoxes, Buttons, DropDownLists, Calendars, DataGrids, etc

      • MS-PL License

    • Dynamic Language Runtime

      • IronPython, IronRuby, Jscript.NET, VBScript, etc


    Xap file format
    XAP File Format Moonlight

    • .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
    Leaving the Browser Moonlight

    • Desklets

  • Gtk# Integration


  • ad