Skip to content

Instantly share code, notes, and snippets.

@blaix
blaix / framework.md
Last active September 18, 2015 20:56
What I want in a web dev framework

What I want:

Single-purpose "action" objects.

I want to look at a project's file structure and see what it does. Something like actions/create_article.rb that has a CreateArticle class who's only job is to create articles.

No controllers/viewsets that handle an entire set of CRUD operations on a resource.

Don't push request/response stuff into the business logic layer.