Symfony: 3 – Requests and responses

Requests and responses Symfony provides two classes that allow you to interact with the HTTP request and response. The Request and Response classes are part of a standalone component included with Symfony called HttpFoundation. This component can be used entirely independently of Symfony and also provides classes for handling sessions and file uploads. The Request
Continue reading Symfony: 3 – Requests and responses

Symfony: 9 – Doctrine

Symfony comes integrated with Doctrine, a library whose sole goal is to give you powerful tools to make this easy. By convention the database connection is usually configured in an app/config/parameters.yml file. Introduction You can have doctrine create the database for you: $ php app/console doctrine:database:create$ php app/console doctrine:database:create One mistake developers make when starting
Continue reading Symfony: 9 – Doctrine