Diese Präsentation wurde erfolgreich gemeldet.
Wir verwenden Ihre LinkedIn Profilangaben und Informationen zu Ihren Aktivitäten, um Anzeigen zu personalisieren und Ihnen relevantere Inhalte anzuzeigen. Sie können Ihre Anzeigeneinstellungen jederzeit ändern.
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. ...
Nächste SlideShare
Wird geladen in …5
×

Beyond MVC, intruduction to Service Object

747 Aufrufe

Veröffentlicht am

Basic intruduction to Service Object

Veröffentlicht in: Software
  • Als Erste(r) kommentieren

  • Gehören Sie zu den Ersten, denen das gefällt!

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

×