Summary: Zend Framework 2 Documentation

Study material generic cover image
  • This + 400k other summaries
  • A unique study and practice tool
  • Never study anything twice again
  • Get the grades you hope for
  • 100% sure, 100% understanding
Use this summary
Remember faster, study better. Scientifically proven.
Trustpilot Logo

Read the summary and the most important questions on Zend Framework 2 Documentation

  • 1 Zend\ServiceManager

  • What is the Service Locator Design Pattern?

    The Service Locator Design Pattern is a design pattern which encapsulates the process involved in obtaining a service with a strong abstraction layer.
  • Which component implements the Service Locator Design Pattern?

    Zend\ServiceManager
  • Which functionalities does Zend\ServiceManager have in addition to the ones described in the ServiceLocatorInterface?

    - Service registration
    - Lazy-loaded service objects
    - Service factories
    - Service aliasing
    - Abstract factories
    - Initializers
  • Which listener handles the loading of the Zend\ServiceManager configuration?

    Zend\ModuleManager\Listener\ServiceListener
  • Which interface can be implemented to provide configuration to the framework?

    Zend\ModuleManager\Feature\ServiceProviderInterface
  • Which are the six valid keys in the service_manager configuration element?

    1. abstract_factories
    2. aliases
    3. factories
    4. invokables
    5. services
    6. shared
  • What are the two disadvantages of closures in configuration files?

    1. You cannot use the caching mechanism for configuration files.
    2. All closures are read at module loading time in stead of factory methods.
  • What is the best practise for service names?

    Use the FQCN
  • 1.1 Delegator Service factories

  • What interface do you use when you want to wrap a service in a decorator?

    The Zend\ServiceManager\DelegatorFactoryInterface
  • Name one purpose of wrapping a service in a decorator?

    For AOP programming

To read further, please click:

Read the full summary
This summary +380.000 other summaries A unique study tool A rehearsal system for this summary Studycoaching with videos
  • Higher grades + faster learning
  • Never study anything twice
  • 100% sure, 100% understanding
Discover Study Smart