Community Server 2007 – Writing Custom Modules – Chapter 13

I started last night working some demo modules out of the Professional Community Server book from Wrox written by Wyatt Preul, Keyvan Nayyeri, Jose Lema, and Jim Martin.  The book has been a good starting point and for the most part well written, I do however have a few points of contention.  While working through the first sample with a fellow techie, he being a network engineer and myself being a software architect we barreled through the sample easily.  The problem however that I must draw is that the sample is unable to be directly (or indirectly tested) because it only sends an e-mail out “if” an exception of CSException occurs.  At the end of the example, compiled, put into the bin, and the config set properly, one then has to force a CSException?  Maybe I missed that chapter, but it seems this is a relatively weak sample.  Great book, but that one sample just irks me.

Otherwise I must say thanks to all who put together the book!  It’s been a great kick start!

To beat a dead horse and return to the problem point I have with that one example, when I get through developing a few other modules and am more familiar with exactly what I am doing, I will follow up with a module or two that provides the points I feel are missing.

AJAX List Application

As I sat down on the bus and hit the web via my Sprint PCS Wireless card I thought, “I really need a dedicated to do or task list application that I could deploy to my domain or somewhere on the web to maintain things with.”  Being that I’m a developer I didn’t want to just use some application I wanted to develop my own, at least control, have, and be able to change the code.  With that in mind off to Google I went.

With many of these standard sample type applications there are literally dozens on the web.  I thought it would be really cool though to specifically have AJAX and of course an ASP.NET based application.  In went the search string “ASP.NET AJAX Task List” and back came the results.  Again I see one of my favorite bloggers has content specifically on this wish list item of mine.  ScottGu has an entire write up on the AJAX enabled ASP.NET application.  In addition to that he linked the same app, plus a lot of other cool applications in another entry dedicated to great available apps.

With that in mind I was off to a good start on my endeavor.  More to come later…

Silverlight, WPF, XAML, Browsers, and Proprietary Applications

As I sat in the Silverlight session this morning in Vancouver, Washington for the Portland area’s Code Camp I stumbled on some odd thoughts and questions.  The more I hear about Silverlight, XAML, and these other things that Microsoft is pushing the less I see this promised code once and start deploying to web or windows.

But then of course that was the promise of Java too, which sorta, kinda, in a way works right?  So where is the big picture these days from Microsoft?  Where are they heading with these tools?

Silverlight uses XAML and so does the Windows Presentation Foundation.  The XAML for Silverlight is however a subset of the XAML for the Windows Presentation Foundation. So “maybe” a WPF XAML file will work within a Silverlight application?  Something doesn’t seem to be properly connected with this paradigm.

Instead of a resolution, these tools/foundations just seem to be providing band aids to minor incompatibilities Microsoft proprietary files and tools have with other applications.  Which is nice, but is in no way a real solution to the bigger picture.

…BUT…

as the class went on a major key item was brought up.  Silverlight is multi-browser, multi-OS compatible.  The stuff can run on any system.  So if one actually writes some managed code, compiles it into a dll, and executes it via Silverlight one can execute actual dlls on a Macintosh, Linux, or in Firefox or Safari.  Now that is actually powerful!

With this last covet, which took some time to point out, Silverlight really points out its value.  With .NET on the client, we now have a real programming model, debugging capabilities, and it’s vastly faster than AJAX stuff.

In the end, back to my first point, it still seems like there is a large part of the Java paradigm here, except Microsoft actually has the power, market, and momentum now to push something like Java, except it is wrapped into the whole Silverlight/.NET/ASP/AJAX technology bundles.