Bryar::DataSource::DBI(3pm) - phpMan

Command: man perldoc info search(apropos)  


Bryar::DataSource::DBI(3pm)    User Contributed Perl Documentation    Bryar::DataSource::DBI(3pm)



NAME
       Bryar::DataSource::DBI - Retrieve blog posts and comments from database

SYNOPSIS
       o  Create a mysql database called "bryar":

              CREATE TABLE posts (
                    id mediumint(8) unsigned NOT NULL auto_increment,
                    content text,
                    title varchar(255),
                    epoch timestamp,
                    category varchar(255),
                    author varchar(20),
                    PRIMARY KEY(id)
              );

              CREATE TABLE comments (
                    id mediumint(8) unsigned NOT NULL auto_increment,
                    document mediumint(8),
                    content text,
                    epoch timestamp,
                    url varchar(255),
                    author varchar(20),
                    PRIMARY KEY(id)
              );

       o  Install "Class::DBI::mysql" and "Class::DBI::AbstractSearch"

       o  Ensure the web server's database user can read from all tables, and write to the
          comments table.

       o  Put "source: Bryar::DataSource::DBI" in your Bryar config.

       o  Get blogging!



perl v5.10.0                                2004-11-26                Bryar::DataSource::DBI(3pm)

Generated by $Id: phpMan.php,v 4.49 2006/02/26 13:18:18 chedong Exp $ Author: Che Dong
On Apache
Under GNU General Public License
2012-05-21 22:32 @38.107.179.239 Crawled by CCBot/1.0 (+http://www.commoncrawl.org/bot.html)
Valid XHTML 1.0!Valid CSS!