venue finder. this application provide up to date information of locations where particular music...
TRANSCRIPT
![Page 1: VENUE FINDER. This application provide up to date information of locations where particular music events are taking place on an specific date. The application](https://reader036.vdocuments.us/reader036/viewer/2022070404/56649f345503460f94c51a37/html5/thumbnails/1.jpg)
VENUE FINDER
![Page 2: VENUE FINDER. This application provide up to date information of locations where particular music events are taking place on an specific date. The application](https://reader036.vdocuments.us/reader036/viewer/2022070404/56649f345503460f94c51a37/html5/thumbnails/2.jpg)
This application provide up to date information of locations where particular music events are taking place on an specific date.
The application has been designed to be extremely easy to use
VENUE FINDER
![Page 3: VENUE FINDER. This application provide up to date information of locations where particular music events are taking place on an specific date. The application](https://reader036.vdocuments.us/reader036/viewer/2022070404/56649f345503460f94c51a37/html5/thumbnails/3.jpg)
THE GOOGLE CLOUD
![Page 4: VENUE FINDER. This application provide up to date information of locations where particular music events are taking place on an specific date. The application](https://reader036.vdocuments.us/reader036/viewer/2022070404/56649f345503460f94c51a37/html5/thumbnails/4.jpg)
The project is a mashup that has been developed in Python, one of the as the development languages for Google App Engine webapp framework.
It is using RESTful web services from: Last FM that provide a JSON or and XML feed, which is later displayed on a Google Map using Django templates.
THE APP
![Page 5: VENUE FINDER. This application provide up to date information of locations where particular music events are taking place on an specific date. The application](https://reader036.vdocuments.us/reader036/viewer/2022070404/56649f345503460f94c51a37/html5/thumbnails/5.jpg)
Music
Remix was initially used as a an alternate version of a song.
Mashup brings together elements of two or more songs, creating a new musical composition combining two or more songs.
Web 2.0
Mashup is an application that combines data from disparate sources.
MASHUP
![Page 6: VENUE FINDER. This application provide up to date information of locations where particular music events are taking place on an specific date. The application](https://reader036.vdocuments.us/reader036/viewer/2022070404/56649f345503460f94c51a37/html5/thumbnails/6.jpg)
Last FM: (geo.getEvents)gets all events in a specific location by country or
city name. Does not require authentication and the only required parameter is api_key.
XML feed translated into a JSON format with the
format=json parameters
Google Mapuses URL requests to access geocoding, directions,
elevation, places information from client applications and manipulate the results in JSON or XML.
THE WEB SERVICES
![Page 7: VENUE FINDER. This application provide up to date information of locations where particular music events are taking place on an specific date. The application](https://reader036.vdocuments.us/reader036/viewer/2022070404/56649f345503460f94c51a37/html5/thumbnails/7.jpg)
![Page 8: VENUE FINDER. This application provide up to date information of locations where particular music events are taking place on an specific date. The application](https://reader036.vdocuments.us/reader036/viewer/2022070404/56649f345503460f94c51a37/html5/thumbnails/8.jpg)
![Page 9: VENUE FINDER. This application provide up to date information of locations where particular music events are taking place on an specific date. The application](https://reader036.vdocuments.us/reader036/viewer/2022070404/56649f345503460f94c51a37/html5/thumbnails/9.jpg)
main.py
def post(self): venue = self.request.get('venue') artist = self.request.get('artist') logging.info('Searching for venue ='+venue)
if venue == '' or artist == '': doRender( self, 'search.htm', {'error' : 'Please specify a city and an artist'} )
else: liGeoLoc = query_artist(venue, artist) xLoc=(liGeoLoc[0])['geo:lat'] yLoc=(liGeoLoc[0])['geo:long']
WEB SERVICES: LAST FM
![Page 10: VENUE FINDER. This application provide up to date information of locations where particular music events are taking place on an specific date. The application](https://reader036.vdocuments.us/reader036/viewer/2022070404/56649f345503460f94c51a37/html5/thumbnails/10.jpg)
main.py
def query_artist(venue, artist):ArtistList = {}url = "http://ws.audioscrobbler.com/2.0/?
format=json&method=geo.getevents&location=%s&api_key=b25b959554ed76058ac220b7b2e0a026" % venue
venueResult = parseJSON(url)LiGeoLoc = []for diEvent in venueResult['events']['event']:if diEvent['title'].lower().find(artist.lower()) != -1:liGeoLoc.append(diEvent['venue']['location']['geo:point'])return liGeoLoc
WEB SERVICES: LAST FM
![Page 11: VENUE FINDER. This application provide up to date information of locations where particular music events are taking place on an specific date. The application](https://reader036.vdocuments.us/reader036/viewer/2022070404/56649f345503460f94c51a37/html5/thumbnails/11.jpg)
![Page 12: VENUE FINDER. This application provide up to date information of locations where particular music events are taking place on an specific date. The application](https://reader036.vdocuments.us/reader036/viewer/2022070404/56649f345503460f94c51a37/html5/thumbnails/12.jpg)
![Page 13: VENUE FINDER. This application provide up to date information of locations where particular music events are taking place on an specific date. The application](https://reader036.vdocuments.us/reader036/viewer/2022070404/56649f345503460f94c51a37/html5/thumbnails/13.jpg)
_base.htm
$(document).ready(function() { $('#map').jmap('init', { mapCenter:[53.347268,-6.259205], mapShowjMapIcon: false, mapZoom: 12, mapEnableScaleControl: true, mapControlSize: 'large' });$('#map').jmap('addMarker', {
pointLatLng:[{{xLoc}}, {{yLoc}}],
});
WEB SERVICES: GOOGLE MAP
![Page 14: VENUE FINDER. This application provide up to date information of locations where particular music events are taking place on an specific date. The application](https://reader036.vdocuments.us/reader036/viewer/2022070404/56649f345503460f94c51a37/html5/thumbnails/14.jpg)
DEMO
![Page 15: VENUE FINDER. This application provide up to date information of locations where particular music events are taking place on an specific date. The application](https://reader036.vdocuments.us/reader036/viewer/2022070404/56649f345503460f94c51a37/html5/thumbnails/15.jpg)
THE DEMO
![Page 16: VENUE FINDER. This application provide up to date information of locations where particular music events are taking place on an specific date. The application](https://reader036.vdocuments.us/reader036/viewer/2022070404/56649f345503460f94c51a37/html5/thumbnails/16.jpg)
THE DEMO
![Page 17: VENUE FINDER. This application provide up to date information of locations where particular music events are taking place on an specific date. The application](https://reader036.vdocuments.us/reader036/viewer/2022070404/56649f345503460f94c51a37/html5/thumbnails/17.jpg)
THE DEMO
![Page 18: VENUE FINDER. This application provide up to date information of locations where particular music events are taking place on an specific date. The application](https://reader036.vdocuments.us/reader036/viewer/2022070404/56649f345503460f94c51a37/html5/thumbnails/18.jpg)
THE DEMO
![Page 19: VENUE FINDER. This application provide up to date information of locations where particular music events are taking place on an specific date. The application](https://reader036.vdocuments.us/reader036/viewer/2022070404/56649f345503460f94c51a37/html5/thumbnails/19.jpg)
THE DEMO
![Page 20: VENUE FINDER. This application provide up to date information of locations where particular music events are taking place on an specific date. The application](https://reader036.vdocuments.us/reader036/viewer/2022070404/56649f345503460f94c51a37/html5/thumbnails/20.jpg)
THE DEMO
![Page 21: VENUE FINDER. This application provide up to date information of locations where particular music events are taking place on an specific date. The application](https://reader036.vdocuments.us/reader036/viewer/2022070404/56649f345503460f94c51a37/html5/thumbnails/21.jpg)
THE DEMO
![Page 22: VENUE FINDER. This application provide up to date information of locations where particular music events are taking place on an specific date. The application](https://reader036.vdocuments.us/reader036/viewer/2022070404/56649f345503460f94c51a37/html5/thumbnails/22.jpg)
Clouds alternative of Google App Engine would be other plaftorms such us Amazon EC2 or Windows Azure.
App Engine provides a restricted runtime environment but it also offers a runtime environment that scales indefinitely, and will scale as big as you want it to.
Azure provides a slightly less constrained environment, which lets you write a wider array of apps, but requires you to write more code
Amazon EC2 provides the ultimate do-it-yourself solution. They provide the hardware, and the storage, and not much else.
CLOUD ALTERNATIVES
![Page 23: VENUE FINDER. This application provide up to date information of locations where particular music events are taking place on an specific date. The application](https://reader036.vdocuments.us/reader036/viewer/2022070404/56649f345503460f94c51a37/html5/thumbnails/23.jpg)
THANKS
Ricardo José Flores Galán
10205403