3

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.

Josh
  • 5,631
  • 1
  • 28
  • 54

2 Answers2

4

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.

Josh
  • 5,631
  • 1
  • 28
  • 54
rudolph9
  • 8,021
  • 9
  • 50
  • 80
  • Just what I needed, thanks! Googling Sinatra gave me this link -- [http://www.digitalhobbit.com/2009/11/08/building-a-twitter-filter-with-sinatra-redis-and-tweetstream/#comment-446954226] – Josh Feb 28 '12 at 21:33
0

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

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

Community
  • 1
  • 1
junky
  • 1,480
  • 1
  • 17
  • 32
  • 1
    Ruby on Rails in a popular framework, but it is far from the only option, and not necessarily right for all apps/devs. Especially in @Josh's case I would probably recommend [sinatra](http://sinatrarb.com) if it's a simple script he's trying to put online. – lyonsinbeta Apr 20 '12 at 23:04