title: How can i create an object that dynamically updates as data changes in a SQL database?
body: <p>This is the situation. I would like to create a diagram, where each of the elements (nodes) would contain some information. This information would dynamically update (AJAX, socket.io,etc.) based on its real-time status. The data would be stored in a SQL database.</p>
  
  <p>Basically, I am using ORION to monitor a bunch of servers, so I have a custom view in a SQL database with the results of its monitoring (CPU, Memory, Networking, etc.) These values are constantly changing. </p>
  
  <p>I want to create what I will call here a "Node". Each "Node", will have different fields (Name, CPU, Memory, Networking, IP Address). So, I would like to be able to have the dynamic values update in real-time to reflect the current status of the machine. Hopefully this clearly shows what I want to do.</p>
  
  <p>I think the best way to create each object would be to give each one a JSON data format, probably use a JavaScript library like Raphael, Joint.js, or Infovis from thejit.org to draw the shapes, and then use a library like socket.io to create a "tcp-like" connection for continuous data streaming.</p>
  
  <p>I have some idea of how this could work with a table, but I want to use a user-friendly GUI. I built a working model using Visio, but would WAY rather keep it all on the web (also very slow refresh rate in Visio).</p>
  
  <p>Please help anyone...</p>