Skip to content

Instantly share code, notes, and snippets.

Markus markushausammann

View GitHub Profile
View awesome-php.md

Awesome PHP Libraries

A list of amazingly awesome PHP libraries that you should consider using (and some other shiny extras).

View gist:4556064

In [this precursor question][1], I asked about the practical way of using the new Zend\Session component. That question contains a lot of misconceptions I got when first looking at the component.

This question is about the practical way of really doing things.

  • are my proposed ZF ways correct?
  • are there better ways?

For more depth, let's compare how we would do certain things with Zend\Session as well as the Symfony Session component:

Symfony (given you register the namespaced attribute bag):

You can’t perform that action at this time.