On Oct 6, 2008, at 11:16 AM, Andre Garzia wrote:

that appears very nice. I'd like to have it too. I've though about
building a WSDL parser but this appears much cooler. We can use the
new 3.0 arrays for the data models.

Hey Andre,

Yes, it seems like a nice framework but I was hoping that I wouldn't have to write it from scratch :-)

Thrift looks interesting in that it generates all of the source code for a language based on the Thrift file. You can create a Thrift definition file and then Thrift generates the source code required for interacting with your web service for a number of languages.

The problem is that if your language isn't supported then it is kind of a pain. For example Evernote uses Thrift for their API so all of the required source code for interacting with their API is provided in C++, Ruby, Python, C#, PHP, etc. Since Revolution isn't included I have to find/write a Thrift library and then recreate the auto generated code (based on PHP or C for example) by hand.

If no libraries exist already I'm thinking of trying to throw together a Revolution version based off the PHP version. The other route would be an external wrapped around the C++ Thrift code. There is a PHP extension but if your server doesn't have it installed then the code falls back to a pure PHP version.

Regards,

--
Trevor DeVore
Blue Mango Learning Systems
ScreenSteps: http://www.screensteps.com
Developer Resources: http://revolution.bluemangolearning.com
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to