Hi,
I'm currently working on a data analysis project that involves analysing and then injecting to my main database data held on a number of different remote servers. My main RoR application is basically a web viewer for the analysed data but it is also going to be used to configure the data analysis on the remote machines.
I'm currently using the settings plugin found at Beautiful Pixel (Search results for: Settings) (see the 4 posts about the settings plugin) and it works nicely.
What I would like to be able to do is have small ruby apps located on the remote machines that utilise this settings plugin and my activerecord models to work out what data to analyse and then to inject the results into my database. The scripts will be run periodically as cron jobs or something similar.
Is it possible to utilise these aspects of my RoR application in remote scripts? Would it be better to build controllers into the RoR app and the scripts just call these controllers via xmlrpc, soap or as http requests to deal with data entry etc.?
I'm quite new to projects of this size and so any advice would be greatly appreciated.
Thanks in advance, Toby