Introducing Cloud Light: a 10KB Application Runtime in Silverlight

Posted by Rishi on 13-Jan-10 7:38 PM - Comments (15)

Tags: , | Categories: .NET, Code, Silverlight, Technology

For the Mix10K smart coding challenge, I've create an application runtime that hosts, manages and runs cloud-based applications. The runtime is called Cloud Light, and per the rules of the Mix10K challenge the code and visuals weighs-in less than 10KB. The runtime environment also features an online application store from which you can download and install applications.

Cloud Light ScreenshotView the Cloud Light in the Mix 10K gallery and please vote for it.

Runtime Overview

  • Provides basic window management capabilities like opening, closing, activating, minimizing and restoring of windows
  • Allows you to install applications directly from the web
  • Installed applications information is persistent, with the applications themselves downloaded when the runtime starts
  • Allows you to uninstall applications with a single click
  • You can also install Cloud Light as a Silverlight Out-of-Browser Application (right click and choose "Install Cloud Light.." from the context menu)

Title Bar Overview

The Title Bar shows the active application's title and also show the current date-time. Additionally, it features four buttons on the top-right corner that enable full-screen toggling, showing/hiding of the application store, minimizing of the active application and closing of the active application.TopBar

Applications Store Overview

The online Application Store lists all currently available application in the Cloud. To install any application just click on the entry title, and the application is downloaded and installed - once installed, it should appear in the Application Bar. Going further, more applications will be available through the store.

InstallableApplications

Application Bar Overview

The Application Bar hosts all the currently installed applications, each application getting an icon for itself. The icon also with a highlight represents a running application, and each application can only have one instance running at a go. A single click to an application icon starts the application, if already running it activates it, if previously activated it minimizes it, and if minimized it maximizes and activates it - really simple, right. Also if an application is open, Shift+Clicking the icon closes it and by Ctrl+Shift+Clicking on the icon you can uninstall the application.

AppBar

Extensibility

Apart from the limited applications selection available in the Application Store, you can also create your own applications and install them using the Console application. In a separate post I will detail how you can create your own custom applications and install them.

InstallAppCommandLine

Another simple point of customization is setting the wallpapers, again through the console - so something like "setwallpaper -url:http://adsoftheworld.net/download/windows7/winwall7057_23large.jpg" will change the background into:

CloudLight3

And in addition to the built-in Commands, you can also create custom Console-based Script Commands, and have them automatically register with and be availed through the Console Application (see Silverlight Console).

Summary

So for 10KB worth of c# code and xaml, I think we have a surprising functional runtime that is both extensible and light thanks to Silverlight. It in some-ways can be seen as a prototype for a managed Cloud OS that relies on the Cloud but provides applications in the form we know them today. And in terms of the design it speaks to the simplicity and discoverability that iPhone brought, something that I think needs to be embraced in desktop-applications' designs.

View the Cloud Light in the Mix 10K gallery here
and please vote for it if you like it.

Acknowledgements
Default Grass Wallpaper by Radoslaw Rokita [vathanx@live.com]
Application Icons by Judge

Comments

trackback
DotNetKicks.com
on 23-Dec-09 11:03 PM
Introducing Cloud Light: a 10KB Application Runtime in Silverlight

You've been kicked (a good thing) - Trackback from DotNetKicks.com

trackback
DotNetShoutout
on 23-Dec-09 11:03 PM
Introducing Cloud Light: a 10KB Application Runtime in Silverlight

Thank you for submitting this cool story - Trackback from DotNetShoutout

Ryan Riley
Ryan Riley United States
on 24-Dec-09 6:15 AM
Wow, Rishi! You continue to amaze me with what you are able to accomplish. Great work!

pingback
topsy.com
on 24-Dec-09 9:41 PM
Pingback from topsy.com

Twitter Trackbacks for
        
        Introducing Cloud Light: a 10KB Application Runtime in Silverlight
        [orktane.com]
        on Topsy.com

Rishi
Rishi
on 25-Dec-09 4:57 AM
@Ryan, appreciate your kind words, thanks.

Ed McPadden
Ed McPadden United States
on 25-Dec-09 8:17 PM
Great stuff Rishi!  This looks like a winner to me.

Rishi
Rishi
on 26-Dec-09 5:34 AM
@Ed, nice to hear from you. Well, lets see how it goes as there are plenty of great apps in the contest. Thanks though Smile

mikekidder
mikekidder United States
on 26-Dec-09 12:03 PM
Now that puts the "ART" in the SMART Coding Challenge.  Not only well developed, but absolute great modular design.

I sound like a broken media playing device using a needle scratching a piece of vinyl to produce an audible signal to create a sound that is amplified by a feedback loop that is pleasing to the ears, but "FANTASTIC WORK!"

Rishi
Rishi
on 27-Dec-09 5:45 AM
@Mike, thank you so much.. your non-broken sweet-sounding feedback loop means a lot.. appreciate it..

trackback
orktane
on 07-Jan-10 12:43 AM
Creating and Porting applications to Cloud Light

Creating and Porting applications to Cloud Light

LordZardeck
LordZardeck United States
on 22-Jan-10 6:41 PM
Can we have access to the source code to customize the os itself?

Rishi
Rishi
on 23-Jan-10 9:27 AM
@LordZardeck I've not fully decided when/how I'm gonna release the source for Cloud Light, I'll consider it once the Mix10K competition closes. Though in the meantime, Cloud Light has a new permanent home at http://www.orktane.com/Labs/CloudLight/

Cheers.

arjun
arjun South Africa
on 05-Mar-10 6:29 AM
He awesome work dude.
Was wondering where I can download the library for this. The following link keeps telling me service unavailable. www.orktane.com/.../...cations-to-Cloud-Light.aspx

Marco-Hans
Marco-Hans South Africa
on 05-Mar-10 11:30 PM
Hi, Rishi I am busy building a social website and would like to discuss the source code with you.  I really look forward to hearing from you.

Kind Regards
Marco-Hans

Rishi
Rishi
on 06-Mar-10 7:15 AM
@arjun, Cloud Light is not a library, it's a cloud based application runtime, and available at/usable via http://www.orktane.com/Labs/CloudLight/

Add comment


(Will show your Gravatar icon)

  Country flag

biuquote
  • Comment
  • Preview
Loading