views:

39

answers:

2

Hi,

My shop may win a new project for a corporate intranet web app. The kind of app where the typical page gives you a bunch of criteria (textbox/dropdown) to select, then retrieves data from DB to display these in a Gridview.

Silverlight has been pushed forward as an option (instead of plain old ASP.NET) and I gave it a shot.

And let's say that I'm not impressed so far:

  • Layout by arrays (Grids, but I reckon it's the same)
  • Datagrid control is pretty cool, but it's not a revolution, though...

So, for this kind of website, has Silverlight anything really new/cool to offer that I missed so far?

PS: as it's for an intranet, downloading a plugin isn't an issue.

+1  A: 

Silverlight, at the moment, contains no support for printing. Therefore, as far as data heavy intranet type apps are concerned, it's a non-starter in my book. That may change with SilverLight 4. When it comes.

http://timheuer.com/blog/archive/2009/11/18/whats-new-in-silverlight-4-complete-guide-new-features.aspx

MikeB
well, there will be Excel export buttons, but anyhow, it's a serious drawback, indeed.
Vinzz
+1  A: 

Even though Silverlight isn't a "Silver Bullet" for a data-reporting solution, it does have some very nice features that can help you develop data presentation views relatively quickly.

For example, even though the Datagrid control may not have everything you're looking for, consider that it has features such as sorting, paging, grouping, and aggregation already built in. To the end-user, the Silverlight experience is a very smooth process.

I've seen some really good work done with ASP.NET, JQuery, and AJAX (e.g. Stackoverflow uses javascript extensively), but you might find that writing an advanced control to work in the DOM the same way that a Silverlight control works in Silverlight somewhat tedious to write (I'll admit that I don't have experience with writing controls in Javascript/JQuery, so I'm not the best one to comment).

You may consider looking at and testing third-party controls from vendors such as Telerik, ComponentArt, or DevExpress. They have feature-rich control suites that often have nice extras such print-support, pdf-export, and excel-export already built in.

It's worth noting that Silverlight 4 will natively support printing, but keep in mind it will use Silverlight's bitmap writer, which may be a little slow. You can download the newest SL4 Beta bits at http://Silverlight.net.

If I had a vote and I'm writing for a corporate intranet, I would vote for Silverlight if my developer base is already comfortable with the Microsoft technology stack.

Ben McCormack
Well, thanks for this really interesting point of view. I'll reconsider my poor opinion of this framework.
Vinzz
I'll admit, I've had some plumbing issues setting up data access for Silverlight to a MySQL DB. However, if you're working with .NET, you're going to have the same data access issues no matter what .NET technology you choose to use.
Ben McCormack