Feeds

Microsoft’s Silverlight 3 delivers decent alternative to Adobe

A difficult act to swallow

The Power of One Brief: Top reasons to choose HP BladeSystem

Review Silverlight's future looks bright, which is just as well.

The initial release of Microsoft media player for the browser lacked many of the features Flash had offered for years. Version 1.0 was really little more than a dressed up beta and, while the current release is an improvement, it still lacks many advanced capabilities that have seen Flash set the standard.

Silverlight 3.0, released as a beta recently, promises to put Microsoft's player on a nearly level playing field with Adobe's Flash framework. Silverlight 3.0 brings a staggering amount of improvements to the table with new APIs, audio codecs and features for video such as Smooth Streaming, H264 and AAC, and hardware-based graphics acceleration.

But how easy is it to develop in Silverlight? And how much has Microsoft closed the feature gap with Adobe's Flash platform? I've been taking the Silverlight 3.0 beta for a spin.

The test track was a photo gallery I built using Microsoft's IronPython that contained 40 photos pulled off of Flickr and served up using a local Ning server. I picked this project because the basic mechanics of a slideshow such as loading images from XML and cross fading them are something I've done a plenty of times using Flash over the years, so this made comparisons relatively easy.

From the development IDE to the massive load of new APIs, Silverlight 3.0 is designed to make developers' lives easier, and that's an important part of Microsoft's strategy because many web developers remain wary of Silverlight's primary development environment - the Microsoft family of .NET languages.

Give us the tools

For newcomers the .NET experience can be quite a bit more complicated than typical web development tools like JavaScript or ActionScript, which powers Adobe's Flash platform. Although it's probably a bit easier, you need not be a .NET expert to build a Silverlight app.

Using the .NET framework means Silverlight 3.0 offers more robust programming tools than Flash developers have access to. Visual Studio 2008, the primary IDE for Silverlight, blows Adobe's Flash IDE out of the water. Of course most Flash developers have long since moved to outside tools like Eclipse and there are also Eclipse plug-ins for working with Silverlight.

The biggest flaw in the Flash IDE is that it basically encourages bad code, you can bury code in a literally infinite number of places - external files, movie clips, timeline frames, frames within movie clips. It gets ugly very fast. Visual Studio 2008 integrates nicely with Subversion and other version-control systems so your code is organized in a logical way from the beginning, making it easier to update, maintain and share with other developers.

There is no frame-based animation, so it works more the way programmers are accustomed to working - with a collection of files compiled into a finished app.

The other thing you get with Silverlight is access to "real" programming languages. Sure Adobe's ActionScript is capable of creating some powerful apps, but Flash and even the Flex framework lack the sophistication and maturity you'll find in the .NET framework. Silverlight also offers a much wider range of development tools - Silverlight apps can be built with anything from C to Ruby.

Securing Web Applications Made Simple and Scalable

More from The Register

next story
Apple fanbois SCREAM as update BRICKS their Macbook Airs
Ragegasm spills over as firmware upgrade kills machines
HIDDEN packet sniffer spy tech in MILLIONS of iPhones, iPads – expert
Don't panic though – Apple's backdoor is not wide open to all, guru tells us
NO MORE ALL CAPS and other pleasures of Visual Studio 14
Unpicking a packed preview that breaks down ASP.NET
Captain Kirk sets phaser to SLAUGHTER after trying new Facebook app
William Shatner less-than-impressed by Zuck's celebrity-only app
Microsoft takes on Chromebook with low-cost Windows laptops
Redmond's chief salesman: We're taking 'hard' decisions
Cheer up, Nokia fans. It can start making mobes again in 18 months
The real winner of the Nokia sale is *drumroll* ... Nokia
Mozilla fixes CRITICAL security holes in Firefox, urges v31 upgrade
Misc memory hazards 'could be exploited' - and guess what, one's a Javascript vuln
EU dons gloves, pokes Google's deals with Android mobe makers
El Reg cops a squint at investigatory letters
prev story

Whitepapers

Designing a Defense for Mobile Applications
Learn about the various considerations for defending mobile applications - from the application architecture itself to the myriad testing technologies.
How modern custom applications can spur business growth
Learn how to create, deploy and manage custom applications without consuming or expanding the need for scarce, expensive IT resources.
Reducing security risks from open source software
Follow a few strategies and your organization can gain the full benefits of open source and the cloud without compromising the security of your applications.
Boost IT visibility and business value
How building a great service catalog relieves pressure points and demonstrates the value of IT service management.
Consolidation: the foundation for IT and business transformation
In this whitepaper learn how effective consolidation of IT and business resources can enable multiple, meaningful business benefits.