
Enterprise Rails
by Dan Chak · first published 2008
10mentions
7recommended by
9HN commenters
2009–2022first – last mentioned
78% recommend22% neutral
Why HN recommends it
Covers database design, performance, and optimization for Rails apps, including data modeling and materialized views the framework skips. Uses an evolving example; suited to developers who know basic Rails.
Summarised by Claude from recommending comments
Affiliate links. As an Amazon Associate I earn from qualifying purchases.




…(http://www.pragprog.com/titles/rails3/agile-web-development-...) Other books you may want to consider afterward are: * The Art of Rails (http://www.amazon.com/Art-Rails-Programmer/dp/0470189487) * Enterprise Rails (http://oreilly.com/catalog/9780596515201/).
on “Can you recommend some good RoR books?” ↗I like "Enterprise Rails". It's a rather contrarian Rails book in that it doesn't hew to the Rails anti-DB orthodoxy. It's clearly written and has a good example that evolves over the course of the book. It's meant to be a 2nd…
on “Can you recommend some good RoR books?” ↗I don't disagree that oracle has excellent materialized view support, but triggers and other strategies can go a long way also, I think Dan Chak did a really nice chapter on this in his book enterprise rails, that is also available online for free at http://dan.chak.org/enterprise-rails/chapter-12-materialized...
on “MariaDB Raises $9M More, Michael Howard Named New CEO, Monty Widenius CTO” ↗…several hours. Whereas php was minutes. In terms of sys admin and performance and optimization, I rather deal with php. As DBA, I do not really want an ORM. BTW when you feel good with RoR - check out Enterprise Rails - wow - good stuff on performance and optimization.
on “Learning Ruby and Rails, where would you start?” ↗I love Rails, but I strongly disagree with its philosophy of the DB as being just a dumb data store. Two things I would recommend. One, the book Enterprise Rails. It's a few years old, so all the examples are from Rails 2, but the meat of it is about proper database design, including the stuff that Rails doesn't believe in (composite primary keys, foreign key…
on “Ask HN: How can I learn "advanced" data modelling for Rails?” ↗…stable technologies. (Gist: Pick from the toolbox, carefully... apply common-sense... Don't get stuck on perfect now or perfect waay later... Anticipate a little now to avoid pain of changing later.) PS: Enterprise Rails is a great read. It's safe to ignore the Rails bits, because the architecture bits are universal and excellent. Update: RESTful API metadata formats http://apiux.com/2013/04/09/rest-metadata-formats/…
on “Why we ditched Django for Microservices” ↗There is the book Enterprise Rails that has a section on data modeling. Even if you don't use Rails, that section of the book is worth it.
on “Ask HN: Is DBA still a good job?” ↗the Enterprise Rails book has a great section on databases that I think takes things to the next level.
on “Ask HN: What are the best short tech/engineering books you have read?” ↗…pace and rhythm and success of projects. It's not just code and processes, but why such processes were implemented a n the first place. I'm violating my own principle, so I'll give an example: the book, Enterprise Rails, opens with a chapter titled, " The Tale of Twitter". Here's an excerpt: https://dan.chak.org/enterprise-rails/preface/ > Because Twitter was the largest, most public Rails site around, its stumbles…
on “Professional Software Development” ↗…always had a soft spot for both efficient online markets and excellent food, and who knew there'd be a project that deals with both? :) The founder (Dan Chak) is also the author of the O'Reilly book 'Enterprise Rails' so I have a feeling if these guys hit it big, they're in good hands when it comes to scaling....(cue rabid discussion of the term 'enterprise' and all issues havin to do with Rails and scaling....) Anyway,…
on “Algorithms and Asparagus: Using Technology to Boost Local Food” ↗