NAME
Gtk2::Ex::DbLinker - Gui building part with Gtk2 of DbLinker
VERSION
See version at the end of MYMETA.yml
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
Gtk2::Ex::BbLinker::DbTools => 0.1
DateTime::Format::Strptime => 1.5,
Test::More => 0.44,
GLib => 1.240,
Gtk2 => 1.240,
Carp => 1.17
Log::Log4perl => 1.41
Install one of Rose::DB::Object or DBIx::Class if you want to use these orm to access your data or run the examples below.
Rose::DB object is required to get example 2_rdb working.
DBIx::Class is required to get example 2_dbc working.
SYNOPSIS
See the Form.pm, Datasheet.pm and one of Dbi... Dbc... Rdb... DataManager.pm
DESCRIPTION
This module automates the process of tying data from a database to
widgets on a Glade-generated form. All that is required is that you name
your widgets the same as the fields in your data source.
Steps for use:
* Create a DataManager object that contains the rows to display. Use
DbiDataManager, RdbDataManager or DbcDataManager depending on how
you access the database: sql commands and DBI, DBIx::Class or
Rose::DB::Object
* Create a Gtk2::GladeXML object to construct the Gtk2 windows
* Create a Gtk2::Ex::DbLinker::Form object that links the data and the
windows
* You would then typically connect the buttons to the methods below to
handle common actions such as inserting, moving, deleting, etc.
SUPPORT
Any Gk2::Ex::DbLinker questions or problems can be posted to my (rappazf)
gmail account.
AUTHOR
François Rappaz <rappazf at gmail.com>
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.