Jump to content

Kexi/KexiDB: Difference between revisions

From KDE Community Wiki
Jstaniek (talk | contribs)
No edit summary
Jstaniek (talk | contribs)
No edit summary
Line 4: Line 4:


See http://kexi-project.org/wiki/wikiview/[email protected]
See http://kexi-project.org/wiki/wikiview/[email protected]
==libCalligraDB==
===Minutes from IRC meeting===
*2012-07-03
*requested by jstaniek
*attended by boemann, jstaniek, smitpatel
*idea: storage for bibliography could re-use libKexiDB instead of libQtSQL
*pros:
**simplify the code
**increase code re-use - KexiDB is developed 8+ years already with reuse in mind
**make the database ($HOME/.calligra/biblio.sqlite) accesible to Kexi, so biblio db can be added to the Kexi Scientific templates for data re-use and manipulation
*KexiDB has database and table creation API, QtSQL does not (code complexity)
*cons:
**size of libKexiDB as dependency (Biblio already uses SQLite3, which is the biggest dependency compared to either QtSQL or KexiDB)
**we're moving to predicate (but that would happen no earlier than in 3.0, realistically in 3.1 or 3.2), so KexiDB is here for the transition
**are the APIs stable? (yes, most changes happen in Predicate, moreover KexiDB is calligra's internal API, so will be updated with the apps and the Biblio code)
**Words cannot depend on Kexi (it wouldn't, relevant parts of KexiDB should be moved to calligra/libs/)
*current state: smitpatel delivered QtSQL-based code for Biblio (within GSoC 2012)
*'''final agreement has been reached'''
*KexiDB adoption
*Biblio can be still kept small enough
*jstaniek offers to move relevant part of KexiDB to calligra/libs/
**the library renames to calligradb and the dir is calligra/libs/db/
*jstaniek offers support for smitpatel in development
*jstaniek offers support for porting when Predicate arrives

Revision as of 21:19, 3 July 2012

This page will be moved to Predicate when Kexi moves to Predicate.

See http://kexi-project.org/wiki/wikiview/[email protected]

libCalligraDB

Minutes from IRC meeting

  • 2012-07-03
  • requested by jstaniek
  • attended by boemann, jstaniek, smitpatel
  • idea: storage for bibliography could re-use libKexiDB instead of libQtSQL
  • pros:
    • simplify the code
    • increase code re-use - KexiDB is developed 8+ years already with reuse in mind
    • make the database ($HOME/.calligra/biblio.sqlite) accesible to Kexi, so biblio db can be added to the Kexi Scientific templates for data re-use and manipulation
  • KexiDB has database and table creation API, QtSQL does not (code complexity)
  • cons:
    • size of libKexiDB as dependency (Biblio already uses SQLite3, which is the biggest dependency compared to either QtSQL or KexiDB)
    • we're moving to predicate (but that would happen no earlier than in 3.0, realistically in 3.1 or 3.2), so KexiDB is here for the transition
    • are the APIs stable? (yes, most changes happen in Predicate, moreover KexiDB is calligra's internal API, so will be updated with the apps and the Biblio code)
    • Words cannot depend on Kexi (it wouldn't, relevant parts of KexiDB should be moved to calligra/libs/)
  • current state: smitpatel delivered QtSQL-based code for Biblio (within GSoC 2012)
  • final agreement has been reached
  • KexiDB adoption
  • Biblio can be still kept small enough
  • jstaniek offers to move relevant part of KexiDB to calligra/libs/
    • the library renames to calligradb and the dir is calligra/libs/db/
  • jstaniek offers support for smitpatel in development
  • jstaniek offers support for porting when Predicate arrives