clinstid / energydash

Energy Monitor Web App
Apache License 2.0
2 stars 2 forks source link

Add data access object layer to abstract DB from apps #1

Open clinstid opened 11 years ago

clinstid commented 11 years ago

envir_collector.py----------v energydash_app.py --> DAO <-- energydash_statsd.py

clinstid commented 11 years ago

In the data access layer, need to deal with autoreconnect errors:

pymongo.errors.AutoReconnect

clinstid commented 11 years ago

Oops, wrong button. This is still open. :)

clinstid commented 11 years ago

Also need to add use of aggregate to minimize the amount of data manipulation in python.