Showing posts with label Silverlight. Show all posts
Showing posts with label Silverlight. Show all posts

Monday, August 13, 2007

Good CIO Level article on Silverlight

CIO Magazine posted a good summary on Silverlight. We used the technology in a Proof of Concept to build a kiosk for our donor hall and from a user experience perspective it's a great toolset. CIO is right to point that Version 1.1 is the version you want if you want to target the platform as it supports the .NET framework and includes support for LINQ and web services.

Compared to Flash, the biggest advantage I see is that XAML is true 3D. I remember building things like car configurators for BMW and to try and get Flash to do fake 3D was a huge challenge. Silverlight is real 3D which means that doing animations that include zooming, tiling, sliding, and using 3D models could lead to some very interesting interfaces.

I'm interested to see how this platform evolves - I can see this tool becoming a real hit in the business applications space. Think of all the VB.NET intermediate developers out there who struggle with creating a really nice interface to an otherwise functional application. With a little bit of creative design and some nice tooling, Silverlight could turn a boring non-user friendly database application into something much more intuitive.

Saturday, July 7, 2007

Problems with Live Earth Broadcast

Compared to the Live8 broadcast that AOL did, the LiveEarth broadcast is a disappointment. The resolution of the video is significantly poorer and yet I'm finding that the stream is having a lot of problems handling the load. There are a lot of blackouts, frequent rebuffering of content and there have already been complaints that the site only works in Internet Explorer.

This could have been a fantastic showcase for Silverlight - with the quick download of the plugin Microsoft could have showcased its new technology including some fantastic video streaming.

But instead we see choppy video, disconnected audio and very slow response rate on the interface.

What a missed opportunity!

Monday, May 21, 2007

My Opinions in the Press - 2000 and Today

I found this article today from 2000 that I did press for when I worked for Chapters Online (the equivalent of Borders/Amazon here in Canada).

I just landed in the press again for a project we did at the Foundation with Microsoft using their new Expression Blend product. In working with Microsoft, I also did some press with them to show our support and extend our partnership with them. You can see the resulting article in the Globe and Mail here.

Wednesday, May 2, 2007

MIX07 72 Hour Conversation Archive

Here is a list of the posts I made throughout the MIX07 conference. These were done in near real time as sessions ended. Enjoy!

MIX07 Update: The Impact of Bloggers on Public Relations

CIO.com reports that there was a disappointing talk at the MIX07 conference on "digital entertainment". I didn't attend they keynote (preferring to take the time to put up some blog posts instead) but the immediate reaction shows the power of bloggers controlling news.

Before even the talk was concluded, people were blogging about how poor the talk was in near real time. It shows how important the blogging community has become in the following ways:

1. News is released in real time by thousands of bloggers. MIX07 and Silverlight both made the top ten searches in Technorati. Managing this spin cycle in real time becomes increasingly important for any PR department or agency.

2. The news dies quickly. I was blogging every 3-4 hours, and my the time my post was up on Technorati, the last one was already buried off the first couple pages. The best thing you can do from a PR perspective is to flood the network with news - this helps to bump older content down the list and traffic to those news items dies as a result. I have personally seen a massive drop-off even with my own posts after about 24 hours in traffic coming from news search engines such as Digg, Shoutwire, Technorati, etc.

3. Reading is happenning in real time as well. I was blogging throughout the MIX07 and I could see through analytics each post was getting traffic within minutes of being posted. Its hard to tell whether these readers are people at the conference or those simply visiting from the outside and experiencing it vicariously, but if you can generate enough awareness there will be a large amount of readers who will grab your message in near real time.

4. Its a bit hard to understand the impact of blogging on conference goers themselves. For example, did enough people start reading blog entries or news sitting in the talk that they got the message to walk out? Given the number of blackberries and wireless laptops in the room, its a possibility.

Tuesday, May 1, 2007

MIX07 Update: The Future of N-Tier Architectures

As a Director of IT, one of my principle jobs is to recruit talent. During our interview process, we start by asking a candidate about a project they designed, coded and deployed and we present them this picture:



The interview discussion focuses on answering what replaces the question mark - what is the appropriate N-Tier Architecture for their application. You can use this question for any developer because its open to multiple solutions - the junior developer might answer that there is an ASP.NET page that connects using the supplied wizards to an ADO.NET connection that then talks to the database. For a more seasoned architect, they should answer with a much richer domain model, database access layer, proxies for web service or other distributed calls, monitoring and configuration management layers, class factories, etc.

That's why the question is an interesting question for interviewers - it forces the discussion to question design decisions. Why did they use ADO.NET? Why did they choose web services instead of remoting? Why did they choose to keep code in separate objects instead of in the code-behind files? Why did they choose particular design patterns, etc.?

As web technologies have evolved is that they have focused on adding maturity in the tiers. A classic ASP site with some ASP page code, some VB 6.0 objects and a connection to the database through ODBC is now an ASP.NET page, a code-behind file, some domain model objects, some ADO datasets, web service proxy classes, etc. Now there are dozens of options on implementation of that middle-tier and the role of the architect is to decide amongst a selection of options which is appropriate for the particular application being built.

What has happened as these technologies have evolved is an explosion of tiers. In the last enterprise application I managed, we had the following tiers: 1) reverse proxy; 2) HTTP handlers/modules; 3) ASP.NET page; 4) code-behind files; 5) value objects or business entities; 6) web service client stub classes; 7) web service handler classes; 8) data access layer objects; 9) Microsoft Enterprise Library; 10) the Database!

At least it was still easier than using classical J2EE! :)

What seems to be happening as Microsoft technologies evolve is a resolving of this tier explosion through a few different strategies:

1. Use of LINQ to simplify data access and consolidate the data tier into some SQL like statements.

2. Code generation techniques for automating plumbing code (the LINQ designer for example will build your domain model simply by pointing at a schema).

3. Smarter web controls that require less code - Dynamic Data Controls for example.

4. Integration of .NET into Silverlight to put more smarts into the client instead of requiring web service calls for every function.

5. Greater focus on Plain Old .NET Objects - LINQ in particular moves from the heavy Dataset based approach that ADO.NET uses as value objects and can instead populate simple lightweight classes that the developer can design as required.

6. Greater focus on declarative languages - LINQ and also use of IronPython and PHP for example. Instead of focusing on imperative languages that specify the algorithms on how to do instructions, a declarative language allows the developer to focus on business rule declaration and specify what is required and delegate implementation to the framework.

7. On the client side, dramatic improvements in rendering in Silverlight especially in 3D based applications.

All these developments are promising. If the technology works as advertised then development of basic plumbing operations such as CRUD operations with a database, web service calls, etc. should be dramatically easier to code and maintain.

However, "works as advertised" is always the challenge. Developers who have worked with O/R mappers for years have experience with frameworks that claim to hide away details but then also hide away performance bottlenecks, poor implementation strategies and developers are increasingly dependent on the framework to work in the background.

And from what I have seen at the conference so far, its really too early to tell - we're still at the "Just use the wizard" stage where Microsoft demos a cool technology by running a dinky unrealistc demo. Don't be the fool to take the sample code and consider it ready for production without some serious design review!

MIX07 Update: Silverlight 1.1 and .NET Development

I went to a session this morning on Silverlight 1.1 Alpha which is the next version of the product. It features a number of interesting features:

1. Complete CLR .NET based framework - write your Silverlight applications in VB.NET, C#, IronPython, etc. using standard .NET classes. What ships with Silverlight is a stripped down version of the .NET framework in order to shrink the plug in size. For example, XML document reading is included, but XSD validation and XPATH are not included.

2. Silverlight runs 100% client side all the managed code runs within the plug in and will run the same on a Macintosh as it does on the PC (although I have heard this before with Java applets and it never quite worked 100%).

3. Serving Silverlight apps can be done any web server that can serve files. So if you want to deploy your apps to an Apache server, no problem.

4. If you choose to serve your Silverlight apps from ASP.NET you get some advantages and tight integration with your ASP.NET page.

5. Debugging support is built in, including debugging via a proxy client on a Macintosh. Debugging is standard Visual Studio debugging with breakpoints, stepping through, etc.

6. LINQ for objects is supported with LINQ for databases (DLINQ) and LINQ for XML (XLINQ) on the road map.

7. There is the ability to interop between HTML and Silverlight. You can access the HTML DOM from Silverlight, and you can expose your objects in Silverlight to javascript by using a simple [Scriptable] attribute.

8. Web services support is very strong with wizards for generating all the stub code including support for Windows Communication Foundation (WCF).

In general, I was pretty impressed and the 1.1 version is the obvious target for traditional .NET developers. From my perspective, the killer application for Silverlight isn't the animation sitting on web page that makes some animation go in as static content. Where its going to pulverize Flash is where you have .NET application developers who want a rich user experience without having to learn an entirely new programming language in ActionScript. Even in 1.1, the CLR in Silverlight seems much more robust than typical ActionScript code and more importantly for .NET developers is familiar territory.

Silverlight and MIX07 Are Now in the Top 10 Searches in Technorati



The traffic coming from the MIX07 conference is having an impact on the blogosphere.

Mix07 currently sits at #3 and Silverlight sits at #5. Silverlight is now officially more hyped than Paris Hilton - congratulations, Microsoft! :)

Monday, April 30, 2007

MIX07 Update: Feedback on Expression Web

I just attended a seminar on Expression Web 1.0 and while it seems to be definitely a 1.0 product (e.g. nothing too flashy, not that mature quite yet) it has some interesting features.

What makes it cool:
  • Really strong CSS editing - ability to diagnose inheritance issues, see what styles are applied, etc.
  • Refactoring support - easily rename styles, move styles from to page, promote styles from page level to an external style sheet, etc.
  • Word like style support. Think of the Word 2003 Format Styles dialog box for HTML. This would make it really easy to apply pre-defined styles especially for non-technical users.

This product seems to be really an HTML editor with very little integration. There was some discussion that this developer/designer integration is coming in the 2.0 product, but I wonder why they couldn't include the same CSS/HTML editing tools in VS 2005 or the next version of it? In my experience, one of the biggest challenges is interface and back-end HTML integration, and having everything in one tool would certainly help on this front. I've had too many experiences where the interface developer creates a beautifully formatted static HTML template and then either one of two things happen: 1) the CSS is so complicated that the ASP.NET team cannot inject their code into it easily or 2) the ASP.NET team ends up creating subtle HTML/CSS bugs when the dynamic code is inserted. I'm not sure how ExpressionWeb really helps in this regard, but I've only so far seen the demo.

Thursday, April 5, 2007

Expression Web and Blend will be available for MSDN subscribers

In a smart move, Microsoft has announced that it will provide Express Web and Blend products as part of the premium MSDN subscription.

See my last post on Microsoft Expression - from the first look of it, this is a great new addition to the .NET Studio Family and will help to extend the reach of the average .NET developer into the semi-creative space, e.g. user interfaces, rich media, web pages, etc.

Let's just hope it doesn't mangle XAML, HTML and CSS code like the good ol' days of FrontPage. :) Otherwise, I'm going back to Dreamweaver.