faq
flatforty
contribute
subscribe
configure
search
rdf
main
parent
thread
|
Re: newbie see newbie do
by Jason Katz-Brown on Thursday 14/Mar/2002, @20:58
|
What do you mean, "data-aware"? Qt 3 has a sql module, but I don't understand what data-awareness would mean. (A db lib for KDE 2 was written, but later trashed as you said would happen.)
Jason |
|
|
The Fine Print: The following comments
are owned by whomever posted them.
( Reply )
|
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
|
[
Reply To This | View ]
|
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 )
|
|