Service-oriented architecture

Service-oriented architectures largely consist of business logic in services that communicate with data repositories.

These services can be derived in different forms to build applications. These applications adopt these services in different formats to build various applications. Consider the services as Lego blocks that can be put together to build an application in a given format.

This description is rather crude; let me clarify further:

  • Boundaries for services are explicit (they may separate web services on different domains, and so on.)
  • Services can inter-communicate using a common communication protocol (for example all use RESTful APIs)
  • Services are autonomous (they are decoupled and not related to another service ...

Get Mastering PHP Design Patterns now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.