Re: [Webware-discuss] middleKit sql queries

2002-07-30 Thread Jason Hildebrand
On Tue, 2002-07-30 at 08:26, jonathan wrote > 2. Should I have global access to 'store', or should each module where it is > used create it's own store?? I noticed in the source for SQLObjectStore, > that new connections are created all over the place anyway. So would this be > much of a performa

Re: [Webware-discuss] middleKit sql queries

2002-07-30 Thread jonathan
No, this is in MySQL, and unfortunately it is not just reading data from files and importing. Most of the transactions are updates of counters in the records from the database. I know that this is probably not the best way, but it is really just an experiment for a much larger project that would b

Re: [Webware-discuss] forward to non realtive urls

2002-07-30 Thread Geoff Talvola
Sounds like you want to redirect the browser with self.response().sendRedirect('http://...') - Geoff On Mon, 2002-07-29 at 14:23, Stefan Kuzminski wrote: > hi, > > I need to forward to a url which is not relative to the webware context.. > Not sure how to do this ( from a .psp page). I need t

Re: [Webware-discuss] Chart generation

2002-07-30 Thread Stefan Kuzminski
This is a python centric graphing package, not really focused on charts but nice and clean.. http://biggles.sourceforge.net/ I have also used gnuplot with the python binding with some success. ReportLab works as well as ChartFX ( commercial product ). I am doing this right now for a client and

RE: [Webware-discuss] Chart generation

2002-07-30 Thread Karl Putland
On Tue, 2002-07-30 at 10:27, Geoffrey Talvola wrote: > Karl Putland wrote: > > On Mon, 2002-07-29 at 23:39, Edmund Lian wrote: > > > Has anybody had any experience generating business-style > > charts on-the-fly > > > from within Webware? If so, what did you use? I see a few > > packages like >

RE: [Webware-discuss] Chart generation

2002-07-30 Thread Mail List
Haven't looked in on ReportLab in a while, but if you can generate SVG and the graph style ( look ) meets your needs, then transformation to GIF / PNG is not very difficult. I can offer help in the form of code ways to do it for something like this. I'm kinda interested in it myself ... but only

RE: [Webware-discuss] Chart generation

2002-07-30 Thread Geoffrey Talvola
Karl Putland wrote: > On Mon, 2002-07-29 at 23:39, Edmund Lian wrote: > > Has anybody had any experience generating business-style > charts on-the-fly > > from within Webware? If so, what did you use? I see a few > packages like > > Dislin, GNUPlot, etc., but before messing around, I thought >

Re: [Webware-discuss] Chart generation

2002-07-30 Thread Karl Putland
On Mon, 2002-07-29 at 23:39, Edmund Lian wrote: > Has anybody had any experience generating business-style charts on-the-fly > from within Webware? If so, what did you use? I see a few packages like > Dislin, GNUPlot, etc., but before messing around, I thought I should ask > for experiences. This

Re: [Webware-discuss] Chart generation

2002-07-30 Thread Edmund Lian
On 07/30/2002 10:18:10 AM Stephan Diehl wrote: >Eventually, ReportLab (PDF generation on the fly) might do what you want. >They are even working on a SVG engine. I'm not sure about this. What I want to do is generate graphs for display on a webpage. For now, it seems easier to use Python to gene

RE: [Webware-discuss] Chart generation

2002-07-30 Thread Geoffrey Talvola
Edmund Lian wrote: > On 07/30/2002 08:31:25 AM Bill Eldridge wrote: > > >I sent an e-mail on pygd for graphics a few months ago, but I don't > >know if it does business charts: > > Thanks, I'll take a look at it. The closest thing I've found to an > easy-to-use, well documented package so far is

RE: [Webware-discuss] Mapping URIs to multiple sources of code

2002-07-30 Thread Geoffrey Talvola
Matt Feifarek wrote: > | How about a bunch of symbolic links from each of the > deployments to the > | "master" servlets? At least that way there's only one > master copy of the > > Yeah, we thought of that... it's of course unix only, and > it's a bit of a > hack, but it would probably work

Re: [Webware-discuss] Chart generation

2002-07-30 Thread Bill Eldridge
See: http://webware.colorstudy.net/twiki/bin/view/Webware/PdfCreationWithReportLab001 for some good info on this. Stephan Diehl wrote: > Eventually, ReportLab (PDF generation on the fly) might do what you want. > They are even working on a SVG engine. > > stephan > -- Bill Eldridge Radio

Re: [Webware-discuss] Chart generation

2002-07-30 Thread Stephan Diehl
Eventually, ReportLab (PDF generation on the fly) might do what you want. They are even working on a SVG engine. stephan On Tuesday 30 July 2002 16:02, you wrote: > On 07/30/2002 08:31:25 AM Bill Eldridge wrote: > >I sent an e-mail on pygd for graphics a few months ago, but I don't > >know if

Re: [Webware-discuss] middleKit sql queries

2002-07-30 Thread Edmund Lian
On 07/30/2002 09:26:40 AM webware-discuss-admin wrote: >3. In the experimental project that I am playing around with, it requires >initially about 1.5m transactions on the database to set up the data. For >some reason that I am not clear on the app starts to really slow down about >halfway into

Re: [Webware-discuss] Chart generation

2002-07-30 Thread Edmund Lian
On 07/30/2002 08:31:25 AM Bill Eldridge wrote: >I sent an e-mail on pygd for graphics a few months ago, but I don't >know if it does business charts: Thanks, I'll take a look at it. The closest thing I've found to an easy-to-use, well documented package so far is ChartDirector ( http://www.advso

[Webware-discuss] middleKit sql queries

2002-07-30 Thread jonathan
Hi, I have just started using webware and middlekit, and am essentially experimenting and seeing whether I should convert an in development site to use it instead of my home grown middleware. So I have a couple of questions about how to use it. 1. To execute sql queries that don't fall into the o

Re: [Webware-discuss] Chart generation

2002-07-30 Thread Bill Eldridge
Edmund Lian wrote: > Has anybody had any experience generating business-style charts on-the-fly > from within Webware? If so, what did you use? I see a few packages like > Dislin, GNUPlot, etc., but before messing around, I thought I should ask > for experiences. This topic area probably needs to

Re: [Webware-discuss] Mapping URIs to multiple sources of code

2002-07-30 Thread Bill Eldridge
Perhaps I'm a bit not understanding the issue, but... Is it possibly to pass in a class reference as one of the parameters and import it in a new namespace, such as: def myimport(baseClassName): lt=time.strftime('%Y%m%d%H%M%S',time.localtime(time.time())) exec('import baseClassName as ba