[Webware-discuss] sqlite usage

2006-03-29 Thread Mike Partin
are there any documents relating to using say sqlite from inside of webware? I haven't found any db docs on the webware site other than middlekit, which doesn't seem to be what I'm looking for. Any pointers to information would be appreciated. -

Re: [Webware-discuss] Have to restart context to see changes

2005-12-02 Thread Mike Baranski
Thanks! So, from this, it says it's very slow, causes weird errors, and generally should not be used. I can see why, since it starts a new instance and shuts it down for every page load. Is there another way to make changes show up right away? If not, how do you do your code/test/release cycle?

[Webware-discuss] Have to restart context to see changes

2005-12-02 Thread Mike Baranski
So, I'm testing some stuff, and I have to restart the server for my changes to servlets to show up. I've tried clearing the cache, but it does not help. Is there a way to not have to restart the server on my machine for each change? Thanks, Mike. -- Security Management Consulting

[Webware-discuss] Confused about contexts and URI's

2005-12-02 Thread Mike Baranski
index.html file, and pointing the browser to http://myserver/newdirectory This will drop me into the newdirectory 'context', and server-up the index page. Thanks, Mike. -- Security Management Consulting 2501 Blue Ridge Road Raleigh, N.C. 27607 Phone:(919) 788-9200 Fax: (919

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

2004-11-16 Thread mike
Huy wrote: What exactly do these attachks involve ? Are you talking about some sort of javascript attack ? or Robot like behaviour (DOS) ? here's a description: http://www.4guysfromrolla.com/webtech/061902-1.shtml --- This SF.Net email is sponsor

[Webware-discuss] Re: Webware vs. PHP - performance comparision!

2003-10-07 Thread Mike Orr
On Tue, Oct 07, 2003 at 11:13:21AM +0200, JZ wrote: > Hello Mike, > > Tuesday, October 7, 2003, 7:38:34 AM, you wrote: > > >> >> The same pages works fast, and the > >> >> same pages sometimes display after long delay. > > > Could it be the

[Webware-discuss] Re: [Cheetahtemplate-discuss] Re[2]: Webware vs. PHP - performance comparision!

2003-10-06 Thread Mike Orr
ay. Could it be the delay is happening the first time a new section is hit, causing a time-consuming import? I'm having this at a site I'm working on, and the delay is 30 seconds or more. The solution here would be to pre-import the modules before the users notice. -- -Mike Orr (aka. Slugg

[Webware-discuss] MiddleKit vs sqlobject

2003-09-04 Thread mike
I am just wondering whether somebody could briefly compare sqlbject (or any similar module) with MiddleKit. Personally, sqlobject looks to me more flexible for basic database operations, but it would be nice to know what others prefer to use with WebKit. Thanks, mike

RE: [Webware-discuss] localhost:8086/WebKit crashed

2003-09-04 Thread mike
h is either mod_webkit or a cgi-program. > You cannot connect directly with a browser to the AppServer on port > 8086 (or any other port). Or well you can but you get "bad marshall > data". Understood, but wouldn't be worth to handle this kind of error, so appserver w

[Webware-discuss] localhost:8086/WebKit crashed

2003-09-03 Thread mike
dloop File "WebKit\ThreadedAppServer.py", line 501, in handleRequest ValueError: bad marshal data06: mike --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___

[Webware-discuss] WebKit and Cheetah

2003-09-01 Thread mike
that template can be prepared by web designer without knowledge of WebKit)? Thanks, mike --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ Webware

Re: [Webware-discuss] content management

2003-04-12 Thread Mike Orr
t company I worked at, this just went by relative article order. The latest N items are featured on the home page, then they move to the right sidebar (now under their category), then eventually they fall off the home page and are accessible only in the index. -- -Mike (Iron) Orr, [EMA

Re: [Webware-devel] Re: [Webware-discuss] Documentation

2002-10-25 Thread Mike Warren
somewhere; what timezone are you in? I'm in Mountain Standard. (Calgary, Alberta). Cheers, - -- mike [at] mike [dash] warren [dot] com http://www.mike-warren.com> gpg --keyserver 80.71.227.37 --recv-key 579911BD 87F2 4D98 BDB0 0E90 EE2A 0CF9 1087 0884 5799 11BD -BEGIN PGP SIGN

Re: [Webware-devel] Re: [Webware-discuss] Webware documentation

2002-10-24 Thread Mike Warren
ning a new .html file, which should put you in html-mode right away after prompting for a title for your document... - -- mike [at] mike [dash] warren [dot] com http://www.mike-warren.com> gpg --keyserver 80.71.227.37 --recv-key 579911BD 87F2 4D98 BDB0 0E90 EE2A 0CF9 1087 0884 5799 11BD -B

Re: [Webware-devel] Bug database (was: Re: [Webware-discuss] Is there a roadmap to the next Webware release?)

2002-10-09 Thread Mike Warren
t rampantly emailing people whenever changes are made to bugs. - -- mike [at] mike [dash] warren [dot] com http://www.mike-warren.com> gpg --keyserver 80.71.227.37 --recv-key 579911BD 87F2 4D98 BDB0 0E90 EE2A 0CF9 1087 0884 5799 11BD -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.0 (GNU/Li

Re: [Webware-discuss] Newbie: need help with a few concepts.

2002-09-27 Thread Mike Orr
it handles multiple processes accessing the database simultaneously (as opposed to a multithreaded Webware application which is one process); but supposedly ZEO does such multiplexing. -- -Mike (Iron) Orr, [EMAIL PROTECTED] (if mail problems: [EMAIL PROTECTED]) http://iron.cx/ English * Espe

Re: [Webware-discuss] Newbie: need help with a few concepts.

2002-09-26 Thread Mike Orr
error messages or cached data. With PHP, you'd have to reinitialize it from source every transaction. With an application server, you can store them in module globals as Ian suggests, and they are "already there" for the next transaction. That's the kind of state Webware gives

Re: [Webware-discuss] Another Cheetah bit

2002-09-25 Thread Mike Orr
And Page.py is not a core part of Webware, it's merely one possible framework for those sites that find it convenient. -- -Mike (Iron) Orr, [EMAIL PROTECTED] (if mail problems: [EMAIL PROTECTED]) http://iron.cx/ English * Esperanto * Russkiy * Deutsch * Espan~ol ---

Re: [Webware-discuss] reloading source modules

2002-09-25 Thread Mike Orr
s restarted? Do they just time out? -- -Mike (Iron) Orr, [EMAIL PROTECTED] (if mail problems: [EMAIL PROTECTED]) http://iron.cx/ English * Esperanto * Russkiy * Deutsch * Espan~ol --- This sf.net email is sponsored by:ThinkGeek Welc

Re: [Webware-discuss] Adding info when forwarding requests

2002-09-23 Thread Mike Orr
nly one way to be right. It's also a useful way to hide away a bunch of error checkers, if the method checks for various conditions and raises an exception if found, or None otherwise. I usually call such methods check* . >-- -Mike (Iron) Orr, [EMAIL PROTECTED] (if mail problems: [EMAIL PR

Re: [Webware-discuss] Adding info when forwarding requests

2002-09-20 Thread Mike Orr
prohibit access to those servlets at the web server level (LOCATION+DENY, or mod_rewrite raising a forbidden error). -- -Mike (Iron) Orr, [EMAIL PROTECTED] (if mail problems: [EMAIL PROTECTED]) http://iron.cx/ English * Esperanto * Russkiy * Deutsch * Espan~ol --

Re: [Webware-discuss] distutils/setup.py

2002-09-20 Thread Mike Orr
On Fri, Sep 20, 2002 at 11:38:47AM -0400, Edmund Lian wrote: > > On 09/20/2002 11:15:07 AM Mike wrote: > > >In any case, if we decide not to put Webware in site-packages/, it > >should go into /usr/local/* by default if we're making a generic > >installer for sev

Re: [Webware-discuss] distutils/setup.py

2002-09-20 Thread Mike Orr
he local sysadmin have to right to install things into /usr . -- -Mike (Iron) Orr, [EMAIL PROTECTED] (if mail problems: [EMAIL PROTECTED]) http://iron.cx/ English * Esperanto * Russkiy * Deutsch * Espan~ol --- This sf.net email is sponsored b

[Webware-discuss] weakref

2002-09-12 Thread Mike Orr
ence it and print the original object's type and content. If the original object has died, it'll print None instead; I'm not sure what you'd do at that point, how you'd figure out what it used to be and where it came from. -- -Mike (Iron) Orr, [EMAIL PROTECTED]

Re: [Webware-discuss] Webware system-wide install ? (e.g. make install?)

2002-09-10 Thread Mike Orr
their official packages, because it's their system. -- -Mike (Iron) Orr, [EMAIL PROTECTED] (if mail problems: [EMAIL PROTECTED]) http://iron.cx/ English * Esperanto * Russkiy * Deutsch * Espan~ol --- This sf.net email is sponsored by:

Re: [Webware-discuss] Webware system-wide install ? (e.g. make install?)

2002-09-10 Thread Mike Orr
for that platform. There's no universal standard for documentation, but /usr/local/doc/webware and /usr/local/doc/webware/html is reasonable. There's also no standard for data files (servlets), but /home/webware may be reasonable based on the precedent of Apache's /home/htdocs . D

Re: [Webware-discuss] Webware system-wide install ? (e.g. make install?)

2002-09-08 Thread Mike Orr
On Sun, Sep 08, 2002 at 12:21:38PM -0700, Ray Leyva wrote: > On Sun, 8 Sep 2002 10:50:34 -0700 > [EMAIL PROTECTED] (Mike Orr) wrote: > > > - Installing Webware involves calling install.py at its final location > > > > This and most of the other issues would be

Re: [Webware-discuss] Webware system-wide install ? (e.g. make install?)

2002-09-08 Thread Mike Orr
ies only to FTP. I think Apache uses /home/htdocs as the default document root, but I've rarely seen a running Apache server configured this way. So there is a weak precedent for using /home/webkit as the default AppWorkDir. -- -Mike (Iron) Orr, [EMAIL PROTECTED] (if mail problems: [EMAIL

Re: [Webware-discuss] Webware system-wide install ? (e.g. make install?)

2002-09-08 Thread Mike Orr
s in, but I don't know if we need the complication of automating this. If the sysadmin runs MakeAppWorkDir, yeah, he will want to specify the ownership/group. > - mod_webkit (on Unix) or wkcgi (on Windows) could be installed or > not.

Re: [Webware-discuss] search engines

2002-08-17 Thread Mike Orr
I haven't used it, but it was supposedly added for search engines. I'm not sure if it's in the stable version or only in the 4.x alpha. -- -Mike (Iron) Orr, [EMAIL PROTECTED] (if mail problems: [EMAIL PROTECTED]) http://iron.cx/ English * Esperant

[Webware-discuss] Re: [Webware-devel] Testing/Servlet/Extra/Path/Info?

2002-08-13 Thread Mike Orr
e hierarchy non-portable, but it seemed like the best workaround in this case. The alernative would be to turn off ExtraPathInfo globally, but then I couldn't use it at all. -- -Mike (Iron) Orr, [EMAIL PROTECTED] (if mail problems: [EMAIL PROTECTED])

Re: [Webware-discuss] htmlEncode good for SQL?

2002-06-27 Thread Mike Orr
bit more quoting (e.g., around the placeholders in the query string). -- -Mike (Iron) Orr, [EMAIL PROTECTED] (if mail problems: [EMAIL PROTECTED]) http://iron.cx/ English * Esperanto * Russkiy * Deutsch * Espan~ol --

[Webware-discuss] Re: [Webware-devel] Fixing doc strings

2002-06-20 Thread Mike Orr
ing about reserving ''' for this is that it works through triple-quoted strings, so you don't have to make special arrangements every time a docstring begins or ends. (Yes, you can use "if 0:", but then you have to indent the whole block and it must be syntact

Re: [Webware-discuss] OT: Python editor recommendation?

2002-06-20 Thread Mike Orr
syntax. I wish the editors would agree on a common syntax for this. > It sure indents well, though. Indentation is the biggest reason I don't use emacs. It tries to be so smart that it won't let you override its opinion of where the line should start. But sometimes I want to put an

Re: [Webware-discuss] Webware news tracking site

2002-06-04 Thread Mike Orr
tures are needed or which could be designed better. I just program around it to make my applications compatible with its site framework. -- -Mike (Iron) Orr, [EMAIL PROTECTED] (if mail problems: [EMAIL PROTECTED]) http://iron.cx/ English * Esperanto * Russkiy * Deutsch * Espan~ol ___

Re: [Webware-discuss] Content-type handling in HTTPRequest

2002-06-04 Thread Mike Orr
for some other purpose, even if both servlets exist in the same application, and even if some browsers forget to set the Content-type. We'd just have to make sure FieldStorage doesn't blow up if given random input. -- -Mike (Iron) Orr, [EMAIL PROTECTED] (if mail problems: [EMAIL

Re: [Webware-discuss] Documentation additions/corrections

2002-05-29 Thread Mike Orr
en and debugged (unless you want to use the Python implementation). Whereas mx.DateTime is available now. Or am I missing something? -- -Mike (Iron) Orr, [EMAIL PROTECTED] (if mail problems: [EMAIL PROTECTED]) http://iron.cx/

Re: [Webware-discuss] Any simple python data -> html viewer

2002-05-28 Thread Mike Orr
_ > > Don't miss the 2002 Sprint PCS Application Developer's Conference > August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm > > ___ > Webware-discuss mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/l

Re: [Webware-discuss] Documentation additions/corrections

2002-05-26 Thread Mike Orr
ersion number in the package name, so you can have multiple versions simultaneously and upgrade when you want to. -- -Mike (Iron) Orr, [EMAIL PROTECTED] (if mail problems: [EMAIL PROTECTED]) http://iron.cx/ English * Esperanto * Russkiy * Deutsch * Espan~ol __

Re: [Webware-discuss] Documentation additions/corrections

2002-05-25 Thread Mike Orr
On Sat, May 25, 2002 at 03:56:56PM -0500, Ian Bicking wrote: > On Sat, 2002-05-25 at 11:44, Mike Orr wrote: > > On Sat, May 25, 2002 at 05:07:13AM -0700, Steve Freitas wrote: > > > > I am pretty sure that the mxDateTime isn't "stock" in any of the pyth

Re: [Webware-discuss] Documentation additions/corrections

2002-05-25 Thread Mike Orr
f the risk is small. So they upgrade at certain discrete points, such as when they are revising that big application anyway. As a non-Python example, my company has a binary-only Solaris program that runs on Linux 2.2 but not on 2.4. So that server has to stay on 2.2 because it would cost several

Re: [Webware-discuss] MiddleKit and PostgreSQL

2002-05-18 Thread Mike Orr
tabases return the identifier as part of the add call. That would be the best scenario. I find I usually *do* want the object ID, because I have to keep an in-memory index of rows for some purpose or another anyway, and I need to add that one to the list. -- -Mike (Iron) Orr, [EMAIL PROTEC

Re: [Webware-discuss] FileUpload problem

2002-05-01 Thread Mike Orr
f you choose a directory rather than a file. -- -Mike (Iron) Orr, [EMAIL PROTECTED] (if mail problems: [EMAIL PROTECTED]) http://iron.cx/ English * Esperanto * Russkiy * Deutsch * Espan~ol

Re: WebDAV (was: Re: [Webware-discuss] Groupware)

2002-04-26 Thread Mike Orr
uld like to redirect each article to a new URL /article/1234 or (in other cases) redirect a few articles while letting all the others pass thorugh. But whenever I try to use mod_rewrite, it strips the query string off the source URI, so I can't match according to query string. -- -Mi

Re: [Webware-discuss] Is anyone using CGIWrapper?

2002-04-26 Thread Mike Orr
having to change the CGI scripts. Not for efficiency, but just to avoid rewriting the application. -- -Mike (Iron) Orr, [EMAIL PROTECTED] (if mail problems: [EMAIL PROTECTED]) http://iron.cx/ English * Esperanto * Russkiy * Deutsch * Espan~ol ___

Re: [Webware-discuss] MVC and Servlets

2002-04-26 Thread Mike Orr
or example. Is *THAT* what those are for. I always wondered why Word's HTML generator uses my initials in its style names. -- -Mike (Iron) Orr, [EMAIL PROTECTED] (if mail problems: [EMAIL PROTECTED]) http://iron.cx/ English * Esperanto * Russkiy * Deutsch * Espan~ol ___

Re: Re: [Webware-discuss] MVC and Servlets

2002-04-25 Thread Mike Orr
base (and possibly compiled) each time. Just be sure not to let two threads share the same template instance at the same time. (It's OK to share template classes.) We haven't fully codified the thread safety of template instances. -- -Mike (Iron) Orr, [EMAIL PROTECTED]

Re: [Webware-discuss] MVC and Servlets

2002-04-25 Thread Mike Orr
n the base template (if using inheritance), along with a 'print' variable in the searchList. Then you'd only need one template for each page rather than a pair of templates. -- -Mike (Iron) Orr, [EMAIL PROTECTED] (if mail problems: [EMAIL PROTECTED]) http://iron.cx/ English * E

[Webware-discuss] Klez.E worm/virus alert

2002-04-23 Thread Mike Orr
A very excite game So cool a flash,enjoy it , name=Nt324-00.doc A very new game How are you A IE 6.0 patch , name=sidprod1[1].htm Password. Make sure you remove the cookies by The command line , file=KEYBOARD.TXT -- -Mike (Iron) Orr, [EMAIL P

Re: [Webware-discuss] Domain Name Registration (webware.org)

2002-04-21 Thread Mike Orr
Show your patriotism! .usa is predicted to be even bigger than .com! Reserve your domain now -- before your competitor does! I do wish the alternate top-level domain services (e.g., name.space) would get their act together (http://name-space.com/). They seem to be trying to grab market sha

Re: [Webware-discuss] cvs update: WebKit/ExceptionHandler.py

2002-04-20 Thread Mike Orr
d add a config var to control that > maximum length. And add "..." to the end to show it's been trimmed. -- -Mike (Iron) Orr, [EMAIL PROTECTED] (if mail problems: [EMAIL PROTECTED]) http://iron.cx/ English * Esperanto * Russkiy * Deutsch * Espan~ol ___

Re: [Webware-discuss] Whence FormKit? Or, alas, poor FormKit, weknew him.

2002-04-19 Thread Mike Orr
#x27;s a huge class of Python XML applications that could get by with pyRXL for input and 'print' or your template system of choice for output, without ever having to touch DOM, XSLT or SAX at all. And that the lack of such a tool has held back the number of XML-aware Python application

Re: [Webware-discuss] Whence FormKit? Or, alas, poor FormKit, weknew him.

2002-04-19 Thread Mike Orr
pyrxp.html > > I haven't checked out pyrxp yet but have you all tried XPath? It's > really easy to access XML info with it. No, what's xpath? ... Hmm, Parnassus lists three xpath packages (xml_indexer, a 4Suite tool, and PyXPath). Which do you recommend? http://www.v

Re: [Webware-discuss] Whence FormKit? Or, alas, poor FormKit, weknew him.

2002-04-19 Thread Mike Orr
ough and grab whatever data you want. http://www.reportlab.com/xml/pyrxp.html -- -Mike (Iron) Orr, [EMAIL PROTECTED] (if mail problems: [EMAIL PROTECTED]) http://iron.cx/ English * Esperanto * Russkiy * Deutsch * Espan~ol ___ Webware-discuss ma

Re: [Webware-discuss] encryption

2002-04-18 Thread Mike Orr
he inquiries in and get the results out, in a way that doesn't reveal too much info if the inquiry scheme is cracked. -- -Mike (Iron) Orr, [EMAIL PROTECTED] (if mail problems: [EMAIL PROTECTED]) http://iron.cx/ English * Esperanto * Russkiy * Deutsch * Espan~ol ___

Re: [Webware-discuss] Whence FormKit? Or, alas, poor FormKit, we knew him.

2002-04-18 Thread Mike Orr
ght it *was* you asking the question. In any case, there's also XMLForms lurking around somewhere. -- -Mike (Iron) Orr, [EMAIL PROTECTED] (if mail problems: [EMAIL PROTECTED]) http://iron.cx/ English * Esperanto * Russkiy * Deutsch * Espan~ol _

Re: [Webware-discuss] Whence FormKit? Or, alas, poor FormKit, we knew him.

2002-04-18 Thread Mike Orr
kesterbrook.com/python/webware/PrevReleases/?N=D -- -Mike (Iron) Orr, [EMAIL PROTECTED] (if mail problems: [EMAIL PROTECTED]) http://iron.cx/ English * Esperanto * Russkiy * Deutsch * Espan~ol ___ Webware-discuss mailing list [

Re: [Webware-discuss] PSP vs. Servlets?

2002-04-17 Thread Mike Orr
common to all child pages. (See the #block directive in the Cheetah Users' Guide.) -- -Mike (Iron) Orr, [EMAIL PROTECTED] (if mail problems: [EMAIL PROTECTED]) http://iron.cx/ English * Esperanto * Russkiy * Deutsch * Espan~ol ___ Webware-di

Re: [Webware-discuss] Apache/WebKit/DOCUMENT_ROOT ?

2002-04-16 Thread Mike Orr
SetHandler apache-core-default-handler but I don't know how you can change the handler back to the default once it's been set to something else. (Added to the wiki at http://webware.colorstudy.net/twiki/bin/view/Webware/ModRewriteRecipes ) -- -Mike (Iron) Orr, [EM

Re: [Webware-discuss] EmailKit problem

2002-04-15 Thread Mike Orr
ntain your Webware source. Did you add that or did Webware automatically add it? You shouldn't need to put it in your path. Just cd to the directory containing the AppServer before starting it, and it will find everything relative to the curren

[Webware-discuss] Re: CMS Kit. was: A Webware Wiki

2002-04-15 Thread Mike Orr
ocument larger than a page. You click the mouse "paste" button, and it puts the text in the wrong place. The cursor jumps to the beginning of the document, and you try to cut & paste the page again or discard changes and start all over. Repeat for each screenful of added text. No

Re: [Webware-discuss] A Webware Wiki

2002-04-15 Thread Mike Orr
does. If you use the right options (--opt) it will add code to drop/recreate the tables with locking, so you can just feed the file back to the mysql command to return to the previous state. It's very useful during development. Postgres has a similar command. -- -Mike (Iron) Orr, [EMAIL P

Re: Fwd: Re: [Webware-discuss] A Webware Wiki

2002-04-14 Thread Mike Orr
in for the '{}', whereas for '<>/' you just move the pinky finger right from the 'm'. -- -Mike (Iron) Orr, [EMAIL PROTECTED] (if mail problems: [EMAIL PROTECTED]) http://iron.cx/ English * Esperanto * Russkiy * Deutsch * Espan~ol __

Re: [Webware-discuss] A Webware Wiki

2002-04-14 Thread Mike Orr
hey'll trust it more later to do some reformatting. -- -Mike (Iron) Orr, [EMAIL PROTECTED] (if mail problems: [EMAIL PROTECTED]) http://iron.cx/ English * Esperanto * Russkiy * Deutsch * Espan~ol ___ Webware-discuss mailing list [EMAIL PROT

[Webware-discuss] RSS kit

2002-04-14 Thread Mike Orr
Here are some preliminary ideas for a RSS kit: http://webware.colorstudy.net/twiki/bin/view/Webware/AppIdeas (scroll down to "RSS kit") -- -Mike (Iron) Orr, [EMAIL PROTECTED] (if mail problems: [EMAIL PROTECTED]) http://iron.cx/ English * Esperanto * Russkiy * Deutsch

Re: [Webware-discuss] A Webware Wiki

2002-04-14 Thread Mike Orr
On Sun, Apr 14, 2002 at 05:50:49AM -0500, Ian Bicking wrote: > but embedding an RSS feed of slashdot > seems more superfluous. Maybe if it's properly modular it won't matter. A standalone RSS kit makes sense, however. -- -Mike (Iron) Orr, [EMAIL PROTECTED] (if mail problems:

Re: [Webware-discuss] A Webware Wiki

2002-04-14 Thread Mike Orr
p to have an option of "accept the source format without conversion and serve it as is without touching its internal structure" alongside "convert the source document to an in-between format so it's easy to reconvert into any output format." -- -Mike (Iron) Orr, [EMAIL P

Re: [Webware-discuss] Allowing delegation in servlets

2002-04-11 Thread Mike Orr
; should be a class attribute, rather than a method. Or another way of > putting it is that you shouldn't have to instantiate the class to find out > if it's useable as a servlet. True, but doesn't it go against the Webware Way of using accessor methods for everything? -- -Mik

Re: [Webware-discuss] Allowing delegation in servlets

2002-04-08 Thread Mike Orr
= 'awake', 'respond', 'sleep' for methMame in requiredMethods: try: meth = getattr(theClass, methName) if type(meth) != types.MethodType: raise RuntimeError("not a method...")

Re: [Webware-discuss] webware debian package

2002-04-03 Thread Mike Orr
On Tue, Apr 02, 2002 at 01:15:00AM -0500, Matt Feifarek wrote: > Hello list. > > I was thinking that it would be nice of us to make a debian package (.deb) > of webware. SourceForge continueth to run slowly. Received 1 day + 15 hours after it was sent. -- -Mike (Iron) Orr, [EMA

[Webware-discuss] Documentation files in distutils packages

2002-04-03 Thread Mike Orr
On Wed, Apr 03, 2002 at 12:05:36AM -0800, Mike Orr wrote: > In any case, the docs would usually go into > /usr/share/doc/webware/ and the examples into > /usr/share/doc/webware/examples . Python doesn't have a place for > these. This is something we should address if w

Re: [Webware-discuss] RE: [Webware-devel] What's needed for Webware 1.0?

2002-04-03 Thread Mike Orr
ts "have to escape $ and # and _ etc" and the dichotomy between its {\bf ...} vs \code{...} distinctions, it allows us to be productive now, and we can auto-convert it to an XML format sometime in the future. -- -Mike (Iron) Orr, [EMAIL PROTECTED] (if mail problems: [EMAIL PRO

Re: [Webware-discuss] webware debian package

2002-04-03 Thread Mike Orr
e systems do it. Maybe they do install into site-packages/ now. In any case, the docs would usually go into /usr/share/doc/webware/ and the examples into /usr/share/doc/webware/examples . Python doesn't have a place for these. -- -Mike (Iron) Orr, [EMAIL PROTECTED] (if mail problems:

Re: [Webware-discuss] Re: [Webware-devel] What's needed for Webwa re 1.0?

2002-04-03 Thread Mike Orr
On Tue, Apr 02, 2002 at 06:05:38PM -0800, Tavis Rudd wrote: > > Any other drawbacks from anyone else? > > Mike, can you think of any after using it? What's the question? I didn't get Jay's response to your distutils pep talk, if he sent it to the list. D

Re: [Webware-discuss] Re: [Webware-devel] What's needed for Webwa re 1.0?

2002-04-03 Thread Mike Orr
connote the project they come from. This strikes Tavis and me as being bad neighborly. Fortunately the packages aren't *so* generic as to be called "misc" or something. -- -Mike (Iron) Orr, [EMAIL PROTECTED] (if mail problems: [EMAIL PROTECTED]) http://iron.cx/ Englis

Re: [Webware-discuss] Re: [Webware-devel] What's needed for Webware 1.0?

2002-04-02 Thread Mike Orr
un uninstall. (And why did he install another program into Webware's directory anyway?) If a file or directory doesn't exist, ignore it--we don't care why it's missing. If a directory can't be deleted coz it's not empty, report that to the user and continue. --

Re: [Webware-discuss] Re: [Webware-devel] What's needed for Webware 1.0?

2002-04-02 Thread Mike Orr
nstall script? Then it would put the work dir... where? Add a directory argument to the installer command line? -- -Mike (Iron) Orr, [EMAIL PROTECTED] (if mail problems: [EMAIL PROTECTED]) http://iron.cx/ English * Esperanto * Russkiy * Deutsch * Espan~ol __

Re: [Webware-discuss] Re: [Webware-devel] What's needed for Webware 1.0?

2002-04-02 Thread Mike Orr
On Tue, Apr 02, 2002 at 07:28:35AM -0800, Mike Orr wrote: > (Although distutils > doesn't seem to have ai built-in uninstall support yet.) Ahem, that's "a builit-in uninstall", not "AI built-in uninstall". -- -Mike (Iron) Orr, [EMAIL PROTECTED] (if mail

[Webware-discuss] Re: [Webware-devel] What's needed for Webware 1.0?

2002-04-02 Thread Mike Orr
e people to run MakeAppWorkDir and keep their configuration files separate from the installation. That would also make for a cleaner upgrade. Or is it too draconian? -- -Mike (Iron) Orr, [EMAIL PROTECTED] (if mail problems: [EMAIL PROTECTED]) http://iron.cx/ English * Esperanto

Re: [Webware-discuss] webware debian package

2002-04-02 Thread Mike Orr
trated with all the details and overhead, didn't want to spend a couple days to read all the manuals and figure it all out, and just made tarballs instead. -- -Mike (Iron) Orr, [EMAIL PROTECTED] (if mail problems: [EMAIL PROTECTED]) http://iron.cx/ English * Esperanto * Russkiy

[Webware-discuss] Re: [Cheetahtemplate-discuss] Oddities with Cheetah #include's and #def's...

2002-03-25 Thread Mike Orr
On Mon, Mar 25, 2002 at 04:46:03PM -0800, Mike Orr wrote: > If Cheetah encounters '$sectionTwo' > before '#def sectionTwo' it *should* raise a NameMapper.NotFound > exception Oops, that's not true. '#def' is processed at compile time, whereas '

[Webware-discuss] Re: [Cheetahtemplate-discuss] Oddities with Cheetah #include's and #def's...

2002-03-25 Thread Mike Orr
something is happening in the way the parent and child templates are being processed under Webware. Try replacing the '$section*' in _master.tmpl with #block's, and using #def in _pageA.tmpl, and getting rid of the '#def ... #include ... #end def' constructs, and see

[Webware-discuss] Re: 'interpreting' html pulled out of database

2002-03-21 Thread Mike Orr
iables (#set variables). However, .addToSearchList and .prependToSearchList modify a shared list. I'm not sure how caching or include would be affected. -- -Mike (Iron) Orr, [EMAIL PROTECTED] (if mail problems: [EMAIL PROTECTED]) http://iron.cx/ English * Esperanto * Russkiy * D

Re: [Webware-discuss] Can't see Docs from within Webkit example p age

2002-03-20 Thread Mike Orr
Ignore this part. I forgot to cut it out of the e-mail after I realized why you need to backtrack. On Wed, Mar 20, 2002 at 10:57:50AM -0800, Mike Orr wrote: > Why do you have to backtrack multiple levels? As you go down the URL > levels, you will either match a directory, a file or n

Re: [Webware-discuss] Can't see Docs from within Webkit example p age

2002-03-20 Thread Mike Orr
ermits that, and proceed acordingly. But it can be done. A little more work, but because we're still importing a maximum of one servlet per request, it doesn't seem like a serious performance hit. Just the overhead of a few more directory searches. -

Re: [Webware-discuss] Can't see Docs from within Webkit example p age

2002-03-20 Thread Mike Orr
study.net/twiki/bin/view/Webware/WishList Proposal http://webware.colorstudy.net/twiki/bin/view/Webware/ExtraPathInfo Problems with ExtraPathInfo being a site-wide setting -- -Mike (Iron) Orr, [EMAIL PROTECTED] (if mail problems: [EMAIL PROTECTED]) http://iron.cx/ English * Esperanto

Re: [Webware-discuss] HTTP authentication

2002-02-28 Thread Mike Orr
ion of your httpd.conf that does the webkit and the rewrites, or the entire virtual host, perhaps we can figure something out. I think you can also change the order of the LoadModule and/or AddModule directives to control which order they are applied to the request. -- -Mike (Ir

Re: [Webware-discuss] HTTP authentication

2002-02-27 Thread Mike Orr
te them. That would make the browser forget the password and then you'd get the authentication dialog again. But AFAIK no browser does this, and you may not have the source code to the browser, or feel like modifying C code. -- -Mike (Iron) Orr, [EM

Re: [Webware-discuss] HTTP authentication

2002-02-27 Thread Mike Orr
database authentication and look up the password in the database by the username? -- -Mike (Iron) Orr, [EMAIL PROTECTED] (if mail problems: [EMAIL PROTECTED]) http://iron.cx/ English * Esperanto * Russkiy * Deutsch * Espan~ol ___ Webware-disc

Re: [Webware-discuss] HTTP authentication

2002-02-27 Thread Mike Orr
little quirks that come up just mean more things to debug. And of course, some sites may prefer to standardize on one authentication module for everything because it's required for one of their applications. But they should have the choice of using different existing modules according to the

Re: [Webware-discuss] HTTP authentication

2002-02-27 Thread Mike Orr
On Wed, Feb 27, 2002 at 05:10:07PM +0100, Magnus Lie Hetland wrote: > Mike Orr <[EMAIL PROTECTED]>: > > > [...] > > RewriteCond %{HTTP:Authorization} ^(.*) > > RewriteRule ^/(.*) /usr/lib/cgi-bin/Zope.cgi/M/$1 \ > > [e=HTTP_CGI_AUTHORIZATION:%1, t=applicati

Re: [Webware-discuss] HTTP authentication

2002-02-26 Thread Mike Orr
sr/lib/cgi-bin/Zope.cgi/M/$1 [e=HTTP_CGI_AUTHORIZATION:%1, t=application/x-httpd-cgi,l] (The second and third lines are really one long line.) -- -Mike (Iron) Orr, [EMAIL PROTECTED] (if mail problems: [EMAIL PROTECTED]) http://iron.cx/ English * Esperanto

Re: [Webware-discuss] Hosting

2002-02-20 Thread Mike Orr
on internally to some extent. I already mentioned to their PR rep that supporting Webware could provide a market niche for them. Perhaps we can give them a few more nudges in that direction. -- -Mike (Iron) Orr, [EMAIL PROTECTED] (if mail problems: [EMAIL PROTECTED]) http://iron.cx/ Eng

[Webware-discuss] A couple of newbie questions

2002-02-15 Thread Mike Dean
ally) take advantage of some of the more bleeding-edge Python features (specifically iterators and properties)? Thank you, Mike Dean [EMAIL PROTECTED] ___ Webware-discuss mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-discuss

[Webware-discuss] Re: Documentation

2002-01-28 Thread Mike Orr
it can be modified in an external editor; Zope has it.] At some point we'd have to port the wiki pages from TWiki to MoinMoin, which would lose some features, but it'd be in Python instead of Perl. :) As an aside, the Webware wiki is mentioned on this page. http://www.zipcon.net/~

Re: [Webware-discuss] Another apache detail...

2002-01-27 Thread Mike Orr
ght column ppl will really only look at once, whereas the high-use links they'll probably use every time they come to the wiki, so it makes sense to have them show up in the first screenful. -- -Mike (Iron) Orr, [EMAIL PROTECTED] (if mail problems: [EMAIL

Re: [Webware-discuss] Sorry for being stupid...

2002-01-27 Thread Mike Orr
rors. 2) It cuts out the overhead of compiling and byte-compiling the servlet at request time. Webware may be able to cache *.tmpl files using its own caching mechanism, but that wouldn't affect the first time the servlet is called. -- -Mike (Iron) Orr, [EMAIL PROTECTED] (if mail problems:

Re: [Webware-discuss] Cheetah servlet?

2002-01-27 Thread Mike Orr
On Sun, Jan 27, 2002 at 07:45:05PM +0100, Magnus Lie Hetland wrote: > Does anyone know if there is a Webware servlet for Cheetah templates > in Cheetah release 0.9.9? The documentation (for 0.9.9) says that one > should wait for ... 0.9.9 :) AFAIK, it has not been reimplemented yet.

Re: [Webware-discuss] Avoiding jarring changes to variable names

2002-01-23 Thread Mike Orr
g of field values into a table row, not the relationship between that's formed when joining two tables as I've always heard. I'm not sure I necessarily believe it though. -- -Mike (Iron) Orr, [EMAIL PROTECTED] (if mail problems: [EMAIL PROTECTED]) http://iron.cx/ English * E

Re: [Webware-discuss] Avoiding jarring changes to variable names

2002-01-23 Thread Mike Orr
weighing the inconvenience. -- -Mike (Iron) Orr, [EMAIL PROTECTED] (if mail problems: [EMAIL PROTECTED]) http://iron.cx/ English * Esperanto * Russkiy * Deutsch * Espan~ol ___ Webware-discuss mailing list [EMAIL PROTECTED] https://lists.sourcef

  1   2   >