At the beginning, focus on similarities. As you advance, distinguish.
The apps I'm going to be analyzing are part of Dr. Charles Severance's MOOC on Python and Databases and work together according to the following structure (which applies both in this specific case and more generally to any application that creates and interprets a database using online data). The data source, in this case, is Google's Google Maps Geocoding API. The "package" has two components: geoload.py and geodump.py . geoload.py reads a list of locations from a file -- addresses for which we would like geographical information -- requests information about them from Google, and stores the information on a database ( geodata.db ). geodump.py reads and parses data from the database in JSON, then loads that into a javascript file. The javascript is then used to create a web page on which the data is visualized as a series of points on the world-map. Dr. Severance's course focuses on Python, so I'm only going to work my way through ...
Comments
Post a Comment