[pygtk] Python and Orbit Examples

Pehr Anderson pehr at linfoo.eink.com
Wed Dec 6 16:53:55 EST 2000


Dear Folks,

I would highly recommend using XML-RPC as a minimally complicated
way to communicate data between your apps.

This might sound complicated but it really only means
	1. specify XML encodings for your data, use these throught your code
	2. open a socket on the target
	3. send an XML query and wait for an XML response
	4. parse the response

The beautiful thing about XML-RPC (remote proceedure call) is 
that it is just dirt simple. You open a socket, dump in 
human readable text, and wait for a human-readable response.
Everything gets completely defined somewhere and servers and
clients could be coded in *anything*! 
No complicated tools are required to implement any parts of
this system though you might want to look at how others 
parse XML rather than doing it all by hand.

And the best part is you'll have an app that anyone can understand.
No secret church of CORBA, COM or other "special tools".
XML is directly comprehensible by HUMAN BEINGS and that makes it
a sustainable encoding with simple tcp sockets for transport.

	-pehr


On Tue, Dec 05, 2000 at 06:32:17PM -1200, Rob Brown-Bayliss wrote:
> >or getting it to work with gnome-python, that is a bit more difficult.
> 
> Sounds a little ominous...
> 
> What I am doing (or planning at this stage) is to write a POS and Stock 
> management system for a small retail chain.
> 
> Would I be better of giving Pyhton a miss, or ditching the Corba idea? 
> 
> I have very little knowledge of linux programming, though I do have 
> years of basic programming on the Amiga (like 18 I think if include vic 20 and c64)
> and a few months VC++ on windows.  I have used Linux for 18 months now, and played
> a bit with C and a very very little with Python. 
> 
> I am confident I can tackle the task in either language, but I know python will be
> quicker to develop with.
> 
> I had looked to corba as a means of communicating between the stores, I could always
> use some form of file transefer, but it's not as elegant or nearly as real time.
> 
> 
> 
> 
> -- 
> 
>   Rob Brown-Bayliss
>  ---======o======---
> 
>   www.ZOOstation.cc
> 
> _______________________________________________
> pygtk mailing list   pygtk at daa.com.au
> http://www.daa.com.au/mailman/listinfo/pygtk




More information about the Python-list mailing list