| thefirstdude | I'm making an http server |
| ironfroggy | well, python includes an http server. |
| Xamusk | I'm taking a look at ConfigParser's help |
| thefirstdude | hmm, It's highly custom though |
| danderson | thefirstdude: import SimpleHTTPServer might interest you |
| ironfroggy | and there are at least a few others of varying design and capacity. at the very least, as a base. |
| danderson | don't be fooled by the "simple" |
| ironfroggy | you might be interested in Twisted. |
| danderson | it just means it doesn't know how to do much by itself. Not that you can't add the functionality :) |
| action | TheKrillr murders twisted. |
| TheKrillr | murders twisted. twisted raped by brain once a long time ago. *my |
| Xamusk | nice thing you said something about twisted... once I saw it could be used to pass objects through a network connection |
| danderson | Twisted has very high level, very complete servers for a lot of protocols. As you can see however, approval of twisted is not unanimous. |
| ironfroggy | unanimous it is not, but denied its power um.. also, not. |
| danderson | Xamusk: yeah, it has a few object serialization protocols |
| action | TheKrillr coughs |
| TheKrillr | coughs really twisted is awesome. just mind-bogglingly complex at times. and makes a lot of things for complicated than they need to be |
| ironfroggy | actually the move is away from serializing and onto asyncronous message passing (AMP). |
| Xamusk | danderson, I'll need that to pass some e-mail-like messages directly |
| TheKrillr | interestin. |
| danderson | oh, right. I was looking for that term. AMP. |
| ironfroggy | twisted can be complicated, but for most purposes its mind numbingly simple to toss in some callbacks and suddenly have a function server with custom protocols, or whatever else you need. their amp protocol is also implemented in Java and PHP, among others. |
| thefirstdude | I'm making an http server, but clients need to interact with each other and I need to pend requests |
| danderson | it makes a lot of things confusing when you want to do something fairly simple, and I find the docs very confusing as they present many ways to do the same thing, and are unclear as to what best practices are. |
| TheKrillr | ironfroggy: yes but its mind-bogglingly complicated to realize that simplicity due to the nature of twisted's design. |
| thefirstdude | and give dynamic responses based on the program state |
| danderson | but, I remember about a year ago I'd really gotten into twisted, and reached some kind of zen where it made perfect sense |
| ironfroggy | thefirstdude: at least take some time to evaluate twisted. it may be very good for you. |
| thefirstdude | I'm doing that right now :D |
| TheKrillr | danderson: lucky. i usually give up before i get there |
| ironfroggy | TheKrillr: i consider that documentation problems. |
| sproingie | if you think twisted is nasty, try perl's POE |
| action | TheKrillr avoids perl at all costs. |
| TheKrillr | avoids perl at all costs. |
| CSWookie | I think it would be cool if twisted had a way to say, "There's deferred craziness inside this function, but it's not getting out." |
| TheKrillr | >.> print "There's deferred craziness inside this function, but it's not getting out." slap that in a twisted app. there ye go. |