The Artima Developer Community
Sponsored Link

Python Buzz Forum
Unfinished Business I: Quick and Dirty Remote Objects

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Andrew Gross

Posts: 52
Nickname: arg
Registered: Jan, 2005

Andrew Gross is a Python programmer living in Cambridge, MA.
Unfinished Business I: Quick and Dirty Remote Objects Posted: Mar 9, 2005 3:04 AM
Reply to this message Reply

This post originated from an RSS feed registered with Python Buzz by Andrew Gross.
Original Post: Unfinished Business I: Quick and Dirty Remote Objects
Feed Title: argv0.net
Feed URL: http://www.pycs.net/users/0000445/weblog/rss.xml
Feed Description: a python programming journal by Andrew R. Gross
Latest Python Buzz Posts
Latest Python Buzz Posts by Andrew Gross
Latest Posts From argv0.net

Advertisement

This is the first in a series of posts I'll be writing as I go through my various stalled or aborted projects and decide their fate. I'm doing this for a couple reasons. One, to get rid of the mental baggage that goes along with such unfinished business. Two, committing some of this stuff to writing may help me sort out my thoughts, and soliciting the input of others can't hurt either. I'll describe the projects briefly, explain why I consider it unfinished, and consider whether to finish up or put it in the attic. I'm (finally) setting up a permanent SVN repository this weekend so I'll have a place to put this stuff.

The first thing I looked at is a dead-simple remote objects library using XML-RPC over netstrings. Remote connections are persistent, so it's a little faster than XML-RPC over HTTP. It's very small and lightweight and I've used it successfully for prototyping distributed systems. It also includes a netstrings parser written in Pyrex, which should be useful with or without the rest of the library.

Why It's Unfinished

The code needs a good refactoring - the project was initially a quick hack that was too useful for its own good. The library makes a naive attempt to propogate exceptions across the wire, but it doesn't work well enough to be useful. Also documentation is nonexistent, it needs to be distutil-ed, and some unit tests would be nice.

This one I think I'll actually finish up, mainly because it's relatively small in scope and close to being done already. I know the netstrings library will be useful to some people, too.

(Another advantage of releasing these things is that I can use them at work without handing over all the rights to my company. My non-compete agreement has all sorts of outrageous restrictions in it, many of which probably aren't legal, but I'm still careful about partitioning my time and not muddying the waters. (Hence waiting for the weekend to do this.).)

Read: Unfinished Business I: Quick and Dirty Remote Objects

Topic: Are Confirmation Dialogs Harmful? Previous Topic   Next Topic Topic: OnDemandAmazonList

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use