BEYOND MVC 
Oskar Szrajer
MODEL-VIEW-CONTROLLER 
MVC was one of the seminal insights in the early development of graphical user interfaces, and one ...
THE CLEAN ARCHITECTURE 
Robert Martin (Uncle Bob) 
http://blog.8thlight.com/uncle-bob/2012/08/13/the-clean-architecture.ht...
HEXAGONAL ARCHITECTURE 
(A.K.A. PORTS AND ADAPTERS) 
Alistair Cockburn 
http://alistair.cockburn.us/Hexagonal+architecture
7 PATTERNS TO REFACTOR 
FAT ACTIVERECORD MODELS 
1. Extract Value Objects 
2. Extract Service Objects 
3. Extract Form Obj...
SERVICE OBJECT 
https://t.co/tj2dBYT8f3 (Andrzej Krzywda)
SERVICE OBJECT 
From MVC to Service Object: 
1. Fat model, skinny controller 
2. Concerns 
3. Observers and callbacks 
4. ...
Upcoming SlideShare
Loading in …5
×

Beyond MVC, intruduction to Service Object

677 views

Published on

Basic intruduction to Service Object

Published in: Software
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
677
On SlideShare
0
From Embeds
0
Number of Embeds
9
Actions
Shares
0
Downloads
1
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Beyond MVC, intruduction to Service Object

  1. 1. BEYOND MVC Oskar Szrajer
  2. 2. MODEL-VIEW-CONTROLLER MVC was one of the seminal insights in the early development of graphical user interfaces, and one of the first approaches to describe and implement software constructs in terms of their responsibilities. Trygve Reenskaug introduced MVC into Smalltalk-76 while visiting Xerox Parc in the 1970s. In the 1980s, Jim Althoff and others implemented a version of MVC for the Smalltalk-80 class library.
  3. 3. THE CLEAN ARCHITECTURE Robert Martin (Uncle Bob) http://blog.8thlight.com/uncle-bob/2012/08/13/the-clean-architecture.html
  4. 4. HEXAGONAL ARCHITECTURE (A.K.A. PORTS AND ADAPTERS) Alistair Cockburn http://alistair.cockburn.us/Hexagonal+architecture
  5. 5. 7 PATTERNS TO REFACTOR FAT ACTIVERECORD MODELS 1. Extract Value Objects 2. Extract Service Objects 3. Extract Form Objects 4. Extract Query Objects 5. Introduce View Objects 6. Extract Policy Objects 7. Extract Decorators http://blog.codeclimate.com/blog/2012/10/17/7-ways-to-decompose-fat-activerecord-models/
  6. 6. SERVICE OBJECT https://t.co/tj2dBYT8f3 (Andrzej Krzywda)
  7. 7. SERVICE OBJECT From MVC to Service Object: 1. Fat model, skinny controller 2. Concerns 3. Observers and callbacks 4. Fat controller http://stevelorek.com/service-objects.html

×