Open main menu

CDOT Wiki β

Changes

BuildAPI

666 bytes added, 23:26, 18 November 2010
no edit summary
** Armen suggested that one student works on the first graph, and the other works on the second graph
** We will also be working on the documentation
 
* 0.3
** Be able to generate graphs, charts and CSVs from one of the databases based on CPU load and infrastructure load.
 
 
== What Needs to be Learned ==
* Pylons Framework
* BuildAPI database structure* Learned some Pylons, read chapters from The Definitive Guide to Pylons book and also have a practical understanding of the MVC model
* How to integrate GoogleAPI or another charting system with Pylons
** And also how json works with the templates
''Updated by Andrew Singh''
== Accomplishments ==
* Created my own "project" using a controller, model and template.
** The model uses the existing query.py file but I added my own queries.
** The controller is called project.py, imports my queries from the query.py file and renders the template project.mako with the query results
** I have removed the json because I do not fully understand it and I am taking it step by step
* BuildAPI set up on http://iraq.proximity.on.ca
* Python, Mysql-Python, Google Visualizations API, BuildAPI installed locally on a virtual machine on my laptop
* Databases installed from sql dump file
* Able to run in from both regularly and from a python virtual environment (used for testing)
* Created my own test script using a controller to display information from a selected table in the schedulerdb database
 
''Updated by Andrew Singh''
** Serving content on iraq.proximity.on.ca
 
''Updated by Andrew Singh''
== Project News ==
* November 18th, 2010
** Updated some information on the page
** Made substantial progress learning Pylons and MVC framework
 
* October 28th, 2010
* What has been done so far
** Please see my blog at: http://andrewasdesigned.blogspot.com/2010/10/beginning-previously-we-had-conference.html
1
edit