cerad / ng2016

AYSO National Games 2016
MIT License
2 stars 0 forks source link

AYSO Open Cup 2017

Install

Use composer install (as opposed to update) to install or update.
This ensures that composer.lock will be used which in turn means that the same software versions will be used.

Changes from ng2016

Thought about moving the various module services files to app/config/services per the docs. This would avoid the need for the DI extension. Could probably do the same thing with routing. But going to keep then under Module for now for consistency.

Also considered making individual bundles but want to avoid the mess that ng2014 turned into. Might still try it later. CommonBundle AppBundle UserBundle RegPersonBundle RegTeamBundle GameBundle

Traits

For ng2016 had a bewildering set of abstract controller/view/form classes. Trying to clean it up.

Have an ActionTrait which in turn uses RouteTrait and SecurityTrait. Added setter injections for the required services. Might want a LoggerTrait as well later.

Reused the RouteTrait and SecurityTrait for the KernelListener.

Trying to move as much project specific stuff as possible into the project yaml file.

The Symfony Standard Edition is configured with the following defaults:

It comes pre-configured with the following bundles:

All libraries and bundles included in the Symfony Standard Edition are released under the MIT or BSD license.

Enjoy!