Skip to content

phallguy/shamu

Repository files navigation

Shamu

Gem Version Code Climate Test Coverage Inch CI Circle CI

Have a whale of a good time adding Service Oriented Architecture to your ruby projects.

(Also check out shog for better rails logs)

SOA

Components

  • {Shamu::Attributes}
  • {Shamu::Entities}
  • {Shamu::Services}
  • {Shamu::Security}
  • {Shamu::Sessions}
  • {Shamu::Events}
  • {Shamu::Auditing}
  • {Shamu::Features}
  • {Shamu::Rails}
  • {Shamu::JsonApi}

Dependency Injection

.... Scorpion

Using with Rails

Active Record

Shamu does not come with a hard dependency on ActiveRecord - it should work with any persistence you've chosen to use in your project. It does come with some convenience mixins to make it easier to work with AR.

  • {Shamu::Entities::ActiveRecord} adds convenience methods for working with ActiveRecord models as entities.

Controllers

  • {Shamu::Rails::Controller}

Contributing

See LABELS