The Artima Developer Community
Sponsored Link

Ruby Buzz Forum
DNC Event Map

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page


Posts: 201
Nickname: cfis
Registered: Mar, 2006

Charlie Savage
DNC Event Map Posted: Aug 27, 2008 1:32 PM
Reply to this message Reply

This post originated from an RSS feed registered with Ruby Buzz by .
Original Post: DNC Event Map
Feed Title: cfis
Feed URL: http://cfis.savagexi.com/articles.rss
Feed Description: Charlie's Blog
Latest Ruby Buzz Posts
Latest Ruby Buzz Posts by
Latest Posts From cfis

Advertisement

One of the projects we've been working on for MapBuzz the last few weeks is building an interactive map that shows all the events going on in Denver during the Democratic National Convention.  Users can pick the event type and date they are interested in, and the map refreshes with icons for relevant events. By clicking on a given event, the user can see exactly where and when the event is taking place.  I think the map turned out pretty well - its a good example of mashup pulling data from different sources.   In this case, base maps from Google, event information from Zvents, and all rendering/styling/page from MapBuzz.

It did clarify my thinking on a few points.  First, Rails built-in page caching is really limited - it ignores query parameters and only works for html.   So we had to hack around that, more info coming in a later post.  Second, for building mashups xml really is superior to JSON simply because it supports namespaces (for all their pain points, namespaces really do facilitate merging of data from multiple sources).  Third, when you need it, xslt is invaluable.  Zvents serves its data using RSS, but our client only supports Atom. The simple solution was a quick xsl transformation to convert Zvent's rss feed over to Atom using libxslt (and thus MapBuzz's contribution back to the Ruby community to get the libxml and libxslt bindings back into good shape).

Read: DNC Event Map

Topic: Mini Sagas Previous Topic   Next Topic Topic: Book Of Ruby Free eBook - Chapter 7: methods, singletons and more...

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use