RE: use thrift to create an interface from ruby to C++ and use it as webservice

2011-04-26 Thread Mark Slee
This is certainly doable with Thrift. Technically, it won't be a web service, as Thrift doesn't offer and off-the-shelf C++ HTTP server implementation. You would have to embed Thrift in another server if you want HTTP. It's worth noting that the C++ servers we have for Thrift are not really

Re: use thrift to create an interface from ruby to C++ and use it as webservice

2011-04-26 Thread Matias Hernandez Arellano
Thanks for your response... So, i get another idea: create a php/ruby interface to use the GET http method to specify the image that need to upload .. (http://myserver.dom/upload.php?file=/dir/to/image/image.jpeg i know this is not secure but this will work i guess) and this interface

RE: use thrift to create an interface from ruby to C++ and use it as webservice

2011-04-26 Thread Mark Slee
That should work fine, though it'll require you to write a bit more plumbing code for passing the image and file data around. Assuming the ruby/php webserver just takes care of this for you (which most of them do), it's probably not a bad approach. Thrift will make communicating between the

Re: use thrift to create an interface from ruby to C++ and use it as webservice

2011-04-26 Thread Matias Hernandez Arellano
Thanks for your time!!!... I will try this idea... Thanks again... and i let you know... Ah!!! .. is there any document to include (like a citation) in my thesis document? or just the whitepaper? El 26-04-2011, a las 18:17, Mark Slee escribió: This is certainly doable with Thrift.

RE: use thrift to create an interface from ruby to C++ and use it as webservice

2011-04-26 Thread Mark Slee
It's open source, you can just cite the code! Other than that, I suppose there's just the whitepaper. I wouldn't think a citation is really necessary for this sort of application, but feel free. -Original Message- From: Matias Hernandez Arellano [mailto:msd...@archlinux.cl] Sent:

Re: use thrift to create an interface from ruby to C++ and use it as webservice

2011-04-26 Thread Alex
On Tue, 26 Apr 2011 22:17:01 + Mark Slee ms...@fb.com wrote: It's worth noting that the C++ servers we have for Thrift are not really designed to be used on the open internet. They tend to assume that you are in a protected intranet environment, behind a firewall. What is it about them