UpYourAlley

Just an update from my previous post. I’ve updated my little mashup to be a lot faster than it was and I still have a few optimizations in mind to speed it up even more. Also the site now handles any UK location (well the ones which google maps can geocode into a longitude and latitude) and finally I gave it a humorous name (well I found it funny).

Here’s the link again: UpYourAlley give the site a few seconds to load the markers and the same applies when you click on any marker.

Still there are a few little bugs and niggles that I need to sort out:

  • If more than one venue is at the same location then only one is currently shown.
  • The marker manager code I have isn’t as efficient and smart as I would like especially when scrolling around the map.
  • I would like to be able to filter (on a search) events by category i.e. movies, arts, gigs etc…, but that should be trivial.
  • More user feedback when loading data and handling failure when the users location cannot be geocoded.
  • Plus more, more and then some more…

For those who care about why it’s faster now…. I previously generating the data set completely in PHP on the server-side, but as each api request was made in series to PA the time taken to gather just the venue data took around 15 seconds and when factoring in the events data for each venue this grew to minutes. So when I rewrote the site (waiting for Top Gear at 9pm on sunday night – I thought it started at 8pm!) I set all the requests* to be sent asynchronous from the client using jquery and surprise surprise everything ran faster, although more bandwidth is used and more requests are made in total.

* The requests are still proxied through PHP to PA as I strip out and sort some data as well as hiding the API key that I use.

One thought on “UpYourAlley”

Comments are closed.