Code Monkey home page Code Monkey logo

dbframework's Introduction

DbFramework

Description

DbFramework is a collection of classes for manipulating DBI databases. The classes are loosely based on the CDIF Data Model Subject Area.

Note: Do not use DbFramework. I believe it is outdated and not working anymore. I obtained its ownership only to keep it clean until it is retired. If you were using DbFramework, consider other, more recent solutions like XML instead.

The last release 1.10 of DbFramework is due 1999/5/13, even before Perl 5.005_03. As today is 2008/4/19, that is NINE years ago. It is not surprising DbFramework does not work now. If you are still using CDIF Data Model Subject Area, it might be easier to migrate your code to use XML, than to make DbFramework working. Besides, DbFramework takes a CPAN root namespace, DbFramework::*, which is not right, too.

DbFramework was written by Paul Sharpe ([email protected], CPAN ID: PSHARPE). If you are looking for older versions, see Paul's BackPen directory: http://backpan.perl.org/authors/id/P/PS/PSHARPE/

The original README follows.

The Original README

DbFramework is a collection of classes for manipulating DBI databases.
The classes are loosely based on the CDIF Data Model Subject Area.

This module will help you to

  - Present data model objects (tables, columns) as HTML
  - Add persistency to your Perl objects
  - Manipulate DBI databases through an HTML forms interface

See the POD for further details.

Prerequisites
=============

  Perl 5.005
  Alias
  CGI
  URI::Escape
  DBI 1.06
  Text::FillIn
  Term::ReadKey

DbFramework has been successfully built and tested on (at least) the
following configurations.  In general the driver version is VERY
IMPORTANT as DbFramework makes use of some of the newer DBI metadata
methods which may only be implemented in development branches of
certain drivers.

  OS               Driver                     Database
  ================ ========================== ===================
  RedHat Linux 5.1 Msql-Mysql-modules-1.21_15 Mysql 3.22.14-gamma
                   Msql-Mysql-modules-1.21_15 Msql 2.0.8
                   DBD-Pg-0.91                PostgreSQL 6.4.2

Note that DBD::CSV is unlikely to be supported in the near future due
to the limitations of this driver.

Installation
============

  1) Ensure you have installed the prerequisites above.

  2)  perl Makefile.PL
    Select each DBD driver you wish to test DbFramework against.
      make
      make test
    You will need permission to create the databases 'dbframework_test'
    and 'dbframework_catalog' for each DBI driver you chose to test.
      make install

To use forms/dbforms.cgi, install it in a CGI directory then 'perldoc
forms/dbforms.cgi'.

[email protected]

Download

DbFramework is hosted is on…

Support

The DbFramework project is hosted on GitHub. Address your issues on the GitHub issue tracker https://github.com/imacat/DbFramework/issues.

If you are still using it and want to take over this project, file an issue request on GitHub. Thank you.

Authors

Version since 1.11 maintained by imacat.

Version 1.10 and earlier written by Paul Sharpe.

To Do

  • Moved the test tables creation from Makefile.PL/Build.PL to the test suite, and clean up the test tables after the test suite finished.
  • Remove the Makefile.PL/Build.PL dependency to DbFramework::Util, and hence Term::ReadKey. It does not make sense that Makefile.PL/Build.PL fails to run. CPAN and CPANPLUS shells cannot install with this, too.
  • Rename t/util.pl to t/util.pm, and remove Makefile.PL/Build.PL dependency to it, too.
  • Dealing with the installation of forms/dbforms.cgi.
  • Register a proper name space and drop the unused.
  • Transfer the primary maintainer of DbFramework::CandidateKey, DbFramework::Catalog, DbFramework::DataModelObject, DbFramework::DataType::ANSII, DbFramework::DataType::Mysql, DbFramework::DefinitionObject, DbFramework::Relationship and DbFramework::Template to me.
  • Remove "UNAUTHORIZED RELEASE" from Meta CPAN.
  • Maybe make DbFramework working again.
  • Retire DbFramework.

Copyright

Copyright (c) 1998-1999 Paul Sharpe, 2008-2021 imacat.  All rights
reserved.  This program is free software; you can redistribute it
and/or modify it under the same terms as Perl itself.

dbframework's People

Contributors

imacat avatar

Watchers

 avatar  avatar

dbframework's Issues

questions

Asks questions in Makefile.PL/Build.PL, I think due to DbFramework::Util::get_auth(). This prevents cpantesters smoker from functioning correctly: they cannot test this module and smoker hangs. Test::Database can be used for test database info.
Environment variables PERL_MM_USE_DEFAULT or AUTOMATED_TESTING can be used to skip questions.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.