I just finished a first alpha version of my first "real" Ruby on Rails
project, Platfom Health Viewer.
My main goal is to make data visualizations like "what was the CPU load
of our database system in the last 60 minutes?" or "How many user logins
were performed on our website in the last 24 hours?" lightweight and
simple to setup and display.
The main use case is to feed numeric data into the system using simple
HTTP calls, organizing this data to simple or combined data groups
(dubbed "tags"), and to create and manage a dashboard view of graphs
visualizing this data.
The application is build on Rails, the server used for data collection
is done in node.js, the web interface makes heavy use of jQuery and uses
Raphael for creating SVG graphs. Mass data is saved in an SQL db, other
data is stored using CouchDB.
I've created a short screencast showcasing the basic usage. A funny
voice and lots of grammatical shortcomings are included for free:
I would love to hear feedback from this list regarding the (Ruby) code.
Being new to Rails and Ruby, I'm still trying to get a feeling for what
the "best" Ruby/Rails way for certain scenarios is. You can find the
For example: Is /script the right place for my supporting bash scripts?
have to much logic?
Any feedback is highly appreciated.