Showing posts with label WPF. Show all posts
Showing posts with label WPF. Show all posts

Wednesday, January 16, 2008

Future of XBAP

Back at Mix'07 when I first heard about XBAP I thought it could prove very handy in coming years and I was expecting to see many applications in coming months build on XBAP, but the last time I had a healthy discussion about XBAP developers was in Nov'07, well that was about 2 months ago, as it happens I had that discussion just before we heard about Silverlight 2.0, so why is no one interested in XBAP anymore?

XBAP only came to existence because Silverlight (at the time 1.1 Alpha)  didn't provide the basic user controls, binding options, and many restrictions on Silverlight usage with assets and/or web services, Silverlight applications mostly lack the infrastructure to use .NET framework so the only option was XBAP.

XBAP was simple and neat idea build on WPF but when it come to universality, it lacked cross platform compatibility over Mac/Linux. But when Silverlight 2.0 was announced with user controls, binding, grids and to lift many restrictions like cross domain calls, and providing support for web services methods like SOAP/REST, the idea of developing XBAP applications just began to fade away.

So with Silverlight 2.0 Beta 1 to be released in next 6 weeks what is the future of XBAP? Its not a simple question and personally I am a bit optimist and would love to say good byes to XBAP but ever since Mix 07 Microsoft has disappointed me again and again with Silverlight, I am hoping the Mix 08 will change all that, but I am sure that after a few months after Silverlight 2.0 is released developers might again start to talk about XBAP but this time for some other features that Silverlight might lack mostly with 3D or networking supports like sockets or VOIP.

After Mix08 and Silverlight 2.0 Beta 1 is released I'll try to post the features that Silverlight 2.0 lacks and in what situations would XBAP could be used, if at all. Please stay tuned.

Monday, December 17, 2007

Silverlight - as desktop application.

Silverlight, the Microsoft's weapon in RIA wars, it is the revolutionary technology determined to change the web trend. Microsoft coins the term "for the web" when referring to Silverlight applications,

"Deliver media experiences and rich interactive applications for the Web that incorporate video, animation, interactivity, and stunning user interfaces."

- Microsoft Silverlight

It is clear every since the announcement of Silverlight at MIX'07. Opening the key note at MIX07 Ray Ozzie Chief Software Architect at Microsoft emphases the need for creating web application that provide the power of desktop computing on the Internet, and Silverlight is clearly the best approach.

Microsoft already had the .NET infrastructure in place for ASP.NET applications and Windows Forms and the introduction of .NET 3.0/WinFX (WPF/WCF/WF)  was the final nail in bring the best of the Internet services to the desktop computing.

With Silverlight, Microsoft is clearly targeting the best of desktop experience with Internet services. Many developers have been asking about running Silverlight applications standalone, from a drive or folder,as platform independent desktop application. This however beats the idea of Silverlight,  Silverlight is developed to provide desktop applications on the web. But because of  its architecture, Silverlight can also be run from a local location, (in Silverlight 2.0 can also access any web services). Microsoft have market leadership in desktop platform about 85% - 90%, and its only fair on developers to expect cross platform compatibility for the tools they develop, but Microsoft ignored them - till now.

Microsoft have always had monopoly when it came to platform, they would go out of their way to make sure that Microsoft desktop application are platform dependent (i.e., Windows) but rapid expansion of web applications is making "the web" another platform which is totally independent, and Silverlight is the solution for this scenario and as Ray Ozzie said "Silverlight bring the best of desktop applications and the best of web services - together".  It is be true the other way around.

Microsoft is penetrating deep in Adobe's territory, and Adobe is trying to gets its share from Microsoft's territory with Adobe AIR, Adobe hopes that it would gain a share of the market from Microsoft, I am not being critical of Adobe, I genuinely think Adobe AIR is a brilliant idea, but Adobe had this brain wave at the very wrong time, if you happens to know history being in the right time and right place is very important, you won't disagree with me if you have a look at Java and its history.

Adobe AIR can't compete with WPF applications, but if cross-platform compatibility is concerned, watch out Silverlight 2.0 is coming and Mozilla got a trick up its sleeve to help Silverlight archive it.

Mozilla the makers of FireFox, who already have cross platform browsers, came up with an idea, split web applications out if their browser and run them as desktop. They call it Prism, its a very simple idea provide a software that ideally is a web browser (FireFox), modify registry to save shortcuts on desktop/start menu/quick launch to launch the Prism instance and point to one web page/local html file.

"Unlike Adobe AIR and Microsoft Silverlight, we’re not building a proprietary platform to replace the web. We think the web is a powerful and open platform for this sort of innovation, so our goal is to identify and facilitate the development of enhancements that bring the advantages of desktop apps to the web platform."

Whatever be their intentions for creating Prism, to me it is nail in Adobe's coffin, and Microsoft is going to cash on it big time,  this provides development of one application in Silverlight host it on the web or tweak the same application to install and  run as a desktop application.

This people, is history in the making and I am glad to witness it and be part of it.

Wednesday, December 5, 2007

Is Silverlight truly WPF/E (WPF Everywhere)?

Silverlight 2.0 scheduled to be released after Q1 of 2008 has raised the bar for the functionality and to resemble closely to WPF (Windows Presentation Foundation) during its early days it was code named WPF/E for WPF Everywhere but now that a stable version is announced its worth looking does it resemble WPF and possible ubiquity of Silverlight plug-in.

Silverlight Adoption

We already know that Silverlight 2.0 will support Internet Explorer, Safari, FireFox, Opera, Konqueror, SeaMonkey on Windows, Mac and Linux (Moonlight Project),  these three OS constitutes of 99.8% of the total market share for OS accessing Internet applications (Source: Market Share). 

As this date Silverlight doesn't support all web browsers and we don't know anything about Mobile browsers/OS. Statistics show that these non supporting browsers constitutes  of about 1% of the browser market share (source: Market Share). This figure is impressive for possible deployment or adoption of Silverlight applications. But many might argue about these figure, especially who what to implement advertisements using Silverlight. If same figure is put in perspective with the number of web browsers with JavaScript disabled 6% (Source: W3Schools), in this context the possible ubiquity of Silverlight compared to AJAX (required JavaScript) is very wide.

Having said that Silverlight possible ubiquity is about 99%, it is interesting to note that this figure doesn't constitute Mobile browsers/OS. Microsoft showed interest in Mobile market but they haven't made any of their plans for Mobile browsers public. I'll write a follow up blog when Microsoft announce their intentions.

But how good if 99% possible ubiquity? Flash who have ruled this RIA area for more than a decade have Flash ubiquity of 99.1% (Source Adobe), including Flash, and Flash Lite for mobile.

Silverlight, Flash and JavaFX could well wipe the horrible HTML based web pages for good and replace with rich, interactive applications, now that Flash doesn't have a monopoly in RIA development, we could well see a change rich web sites in near future. Flash is already well established share in mobile market, and JavaFX seems to be focusing more in mobile market, its a shame Microsoft hasn't announced anything for Mobile market as yet.

In next part "Is Silverlight truly WPF/E" we will look at how large subset of WPF can we expect in Silverlight 2.0

del.icio.us Tags: ,,,