Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Database normalization the easier way

by IlyaM (Parson)
on Dec 17, 2001 at 17:39 UTC ( [id://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 (http://martynov.org/)

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.
    Thanks.
    gmax

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (9)
As of 2024-03-28 18:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found