Re:Why I Hate Frameworks
by mnutt on Wednesday July 20, 2011 @09:42PM
(#2788190)
Check out ARel. (it's in ActiveRecord 3, part of Rails) It uses relational algebra and is pretty good about letting you mix and match:
[ Parent
| on HN ]
Right, yeah that's pretty nice!
The CodeIgniter ActiveRecord library follows the same pattern. Unfortunately, it's pretty kludgey and requires you to use CodeIgniter.
Do you have an example that shows how to use ARel to do relational algebra?
I believe it just uses it under the hood, but I'm not familiar enough with relational algebra (or ARel) to know for sure. Here's a blog post from the author:
http://magicscalingsprinkles.wordpress.com/2010/01/28/why-i-...