Colin Eberhardt's Technology Adventures

Windows Phone 8 Running App Article wins CodeProject competition

February 25th, 2013

I’ve just received an email from those nice folks at CodeProject letting me know that my article A Windows Phone 8 Run Tracking App in 100 Lines of Code has just won the Best Mobile article of January 2013 award.

WP8RunnerScreenshot

I must admit, this one was a bit of a surprise. I put this article together very quickly for the Nokia Wiki Competition … which I didn’t win. The article is quite brief, and the app that it described is very simple – this is in contrast to my usual articles on CodeProject, which are often quite lengthy. Judging from the comments, it looks like people really like these short, but focused articles. I might do a few more of these in future! (they are certainly less effort :-P )

Colin E.

The Gradual Decline in Silverlight Adoption

February 13th, 2012

Around one year ago I made the prediction that Silverlight would have an overall adoption of 81% by the end of 2011. The adoption statistics are now available and indicate that my predictions were wrong by more than 10%, with Silverlight adoption reaching just 67% at the start of this year. So what went wrong?

In my previous blog post I assumed that Silverlight adoption would follow a sigmoid curve as per the Diffusion of Innovation theory. Taking the adoption statistics from StatOwl, I used Excel to fit a logistic function to the data in order to predict the future adoption, arriving at a projected adoption figure of 81% at the end of 2011. However, in my curve fitting it looks like I made one important mistake – I assumed that Silverlight adoption would eventually reach 100%!

By adjusting my Excel spreadsheet to allow a sub-100% adoption I achieved a much better curve fit and the 2011 predictions were reduced from 81% to 75%.

However, data from throughout 2011 seems to indicate that the rate of Silverlight adoption is falling (I think we all know the reason why). Including last years data shows a very good fit to the logistic function, with the rather gloomy outlook that the adoption is asymptotically tending towards 73%.

The graph below shows the adoption statistics reported via StatOwl from 2008 through to 2011, together with my (corrected) predictions based on the data up to 2010, and my predictions based on the complete set of available data.

This doesn’t compare well with flash where the adoption of each new version is faster than the last. With Silverlight adoption statistics tending towards 73% the outlook doesn’t look too great. Is this a technology we should still be investing in?

Personally, I think the answer to this question is “yes” for a couple of reasons:

Whilst the Silverlight plugin might be losing relevance, Windows 8 Metro and Silverlight for Windows Phone 7 are both XAML languages with a similar API. The skills you learn whilst developing Silverlight or WPF applications are certainly going to be relevant in the future.

Businesses have an investment in the skills of their employees, but just as importantly, they invest in the code that they write. Whilst there is some comfort in the ability of their employees to easily adopt new technologies, the cost of migrating a code-base is always going to be much greater. It is clear that Silverlight is no longer going to be the Flash-beating plugin that would be the de-facto choice for interactive content on the web (Flash, and the plugin model in general, is in trouble). However, Silverlight is now a very mature platform that is an appropriate choice for delivery of complex business functionality either within an intranet, where you can control plugin installation, or where the business value of the application being delivered ensures that the 30% without the plugin will install it in order to use your application.

Now, more than ever, is a time for developers to diversify and learn new skills.

Regards, Colin E.

WPUG Talk: Developing cross-platform mobile applications with PhoneGap for Windows Phone 7

February 9th, 2012

In a couple of weeks I will be giving a talk on using PhoneGap for cross platform mobile application development at the WPUG #NotAtMWC12 event on Tuesday, February 28, in London. Here’s a brief overview of my talk and a video:

Windows Phone 7 and the Silverlight framework are a great pairing; they allow you to create beautiful Metro applications with ease. The excellent tooling, coupled with the Nokia partnership, should make WP7 a big success.

Will we see a future dominated by WP7? I doubt it, and the analysts at Gartner seem to agree, with their 2015 predictions indicating that Andoid, WP7 and iOS will all still have a significant market share for a few years to come. If you are developing a smartphone application this means you either make a choice between one of the three, or you have to write the same application three times, once in each of C#, Java and Objective-C.

However, there is another way … all three phones have highly capable browser, in many ways more capable than their desktop counterparts where many people still use quite archaic browsers! All have good HTML5 support, which allows you to create applications that run within the browser. With this technology you can potentially write your mobile application just once using HTML5 (JavaScript / CSS) and reuse it on all three platforms.

This sounds too good to be true doesn’t it?

This talk will focus on the use of PhoneGap for the development of cross platform applications and look at the compromises you make, and the benefits you receive, by using this approach.

I’ll be talking quite a bit about Property Finder, a PhoneGap application I wrote for WP7, which I have now ported to iOS (using PhoneGap build):

Hopefully see you there!

Regards, Colin E.

Proud to be a CodeProject MVP 2012

January 9th, 2012

I have just received an email from Chris Maunder, co-founder of CodeProject, informing me that I have been awarded CodeProject MVP status for 2012. I am very pleased to have received this award, which is given to a small handful of individuals each year.

What I like about CodeProject is the fantastic quality of the articles submitted by the thousands of authors that participate in this site, with the only payment being their own please in the writing.

I have not written that many articles throughout the year, just four of them. However, I have put a lot of effort into each one of them – and thankfully they have been very well received. It is great that CodeProject favours quality over quantity. My articles for 2011 were:

I do also circulate some of my blog posts via the CodeProject Associate program..

On that note, it is almost three months since I last wrote an article … fortunately I do have an idea for the next article, so I had better get on with writting it …

Regards, Colin E.