Re: DBA - closing in on an initial release (fwd)
| From: | Stig S. Bakken | Date: | Wed, 10 Jul 2002 05:19:58 +0000 |
| Subject: | Re: DBA - closing in on an initial release (fwd) | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-7608@lists.php.net to get a copy of this message | ||
Copied to DBA. If you "cvs rm" DB_DBA now, you'll have cvs history
preserved for both.
- Stig
On Tue, 2002-07-09 at 17:09, Brent Cook wrote:
> That's what we ended up releasing it as; DBA. I had placed it in CVS as
> DB_DBA because we thought it belonged in the database category, though it
> has little to do with the DB package. If you could move it to DBA and keep
> the CVS history, that would be great! I've moved myself once, and it was
> such a tragic experience...
>
> - Brent
>
> On 9 Jul 2002, Stig S. Bakken wrote:
>
> > The package name should be DBA, not DB_DBA. The package name should
> > correspond to the "main class" if there is one. Your main class is
> > called DBA, so your package should be called DBA too. I can fix the
> > move on cvs.php.net for you so you don't lose cvs history, if you like.
> >
> > - Stig
> >
> > On Sun, 2002-07-07 at 06:19, Brent Cook wrote:
> > > Hi Folks,
> > >
> > > The DBA class and friends located in DB_DBA are almost ready for an
> > > initial release. The classes are working well for me, and though they
> > > could always use some more documentation, I feel that there is enough
> > > included to start using the classes.
> > >
> > > What is there is a wrapper class for the dba functions built into PHP, a
> > > replacement class (DBA_Simple) that implements a DB-style database in PHP,
> > > a compatibility class that exports the dba functions on installations that
> > > do not have DBA compiled in (does dba compile into windows?).
> > >
> > > Additionally, a table class and a database manager class provide advanced
> > > functionality like selects, sorts, joins, projects, automatic table
> > > locking and more.
> > >
> > > The benefit of these classes over flat files or straight-up dba
> > > functions is a richer query system, more uniform access and DBA_Simple
> > > appears to be higher performance than flat files (it uses a linear index
> > > to access a data file, though the data file can be read without it). Cons
> > > are extra complexity (though not much more) and potential impedence
> > > mismatches moving between servers (i.e. different dba drivers might be
> > > available for use), though this can be prevented by using the simple
> > > driver.
> > >
> > > The benefit of these classes over a full-blown DBMS is that it runs
> > > completely within a webserver with no extra software to run, and it is
> > > especially useful when no DBMS is available for use, or you want to use a
> > > cheap hosting service but still have database access. Cons are that it
> > > does not support SQL, but rather simple database operations are
> > > implemented as individual functions and nested to form a query. If you
> > > know database basics, it should not be hard forming queries.
> > >
> > > May I ask for a little peer review and package-releasing magic on the pear
> > > website? Thanks. I hope that someone finds this useful besides me.
> > >
> > > - Brent
> > >
> > >
> > >
> > > --
> > > PEAR Development Mailing List (http://pear.php.net/)
> > > To unsubscribe, visit: http://www.php.net/unsub.php
> > --
> > Stig Sæther Bakken, Fast Search & Transfer ASA, Trondheim, Norway
> > http://pear.php.net/wishlist.php/ssb
> >
> >
> > --
> > PEAR Development Mailing List (http://pear.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
> >
>
>
> --
> PEAR Development Mailing List (http://pear.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
--
Stig Sæther Bakken, Fast Search & Transfer ASA, Trondheim, Norway
http://pear.php.net/wishlist.php/ssb