@@ -18,9 +18,10 @@ The following is most of the Rpclib jargon:
1818* **Transports: **
1919 Transports, also protocols themselves, encapsulate protocol data in their
2020 free-form data sections. E.g. Http is used as a transport for Soap, by
21- tucking a Soap message in the Http byte-stream. Whereas the HttpRpc protocol
22- exposes Http as a protocol. One could use Soap as a transport by tucking a
23- message in its base64-encoded ByteArray container.
21+ tucking a Soap message in the Http byte-stream part of a Http POST request.
22+ The same Http is exposed as a "protocol" using the :class: `rpclib.protocol.http.HttpRpc `
23+ class. One could use Soap as a transport by tucking a protocol message in its
24+ base64-encoded ByteArray container.
2425
2526 Transports are separated to two packages in Rpclib source code:
2627 :mod: `rpclib.client ` and :mod: `rpclib.server `.
@@ -41,18 +42,18 @@ The following is most of the Rpclib jargon:
4142* **Serializers: **
4243 Serializers can be considered mostly as apis around hiearchical key-value
4344 stores. Various xml apis like ``lxml.etree.Element ``, Python's own
44- ``xml.etree.ElementTree ``, or pickle, simplejson, YaML and the like fall in this
45- category. They're a little bit more difficult to abstract away because each has
46- their own strenghts and weaknesses when dealing with complex, hiearchical data
47- with mixed types.
45+ ``xml.etree.ElementTree ``, or apis around pickle, simplejson, YaML and the like
46+ fall in this category. They're a little bit more difficult to abstract away because
47+ each has their own strenghts and weaknesses when dealing with complex, hiearchical
48+ data with mixed types.
4849
4950 Serializers are currently not distinguished in rpclib code. lxml.etree is
5051 used as xml serializer, and a custom wsgi callable is used as http serializer.
5152
5253How your code is wrapped
5354------------------------
5455
55- A typical user of the Rpclib will just write methods that will be exposed as
56+ A typical Rpclib user will just write methods that will be exposed as
5657remote procedure calls to the outside world. The following is used to wrap that
5758code:
5859
@@ -81,15 +82,15 @@ code:
8182
8283 .. NOTE :: You might know that rpclib is a generalized version of a
8384 soap library. So inevitably, some artifacts of the Soap world creep in
84- from here and there .
85+ from here and there.
8586
86- And, namespaces are another artifact of the Xml world. There are varying
87+ Namespaces are another artifact of the Xml world. There are varying
8788 opinions about the usefulness of the concept of the namespaces in Xml,
8889 but we generally think it to be A Nice Thing, so we chose to keep it
8990 around.
9091
91- When instantiating the application, you should also give it a
92- targetNamespace (the ``tns `` argument to the :class: ` Application ` constructor)
92+ When instantiating the :class: ` rpclib. application.Application ` , you should also
93+ give it a targetNamespace (the ``tns `` argument to its constructor)
9394 string and an optional application name (the ``name `` argument to the
9495 :class: `Application ` constructor), which are used to generally distinguish your
9596 application from other applications. While it's conventionally the URL and
0 commit comments