[C++] New Python sample
I checked in the beginning of a new Python sample, which shows how to use the REST binding to create/retrieve/update/delete Customer resources (to keep things simple there's no database, the Customers are store as XML documents on disk). I thought we had enough Ruby samples for now, so I did this one in Python. Andy's integration with Python ElementTrees works well, I found it really easy to use! The sample is not finished yet, it only creates/retrieves resources at the moment, I'll add support for update and delete next. -- Jean-Sebastien - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [C++] New Python sample
On 9/6/06, Jean-Sebastien Delfino [EMAIL PROTECTED] wrote: Andy, I checked in an initial version of Calculator which demonstrates your Python extension under http://svn.apache.org/repos/asf/incubator/tuscany/cpp/sca/samples/PythonCalculator/ . More work is necessary to make it complete, show a Python client, usage of SCA references in a Python component, and remove the .h files that are currently used to type interfaces, and complete the README, but this is a starting point... Sebastien , That looks great - I think it's better that we keep the samples separated rather than provide a million options on a single sample - that will only confuse people :-) Cheers Andy