Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

Re: Database normalization the easier way

by IlyaM (Parson)
on Dec 17, 2001 at 17:39 UTC ( #132514=note: print w/replies, xml ) Need Help??

in reply to Database normalization the easier way

I would not use standalone namespace for module which basically does just one thing. IMHO your module belongs to DBIx::

It would be cool if it were not used MySQL specific code. There exist some modules which allow to do database schema operations in more portable way: Alzabo, DBIx::DBSchema.

Anyway idea is very intersting. It is sad I have no votes left :(.

Ilya Martynov (

  • Comment on Re: Database normalization the easier way

Replies are listed 'Best First'.
Re: Re: Database normalization the easier way
by gmax (Abbot) on Dec 18, 2001 at 18:54 UTC
    My initial idea was to ask for a DBI:: namespace, but yesterday I found out that such namespace is restricted. Then DBIx:: is a good candidate (Or it should be as soon as I get an answer from CPAN. Being in a monastery, I should become used to being patient {grin}).
    DBIx::DBSchema was a good hint. I checked it and it seems to provide enough information to replace the direct calls I am using so far.
    I would need to rewrite the two subs that are dealing with column information (so many greps and maps wasted!) but this is a good chance to make the module portable across databases.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://132514]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (3)
As of 2016-10-22 02:37 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (291 votes). Check out past polls.