interesting • HHVM has been promising for a long time, but as PHP7 has become better, the need has diminished • Linux is generally recommended for servers • We prefer Postgres, but MySQL is fine too
environments • Docker for Mac is interesting, but not good enough yet • Docker in production is very interesting, and we hope to use it in a client project soon
domain • Analyze your problem domain, create a model • Entities, Value objects, Aggregates, Domain events, Services, Repositories and Factories • Event storming looks cool, but we’ve never had the opportunity to do it
to sit in your palace. • When your army has conquered new territory, you are passed a scroll with the details of the event • When you need to quash a rebellion to maintain pax romana, you send a scroll with your command to the governor
informative in nature, and they are passed to anyone whom they concern • Commands are imperative in nature, and they are only passed to their respective command handler
that any organization thrives when it has two leaders. Go ahead, name a country that doesn't have two presidents. A boat that sets sail without two captains. Where would Catholicism be without the popes?
• A controller takes an HTTP request, returns an HTTP response • Thin glue to your domain • Your domain code does not have any dependencies on your web framework
Symfony, the web framework is really only HttpKernel and HttpFoundation • Web related components (security, form) • Glue components (dependency injection) • Misc (yaml, ldap)
• Your domain code should know nothing of your DI container • Most of your bundle should know nothing of your DI container • Bundle extension and compiler passes mostly