From: Austin Ziegler Date: 2005-10-27T22:19:24+09:00 Subject: Re: Ruby on Rails version of osCommerce in PHP? On 10/26/05, Jeremy Kemper wrote: >> On 10/26/05, Austin Ziegler wrote: >>> 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. > As far as I can tell, you have a moot point: David assumes the > ApplicationDatabase pattern. That's why, in part, I put the caveat in there. I still think that his position is a mistake, even for a single-app database, but it's less problematic. > Plus, I am sure he could be more wrong-- give him time ;-) I'm not sure on that. >>> 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. > There are a number of good reasons for strong typing too. Good thing Ruby has strong typing, then. -austin -- Austin Ziegler * halostatue@gmail.com * Alternate: austin@halostatue.ca