[Qgis-developer] DBManager plugin for QuantumGIS (GSoC 2001)
Radim Blazek
radim.blazek at gmail.com
Tue May 24 01:46:27 EDT 2011
Hi.
First of all, IMO, the DBManager has to be implemented in QGIS core,
not as a plugin for two main reasons:
1) it is core functionality
2) connection factories MUST go to providers, otherwise you start to
create a set of plugins for each DB, parallel to providers.
>From UI point of view, I would prefer to have everything in one place,
that means in QBrowser. We can rename QBrowser to QManager and
suddenly it sounds more logical. Having everything in one tree will
allow in future to easily drag-and-drop for example Shapefile to
PostGIS and so on. We have to add support for other providers to
QBrowser anyway. It does not make sense to have another similar UI
just for databases, implemented in a different way. Currently QBrowser
is a stand alone application but it will be integrated also to QGIS
main application.
QgsDataItem probably is not the best place where db connections should
be implemented, but it is good place where they can be used to
represent databases in QgsBrowserModel and thus in QBrowser. I can
imagine a QgsDatabase inherited by QgsPostGis, QgsSqlite etc. with all
the methods you list on [2]. Then a single QgsDatabaseItem (which
would inherit from QgsDataItem) could represent any DB provider,
taking as parameter a QgsDatabase child for specific provider.
Radim
On Mon, May 23, 2011 at 5:21 PM, Giuseppe Sucameli
<brush.tyler at gmail.com> wrote:
> Hi all,
> I'm starting to work on DBManager plugin for QuantumGIS.
>
> I've just created the repository on GitHub [1] and here's [2] a page on the
> QGis wiki
> containing ideas I wrote in the past few days. I will add weekly reports to
> that wiki page.
>
> Any comments and reviews are very welcome.
> Regards.
>
> [1] http://github.com/brushtyler/db_manager
> [2] http://www.qgis.org/wiki/DB_Manager_plugin_GSoC_2011
>
> --
> Giuseppe Sucameli
>
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>
>
More information about the Qgis-developer
mailing list