Example about Selective Auth for @mimikadze
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
payload_manipulator_service
spec
.gitignore
.rspec
Gemfile
Gemfile.lock
LICENSE
README.md
config.ru
payload_manipulator_service.rb

README.md

simple example for representing how to split and abstract responsibilities between the rack-apps.

By default there is no real convention in how to use the framework it self, but if you want to split/abstract responsibility from one application into multiple, you can easily do so.

There is some useful thumb of rule that we follow:

  • no monkey patch / overload
  • try stick with Screaming Architecture if possible
    • Name your Application based on what it's purpose
  • don't mutate application on runtime, prepend as much as possible
  • Try stick with the "single responsibility" ideology
    • each of your application should achieve one goal

These are not iron rules, only rules that we like, and follow, but if you have different style, that is awesome too and when you got some time share with us! :)