Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-22600

Refactor listeners so that conditional ones are attached by an earlier event

    XMLWordPrintable

    Details

      Description

      See http://slides.seld.be/?file=2011-10-20+High+Performance+Websites+with+Symfony2.html#44 and http://slides.seld.be/?file=2011-10-20+High+Performance+Websites+with+Symfony2.html#45.

      When a response/exception listener only applies within a context, the listener should ideally be added by the request listener (if any).

      This at least applies to the REST listeners. Instead of setting a request property, eZ/Bundle/EzPublishRestBundle/EventListener/RequestListener.php should attach the response & exception listeners if the request is a REST ONE.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            bertrand.dunogier@ez.no Bertrand Dunogier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: