[KDE Dot News]
 faq
 flatforty
 contribute
 subscribe
 configure
 search
 rdf

 main
 parent
 thread


Re: newbie see newbie do
by Evan "JabberWokky" E. on Thursday 14/Mar/2002, @22:08
I mean just that - the database classes in Qt. There is QDataBrowser, QDataView and so on. Now, I have yet to test it myself, but I have been led to understand that you can attach any widget (such as textboxes, scrollbars, etc) to datasources (through Signals and Slots, I would imagine), rather than collecting all the information, translating and storing it with fixed, explicit code. (Anybody who has used Qt3's database features out there, please comment!)

Regardless, abstration of datasources, XML and SQL in KDE will allow coders to develop at the higher end and add new connectors at the lower end. This will made a KDE db application, like Konqueror, just a framework that loads views and interconnects datasources through some simple scripting. Python anyone?

--
Evan
  Related Links
 ·   Articles on KDE Success Story
 ·   Also by Evan "JabberWokky" E.
 ·   Contact author

Thread Threshold:

The Fine Print: The following comments are owned by whomever posted them.
( Reply )

Re: newbie see newbie do
by Mike Richardson on Friday 15/Mar/2002, @02:51
I've not actually written any code using Qt3's DB stuff, be we looked at it as a driver layer for Rekall.

We concluded that while its probably fine for use in a dedicated application (eg., the code explicitely knows about the tables), it just does not provide enought functionality to use for a general-purpose database front end (like Rekall or Abcess). In practice, you'd end up using it simply to pass SQL queries to the RDBMS and to get back the results. The classes like QSQLCursor are just too limited. Indeed, as it stands at present, you cannot write a gernal purpose front end without coding server specific information into the front end (ie., the front end needs to know whether the RDBMS is MySQL, Postgres, etc., and act accordingly)

Of course, you might consider this claim a call to arms :))
Regards
Mike
http://www.thekompany.com/projects/rekall
[ Reply To This | View ]
The Fine Print: The previous comments are owned by whomever posted them.
( Reply )

  "It's Friday the 13th, so, I thought it appropriate for me to commit this now." -- Charles Samuels
KDE®, "K Desktop Environment", "KDE Dot News", "got the dot?" and the KDE Logo® are trademarks or registered trademarks of KDE e.V. in the European Union, the United States and other countries. All other trademarks and copyrights on this page are owned by their respective owners. Comments are owned by the poster. The rest: Copyright © 2000-2008 KDE e.V. for The KDE Project. For further information or comments on this site, please contact the Webmaster.
[ home | post article | flat forty | subscribe | search | rdf ]