0.1. Project History

GregLawson edited this page Aug 9, 2011 · 3 revisions

The project history is a bit confused as my goal form the beginning was a Ruby Rails application, but I started not knowing either ruby or Rails. So I decided to learn first ruby, then Active Record, then Rails. All the time I was learning, I was writing code. Each time I decided to learn the next major topic, the code branched. As I was learning faster than the code was evolving, many functions were left behind at each branch.

  1. The first version (postgres branch) was some ruby scripts to collect home energy consumption data and store it in a postgresql database.
  2. The next rewrite was when I decided it was silly to write database access routines for postgresql, when Active Record already existed.
  3. The third rewrite (activerecord branch) occurred when I got tired of writing similar custom code for each data source and decided table-driven design was more flexible than object inheritance. Active Record provides the tables.
  4. The fourth rewrite (master branch), in progress, is to merge all previous code fragments into Ruby Rails 3.
  5. The fifth rewrite (still master branch) creates a stream abstraction to regularize all the previous code.
Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.