dimanche 27 novembre 2016

Are service object, transaction script and strategy design patterns the same?

I couldn't find any definition of the Service Object design pattern.

The Transaction Script design pattern

Organizes business logic by procedures where each procedure handles a single request from the presentation.

The Strategy design pattern

Define a family of algorithms, encapsulate each one, and make them interchangeable. Strategy lets the algorithm vary independently from clients that use it.

Are they similar/equal?

Aucun commentaire:

Enregistrer un commentaire