Python Desktop Server Weblog 23.2.2004

a picture of myself

Münsterland.org

2004-02-23

Programming by Contract for Webservices

The CVS version of Toolserver Framework For Python has an experimental addition for programming by contract concepts for webservices. The idea is to get better spec'ed remote APIs that are much more robust to abuse and much more stable when running as a service. The title links to a short description on how that feature is used.

One nice benefit of the architecture is that database transactions that are hooked to the toolserver with the new transaction hooks will be automatically rolled back if a contract is broken, as with any other exception in the system!

This post references topics: python
posted at 19:29:20    #
 

Programmers ... sigh ...

Python 2.3 Idle isolates the Python interpreter process and communicates via RPC between Idle and the interpreter. The programmers even stored the port number in a variable and allways access the variable when using the port number. So far, so good. They just forgot to hook up a command line option to the port variable, or make it accessible via options or .rc file or environment variable or anything that the user can change - so only one user can use idle with process separation, as the next user starting Idle will get a port in use. This is so stupid. Of course, there are never multiple users working on one system, if you install a multi user system on your machine, right? And of course, if you have a multi user operating system with a network transparent GUI system, you would never think of multiple programmers working on one machine, right? Unsmiley
This post references topics: python
posted at 11:16:32    #
February 2004
MoTuWeThFrSaSu
       1
2 3 4 5 6 7 8
9101112131415
16171819202122
23242526272829
Jan
2004
 Oct
2004

This is the Python Desktop Server weblog.


(Donations will be used by the author to buy stuff, fullfill selfish wishes or do other silly recreational things. You have been warned.).
The PyDS is
OSI Certified Open Source Software

Python Powered

XML-Image

© 2004-2007, Georg Bauer