Hi,
Just wondering if you guys have seen Torque from the Jakarta Turbine
project. It seems very complete. How does middle kit compare to this project
?
Thanks
Huy
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Steve
> Waterbury
> Sent: Thursday,
On Wed, 2002-03-20 at 22:21, Aaron Held wrote:
> The coding and logic were easy to understand at first, but I
> wound up having 1 template per webpage per company (theme) per
> thread in memory all the time.
> So running 10 threads for 5 clients w 8 pages put 400 templates
> into ram all the time.
> > delegated out for each domain. If you're using the template
approach
> > you could just set up a master site that can be themed /
branded
> > differently depending on what virtual domain it is accessed
from.
>
> I am wanting to do the second. Each domain is going to have the
exact same
> func
Magnus Lie Hetland wrote:
>
> Chuck Esterbrook <[EMAIL PROTECTED]>:
> > Or do all Workers go in the
> > same table? Or does each class get its own table only with its
> > additional attributes?
> >
> > How is a reference to a Worker stored in the db?
PostgreSQL does support table inheritance. I
Geoff wrote:
>You could write your own abort() method. This is completely untested, but
>you could try something like this. Add this code to your SitePage class:
>
>class AbortTransaction(Exception): pass
>
>class SitePage(Page):
> ...
> def abort(self):
>
Chuck Esterbrook <[EMAIL PROTECTED]>:
>
> > I don't think I'd need it for my application. (And, btw, Postgres
> > supports array columns, so I could even store lists directly...
> > Though putting them in a separate table wouldn't be that hard, I
> > think. Again, naming conventions could help out
Jason Hildebrand pointed out a little of what I needed to do to
configure Exim, so I was able to properly test EmailKit. I wrote some
documentation to go with it, and now there is EmailKit 0.1.0
You can find it at:
http://www.colorstudy.net/software/webware/EmailKit-0.1.0.tar.gz
You can read the
I'm having a problem deleting a MK object which is a member of a list.
Assume the following model:
Class Attribute Type
-
Item
container Container
namestring
Container
namestring
it
Hello all -
Got a strange problem today. On our development server,
everything is running fine. On our live server, a couple of
our FunFormKit FormServlets seem to be forgetting their
overrideMethod.
Some of these are mutable forms, most are not. And several
are working without a problem. Here's
On Wednesday 20 March 2002 12:11, Ian Bicking wrote:
> On Wed, 2002-03-20 at 12:08, Tavis Rudd wrote:
> > This much easier and way more efficient than calculating these
> > relative paths in your Servlet code. It allows you to do this:
> >
> > rather than this:
> > > height="XX" />
>
> But th
On 20 Mar 2002 09:46:54 -0600, Jason Hildebrand wrote:
>On Wed, 2002-03-20 at 02:34, Stefan Karlsson wrote:
>> >A solution would be to implement a "dump" which outputs the
>>objects
>> >in
>> >the same format as the samples.csv file, so that MiddleKit can
>> >easily
>> >reload the objects, even if
On Wed, 20 Mar 2002, Tavis Rudd wrote:
> Hmm, is the html going to be generated from a centrally controlled
> template for each virtual domain, or will html generation be
> delegated out for each domain. If you're using the template approach
> you could just set up a master site that can be
On Wed, 2002-03-20 at 11:20, Love, Jay wrote:
> As I sat down to write a response to this proposal of per servlet
> extraURLPath, saying this will be really hard to do, I decided to think
> before I responded (a rare thing). And actually, this might not be too
> terribly difficult.
>
> The way e
On Wed, 2002-03-20 at 12:08, Tavis Rudd wrote:
> ** Use mod_rewrite to do relative path calculations instead of doing
> them in Python code. e.g. if you have site global directories for
> your stylesheets, images, etc. that you need to access from multiple
> subdirectories of the site, do somet
On Wed, 2002-03-20 at 11:23, [EMAIL PROTECTED] wrote:
> I want to use a python servlet to pull a chunk of html out of a database,
> parse it for 'PSP' tags and then self.writeln it.
>
> What would people suggest for doing this?
I don't know if there's a lot of benefit of keeping it in a database
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 nothing.
>
On Wed, Mar 20, 2002 at 12:20:42PM -0500, Love, Jay wrote:
> As I sat down to write a response to this proposal of per servlet
> extraURLPath, saying this will be really hard to do, I decided to think
> before I responded (a rare thing). And actually, this might not be too
> terribly difficult.
>
Hmm, is the html going to be generated from a centrally controlled
template for each virtual domain, or will html generation be
delegated out for each domain. If you're using the template approach
you could just set up a master site that can be themed / branded
differently depending on what
What I've got now is one psp page that gives the common body & such to all
the web pages. The psp page calls a method in a servlet to generate the
rest of the page.
I have a hidden variable named page that gets set to determine what gets
generated for each request.
--
---
Dennis Sacks
[EMAIL P
On Wed, 20 Mar 2002, Tavis Rudd wrote:
> You could use Cheetah to do the parsing/compiling of the html string.
> It can handle <% exec %> and <%= eval %> tags in addition to
> Cheetah's standard syntax. As far as I know, the official PSP that
> comes with Webware can't be used for this sort
PSP can do it, but I'd probably need to tweak some things. There is a
command line interface to PSP already. We'd just need to set it up so it
could be used as a module.
Jay
> -Original Message-
> From: Tavis Rudd [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, March 20, 2002 1:48 PM
> T
You could use Cheetah to do the parsing/compiling of the html string.
It can handle <% exec %> and <%= eval %> tags in addition to
Cheetah's standard syntax. As far as I know, the official PSP that
comes with Webware can't be used for this sort of thing. Jay, is
there some way to do it?
W
Hi,
I want to use a python servlet to pull a chunk of html out of a database,
parse it for 'PSP' tags and then self.writeln it.
What would people suggest for doing this?
--
---
Dennis Sacks
[EMAIL PROTECTED]
"Things are falling down on me, heavy things I could not see"
_
As I sat down to write a response to this proposal of per servlet
extraURLPath, saying this will be really hard to do, I decided to think
before I responded (a rare thing). And actually, this might not be too
terribly difficult.
The way extraURLPathInfo works is that when we get the request, we
I don't have any experience with large installations like this, but
here's a few strategies that could mitigate the need for a
large pool of servers:
** keep the processing that actually occurs in WebKit to a minimum by
serving all static requests directly from Apache / Squid. Only serve
dyn
On Wed, Mar 20, 2002 at 10:20:42AM -0500, Geoffrey Talvola wrote:
> Maybe it's time to make extraPathInfo configurable on a servlet-by-servlet
> basis (perhaps by overloading a method or calling some method in the
> servlet's __init__)?
One vote for yes.
http://webware.colorstudy.net/twiki/bin/v
On Wed, 2002-03-20 at 02:34, Stefan Karlsson wrote:
> >A solution would be to implement a "dump" which outputs the objects
> >in
> >the same format as the samples.csv file, so that MiddleKit can
> >easily
> >reload the objects, even if the classids change. This "dump" could
> >also
> >be useful f
Huy Do wrote:
>
> Hi all,
>
> I am in the process of starting a major development project
> in Python, and
> was evaluating the use of Webware as the framework for the
> application.
>
> I am basically looking for views on whether Webware can handle 400-500
> concurrent users 24/7 365 days a
Maybe it's time to make extraPathInfo configurable on a servlet-by-servlet
basis (perhaps by overloading a method or calling some method in the
servlet's __init__)?
- Geoff
> -Original Message-
> From: Love, Jay [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, March 20, 2002 8:55 AM
> To: '
Matt Feifarek wrote:
> I'm starting to use Webkit.Cookie and I'm frustrated that the
> expires method
> only takes a string, rather than a python date/time float.
>
> Of course one can use time.time() and some string
> substitution etcetera to
> accomplish the same thing, but it would be nice t
I wrote a servlet a long time ago that does this. However, it relies on
having extraPathInfo turned on. I'd put it in, but we have extraPathInfo
turned off by default.
There's other ways to do it, though.
Jay
> -Original Message-
> From: Chuck Esterbrook [mailto:[EMAIL PROTECTED]]
> S
On Sunday 17 March 2002 02:19 pm, Ernesto Revilla wrote:
> Dear Chuck, Geofff and Co,
>
> I recently installed Webware v7b2 and found that docs of MiddleKit
> and others are not directly accessible thru the Webkit example pages.
> I added some new contexts to view them thru the Web. It would be ni
On Sunday 17 March 2002 10:57 am, Magnus Lie Hetland wrote:
> I'm considering using an XML-based content system (with either XSL or
> just plain python transformation scripts), and wondered if the
> caching system used in PSP is easily transferrable to other systems?
> (It seems that caching is on
On 19 Mar 2002, Ian Bicking wrote:
> Then I'm assuming /path/to/WebKitEmail is run (and it has a
> #!/usr/bin/env python at the top, and is chmod a+x), and stdin is the
> email, headers and all. No output is expected of it.
>
> That's how I understand it. I can run the adapter from the command
On Friday 15 March 2002 09:50 am, Magnus Lie Hetland wrote:
> I wouldn't dream of using a 10 character string in the first place.
> I'd use a foreign key, probably using an id (int). That would go for
> any object references.
>
> > Prehaps this is something
> > that "foreign keys" in Postgres coul
On 19 Mar 2002 13:16:05 -0600, Jason Hildebrand wrote:
>On a number of occasions, I would have found it useful to be able to
>dump the entire MiddleKit object database to a file which I could
>later
>reload.
>
>I can do this with database tools (i.e. mysqldump, and later reload
>the
>file), but if
36 matches
Mail list logo