From: snacktime Date: 2005-10-27T04:46:20+09:00 Subject: Re: Ruby on Rails version of osCommerce in PHP? ------=_Part_9292_1878262.1130355975280 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On 10/26/05, Austin Ziegler wrote: > > On 10/26/05, petermichaux@yahoo.com wrote: > > Here is David Heinemeier Hanson's thoughts about why it is best to keep > > the database dumb > > > > http://www.loudthinking.com/arc/000516.html > > As much as I respect David's work on Rails, he can't be more wrong on > this matter -- *unless* you're talking a single-app database. The > moment you need more than one application talking to your database, > those constraints he considers "wrong" are vital. > > There are a number of good reasons to have strong constraint support > in the database. I mostly agree with him about putting business logic > in the database -- but that's triggers and stored procedures, not > constraints. There are, however, times when it is important to have > that sort of behaviour available. > Frankly, I trust postgresql more than I do rails to ensure the integrity of my data. I'll keep my constraints thank you:) Chris ------=_Part_9292_1878262.1130355975280--