473,395 Members | 2,010 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Report generator for object databases.

Hi,
I m planning to use ZODB for an applicaton. Is any one aware of report
generators like Data Vision, Crystal Reports, fo python object
databases.

Some of you may have faced/solved similar problem some where.

Help appreciated.
Thanks

Jul 19 '05 #1
1 2405
Mir Nazim wrote:
Hi,
I m planning to use ZODB for an applicaton. Is any one aware of report
generators like Data Vision, Crystal Reports, fo python object
databases.


ZODB isn't like a relational database. It doesn't have a
query language etc. In other words, a report generator for
a ZODB application is just a report generator for an
arbitrary Python app. You'll have to use Python to traverse
through your object structures and extract the data you
want.

I don't know of any convenient Python tool for generating
headers or footers or doing grouping and aggregation in any
convenient way in Python, but it's probably rather trivial
Python coding. If it's non-trivial due to your data structures,
it's unlikely that a toolkit would help... Obviously, it's
trivial to code things like accumulators that sum up values
as you iterate over objects.

Concerning page layout, there are several options depending
on your target document format and the kind of reports you
plan to achieve. If you want pdf output, ReportLab is nice.
There are a number of tollkits to help you create HTML,
and there are GUI components such as Tkinter canvas and
correspondning things in wxPython to create on-screen pages
that can also be printed.

If you want diagrams, there are many toolkits, but I
haven't used any of them the last years, so I won't give
any recommendations. Some of them suport several file
formats as well as on-screen presentation in several GUI
toolkits.

Still, there are certainly aspects of this that could fit
in some kind of framework. E.g. if you want aggregated data
to be printed at the bottom of each page, the backend that
determines exact page layout, e.g. a layer over ReportLab
or some other backend that creates text files or HTML should
be able to call back and tell the part of the code that
understands the data when it's time to sum things up. It
might not be until you've fed your "records" into the
backend that you will know that it's time for a page break.
(Another option would be that the report itself includes some
kind of instructions for such aggregates, and that they are
calculated in each backend.)

I'd be interested in such a tool. Actually, the only one I
know of is the one we use here at Carmen, but that's not
publically available, and it's really tied to our applications
and our propietary rules language. I suspect there are other
such inhouse products at other companies though... Maybe some
that are adapted to more arbitrary data sources than ours.
Jul 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Alex Molochnikov | last post by:
Hello everyone, We are looking for beta-testers for our new product - Scribe Report Generator. At the moment, Scribe supports 5 relational databases, including MS SQL Server 2000, Sybase and...
0
by: Alex Molochnikov | last post by:
Hello everyone, We are looking for beta-testers for our new product - Scribe Report Generator. At this moment, Scribe supports 6 relational databases, including Oracle, MS SQL Server 2000, and...
1
by: Alex Molochnikov | last post by:
Hello everyone, We are looking for beta-testers for our new product - Scribe Report Generator. At this moment, Scribe supports 6 relational databases, including Oracle, MS SQL Server 2000 and...
1
by: Alexandr Molochnikov | last post by:
Hello everyone, We are looking for beta-testers for our new product - Scribe Report Generator. At this moment, Scribe supports 6 relational databases, including Oracle, MS SQL Server 2000, and...
0
by: Alex Molochnikov | last post by:
Hello everyone, We are looking for beta-testers for our new product - Scribe Report Generator. At this moment, Scribe supports 6 relational databases, including Oracle, MS SQL Server 2000, and...
0
by: Alex Molochnikov | last post by:
Hello everyone, We are looking for beta-testers for our new product - Scribe Report Generator. At the moment, Scribe supports 5 relational databases, including MS SQL Server 2000, Sybase and...
0
by: Alex Molochnikov | last post by:
Hello everyone, We are looking for beta-testers for our new product - Scribe Report Generator. At the moment, Scribe supports 5 relational databases: MS SQL Server 2000, Sybase, Oracle, McKoi...
0
by: Alex Molochnikov | last post by:
Hello everyone, We are looking for beta-testers for our new product - Scribe Report Generator. At the moment, Scribe supports 5 relational databases, including MS SQL Server 2000, Sybase and...
0
by: mknoll217 | last post by:
Hello. I have been trying to log onto two databases at run time for a crystal report. I have tried both the crystal report viewer and the report document object viewer. I have no figured out a way to...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.