From: <rt...@sy...> - 2003-08-25 05:47:42
|
Wari, How would you compare Webware to Twisted? Is Twisted overkill for creating web applications? Would you say webware+PSP/Cheetah or Twisted is more efficient in creting web apps? Stability problems on either one? Thanks, Richard >-----Original Message----- >From: web...@li... >[mailto:web...@li...] On Behalf >Of Wari Wahab >Sent: Sunday, August 24, 2003 10:03 PM >To: Aaron Held >Cc: Webware discuss >Subject: [Webware-discuss] Running with mod_python > > >On Sat, 2003-08-23 at 01:48, Aaron Held wrote: >> Its actually very easy and I have done it a bunch of times, if you >> scan the Webware email list you will see some examples posted. > >I've only one thing to say: > >Damn you! Aaron, you've sold me to webware!! :) > >I've been downloading, and reading webware materials (not enough of it >though), joined the mailing list, and will probably try to sell this to >my boss so that I can replace the annoying PHP version that we had >(unfortunately, that's not likely to happen though, based on the R&D >we've spent on PHP). Anything that's not PHP and can serve more than 10 >requests per second on a Cyrix 200Mhz is ok in my book :) > >It is one of the solutions that I see as a good compromise >between, say, >twisted and PHP (yeah, my colleagues thinks PHP is the best thing since >sliced bread). On one hand, twisted will force you to think of building >non blocking scripts with their reactor, and woven is not something I'd >call straight forward. PHP is too straight forward, and since it's >script based, it is easy to think of your code as simple scripts that >runs from top to bottom. > >WebKit and PSP allows you to code like PHP, yet you could add more >thought to it and make (upgrade?) your scripts to live >objects. I wished >that I have known Python and Webware 2+ yrs ago, and I won't be in this >mess I have right now, which is, bad code, workarounds, etc inherent in >PHP. > >There are downsides to Webware too, though, > > * it is one of the systems that killed my 200Mhz box, freezing it, no >clue why, not sure if it's webware, or python that freezes it. Running >on a screen session is ok though. I'll have to investigate this, and >goodbye to my almost 1 yr uptime :) > * it needs a better startup model like twisted does, that is, >fork off, >detach from parent, produce a pid file, and logs should/may go to >somefile, depending on settings. > * tried to compile the documentation with epydoc (yeah I know it's not >meant for that) does not produce the relevant docs I need (not >really an >issue, but epydoc is a nice doc tool IMO) > * Is UserKit usable yet? > >Anyway, looks like I need to do a simple presentation and a sample wiz >bang (but small) app to show how things work in a app server >environment. > >Expect more questions from me :) > > >------------------------------------------------------- >This SF.net email is sponsored by: VM Ware >With VMware you can run multiple operating systems on a single machine. >WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines >at the same time. Free trial click >here:http://www.vmware.com/wl/offer/358/0 >_______________________________________________ >Webware-discuss mailing list >Web...@li... >https://lists.sourceforge.net/lists/listinfo/webware-discuss > > |