Ruby Help!!!
I really need help.
Can someone write me a step by step procedure on how to make a website retrieve data in real-time? I have a website with a graph already made and ruby on rails already set up and running.
I know there is a better way to make this work but I have to use these requirements in order to get it working.
SO I have this dynamically generated graph made with highgraphs. All I need to do is get information from a database and have it update the graph in real-time.
Highgraphs already updates the graph dynamically if I put in randomly generated numbers within the website itself. But I want to put in integers from a database(sqlite3).
I know I should use something like websockets or server sent events and I have to use the CRAMP framework (I know there are problems with CRAMP) to open some connections.
I need it to run in Linux virtual machine Ubuntu and I have to be able to test that everything works inside of my virtual machine.
I am having a major problem converting my data into readable data with json so my highgraph can process it.
And I am having a major problem with being able to test the whole thing.
I am very new to web development so I really need some help. I will pay! I just really need help getting the overall idea on how to make this happen.
|