PyTCPWrap - TCP Wrapper for python
Describe the new page here.
Dummy Classes (defined by the implementation language)
ples intends to provide a common conceptual framework for developing REST interfaces to SQL databases in the Perl, Python and PHP scripting languages. The modules will first be designed and defined in terms of UML to provide a language independent framework to work from. The "UML" notation used doesn't necessarily comply with any recognised standard and has been modified so that it can easily be published and edited on-line.
The following basic functionality will be rendered by a ples database interface :
Example of a Java REST interface to a SQL database
Have a look at the screen shots from sqlrest project to get an idea of how the interface should work.
REST is an acronym for "representational state transfer" - terminology coined for the first time by Roy Fielding in his dissertation. REST is neither a "standard" nor a "protocol" - it is an architectural style or convention. Paul Prescod defines a REST web service aptly as "a web service that delivers its functionality entirely as a set of URI-addressable resources using the syntax and semantics of the HTTP protocol" - visit prescod.net for more information and some comparisons to SOAP and XML-RPC.
This project was inspired in part by sqlrest- a Java based REST project hosted at Source Forge.
The advantages of a REST based web service are simplicity, security and scalability. It doesn't rely on a special protocol layer such as SOAP or XML-RPC and exposes its API dynamically in terms of XML encoded data and links to XML encoded data. It uses a simplified set of semantics as defined in the HTTP protocol i.e. a reduced instruction set of GET, PUT, POST and DELETE. Simple firewall configurations can be used to protect and control access to data.
What is ples? >> ples is a set of ReSTful HTTP interfaces to commonly used Open Source databases for the Perl, Python and PHP scripting languages. An application exposes its database to other applications as a REST web service i.e. URI-addressable resources. ples will provide a simple HTTP based mechanism for interoperability between applications and databases over networks and the Internet.
What is ples-utils? >> A hodgepodge of simple, small but very useful programs written in Perl, Python or PHP. For example - untill quite recently there was no way to access hosts.deny/allow from within Python - now we have PyTCPWrap, courtesy of the ples project.
Please help us to build a solid conceptual framework for this project. Also visit the Source Forge project page for the usual stuff about contacting and joining the development team.