Rails Services Module

69 views
Skip to first unread message

Matthias Frick

unread,
Oct 17, 2012, 7:29:42 PM10/17/12
to Ruby on Rails: Talk
Hi!

Currently I am doing my Master at the University of Applied Science in
Salzburg in Austria and I need a topic for my master thesis. Now I am
interested in what do you think about the topic "Services". I´d like
to programm a module maybe called activeservice or something like that
which could be included to a rails application. With this module or
patch it will be possible to add and remove external web services to/
from your rails application. It could be like a docking station for
different APIs or something similar. So now my question: What do you
think about my idea? Does rails needs such a feature or do you have
another idea what I could maybe develop within the scope of my master
thesis?

I would be happy for some responses! :)

Matthias

rubyonrailsx

unread,
Oct 19, 2012, 6:19:46 AM10/19/12
to rubyonra...@googlegroups.com
What's the difference between active_resource and the 'activeservice' you mentioned?

-- 
rubyonrailsx
Sent with Sparrow

Norbert Melzer

unread,
Oct 19, 2012, 7:45:35 AM10/19/12
to rubyonra...@googlegroups.com

Hasn't active resource been dropped in rails 3?

--
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 rubyonra...@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-ta...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Matthias Frick

unread,
Oct 22, 2012, 5:57:57 PM10/22/12
to rubyonra...@googlegroups.com
Hmm okay it seems that acitve_resource is quite the same.

What do you think about writing an SOAP wrapper for rails and compare the SOAP and REST Api's?

Martin Wawrusch

unread,
Oct 22, 2012, 6:11:12 PM10/22/12
to rubyonra...@googlegroups.com
Why don't you go more in a direction of automated API service documentation? For example, the guys at apiary.io do this by listening in on API calls and generating documentation from that (or at least that's the long term plan). Something like that would be very valuable for a lot of people and it could give you an easy in with SV start-ups if you want to. 

Comparing SOAP vs REST would be like comparing horse carts and cars...

Martin

--
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 rubyonra...@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-ta...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/rXmoSn5J-zQJ.

Matthias Frick

unread,
Oct 23, 2012, 11:23:06 AM10/23/12
to rubyonra...@googlegroups.com
Rails does not support an interface for external APIs? Or does it offers one?
For example you have to interact with the facebook graph api, twitter api, and others, is there a main basic end-to-end point for such api's?

Matt Jones

unread,
Oct 24, 2012, 10:05:56 AM10/24/12
to rubyonra...@googlegroups.com


On Tuesday, 23 October 2012 11:23:06 UTC-4, Matthias Frick wrote:
Rails does not support an interface for external APIs? Or does it offers one?
For example you have to interact with the facebook graph api, twitter api, and others, is there a main basic end-to-end point for such api's?


Not sure what you mean - the interaction with external services is typically done with gems. Some examples:


There's also a wide variety of gems that handle the lower-level details to make interacting with APIs easier, from HTTParty to RestClient to Faraday.

--Matt Jones

Matthias Frick

unread,
Oct 24, 2012, 7:36:20 PM10/24/12
to rubyonra...@googlegroups.com
yes i know these gems. but offers rails itself a layer to hook in such external APIs?
like a docking station, where you can register external services and so on..

matthias

Fabian Becker

unread,
Oct 24, 2012, 8:26:45 PM10/24/12
to rubyonra...@googlegroups.com
Matthias, the point is, that not everything has to come with Rails. Lets keep things modular and cleanly separated. Don't try to integrate everything into the Rails core when it can just as well be done withing a Gem.

--
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 rubyonra...@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-ta...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/t0KHFPfNtYAJ.

Matthias Frick

unread,
Oct 25, 2012, 7:19:34 PM10/25/12
to rubyonra...@googlegroups.com
hmm, i understand your opinion, but nowadays it would be very convenient to have so a docking station layer.. nearly every rails app interacts with external services, so I think it would be a great idea.. more other opinions? :)

Matt Jones

unread,
Oct 26, 2012, 8:26:45 AM10/26/12
to rubyonra...@googlegroups.com


On Thursday, 25 October 2012 19:19:34 UTC-4, Matthias Frick wrote:
hmm, i understand your opinion, but nowadays it would be very convenient to have so a docking station layer.. nearly every rails app interacts with external services, so I think it would be a great idea.. more other opinions? :)


What precisely is the "docking station layer" supposed to *do*? Perhaps some Readme-Driven Development would help clarify the idea:


--Matt Jones
Reply all
Reply to author
Forward
0 new messages