On Oct 4, 2005, at 12:21 PM, Lauri Ojansivu wrote:
what about the following for PyCon:
Using Dabo for creating app with appwizard,
querying db, and then inputting data to OpenOffice
template with PyOpenOffice:
http://www.bezirksreiter.de/PyOpenOffice.htm
So you could use OpenOffice as report template
designer, but in normal Dabo app operation
(see below) OpenOffice wouldn't be needed.
Then, some SVG images to it could maybe
inserted with svglib:
http://starship.python.net/~gherman/svglib.html
As you mentioned in your later email, the report would be
handled by the reporting module Paul is creating based on ReportLab.
We did something similar last year, in which I created an app on
the fly and demonstrated it working. We didn't have reporting in
place yet, so no PDF generation or anything was involved.
Then combining the resulting application
to single executeable for Windows, Linux
and Irix with PyInstaller:
http://pyinstaller.hpcf.upr.edu
I still need to test this out. I used the MacMillan installer
(which PyInstaller is based on) a while back, and it certainly didn't
deliver anything like this. You need to build each platform
independently, so if I were doing the demo on Ubuntu Linux, I could
build an installer that would work on Ubuntu and maybe other closely-
related distros. There really isn't any way of packaging the
libraries in a way that will work on more than a couple of distros.
In the resulting application, there would
be dabo gui for selecting records, and then when
I click report button, resulting PDF file opens in
the default PDF viewer.
And making this process as easy and short as
possible.
Well, in the demo last year, it took less than a minute to build
the app, but that was only because I was talking and explaining the
steps as I did them. I've used AppWizard to create apps in about 10
seconds.
I'd also like to have web page detailing step
by step how to create all of the above.
Shorter version of the above could be
presented in PyCon, and I'd like to have video
about that in ogg theora format.
The process for the app generation is detailed on the Wiki,
although Paul hasn't contributed much on using the reporting tools
yet. And if they do the same as last year, they will be videotaping
all the PyCon sessions and making them available on the web.
-- Ed Leafe
-- http://leafe.com
-- http://dabodev.com
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users