News for hackers. Stuff that matters.
Re:BoiledCarrot by eropple on Thursday June 23, 2016 @10:01PM (#11965745)
> I'm reliably informed that there's no way to cook squirrels so they are appetizing to anyone who isn't desperate

Misinformed. Squirrels are pretty tasty. Need a few, though.

More to the point of the article, I appreciate that Fowler calls out stored procedures as something often misused but secretly pretty awesome. If you are working in an environment where you can handle a SQL database as a canonical datastore--and of course there are literally kajillions of opportunities for that--then sprocs can do a lot to isolate business logic at a level lower than the application. I wouldn't use them in every case, but I've had good success using them in many cases.

Re:BoiledCarrot by KingMob on Friday June 24, 2016 @04:11PM (#11973062)
Unfortunately, most database abstraction libraries and ORMs have the effect of reducing available database capabilities to the lowest-common denominator.

For example, look at how many ORMs have facilities to add commonly-required conditions to every query (e.g., "is_active = true"), but lack the ability to use views.

Re:BoiledCarrot by eropple on Friday June 24, 2016 @04:13PM (#11973082)
Use better ones. =) I'm a big fan of Sequel, for when I'm in an environment where I can deal with having models schema expressed via introspection of the database itself.