in reply to Re^2: Database Web interface
in thread Database Web interface
In general, you shouldn't need to set up your classes for Class::DBI and Maypole more than once. Class::DBI::Loader should read your database configuration out of the DB, or you should manually tell Class::DBI what to do. Maypole can be coaxed to avoid Class::DBI::Loader and then you can give it your existing Class::DBI setup.
Of course you will still have to declare which tables are to be shown to the user, but that needs to be done anyway. Maybe you can fix that with some namespace walking magic, if you aren't using Class::DBI::Loader and want to export all classes/tables directly.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Database Web interface
by monkey_boy (Priest) on Sep 30, 2004 at 10:52 UTC | |
by Corion (Patriarch) on Sep 30, 2004 at 11:00 UTC |