Re: [Webware-discuss] Fun with forms

2008-01-28 Thread Ian Bicking
Matt Feifarek wrote: > On Jan 20, 2008 8:33 PM, Ian Bicking <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > The option no one seems to consider, but which I continue to advocate, > is using FormEncode with htmlfill and ad hoc templates to generate

Re: [Webware-discuss] Fun with forms

2008-01-21 Thread Ian Bicking
Matt Feifarek wrote: > On Jan 4, 2008 6:55 PM, Mark Phillips <[EMAIL PROTECTED] > > wrote: > > > > FormKit is not really actively maintained either. > > Is this sort of thing passe at this point? What approach is up to date? > > > As one of the two authors o

Re: [Webware-discuss] CheetahKit, CheetahComponent and FEComponent

2006-12-07 Thread Ian Bicking
Christoph Zwerschke wrote: > michelts wrote: >> I done some corrections on the FEComponent (to do form validation with >> formencode), I will upload all these stuff to the svn tree ok? > > You should probably ask Ian Bicking about FEComponent. But anyway I have >

Re: [Webware-discuss] IRC Channel

2006-08-15 Thread Ian Bicking
t was on FreeNode, but I don't think there's anyone hanging out there now. -- Ian Bicking | [EMAIL PROTECTED] | http://blog.ianbicking.org - Using Tomcat but need to do more? Need to support web services, security? Ge

Re: [Webware-discuss] thread._processing/processing

2006-06-30 Thread Ian Bicking
report on > sourceforge? I don't think the thread management code was every really filled out or used for anything, so it would not be surprising if there was dead code in there. -- Ian Bicking | [EMAIL PROTECTED] | http://blog.ianbicking.org Using Tomcat but need to do more? Need to su

Re: [Webware-discuss] Dead threads: detection and recovery Oliver Bock

2006-06-21 Thread Ian Bicking
Wheeler, Richard wrote: > Why not parse the python code fragments before executing them and insert a > check for a stop event in the beginning of each loop. It could even force a > loop counter of some type that would allow the main thread to force the > worker thread to stop processing through a

Re: [Webware-discuss] Dead threads: detection and recovery

2006-06-20 Thread Ian Bicking
destruct the entire process when that happens. Using the reloader or something like supervisor (http://www.plope.com/software/supervisor) the process can come back up after being taken down. -- Ian Bicking | [EMAIL PROTECTED] | http://blog.ianbicking.org ___

Re: [Webware-discuss] monitor_url.py

2006-05-28 Thread Ian Bicking
http://www.plope.com/software/supervisor -- it can also handle the log file and changing users. -- Ian Bicking | [EMAIL PROTECTED] | http://blog.ianbicking.org --- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully

Re: [Webware-discuss] How to manage database connections efficiently?

2006-03-09 Thread Ian Bicking
t sure if pooling is generally good or not -- per-thread connections seem a bit safer and otherwise just as good. -- Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org --- This SF.Net email is sponsored by xPML, a groundbreakin

Re: [Webware-discuss] How to manage database connections efficiently?

2006-03-09 Thread Ian Bicking
Sophana Kok wrote: I'm a webware beginner. I would like to use sqlobject with webware and kid. If you are using SQLObject, it handles the connections for you. -- Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org ---

Re: [Webware-discuss] egg + AutoReload = problem

2006-03-07 Thread Ian Bicking
Christoph Zwerschke wrote: Ian Bicking wrote: In theory it should work; loading from zips is implemented with ihooks. But it requires that any added ihook defer to existing ihooks, and if it is doing file lookup it needs to use the PEP-specified technique. Are you refering to PEP 302? As

Re: [Webware-discuss] egg + AutoReload = problem

2006-03-03 Thread Ian Bicking
Christoph Zwerschke wrote: Ian Bicking wrote: One thing that's been discussed is simply dropping the ihooks part -- polling sys.modules for changed modules works without any tricks. (Of course, you can also turn off installing of zip files, and install the unpacked egg -- this give

Re: [Webware-discuss] egg + AutoReload = problem

2006-03-03 Thread Ian Bicking
, if I do the following import ihooks ihooks.install(ihooks.ModuleImporter()) then I cannot import any python eggs afterwards. Maybe Ian Bicking or others with more expertise can confirm this and propose a solution (replace ihooks with something different)? One thing that's been discuss

Re: [Webware-discuss] possible bug in URLParser.py parseIndex method

2006-02-22 Thread Ian Bicking
if qs: qs = "?" + qs raise HTTPMovedPermanently( webkitLocation=trans.request().urlPath() + "/" + qs) Yes, your change looks right. Updated in r4767. -- Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org

Re: [Webware-discuss] RE: Configuring webkit in IS v6

2006-02-08 Thread Ian Bicking
applications, but that's largely a separate issue). You can get a basic layout with: paster create --template=webkit NewApplication cd NewApplication paster serve docs/devel_config.ini -- Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org

Re: [Webware-discuss] does anyone know?

2005-10-23 Thread Ian Bicking
guration file. I fixed that, and turned it to daemon mode (instead of inetd), and it seems to be working now. -- Ian Bicking | [EMAIL PROTECTED] | http://blog.ianbicking.org --- This SF.Net email is sponsored by the JBoss Inc. Get Cert

Re: [Webware-discuss] Printing from web application

2005-09-21 Thread Ian Bicking
converting HTML to PDF on the server, it's mostly predictable. Of course, if you can't find *any* HTML->PDF converter that is predictable in the ways you want (e.g., pagination) then it's a problem. -- Ian Bicking / [EMAIL PROTECTED] / http://b

Re: [Webware-discuss] Printing from web application

2005-09-20 Thread Ian Bicking
good pointers), but I'd be interested in anyone else's experiences. -- Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo Ap

Re: [Webware-discuss] +1 Attaboy for Mark and Webware 0.9b1

2005-07-15 Thread Ian Bicking
Mark Phillips wrote: The commit list isn't on there, though. I suppose you liked to tease the animals in the zoo when you were a kid, too. ;-) Won't "svn log" give you the whole list? That's better than an archive, it seems... except no inline diffs.

Re: [Webware-discuss] +1 Attaboy for Mark and Webware 0.9b1

2005-07-15 Thread Ian Bicking
commit list isn't on there, though. -- Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward art

Re: [Webware-discuss] posting data to an external site

2005-07-05 Thread Ian Bicking
eally they aren't that different. -- Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforwar

[Webware-discuss] Checkins and mailing lists

2005-06-02 Thread Ian Bicking
aste-users, sqlobject-discuss, webware-devel, and webware-discuss; it should have a complete history, and has full text indexing and browsing. It's relatively easy to add other lists as well (I figure there's better ways to get the checkin history, so those aren't archived)

[Webware-discuss] Looking for a contractor

2005-05-26 Thread Ian Bicking
se include information about your rate and availability. Thanks! -- Ian Bicking / Senior Developer / [EMAIL PROTECTED] Imaginary Landscape LLC / 773-275-9144 / 5121 N. Ravenswood Ave. --- This SF.Net email is sponsored by Yahoo. Introducing Yah

[Webware-discuss] ANN: ZPTKit 0.2

2005-05-26 Thread Ian Bicking
This announces the 0.2 release of ZPTKit. ZPTKit helps make Zope Page Templates easy and reliable to use with Webware. Changes in 0.2 -- Note: no public APIs were changed with this release. * Fixed problem where macro templates were not being cached. * Now caches all templates

Re: [Webware-discuss] FEComponent and FormEncode problem

2005-05-25 Thread Ian Bicking
ython and validate_python... Anyway, any validator extended from FancyValidator has a to_python method. .to_python() is the public API; FancyValidator adds some things like ifEmpty, notEmpty, and ifInvalid to that, and calls ._to_python() to do the real validation. -- Ian Bicking / [EMAIL PROT

[Webware-discuss] Re: [FE-discuss] Re: FEComponent

2005-05-25 Thread Ian Bicking
Maybe svn.w4py.org is better; colorstudy.com has been having problems. If you want to send me a username and password (offlist ;), or a line for htpasswd, I can add you. -- Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org --- SF.N

[Webware-discuss] Re: [FE-discuss] Re: FEComponent

2005-05-25 Thread Ian Bicking
Document loads the page that was written and rewrites the form with htmlfill. But anyway, it looks pretty easy to use, and I like parseDocument is very output-neutral. It would be good to get this in a public repository. I can't remember if I ever set you up with svn access for FormEnco

Re: [Webware-discuss] Using more than one Component at a time?

2005-05-24 Thread Ian Bicking
uitively) like the right solution, but I just don't know how to make it work. It's basically a combination of mix-ins (_servletMethods) and events. -- Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org --- This SF.N

Re: [Webware-discuss] ZPTKit and standard_template question

2005-05-21 Thread Ian Bicking
t all. I just committed changes to ZPTKit's trunk (r2536) that reuse templates much more actively. I think I can actually rip out large parts of templatetools and zptcomponent, but I just made the minimal changes for now. -- Ian Bicking / [EMAIL

Re: [Webware-discuss] FormEncode and ZPTKit

2005-05-20 Thread Ian Bicking
"/> to put it in the containing page. A little crude; it's more elegant if the entire page went through htmlfill. Of course, it'd be even more efficient if ZPT's internal structure (since it must have some structure for the tags) wasn't serialized into text until after

Re: [Webware-discuss] ZPTKit and standard_template question

2005-05-20 Thread Ian Bicking
. What's the difference between a template with a macro and one without? -- Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first softwar

[Webware-discuss] WSGIKit renamed as Python Paste

2005-04-22 Thread Ian Bicking
epository: http://svn.pythonpaste.org/Paste/trunk/ * New package name: paste -- Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT

Re: [Webware-discuss] Component and Exceptions

2005-04-21 Thread Ian Bicking
f not result or result == 'break': return result -- Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from re

Re: [Webware-discuss] LoginKit

2005-04-21 Thread Ian Bicking
don't know. (True, False, "maybe"). -- Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Di

[Webware-discuss] Re: [FE-discuss] FEComponent

2005-04-19 Thread Ian Bicking
dator package is correct. -- Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org --- This SF.Net email is sponsored by: New Crystal Reports XI. Version 11 adds new functionality designed to reduce time involved in creating, integrating

[Webware-discuss] Re: [FE-discuss] FEComponent

2005-04-18 Thread Ian Bicking
y I'm getting a 404 from this URL: The package could be found in http://www.ebanda.com.br/fecomonent.tgz, there is the component itself, a formpage (like the ZPTPage on the zptkit example) and a Test.py, this is a servlet using the fecomponent... -- Ian Bicking / [EMAIL PROTECTED

Re: [Webware-discuss] Component and properties.

2005-04-17 Thread Ian Bicking
lete it in sleepEvent -- unfortunately you can't really attach a property to another class, just due to the nature of Python descriptors. -- Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org --- SF email is sponsored by - The IT Pro

Re: [Webware-discuss] wsgikit

2005-04-13 Thread Ian Bicking
ng up, though the majority of our Webware code is using 0.8.1. WSGIKit includes a fair number of tests, and I've encountered very few problems in my own use. -- Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org --- SF email is spo

Re: [Webware-discuss] WSGIKit to-do tutorial

2005-04-09 Thread Ian Bicking
t.html) actually does give some new features, but that's usable with WSGIKit or Webware. -- Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on h

Re: [Webware-discuss] WSGIKit to-do tutorial

2005-04-09 Thread Ian Bicking
Scott Russell wrote: On Sat, 2005-04-09 at 03:33 -0500, Ian Bicking wrote: I've finished a simple tutorial on how to use WSGIKit to build a simple to-do application. You can find it at: Ian, Thanks for that - if you have any spare time, could you also do a version of a similar tutorial

[Webware-discuss] WSGIKit to-do tutorial

2005-04-09 Thread Ian Bicking
t apps are pretty easy to get started with, just a few simple commands. -- Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Prod

[Webware-discuss] New WSGIKit example

2005-04-03 Thread Ian Bicking
o fit the tutorial). Any suggestions welcome. -- Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Disco

[Webware-discuss] New in WSGIKit: application templates

2005-04-02 Thread Ian Bicking
usable now, and I think it actually can be really helpful for both new and experienced developers -- it's always best to document convention through code. -- Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org --- SF email is s

Re: [Webware-discuss] Component 0.1

2005-03-28 Thread Ian Bicking
ervlets from a single abstract servlet that implemented the specific form logic. -- Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundr

Re: [Webware-discuss] Cherrypy like mapping for webware

2005-03-26 Thread Ian Bicking
environ.get('PATH_INFO', '')) if username is None: return p.not_found(environ, start_response) environ['app.user'] = username environ['SCRIPT_NAME'] += '/' + username environ['PATH_INFO'

[Webware-discuss] WSGIKit, status, the sprint

2005-03-25 Thread Ian Bicking
t to make a plan for 1.0 of WSGIKit, avoiding hovering at 0.X. Cheers... -- Ian Bicking | [EMAIL PROTECTED] | http://blog.ianbicking.org --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT P

[Webware-discuss] ANN: ZPTKit 0.1

2005-03-18 Thread Ian Bicking
I'm happy to release ZPTKit 0.1. ZPTKit helps make Zope Page Templates easy and reliable to use with Webware. Homepage: http://imagescape.com/software/ZPTKit/ Download: http://imagescape.com/software/ZPTKit/ZPTKit-0.1.tar.gz Source repository: http://svn.webwareforpython.org/ZPTKit/trunk Dis

Re: [Webware-discuss] Files served by Webware (.htc)

2005-03-16 Thread Ian Bicking
.html -- Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to

[Webware-discuss] Component 0.1

2005-03-16 Thread Ian Bicking
inKit This release is actually spurred by a package I'll be releasing that depends on Component, and I feel silly giving that package a release and version number when it depends on something without a release or version. -- Ian Bicking / [EMAIL PROTECTED] / http://blog.ianb

Re: [Webware-discuss] Files served by Webware (.htc)

2005-03-16 Thread Ian Bicking
, I'm guessing it's being served with a different mime type in Webware -- look at the standard Python mimetypes library for information on registering the type of .htc files. (You can do the registration in your context's __init__.py) -- Ian Bicking / [EMAIL PROT

Re: [Webware-discuss] FWIW: my way to use cheetah with webware

2005-03-15 Thread Ian Bicking
es), and would be a nice, reasonably scalable shared session. And we all have databases of one sort or another (at least if we're worried about this kind of scaling), so it seems like an easy solution. SessionFileStore would probably be the simplest example to base this on. -- Ian Bicking

Re: [Webware-discuss] Some notes on porting from Webware to Skunkweb

2005-03-08 Thread Ian Bicking
n coming to the PyCon WSGIKit sprint -- heck, maybe SkunkWeb already is a WSGI server, I haven't checked). You'd still have to make changes to your application if it's using any threaded assumptions (like storing global state in global variable). -- Ian Bicking

Re: [Webware-discuss] FormKit Alpha release

2005-03-03 Thread Ian Bicking
nd you shouldn't have to reimplement the other parts of the system at that point. -- Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundre

Re: [Webware-discuss] FormKit Alpha release

2005-02-28 Thread Ian Bicking
to_python. Then there's an API for creating validator objects, but the rest of the framework really doesn't need to know about that; so there could be meaningful alternate implementations that provide some benefit on that end, while providing the same interface on the other end. -

Re: [Webware-discuss] FormKit Alpha release

2005-02-28 Thread Ian Bicking
. It also has a bunch of extra validators. -- Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users.

Re: [Webware-discuss] Recipes for using TAL with WebKit

2005-02-25 Thread Ian Bicking
r this, but it's not open source at the moment. I expect it will be... I'll give another shout out to the management about it. -- Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org --- SF email is sponsored by - The IT

[Webware-discuss] WSGIKit repository moved

2005-02-23 Thread Ian Bicking
uture. -- Ian Bicking | [EMAIL PROTECTED] | http://blog.ianbicking.org --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hy

Re: [Webware-discuss] WebKit not compiling

2005-02-23 Thread Ian Bicking
m not actually restarting like I think I am. Very frustrating. I don't think I've had any problems related to .pyc files, though -- though if your clock is screwy that could certainly happen (since .pyc files are compared to the .py files by modification date). -- Ian Bic

Re: [Webware-discuss] Improvements to Webware after v0.9?

2005-02-19 Thread Ian Bicking
7;t follow very well. Though it's kind of fuzzy... if Webware is just a package with a per-instance installation script, do the instances have to conform to policy? I'm not sure. -- Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org --

Re: [Webware-discuss] Running servlets from .pyc files

2005-02-18 Thread Ian Bicking
ilesToServe' in Application.config, and also removing it from 'FilesToIgnore', but that just sends the .pyc file directly to the browser. You'll have to fiddle with ServletFactory, which currently is set to only server .py files (leaving UnknownFileServletFactory to serve .pyc files).

Re: [Webware-discuss] QL

2005-02-08 Thread Ian Bicking
ces help, but even then I find the result frustrating. -- Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real us

Re: [Webware-discuss] Database ORM's

2005-02-07 Thread Ian Bicking
f custom SQL queries. I'd find that tedious, but if you are going to write custom SQL then I'm sure that's a helpful way to organize the SQL. It's a lot different from Python ORMs, and I think I'd find it a bit clunky. In a way it almost reminds me of Zope&#x

[Webware-discuss] WSGIKit/Webware/WSGI sprint

2005-02-03 Thread Ian Bicking
WSGIKit parity with Webware's features through framework-neutral WSGI middleware, so anyone who is interested in Python framework development and WSGI is very welcome. -- Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org --

Re: [Webware-discuss] Pycon sprint for WSGIKit: configuration

2005-02-03 Thread Ian Bicking
Eric Radman wrote: On 23:09 Tue 01 Feb , Ian Bicking wrote: BTW, I have written a config parser with WSGIKit in mind, but I haven't plugged it into anything yet. I described some of the features here: http://blog.ianbicking.org/2005-01-wsgikit-config.html I don't think

Re: [Webware-discuss] Pycon sprint for Webware?

2005-02-02 Thread Ian Bicking
Tom Schwaller wrote: On Tue, 2005-02-01 at 16:18 -0600, Ian Bicking wrote: Winston Wolff wrote: Is anybody here going to be going to Pycon? Care to do a sprint on Webware? Would be nice, but I'm not in DC this year. Maybe a "Python Web framework Unification" sprint would be

Re: [Webware-discuss] Pycon sprint for Webware?

2005-02-01 Thread Ian Bicking
-- includes a really thorough exception formatter, but not as a seperate component I'm not sure if Mongoose is multi-thread aware, it looks like its settings are process-wide, which isn't what I want. But it has some good ideas -- I like the incident identifier. PyCrash is kind of XMLish

Re: [Webware-discuss] Pycon sprint for Webware?

2005-02-01 Thread Ian Bicking
gs, traffic logs) and make it all configurable. Which gets back to configuration, which is pretty important to all this and quite missing from WSGIKit at this point. -- Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org --- T

Re: [Webware-discuss] Pycon sprint for Webware?

2005-02-01 Thread Ian Bicking
Geoffrey Talvola wrote: Ian Bicking wrote: Winston Wolff wrote: Is anybody here going to be going to Pycon? Care to do a sprint on Webware? I'm planning on PyCon and the sprint; I'll be presenting on WSGIKit (with an emphasis on WSGI and middleware). I have to admit, I get frustrated

Re: [Webware-discuss] Pycon sprint for Webware?

2005-02-01 Thread Ian Bicking
ldn't feel immediately capable of. -- Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. S

Re: [Webware-discuss] Pycon sprint for Webware?

2005-02-01 Thread Ian Bicking
:( -- any interest in WSGIKit-related sprinting? -- Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&

Re: [Webware-discuss] WSGIKit and Webware

2005-01-29 Thread Ian Bicking
aders, cookies, and so forth. This is solidly part of the webkit portion of WSGIKit, along with parsing the request. But even then it's pretty small -- parsing the request is done mostly with the cgi module, and the response is pretty simple. • Write HTML This is WebKit.

Re: [Webware-discuss] Re: Example WSGIkit Application?

2005-01-21 Thread Ian Bicking
f wsgikit.webkit.wkpage.Page, you've created a WSGI application, it just also happens to be a Webware servlet. -- Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org --- This SF.Net email is sponsored by: IntelliVIEW -- Interact

Re: [Webware-discuss] Webware performace

2005-01-21 Thread Ian Bicking
edged threads (rather than the entire process segfaulting, or the entire process becoming wedged), this would handle that situation. -- Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org --- This SF.Net email is sponsored by: Intell

Re: [Webware-discuss] Webware performace

2005-01-21 Thread Ian Bicking
not to share C-based resources between threads. More specifically, not to share a database connection between threads, but instead key them with one connection per thread. This is how Zope does it, and it gets by pretty well with a threaded server. -- Ian Bicking / [EMAIL PROTECTED]

Re: [Webware-discuss] Example WSGIkit Application?

2005-01-21 Thread Ian Bicking
context. fbar's apps are all particularly simple. -- Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&

Re: [Webware-discuss] Please try my AllTests.py

2005-01-13 Thread Ian Bicking
. It got really, really bad at one point, and they said they would fix it, and they did, but only by putting it back in the somewhat-bad state of being a few hours behind instead of a few days. But maybe it's getting worse again. -- Ian Bicking / [EMAIL PROTECTED] / http://blog.ianb

Re: [Webware-discuss] Webware and WSGIKit development

2005-01-10 Thread Ian Bicking
Winston Wolff wrote: Where is this repository? svn://webwareforpython.org/Component (& /LoginKit) -- w4py.org and webwareforpython.org are the same machine. -- Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org --- The SF

Re: [Webware-discuss] Webware and WSGIKit development

2005-01-06 Thread Ian Bicking
Which I think is exactly the same as exposed(). I thought I put that in Component.CPage, but I can't find it now, so maybe I left it out. -- Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org --- The SF.Net email is sponsored

Re: [Webware-discuss] Webware and WSGIKit development

2005-01-04 Thread Ian Bicking
clean up all sorts of edges ultimately, then it might be a good fit. If you are focused on your project, and Webware is just a useful tool, then maybe not; but then, you probably wouldn't be active in this discussion if that was the case. There's also a middle ground, where you both so

Re: [Webware-discuss] Webware and WSGIKit development

2005-01-04 Thread Ian Bicking
an a platform choice. Which I think is a good way to ask users to make that choice. The way things are now, it's more about weighing the shortcomings rather than looking for the advantages. -- Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org

Re: [Webware-discuss] Improvements to Webware after v0.9?

2005-01-03 Thread Ian Bicking
o CVS. I could move WSGIKit over to svn://w4py.org -- Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from Thin

Re: [Webware-discuss] Experience to share: using WebWare, DocumentTemplate , HTMLGrid

2004-12-31 Thread Ian Bicking
ecessarily relate to the inheritance structure of servlets. It's not that one way is "right", it's just in my experience that it's ended up easier to keep templates separate. -- Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org -

[Webware-discuss] Re: DocumentTemplate for query building

2004-12-30 Thread Ian Bicking
quot;... WHERE userName = %s", (userName,)) Note the lack of '. The database driver will do the proper quoting for you, and protect against SQL injection. Lots of people aren't aware of this functionality, so I thought it should be noted for the bene

Re: [Webware-discuss] Improvements to Webware after v0.9?

2004-12-30 Thread Ian Bicking
tible with the WSGI standard? Michael Yes, WSGI (and WSGIKit) supports threaded servers. The Twisted server is threaded, and Eric has also tried a WSGIUtils server: http://www.owlfish.com/software/wsgiutils/ which is also multithreaded. -- Ian Bicking / [EMAIL PROTECTED] / http://blog.ianb

Re: [Webware-discuss] Experience to share: using WebWare, DocumentTemplate , HTMLGrid

2004-12-30 Thread Ian Bicking
NameMapper, but also allowing arbitrary python expression. The macro system (METAL) is a much better way to apply styles than including headers and footers. In the past I've used Cheetah some, but not PSP. -- Ian Bicking / [EMAIL PROTEC

Re: [Webware-discuss] Experience to share: using WebWare, DocumentTemplate , HTMLGrid

2004-12-29 Thread Ian Bicking
e statement . Our experience with DocumentTemplate is, as I said before, that it performs *fast* ... One of the reasons is, I suspect without knowing the exact inner workings, that it loads some template in RAM and 'parameter instantiation/substitution' is a memory-only

Re: [Webware-discuss] Improvements to Webware after v0.9?

2004-12-29 Thread Ian Bicking
reach that point reasonably quickly, because the architecture is easier to test. Progress so far has been quite good -- which isn't to say it's developed super-fast, but I haven't put a ton of time into it either. -- Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.or

Re: [Webware-discuss] Experience to share: using WebWare, DocumentTemplate , HTMLGrid

2004-12-29 Thread Ian Bicking
thon, where DTML is interpreted). ZPT is definitely slower than them all. ZPT is also available separate from Zope, and I've used them a great deal with Webware, quite successfully I think. -- Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org ---

Re: [Webware-discuss] Web pages as objects

2004-12-27 Thread Ian Bicking
art(object, attr): # Maybe use getattr or something else return object[attr] -- Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of

Re: [Webware-discuss] Created Mandrake RPM for Webware 0.8.1

2004-12-27 Thread Ian Bicking
already be set up for Mandrake, I don't know it's configuration style). Any further ideas on how to better package Webware as an RPM would be appreciated. -- Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org --- SF email

[Webware-discuss] Webware consultants

2004-12-08 Thread Ian Bicking
webwareforpython.org/webwareconsultantscontractors.html The current list: * Chuck Esterbrook * Andrey V Khavruchenko * Aaron Held * Ian Maurer * Maksim F Ischenko * Brad Bollenbach * Terrapin Technologies, Inc. -- Ian Bicking / [EMAIL PROTECTED] / http:/

Re: [Webware-discuss] XML-RPC in browsers

2004-12-02 Thread Ian Bicking
you entity-encoded it or something. Anyway, XMLRPCServlet is a fairly thin wrapper -- if you read the source it should be easy to understand. You could use some of the same mechanism in your servlet without involving xmlrpclib. -- Ian Bicking / [EMAIL PROTECTED] / h

Re: [Webware-discuss] How to kill a app ?

2004-12-01 Thread Ian Bicking
icodeDecodeError', 'UnicodeEncodeError', 'UnicodeError', 'UnicodeTranslateError', 'ValueError', 'ZeroDivisionError'] >>> help(ImportError) Help on class ImportError in module exception

Re: [Webware-discuss] How to kill a app ?

2004-12-01 Thread Ian Bicking
except ImportError, e: self.writeln("Error; missing package.%s" % e) -- Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on

Re: [Webware-discuss] Wiki needs to be rolled back

2004-11-29 Thread Ian Bicking
found. If you notice any more, please tell me. Right now there's no web-accessible way to revert pages, but I'll try to get that into the next version (which I'm working on right now) -- Ian Bicking / [EMAIL PROTECTED] / h

[Webware-discuss] TaskKit tasks and exceptions

2004-11-24 Thread Ian Bicking
Has anyone written a Task subclass that catches unexpected exceptions and emails reports on them? -- Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org --- SF email is sponsored by - The IT Product Guide Read honest & ca

Re: [Webware-discuss] How are you guys dealing with web security?

2004-11-12 Thread Ian Bicking
27;s always easy to check permissions, even if in theory the user couldn't have gotten to a form unless they were permitted. You could probably use sessions in that case as well. Often I do the permission check in awake(), and use class attributes to define the al

Re: [Webware-discuss] The incredibly capable serverSidePath function

2004-11-12 Thread Ian Bicking
uld be a configuration value. -- Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner

[Webware-discuss] WSGIKit / WSGI Webware

2004-11-11 Thread Ian Bicking
ed, you can run: python path/to/wsgikit/twisted_wsgi.py -p 8080 path/to/Context/ To start up the server on port 8080. -- Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org --- This SF.Net email is sponsored by: Sybase ASE Linux Express

Re: [Webware-discuss] FieldStorage, ampersands, and XHTML

2004-11-10 Thread Ian Bicking
o resolve entities before following the URL. So if you htmlEncode the URL before putting it in an href attribute, it should still be decoded by the time the browser visits that URL. -- Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org -

  1   2   3   4   5   6   7   8   9   10   >