proofit404 / stories

Service objects designed with OOP in mind.
https://proofit404.github.io/stories/
BSD 2-Clause "Simplified" License
296 stars 21 forks source link

Problem: existing code base. #645

Open proofit404 opened 3 years ago

proofit404 commented 3 years ago

Guides / Legacy projects

  1. extract simple one function services from fat models/controllers
  2. refactor function services into stories with hard-coded behavior
  3. extract implementation details from hard-coded stories
  4. extract business rules from stories into entities
  5. state contracts to cast entities from dicts automatically

Follow up of #134