Symfony2 Code. Project structure Welcome page php.ini.

20
Symfony2 Code

Transcript of Symfony2 Code. Project structure Welcome page php.ini.

Symfony2

Code

Project structure

Welcome pagephp.ini

Configure Symfony online 1

Configure Symfony online 2

Configure Symfony online 3

app\config\parameters.yml

Another welcome page

Hello World demo

Creating bundle

New bundle!

Routing

View

Database configuration app/config/parameters.yml – just by

convention

Create Entity

Alternatively:

To generate getters and setters:

To generate table in database:

How to save data to database

Fetch data

Other helpful methods