Goal: 1 topic - 1 commit.
- Pick topic from topic list.
- Create new issue (if nobody created so far). This will prevent us all from doing the same thing.
- Write example code to cover the topic.
- Add explanatory comments.
- Tests, of course.
- Update README.md
Already done
section with link(s) to official Symfony documentation where the topic is explained. - Mark topic as done with
+
in topic list - Commit. Message should be formatted as
Topic: subtopic
, for example:Dependency Injection: Factories
. - Do Pull Request.
See example commit.
Run $ phpunit
in project directory.
- Creating Symfony project using
symfony
installer CLI tool. http://symfony.com/doc/current/book/installation.html
$ symfony new learn-symfony
- Dependency Injection: factories http://symfony.com/doc/current/components/dependency_injection/factories.html
- Bundles: Overriding default error pages http://symfony.com/doc/current/cookbook/controller/error_pages.html
- Controllers: The request http://symfony.com/doc/current/book/controller.html#requests-controller-response-lifecycle
- Controllers: The response http://symfony.com/doc/current/book/controller.html#the-request-and-response-object
- Automated Tests: Request and response objects introspection http://symfony.com/doc/current/book/testing.html. Examples came with #4 and #5 (see above).
- Templating with Twig: Controller rendering. Render template without controller http://symfony.com/doc/current/cookbook/templating/render_without_controller.html.
- Security: Firewalls. http://symfony.com/doc/current/components/security/firewall.html
- Security: Guard authenticators http://symfony.com/doc/current/cookbook/security/guard-authentication.html
- Automated Tests: Profile object http://symfony.com/doc/current/cookbook/testing/profiling.html
- Forms: Forms creation http://symfony.com/doc/current/book/forms.html
- Automated Tests: Framework objects access http://symfony.com/doc/current/book/testing.html#accessing-internal-objects
- Templating with Twig: Template includes http://symfony.com/doc/current/book/templating.html#including-templates
- Console: Built-in commands http://symfony.com/doc/current/components/console/usage.html#built-in-commands
$ bin/console list
$ bin/console # the same
$ bin/console help
$ bin/console help list