<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://bloggingabout.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Erwyn van der Meer : Architecture and Design, WPF</title><link>http://bloggingabout.net/blogs/erwyn/archive/tags/Architecture+and+Design/WPF/default.aspx</link><description>Tags: Architecture and Design, WPF</description><dc:language>en</dc:language><generator>CommunityServer 2008.5 SP2 (Build: 40407.4157)</generator><item><title>Silverlight: FONT tags all over again?!</title><link>http://bloggingabout.net/blogs/erwyn/archive/2007/05/05/silverlight-font-tags-all-over-again.aspx</link><pubDate>Sat, 05 May 2007 08:55:00 GMT</pubDate><guid isPermaLink="false">813b6dfd-644e-4573-a816-eebab56ba0d0:189487</guid><dc:creator>Erwyn van der Meer</dc:creator><slash:comments>2</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://bloggingabout.net/blogs/erwyn/rsscomments.aspx?PostID=189487</wfw:commentRss><comments>http://bloggingabout.net/blogs/erwyn/archive/2007/05/05/silverlight-font-tags-all-over-again.aspx#comments</comments><description>&lt;p&gt;Some people use hyperbole to refer to the disclosure of&amp;nbsp;Silverlight and&amp;nbsp;CoreCLR by&amp;nbsp;Microsoft at MIX07. April 30, 2007 has been&amp;nbsp;called the day that will be remembered as &lt;a href="http://scobleizer.com/2007/05/01/microsoft-rebooted-the-web-yesterday/"&gt;the day that Microsoft "rebooted the web"&lt;/a&gt;.&lt;/p&gt; &lt;p&gt;This might be true in more than one way. I was just reading the &lt;a href="http://msdn2.microsoft.com/en-us/library/bb404774.aspx"&gt;Silverlight SDK&lt;/a&gt; and was struck by a feeling of deja-vu:&lt;/p&gt;&lt;pre class="csharpcode"&gt;&lt;span class="kwrd"&gt;&lt;/span&gt;&lt;span class="kwrd"&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre class="csharpcode"&gt;&lt;span class="kwrd"&gt;&amp;lt;&lt;/span&gt;&lt;span class="html"&gt;TextBlock&lt;/span&gt; &lt;span class="attr"&gt;FontFamily&lt;/span&gt;&lt;span class="kwrd"&gt;="Arial"&lt;/span&gt; &lt;span class="attr"&gt;Width&lt;/span&gt;&lt;span class="kwrd"&gt;="400"&lt;/span&gt; &lt;span class="attr"&gt;Text&lt;/span&gt;&lt;span class="kwrd"&gt;="Sample text formatting runs"&lt;/span&gt;&lt;span class="kwrd"&gt;&amp;gt;&lt;/span&gt;
  &lt;span class="kwrd"&gt;&amp;lt;&lt;/span&gt;&lt;span class="html"&gt;LineBreak&lt;/span&gt;&lt;span class="kwrd"&gt;/&amp;gt;&lt;/span&gt; 
  &lt;span class="kwrd"&gt;&amp;lt;&lt;/span&gt;&lt;span class="html"&gt;Run&lt;/span&gt; &lt;span class="attr"&gt;Foreground&lt;/span&gt;&lt;span class="kwrd"&gt;="Maroon"&lt;/span&gt; &lt;span class="attr"&gt;FontFamily&lt;/span&gt;&lt;span class="kwrd"&gt;="Courier New"&lt;/span&gt; &lt;span class="attr"&gt;FontSize&lt;/span&gt;&lt;span class="kwrd"&gt;="24"&lt;/span&gt;&lt;span class="kwrd"&gt;&amp;gt;&lt;/span&gt;Courier New 24&lt;span class="kwrd"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="html"&gt;Run&lt;/span&gt;&lt;span class="kwrd"&gt;&amp;gt;&lt;/span&gt;
  &lt;span class="kwrd"&gt;&amp;lt;&lt;/span&gt;&lt;span class="html"&gt;LineBreak&lt;/span&gt;&lt;span class="kwrd"&gt;/&amp;gt;&lt;/span&gt;
  &lt;span class="kwrd"&gt;&amp;lt;&lt;/span&gt;&lt;span class="html"&gt;Run&lt;/span&gt; &lt;span class="attr"&gt;Foreground&lt;/span&gt;&lt;span class="kwrd"&gt;="Teal"&lt;/span&gt; &lt;span class="attr"&gt;FontFamily&lt;/span&gt;&lt;span class="kwrd"&gt;="Times New Roman"&lt;/span&gt; &lt;span class="attr"&gt;FontSize&lt;/span&gt;&lt;span class="kwrd"&gt;="18"&lt;/span&gt; &lt;span class="attr"&gt;FontStyle&lt;/span&gt;&lt;span class="kwrd"&gt;="Italic"&lt;/span&gt;&lt;span class="kwrd"&gt;&amp;gt;&lt;/span&gt;Times New Roman Italic 18&lt;span class="kwrd"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="html"&gt;Run&lt;/span&gt;&lt;span class="kwrd"&gt;&amp;gt;&lt;/span&gt;
  &lt;span class="kwrd"&gt;&amp;lt;&lt;/span&gt;&lt;span class="html"&gt;LineBreak&lt;/span&gt;&lt;span class="kwrd"&gt;/&amp;gt;&lt;/span&gt;
  &lt;span class="kwrd"&gt;&amp;lt;&lt;/span&gt;&lt;span class="html"&gt;Run&lt;/span&gt; &lt;span class="attr"&gt;Foreground&lt;/span&gt;&lt;span class="kwrd"&gt;="SteelBlue"&lt;/span&gt; &lt;span class="attr"&gt;FontFamily&lt;/span&gt;&lt;span class="kwrd"&gt;="Verdana"&lt;/span&gt; &lt;span class="attr"&gt;FontSize&lt;/span&gt;&lt;span class="kwrd"&gt;="14"&lt;/span&gt; &lt;span class="attr"&gt;FontWeight&lt;/span&gt;&lt;span class="kwrd"&gt;="Bold"&lt;/span&gt;&lt;span class="kwrd"&gt;&amp;gt;&lt;/span&gt;Verdana Bold 14&lt;span class="kwrd"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="html"&gt;Run&lt;/span&gt;&lt;span class="kwrd"&gt;&amp;gt;&lt;/span&gt;
&lt;span class="kwrd"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="html"&gt;TextBlock&lt;/span&gt;&lt;span class="kwrd"&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;
&lt;p&gt;Doesn't it feel like FONT tags all over again to you too?&lt;/p&gt;
&lt;p&gt;This is not revolutionizing the web, this is indeed rebooting the web. Just after text on the web has been&amp;nbsp;semantically liberated from FONT and TABLE tags by judicious use of CSS, we are going back to the future...&lt;/p&gt;
&lt;p&gt;PS: Although there is extremely tight coupling between text and layout in this piece of XAML, it is still a&amp;nbsp;much better situation than text locked up in .swf files. At least it is indexable by search engines. Hopefully, Microsoft is just going after the Flash market and doesn't lure us into putting all text inside Silverlight controls leaving the (X)HTML page as just an otherwise empty shell around such controls.&lt;/p&gt;
&lt;p&gt;PS2: Here is &lt;a href="http://www.agileprogrammer.com/eightytwenty/archive/2007/05/03/22658.aspx"&gt;another commentary&lt;/a&gt; by someone who sees some downsides to this new "rich" web as well.&lt;/p&gt;&lt;img src="http://bloggingabout.net/aggbug.aspx?PostID=189487" width="1" height="1"&gt;</description><category domain="http://bloggingabout.net/blogs/erwyn/archive/tags/Personal/default.aspx">Personal</category><category domain="http://bloggingabout.net/blogs/erwyn/archive/tags/Architecture+and+Design/default.aspx">Architecture and Design</category><category domain="http://bloggingabout.net/blogs/erwyn/archive/tags/WPF/default.aspx">WPF</category><category domain="http://bloggingabout.net/blogs/erwyn/archive/tags/Silverlight/default.aspx">Silverlight</category></item><item><title>Silverlight (fka WPF/E) and ASP.NET</title><link>http://bloggingabout.net/blogs/erwyn/archive/2007/04/16/silverlight-fka-quot-wpf-e-quot-and-asp-net.aspx</link><pubDate>Sun, 15 Apr 2007 23:32:00 GMT</pubDate><guid isPermaLink="false">813b6dfd-644e-4573-a816-eebab56ba0d0:162712</guid><dc:creator>Erwyn van der Meer</dc:creator><slash:comments>2</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://bloggingabout.net/blogs/erwyn/rsscomments.aspx?PostID=162712</wfw:commentRss><comments>http://bloggingabout.net/blogs/erwyn/archive/2007/04/16/silverlight-fka-quot-wpf-e-quot-and-asp-net.aspx#comments</comments><description>&lt;P&gt;Microsoft has announced that the little cross-platform, cross-browser cousin of Windows Presentation Foundation will be called &lt;A href="http://www.microsoft.com/silverlight/"&gt;Silverlight&lt;/A&gt;. This technology which was first announced at PDC05 was codenamed "WPF/E".&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/tims/archive/2007/04/15/introducing-microsoft-silverlight.aspx"&gt;Tim Sneath has the best list so far&lt;/A&gt; of the features and power of this "Flash killer" technology. Microsoft doesn't ever call Silverlight&amp;nbsp;a Flash killer, but the overlap in feature set is so large, that it cannot be viewed as anything other than a direct Flash competitor. &lt;/P&gt;
&lt;P&gt;However, I do believe that Silverlight leapfrogs Flash in a couple of ways. The programmability and ease of use is better than Flash. You can build Silverlight sites using just Notepad if you want. The direct integration of the Silverlight DOM (Document Object Model) with JavaScript in the browser and the ability to create Silverlight UI elements on the fly with the createFromXaml method is a killer feature.&lt;/P&gt;
&lt;P&gt;Tim Sneath mentions a secret number 10 feature on &lt;A href="http://blogs.msdn.com/tims/archive/2007/04/15/introducing-microsoft-silverlight.aspx"&gt;his list&lt;/A&gt;:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;"Ah... #10. I can't reveal this yet - there's a big surprise up our collective corporate sleeve that will be announced at MIX. I hate to hold back on you, but anticipation is part of the pleasure, as my mother used to tell me as a child when I was waiting impatiently for Christmas to come!"&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Could this be the .NET programmability that was &lt;A href="http://www.windows-now.com/blogs/robert/archive/2007/02/26/a-new-direction-for-the-net-framework.aspx"&gt;previously speculated about&lt;/A&gt;? &lt;A href="http://blogs.msdn.com/somasegar/archive/2007/04/15/silverlight-the-next-generation-web-media-experiences.aspx"&gt;Soma&lt;/A&gt; spills some more details in his announcement:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;"As I mentioned, this Silverlight announcement at NAB is only part of the story, the rest will be unveiled at MIX including details about how Silverlight is a core component of Microsoft’s broader .NET platform."&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I commented previously on &lt;A href="http://www.windows-now.com/blogs/robert/archive/2007/02/26/a-new-direction-for-the-net-framework.aspx"&gt;Robert McLaws'&lt;/A&gt; blog that I didn't think that Microsoft wasn't going to release a lightweight&amp;nbsp;crossplatform CLR for Silverlight programmability. But I also speculated that Microsoft &lt;EM&gt;was&lt;/EM&gt; working on a&amp;nbsp;&lt;A href="http://bloggingabout.net/blogs/erwyn/archive/2007/02/01/hybridizing-java-flash-and-wpf-e.aspx"&gt;bigger crossplatform CLR based on the .NET Compact Framework&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;What I am pretty sure about, is that Microsoft will announce ASP.NET controls that will allow you to very easily integrate Silverlight on your web pages and to expose dynamic data as XAML to Silverlight controls. I.e., AJAX on steroids UI-wise.&lt;/P&gt;
&lt;P&gt;Adding ASP.NET to the mix shows that there is no direct need for a CLR on the client in order to enable C#&amp;nbsp;or VB.NET programmability: coding in C#, compiling to IL &lt;EM&gt;and&lt;/EM&gt; converting that IL to JavaScript on the fly! Prototype efforts by Nikhil Kothari with Script# show that this is quite possible. &lt;A href="http://www.nikhilk.net/WPFEAndScriptSharp.aspx"&gt;Check out Nikhil's example&lt;/A&gt;.&lt;/P&gt;&lt;img src="http://bloggingabout.net/aggbug.aspx?PostID=162712" width="1" height="1"&gt;</description><category domain="http://bloggingabout.net/blogs/erwyn/archive/tags/.NET/default.aspx">.NET</category><category domain="http://bloggingabout.net/blogs/erwyn/archive/tags/Architecture+and+Design/default.aspx">Architecture and Design</category><category domain="http://bloggingabout.net/blogs/erwyn/archive/tags/WPF/default.aspx">WPF</category><category domain="http://bloggingabout.net/blogs/erwyn/archive/tags/Silverlight/default.aspx">Silverlight</category></item><item><title>Hybridizing Java, Flash and WPF/E</title><link>http://bloggingabout.net/blogs/erwyn/archive/2007/02/01/hybridizing-java-flash-and-wpf-e.aspx</link><pubDate>Thu, 01 Feb 2007 00:37:01 GMT</pubDate><guid isPermaLink="false">813b6dfd-644e-4573-a816-eebab56ba0d0:105241</guid><dc:creator>Erwyn van der Meer</dc:creator><slash:comments>3</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://bloggingabout.net/blogs/erwyn/rsscomments.aspx?PostID=105241</wfw:commentRss><comments>http://bloggingabout.net/blogs/erwyn/archive/2007/02/01/hybridizing-java-flash-and-wpf-e.aspx#comments</comments><description>&lt;p&gt;Bruce Eckel has an interesting post on &lt;a href="http://www.artima.com/weblogs/viewpost.jsp?thread=193593"&gt;hybridizing Java with Flash&lt;/a&gt;. He notices the trend in the Java world to replace Java-based GUI frameworks (AWT, Swing, etc.) for Java apps by Flash.&lt;/p&gt; &lt;p&gt;Incidently, I came across one such app yesterday evening when I installed &lt;a href="http://www.powersnap.com/"&gt;PowerSnap&lt;/a&gt;. The UI indeed was somewhat snappy. This application claims it can keep your locally stored photographs in sync with those posted on &lt;a href="http://www.flickr.com/photos/erwyn/"&gt;Flickr&lt;/a&gt;.&lt;/p&gt; &lt;p&gt;Of course, the major benefit of using Flash over UI technologies as WPF is &lt;em&gt;reach&lt;/em&gt;. WPF only runs on a subset of the Windows platforms. PowerSnap is working on a Mac version which should be relatively easy because Java and Flash are available on the Mac.&lt;/p&gt; &lt;p&gt;WPF/E is nice and will be cross-platform but I think it will be confined to the browser in v1. Currently the WPF/E engine can only be scripted using JavaScript.&lt;/p&gt; &lt;p&gt;Maybe in future versions it can be used for the GUI layer of a standalone cross-platform .NET application. Microsoft is quietly working on versions of the CLR that will run on other platforms so that WPF/E can be "scripted" using C#. The work done by the &lt;a href="http://msdn2.microsoft.com/en-us/netframework/aa497273.aspx"&gt;.NET Compact Framework&lt;/a&gt; team already proves that this is possible. This CLR runs on devices like SmartPhones, PDAs and the &lt;a href="http://msdn2.microsoft.com/en-us/library/bb203912.aspx"&gt;Xbox 360&lt;/a&gt;.&lt;/p&gt;&lt;img src="http://bloggingabout.net/aggbug.aspx?PostID=105241" width="1" height="1"&gt;</description><category domain="http://bloggingabout.net/blogs/erwyn/archive/tags/Architecture+and+Design/default.aspx">Architecture and Design</category><category domain="http://bloggingabout.net/blogs/erwyn/archive/tags/WPF/default.aspx">WPF</category></item></channel></rss>