The Eric Wroolie Blog

Overpass Experiences

  • Blog
  • Videos
  • Overpass Apps

Powered by Overpass Apps

The scary thing about Silverlight . . .

February 9, 2010 by wroolie Leave a Comment

The scary thing about Silverlight is that you are one security threat away from losing your clients.  One thing that I’ve thought a lot with the problems on IE lately is that people who wrote “Only-for-Internet-Explorer” websites did not give their users the option to switch browsers if they felt unsafe due to all the security flaw hype.

A little common sense and a knowledge of web standards and it’s easy to write HTML that will look good and be functional in all browsers.  Still, in my experience, too many developers are choosing a platform and sticking with it—most of the time that is IE.  It’s easier to test one browser, it’s easier to tell a user to use the browser that’s probably already installed on their pc.

Flash and Silverlight are different than HTML—they are runtimes which are allowed to run inside the browser—kind of like how Java applets used to be able to.  They are executables which run compiled functionality on your computer.  They are cross-browser—but not like html is cross-browser.  When I look at a Silverlight or Flash app on my pc, it’s always the same runtime working.  Silverlight is a few years old and really starting to look like Flash—allowing Microsoft developers like me to get more fancy and provide far better functionality for our users.  Silverlight runs on Windows and Mac, but has ignored the Linux landscape (there is an open-source Silverlight runtime called Moonlight being developed for that—but I consider it a snub).

In the world of web development, I think Flash and Silverlight are “cheating” at cross-platform compatibility.  Everyone has accepted Flash (except the iPhone/iPad), but the jury is still out on Silverlight.

Silverlight and Flash are great in that they move a lot of the processing to your computer and free up resources on the server from which they originate.  But they also increase the responsibilities of they client over the server.

Security flaws are found all the time.  We all scramble around and try to fix them when they come up.  As a software developer, I like the idea that I can apply a patch to a server and be done with it.  With client driven app, I need to make sure all of my users apply the patch (and do it in a way that lets them know that the app is safe—and not to panic).  Flash could bounce back from it (“You need it for Youtube, too. You should apply the patch”), but Silverlight is too new.

I’m often seduced by the cool things that Silverlight can do.  I’ve played around with it a lot and have written several small apps (including an animated Overpass ad on my blog), but I’m not ready to jump in head-first yet. 

Filed Under: C# Coding, Software Dev & Productivity, Usability

Some thoughts on the ASP.Net MVC Framework

July 31, 2009 by wroolie Leave a Comment

A few months ago, I got tired of ASP.Net.  I was tired of developers who depended on server-side controls, the Microsoft ajax implementations (as opposed to under-the-hood javascript ajax), excessive use of session and view state.  My preferred method of coding which relies more on the html than on the “runat=server” attribute, was considered old fashioned.

pics 006
Creative Commons License photo credit: paulb

So, I wanted to look at something else.  In my mind, Asp.net was getting too bloated and heavy.  I started learning Ruby on Rails.  RoR is a fantastic framework which integrates testability and maintainability.  Rails is the framework—Ruby is the language.  It’s easy to set up an Model View Controller site very quickly.  I love Rails, but I hate Ruby.  I had to lean how to do everything over again in Ruby.  It was like learning to speak a new language—even the simple things were hard.

Then, I looked at the ASP.net MVC framework that was released earlier this year.  The MVC framework is like Rails for ASP.  It keeps aspects of ASP.Net that I really like (like master pages and C#) and moves away from the bulky server-side, viewstate heavy, controls (like the DataGrid) that slow down ASP.Net performance.

My faith in ASP.Net is restored.  My brief foray into the hip and trendy world of Ruby development has given way to working on Microsoft code again.

I’ve been using the MVC framework in a few projects now.  I’ve started writing a Chinese Dictionary application (using the CEDict database) and am enjoying every minute of it.  I don’t know if I’ll every put this site live, but coding it is helping me learn the finer points of the framework.

There are some great MVC tutorials here:

http://www.asp.net/mvc/learn/

The best video tutorial (to start off with) is “Creating a Movie Database Application with ASP.NET MVC”.

Filed Under: Agile, C# Coding, Software Dev & Productivity

Nike+ API Revisited

July 5, 2009 by wroolie 1 Comment

One of the highest traffic posts I get on this blog is the brief post on accessing the Nike+ API with C#. I’m pretty proud of that post, but I don’t keep up with how the API works.Running Shoes

The Nike+ API is not published, so it’s not public.  It can change at any time.

If you are interested in the Nike+ iPod API, there is a much more up-to-date blog you may want to have a look at.  It’s called Running Tracker.  I’ve been subscribed to the RSS feed of this site.  They’ve created a cross-platform desktop application to examine the data stored with Nike.  I know about their API changes through Running Tracker.

If you have come to this site about the API, by all means, use the code if you can– but also check out the Running Tracker site as it is more up-to-date on the subject than I have been.  Their application doesn’t use C#, but it might be able to help you out with more information.

Creative Commons License photo credit: marksteelenz

Filed Under: C# Coding, Running, Software Dev & Productivity

  • « Previous Page
  • 1
  • 2
  • 3
  • 4
  • 5
  • …
  • 7
  • Next Page »

Recent Posts

  • My Gig and the Imposter Syndrome
  • Getting Picked Last for Teams in PE
  • One Little Growth Opportunity at a Time
  • I’m sorry if I look like I know what I’m doing
  • New Years Reclamations