djkz / workflows-rails

Playing with a different code layout

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

README

The goal of this project is to experiment with a different code layout:

Instead of CRUD, we are focusing on our workflows and domains.

  • lib/workflows - workflows allow us to see all actions performed in the workflow, for example our store lets us browse, view, buy and refund books.
  • lib/domains - domains allow us to keep the models thin and give names to things that are specifically in that domain.

get started

Create a user model, and a couple of book models, then run rails server

About

Playing with a different code layout


Languages

Language:Ruby 76.8%Language:HTML 11.7%Language:JavaScript 9.6%Language:CSS 1.2%Language:SCSS 0.6%