News for hackers. Stuff that matters.
Re:Hexagonal Architecture Guidelines For Rails by bestie on Tuesday March 18, 2014 @08:29AM (#7421460)
Having the indirection there allows you to take the Rails features you want with your boundary clearly defining which ones you depend on.

You could start with Rails, get ActiveRecord querying, migrations and template rendering for free and then maybe swap it out for Sinatra and the Sequel gem (I have actually done this).

Knowing your where your dependencies and technical debts are is very empowering.

Re:Hexagonal Architecture Guidelines For Rails by binarysoul on Tuesday March 18, 2014 @10:55AM (#7422279)
What does hexagonal mean?
Re:Hexagonal Architecture Guidelines For Rails by dcuthbertson on Tuesday March 18, 2014 @11:19AM (#7422440)
It's a reference to Alistair Cockburn's "Ports and Adapters" pattern, also called "Hexagonal Architecture".[1] The only reason I ever heard of it is that it was mentioned in the book "Growing Object-Oriented Software, Guided by Tests", by Steve Freeman and Nat Pryce (a good book in my opinion).

[1] http://alistair.cockburn.us/Hexagonal+architecture