Microsoft wrestles with HTML5 vs Silverlight futures
itwriting.com
itwriting.com
I wouldn't be surprised if Silverlight eventually simply targeted HTML 5. You wrote your code in Silverlight and out comes an HTML 5 page.
I'm not really sure what WPFs future is. It's great technology, but the desktop is increasingly niche.
No, that's not possible, as HTML5 is pretty incompatible with Silverlight's selling points.
Besides, the article is flamebait ... Silverlight will be the native API people are going to use for building native-clients on Windows desktops / Windows mobile phones. Add to that list portability Symbian, MeeGo and probably Android.
Silverlight also has a more efficient VM than Flash or the various mobile-browsers, so if they play this card right, it could actually be efficient when running on mobile phones ... windows mobile 7 is actually using Silverlight for its UI ... and from early reports, the interface is snappy.
You map the styles to CSS. The Xaml to HTML (I'd love to have Silverlight layout in HTML). Although the Xaml also includes stuff that you need to map to Javascript as well. The C# code gets mapped to Javascript.
You'd have to map all of the things like databinding, DeepZoom, and animation specially crafted Javascript. Audio, video, WCF, may have to be scaled back for targeting HTML5. But then you can have two versions "Silverlight HTML5" and "FullPower Silverlight".
I'm sure there is tons I missed. But what do you think in particular can't be mapped from Silverlight to HTML?
I know normal people don't care about the first point ... but because the VM is efficient, it might just be that Silverlight is actually efficient on mobile phones (versus Flash) ... a Symbian version is already available, a MeeGo is in the works, if they add Android to that list + Windows mobile 7 ... then you've got a winner (if only they don't fuck up the implementation as Adobe did with Flash).
From Microsoft's point of view Silverlight also has another advantage ... they can add to it whatever they want. Few people complained when they added COM interoperability. They can't do that to web standards without bad publicity (though this didn't bother them in the past).
This scares me as someone who likes the idea of WPF, considering alternatives are javafx (not open either, but not being actively updated), and for, only recently adobe flex.
What do one use when they want to make a desktop app with decent ux that needs to talk to hardware? Go back to using java/swing? Native client (hah!)? Flex only started to support native processes a few months ago.
Ideally I'd love to see the ideas behind WPF open up a bit if support diminishes.
Expanded analysis with explanations for those who don't know what this is about.
They did it before with HTML, was it HTAs? You could make controls that did crazy stuff. I can't remember the name now, my old work had a few from the days when there was no browser but IE.
A victory we all celebrate.
But given that that is not going to happen, I am rooting for HTML5.
Are you being serious or just a troll? There are holes in the wall between Flash/Silverlight and web pages, but there is very much a wall.
Silverlight let you do things like take a code fragment from HTML page, interpret it and let it execute commands against browser's DOM. (See: http://www.silverlight.net/learn/dynamic-languages/).
DojoX GFX (similar to Rapchaël) emulates even SVG drawing using Silverlight object.
And Flash let's you call any Javascript function from ActionScript and an ActionScript function from Javascript.
You must be dreaming up those walls. Or is it just FUD spreading?
In practice, the wall clearly exists. The average flash/silverlight app is an alien box sitting amidst its host page, with very few and generally comparatively minor exceptions.
I would suggest there's really not so much use cases for Flash/Silverlight—HTML in-page communication. Or maybe some people just don't know their tools very much? None of these would be solved by creating another similar technology.
EDIT: Just look at the new HN top story for an example of JS-Flash interaction: http://feross.net/instant/ :)