Mashup at your own risk

I have a site using the funky timeline javascript from the MIT.

SIMILE Timeline Documentation

The timeline is great, but tonight as I shipped a new build of my app to the server I was clicking ont he pages and noticed the timeline was broken, I'd not changed the code so this I wasn't expecting...

Basically what's happened is the server hosting all the Javascript has gone offline - not so good for idiots like me who have gone and just included the JS files remotely - my app is being crippled by this outage of someone else's server, that's not a position I should ever allow myself to get into.

So - if you do plan to use third party content inside your apps be they maps or timelines or even Flickr feeds, make sure you can rely on their stability or host all the content yourself because if you dont you'll get burnt like I have tonight.

It's a valuable lesson to learn.

This is even more interesting when I think about the YUI-EXT framework form Yahoo when they state one of the benefits is that it's centrally hosted so clients will only have to download it once, their servers may not go down but "yahoo.com" could be blocked on a firewall or there could be other routing issues.

Blergh - I feel so stupid for not having hosted the Timeline files myself - I now can't even get them from the server as that's on the same machine as the documentation and script files! :-(

That's a real benefit of Atlas and other such frameworks - your site generates the script out, it's not externally linked to - a massive benefit.

Edit - As I published this piece the site came back up and I greedily downloaded all the source code.

Published Sunday, January 14, 2007 6:06 PM by Plip
Filed under: , , , ,

Comments

# re: Mashup at your own risk

Sunday, January 14, 2007 5:02 PM by Will Green

YUI-EXT is NOT a framework from Yahoo. It's built by Jack Slocum, and contains additional functionality built on top of the YUI, which is from Yahoo.

Secondly, please provide a reference to where you read that YUI or YUI-EXT (whichever you may be referring to) claim that one of the benefits is that it is centrally hosted. Both Yahoo and Mr. Slocum prominently offer downloads of their code (Mr. Slocum even allows you to configure just how much or how little of his code you want to download and use), and demonstarte how to include it in your page. The YUI documentation specifically demonstrates inclusion from a relative path.

I know this is a Microsoft hosted blog, but please at least do a little bit of fact-checking before promoting Microsoft products by publishing demonstrably false information about competing products.

# re: Mashup at your own risk

Sunday, January 14, 2007 5:31 PM by Plip

Will,

Sorry you've taken such offence at my post, it certainly wasn't intended.

I was in no way attacking Yahoo with this post, the same "issue" could be said for any of the mapping sites, it was just an example.

The reference I had for the fact it could be hosted therefore only downloaded once was at a usergroup meeting from someone presenting the framework, that was given as an advantage of it.

I'd love to mail you back and chat at this however you did not leave contact details or a URL.

Thanks for leaving the comment.

Kind Regards,

Phil.

# re: Mashup at your own risk

Sunday, January 14, 2007 5:44 PM by Will

Sorry, my post came off a bit harsh.

I realize that you were just trying to warn folks that if they use external data, or code, that they should be prepared to handle the case when that data or code is unavailable.

I have yet to use the YUI for any Ajax stuff, but I must say that the power provided by their Reset-Fonts-Grids CSS combo is quite powerful. I now lay out sites in hours, not days.

Their widgets are quite handy as well. I recently created a tabbed form using nothing but Fieldsets and an unordered list (all semantic and degrades gracefully when Javascript or StyleSheets are unavailable).

I'm in awe of what Yahoo has done with their YUI toolkit, and what folks like Mr. SLocum have done to extend it. Perhaps a bit too in awe, sometimes...

# re: Mashup at your own risk

Friday, January 19, 2007 4:54 AM by Joel Hammond-Turner

Just curious - are you using the timeline directly, or have you done something wonderful like wrap it up nicely in an ATLAS control? *G*

# re: Mashup at your own risk

Friday, January 19, 2007 11:50 AM by Plip

Joel,

I'm using the timeline directly with a bit of JS to load it.

Phil.

# re: Mashup at your own risk

Tuesday, January 30, 2007 9:22 AM by Joel Hammond-Turner

Damn - Guess I'll have to write a wrapper then! *G*

Joel

Leave a Comment

(required) 
(required) 
(optional)
(required)