[Gambas-user] Zlib 1.0

Daniel Campos daniel.campos at ...338...
Sat Feb 21 17:50:36 CET 2004


El sáb, 21-02-2004 a las 17:39, Dimitri Bellini escribió:
> Dear Daniel
> 	thanks for you great component i use it every day and i find it very 
> important in gambas... But i ask to you if you have plan to create a new 
> component to manage a printer report... A new way :-) Can you give me some 
> consideration about it and how is difficult to develop and if is possible to 
> create with gambas language...i try by me... ( but im not a guru...)
> Thanks in advance
> Dimitri Bellini
> 


I've think a little about a printer report component - I think you mean
a report component to allow print reports from MySQL, Postgres, etc, or
even data not attached to any database. Now it is possible to write
reports using an external application like Kugar, that allows to define
a report template and report data using XML. XML is a simple format
which can be used event if Gambas does not have already a XML component.

If you need it soon, use Kugar, it is cool and free. If you can wait a
time, my future plans are:

- Finish the net.curl component, this will allow to create "high-level
network applications" in gambas.

- Write the XML component (I have some code written, but not functional
yet), which will allow not only to write XML files but, using the
"net.curl" component, allow to communicate with remote systems using 
xml-rpc and event soap protocols.

- Write a general report component, which would use a general XML format
to link it with drivers to allow use many different report generation
tools like Kugar, or may be others you can find in internet (even
OpenOffice). The structure would be a generic report class, with a
constructor explaining the kind of report tool you want to use, and
especific drivers to manage all XML data and convert it to the specific
data needed by the various report tools available.

- Think that Gambas is not attached to any specific technology, so any
component must be as abstract as possible. These ideas explained before
are not mine, but explained, and even implemented before by Benoît and
and  other people in Gambas, like the 'db' component, useable with
MySQL, Postgres or any other database driver, or the graphical componet,
currently implemented with QT but abstract enough to be implemented with
GTK, WxWidgets (no, now it is not WxWindows, Micro$ decided this name is
not legal) or even JAPI.

- Finally, if you really want to colaborate in that component with me,
I could write in few time a generic component to create a genereric
interface for report drivers, and you could write a specific driver may
be for Kugar or any other report tool you consideer useful. It is sure
we would find a lot of help from Benoît and the rest of Gambas coders or
helpers to add features to our first ideas. I could also give you help
to start writing components in Gambas.

- May be you would like to write the generic component and me designing
 a specific component for kugar, this also would be fine!

- If you just want start to learn about components, and then start with
that specific work, OK! try writing just little  components (useful or
not, just to learn), and I will provide you as help as possible!

- If you need to be a guru or not to write a Gambas component just
depends of you, it has clear specifications (at gambas wiki), and a lot
of helper functions, so try it, ask any question to me, Benoît or other
people, and see the wonderfoul results!

Waiting for your news!

Regards, Daniel Campos  
   






More information about the User mailing list