tobyclemson-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2007-Aug-02 09:47 UTC
Difficult RoR Project...
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 http://beautifulpixel.com/search?q=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 --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
tobyclemson-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2007-Aug-02 10:31 UTC
Re: Difficult RoR Project...
Ok, after thinking about it a little more, it makes sense to use either a web service like XML-RPC or SOAP or take the RESTful approach. I have used XML-RPC before but not the RESTful approach. How do you call a method on the server when using REST from say a script that runs on a linux box? Is it possible? Does it make more sense just to use XML-RPC for this? Thanks, Toby On Aug 2, 10:47 am, "tobyclem...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org" <tobyclem...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> 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 athttp://beautifulpixel.com/search?q=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--~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
You mean activeresource ? On 8/2/07, tobyclemson-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org <tobyclemson-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > Ok, after thinking about it a little more, it makes sense to use > either a web service like XML-RPC or SOAP or take the RESTful > approach. > > I have used XML-RPC before but not the RESTful approach. How do you > call a method on the server when using REST from say a script that > runs on a linux box? Is it possible? Does it make more sense just to > use XML-RPC for this? > > Thanks, > Toby > > On Aug 2, 10:47 am, "tobyclem...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org" <tobyclem...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > wrote: > > 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 athttp://beautifulpixel.com/search?q=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 > > > > >-- Cheers! - Pratik http://m.onkey.org --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
tobyclemson-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2007-Aug-02 10:56 UTC
Re: Difficult RoR Project...
Could you elaborate? I haven''t used activeresource before... Thanks, Toby On Aug 2, 11:35 am, Pratik <pratikn...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> You mean activeresource ? > > On 8/2/07, tobyclem...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org <tobyclem...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > > > Ok, after thinking about it a little more, it makes sense to use > > either a web service like XML-RPC or SOAP or take the RESTful > > approach. > > > I have used XML-RPC before but not the RESTful approach. How do you > > call a method on the server when using REST from say a script that > > runs on a linux box? Is it possible? Does it make more sense just to > > use XML-RPC for this? > > > Thanks, > > Toby > > > On Aug 2, 10:47 am, "tobyclem...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org" <tobyclem...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > > wrote: > > > 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 athttp://beautifulpixel.com/search?q=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 > > -- > Cheers! > - Pratikhttp://m.onkey.org--~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
http://www.google.co.uk/search?hl=en&client=firefox-a&rls=org.mozilla%3Aen-GB%3Aofficial&hs=pFY&q=rails+activeresource+tutorial&btnG=Search&metahttp://dev.rubyonrails.org/browser/trunk/activeresource/README On 8/2/07, tobyclemson-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org <tobyclemson-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > Could you elaborate? I haven''t used activeresource before... > > Thanks, > Toby > > On Aug 2, 11:35 am, Pratik <pratikn...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > You mean activeresource ? > > > > On 8/2/07, tobyclem...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org <tobyclem...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > > > > > > > > > Ok, after thinking about it a little more, it makes sense to use > > > either a web service like XML-RPC or SOAP or take the RESTful > > > approach. > > > > > I have used XML-RPC before but not the RESTful approach. How do you > > > call a method on the server when using REST from say a script that > > > runs on a linux box? Is it possible? Does it make more sense just to > > > use XML-RPC for this? > > > > > Thanks, > > > Toby > > > > > On Aug 2, 10:47 am, "tobyclem...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org" <tobyclem...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > > > wrote: > > > > 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 athttp://beautifulpixel.com/search?q=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 > > > > -- > > Cheers! > > - Pratikhttp://m.onkey.org > > > > >-- Cheers! - Pratik http://m.onkey.org --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
tobyclemson-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2007-Aug-02 11:21 UTC
Re: Difficult RoR Project...
Thanks. On Aug 2, 12:01 pm, Pratik <pratikn...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> http://www.google.co.uk/search?hl=en&client=firefox-a&rls=org.mozilla...http://dev.rubyonrails.org/browser/trunk/activeresource/README > > On 8/2/07, tobyclem...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org <tobyclem...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > > > Could you elaborate? I haven''t used activeresource before... > > > Thanks, > > Toby > > > On Aug 2, 11:35 am, Pratik <pratikn...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > You mean activeresource ? > > > > On 8/2/07, tobyclem...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org <tobyclem...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > Ok, after thinking about it a little more, it makes sense to use > > > > either a web service like XML-RPC or SOAP or take the RESTful > > > > approach. > > > > > I have used XML-RPC before but not the RESTful approach. How do you > > > > call a method on the server when using REST from say a script that > > > > runs on a linux box? Is it possible? Does it make more sense just to > > > > use XML-RPC for this? > > > > > Thanks, > > > > Toby > > > > > On Aug 2, 10:47 am, "tobyclem...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org" <tobyclem...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > > > > wrote: > > > > > 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 athttp://beautifulpixel.com/search?q=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 > > > > -- > > > Cheers! > > > - Pratikhttp://m.onkey.org > > -- > Cheers! > - Pratikhttp://m.onkey.org--~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
tobyclemson-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2007-Aug-02 12:11 UTC
Re: Difficult RoR Project...
I''m using rails 1.2. How do I get hold of activeresource? Is there a plugin? Or do I have to go on edge? On Aug 2, 12:21 pm, "tobyclem...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org" <tobyclem...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Thanks. > > On Aug 2, 12:01 pm, Pratik <pratikn...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > >http://www.google.co.uk/search?hl=en&client=firefox-a&rls=org.mozilla... > > > On 8/2/07, tobyclem...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org <tobyclem...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > Could you elaborate? I haven''t used activeresource before... > > > > Thanks, > > > Toby > > > > On Aug 2, 11:35 am, Pratik <pratikn...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > You mean activeresource ? > > > > > On 8/2/07, tobyclem...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org <tobyclem...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > > Ok, after thinking about it a little more, it makes sense to use > > > > > either a web service like XML-RPC or SOAP or take the RESTful > > > > > approach. > > > > > > I have used XML-RPC before but not the RESTful approach. How do you > > > > > call a method on the server when using REST from say a script that > > > > > runs on a linux box? Is it possible? Does it make more sense just to > > > > > use XML-RPC for this? > > > > > > Thanks, > > > > > Toby > > > > > > On Aug 2, 10:47 am, "tobyclem...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org" <tobyclem...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > > > > > wrote: > > > > > > 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 athttp://beautifulpixel.com/search?q=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 > > > > > -- > > > > Cheers! > > > > - Pratikhttp://m.onkey.org > > > -- > > Cheers! > > - Pratikhttp://m.onkey.org--~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---