radvisor
radvisor copied to clipboard
The source code to radvisor.net - an enhanced mobile interface for Resident Advisor events
Show the price of the event in the events list and allow to sort by price. This is useful when looking for free events.
As seen on https://github.com/codazzo/restfuladvisor/blob/master/public/javascripts/app/views/events.js#L50
Get rid of inconsistencies between server-side and client-side routes, like `/events/6122012` and `#/dates/6122012`
Remove the date from the URI and send it as a GET parameter. For example, turn `/events/6122012/` to `/events/?day=6&month=12&year=2012`
Right now `/` and `/events//` return the exact same content. Unify that and get rid of the duplicated code.
No 'uri' attribute in the returned JSON. This forces the client to guess the event detail URL, which causes too much coupling. Particularly dangerous if one day the event detail...
Something not so simple on mobile.
Accept the latitude and longitude parameters via GET to calculate the distance of each venue relative to the user and return the list of events sorted by distance.
A background process taking care of scrapping periodically in batch.
Have a `Club` entity (Model) to store it's info and reuse it. This is particularly useful when fetching geolocation information, do it on a per-event basis would be too expensive.