François Rappaz
and 1 contributors

NAME

Gtk2::Ex::DbLinker::DbTools - Databases access part of DbLinker

VERSION

version 0.112

INSTALLATION

To install this module type the following: perl Makefile.PL make make test make install

On windows use nmake or dmake instead of make.

DEPENDENCIES

The following modules are required in order to use Gtk2::Ex::Linker

        Test::More => 1
        Class::Interface => 1.01
        Try::Tiny => 0.22
        DBI => 1.631
        Log::Log4perl => 1.41
        Data::Dumper => 2.154
        Carp => 1.1631
        SQL::Abstract::More => 1.27

Install one of Rose::DB::Object or DBIx::Class if you want to use these orm to access your data.

Insall one of Gtk2::Ex::DbLinker or Wx::Perl::DbLinker depending on the gui framework you want to use.

DESCRIPTION

This module automates the process of tying data from a database to widgets build with Gtk2 or Wx.

Steps for use:

  • Create a DataManager object that contains the rows to display. Useone of DbiDataManager, SqlADataManager, RdbDataManager or DbcDataManager depending on how you access the database: DBI with plain sql commands or SQL::Abstract::More, DBIx::Class or Rose::DB::Object.

  • Create a Gtk2::GladeXML object to construct the Gtk2 windows or a xrc resource file to build a Wx Window. Names of the fields in the form have to be identical with the fields in the tables.

  • Create a Gtk2::Ex::DbLinker::Form or a Wx::Perl::DbLinker::Wxform object that links the data and the windows

  • Cnnect the buttons to methods that handle common actions such as inserting, moving, deleting, etc.

SUPPORT

Any Gk2::Ex::DbLinker::DbTools questions or problems can be posted to me (rappazf) on my gmail account.

The current state of the source can be extract using Mercurial from http://sourceforge.net/projects/gtk2-ex-dblinker-dbtools/.

AUTHOR

  FranE<ccedil>ois Rappaz <rappazf@gmail.com>
  CPAN ID: RAPPAZF

COPYRIGHT

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

The full text of the license can be found in the LICENSE file included with this module.

SEE ALSO

Gtk2::Ex::DbLinker

Wx::Perl::DbLinker