You are not logged in.
Pages: 1
does anyone have any experience with this stuff? I'm talking non-cgi stuff - like Zope, Twisted, CherryPy, Spyce, and the like - there's about 50 of them...
It's difficult to find comparissons of them. To me, Spyce looks the best, the problem is it looks like a real PITA to setup... CherryPy might be worth checking out too.
What do you think?
Offline
Hmmm CherryPy == Ruby on Rails, python style...
from cherrypy import cpg
class Test:
def index(self):
yield "Check mate!"
index.exposed = True
cpg.root = Test()
#cpg.server.start() #8080 by default
cpg.server.start(configMap={'socketPort':80})
and then "python checkmate.py"... bam, you got a web server
edit: more Rails-esque stuff:
from cherrypy import cpg
class Test:
def index(self):
yield "Check mate!"
def foo(self,arg="no arg parameter passed in"):
yield "arg = "+arg
index.exposed = True
foo.exposed = True
cpg.root = Test()
#cpg.server.start() #8080 by default
cpg.server.start(configMap={'socketPort':80})
http://phrakture.homelinux.net/foo
http://phrakture.homelinux.net/foo?arg=some%20arg
Offline
Rails!!
"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍
Offline
shouldn't there be a spyce pkgbuild in AUR [I know I know]
Offline
Pages: 1