On 8 Apr 2009, at 14:28, Adam Akhtar wrote:

>
>
>> Given that this is all client side, what would a rails implementation
>> be (maybe the odd helper function but the lack of them certainly
>> shouldn't stop you getting started).
>>
>> As far as your particular case goes all you need is something on the
>> page that every however often pings your controller to say 'do you
>> have any more data for me'. It would be wise to push the actual
>> scraping into a separate process
>>
>
> Thanks Frederick,
>
> cna you (or anybody reading this) provide me with some helper names or
> subject names that i should be investigating re: pining the  
> controller?
>
> is this a common rails thing?
>
> thanks so far for your help
>

To make things clear, pinging just means (in this context) make a  
request every so often. If you're using prototype PeriodicalExecuter  
is a good way to go (periodically_call_remote is a helper for that)


Fred
>
>
>
>
> -- 
> Posted via http://www.ruby-forum.com/.
>
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to