How to turn Ruby script into a web app

匿名 (未验证) 提交于 2019-12-03 00:57:01

问题:

I currently have a script that listens for geolocated tweets that include given keywords and then plots them on a Google Fusion Tables map.

I am not quite sure how this transfers to a web app. I would like an interface where users can type some keywords to search and then my app would open up a new instance of the Twitter streaming API listening for those keywords and plotting them on the map in real time.

I am having trouble wrapping my head around is where that background process 'lives'. Any insights would be great.

回答1:

The most straight forward way would be to use sinatra, you could also consider converting your app to Ruby on Rails, however take into consideration the great deal of getting started overhead associated with a rails app.



回答2:

The web application development environment for ruby is Ruby On Rails.

This will also help you: what is ruby on rails?



易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!