a way of organizing service objects

Post on 14-Apr-2017

120 Views

Category:

Technology

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

A way of Organizing

Service Objects

Marc IgnacioSoftware Developer

@ AELOGICAGithub: @padiTwitter: @pd_i

ModelView

Controller

Service Object

Action

Action1

Action3

Action2

light-service

Rails Controller

Background Job

Example

Some Features● Expects and Promises● Logging● Benchmarking actions● And many more...

● github.com/adomokos/light-service● RailsConf 2013: "Simple and Elegant Rails Code with

Functional Style" by Atilla Domokos○ https://www.youtube.com/watch?v=glU_I3Xiooc

● Execution in the Kingdom of Nouns○ http://steve-yegge.blogspot.

com/2006/03/execution-in-kingdom-of-nouns.html

Resources

Thanks!

Marc Ignaciotwitter: @pd_i github: @padi

top related