How about DBD::SQLite? Is very fast, accept SQL syntax, and don't need a DB server to work, all is made by the module (the module is the server).

About your problem for distribute your application, why not send it with the DBI & DBD modules in the binarys, since you are publishing binarys with PerlApp.

You can wait the module HDB to be published, that works with DBI. With HDB you don't need to use SQL, you just use the commands of the module and perl syntax (all the query syntax is based on Perl), and HDB convert to the SQL syntax for each database. In other words, all your commands in HDB will work with any database, and if you want to change the DB you don't need to change the commands of your script. For example, I develope my site with HDB, and I test it in my Win2k desktop, using HDB::SQLite, but when I send to the server it works with HDB::Mysql, the only thing that I change is in the HDB->new(type=>'sqlite'...) to HDB->new(type=>'mysql'...). HDB make all the convertions of types of columns, and resources that one DB have and others not. And the module is very easy to use, I have peoples using it a lot but doesn't know anything about SQL syntax!

DBD::SQLite
SQLite Web Site

Graciliano M. P.
"The creativity is the expression of the liberty".


In reply to Re: To DBI or not to DBI by gmpassos
in thread To DBI or not to DBI by rzward

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.