Well, it ain't the book review section, but here's my mini-review of MySQL and mSQL: it's not a bad introduction to the basics of databases, incl. normalization and application architecture -- but I'm willing to bet that, other than the normalization stuff, most of those who are interested in "learning databases" don't need a lot of what it has to offer there -- basically, it has a lot of *very* short chapters on how to access MySQL and mSQL DBs from various types of languages, and often it doesn't get past providing a *reference* for the MySQL API for that language.

I'm more a fan of Programming the Perl DBI, co-written by Tim Bunce and Alligator Descartes; the former wrote a bunch of the DBD modules (drivers for specific types of databases) and maintains the DBI module. It takes you from flat files to 'real' DBMSen (some will tell you MySQL is not a 'real' database -- phbt! -- it does what many ask of it, and quite well; it stores information, therefore it's a database! -- herendeth the rant), and contains a pretty good reference on the DBD modules for various DB servers (Oracle, MySQL, Sybase, etc.). So let me second the nomination for that.

IMO, once you've got the basic idea behind the "prepare, bind/execute" cycle down (if it's not clear what that means, hopefully it will become so if you look at such sources as the Tutorials on this site (I like this one -- and check this other new-fangled perl site for what I think is a pretty good DBI tutorial by some other monk), the DBI module documentation is actually pretty helpful. If you go beyond MySQL to something like (gasp!) Oracle, one thing that will help you is ... well, nothing will help you =)

(OK, that last comment is definitely the result of me wrestling with Oracle all day today. Feel free to disregard that one =)

Philosophy can be made out of anything. Or less -- Jerry A. Fodor


In reply to Re: Re: Leaning databases in Perl by arturo
in thread Leaning databases in Perl by r.joseph

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.