Structural patterns

Structural patterns can be used when we need to use an instance with an interface that doesn't match our requirements, or we can improve our code base by building a class hierarchy that assumes each sub-type makes it possible to extend or alter the functionality of objects at runtime. We can also restrict access to an object by using the Proxy pattern.

This section covers the following patterns:

  • Adapter
  • Decorator
  • Facade
  • Proxy
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.144.107.193