User Tools

Site Tools


symfony:symfony_tutorial_notes:create_your_first_page_in_symfony

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
symfony:symfony_tutorial_notes:create_your_first_page_in_symfony [2015/09/17 01:20] – [Rendering a Template (with the Service Container)] mithatsymfony:symfony_tutorial_notes:create_your_first_page_in_symfony [2015/09/17 23:38] (current) mithat
Line 1: Line 1:
 ====== Create Your First Page in Symfony ====== ====== Create Your First Page in Symfony ======
 ===== TL;DR ===== ===== TL;DR =====
-  * Controllers live in **''src/AppBundle/Controller''**. Use annotation to specify routes.+  * Controllers live in **''src/AppBundle/Controller''**.
   * Templates live in **''app/Resources/views''**.   * Templates live in **''app/Resources/views''**.
 +  * Use annotation in controllers to specify routes.
   * **''app/''**: Contains things like configuration and templates--basically, anything that is not PHP code.   * **''app/''**: Contains things like configuration and templates--basically, anything that is not PHP code.
   * **''src/''**: Your PHP code lives here.    * **''src/''**: Your PHP code lives here. 
symfony/symfony_tutorial_notes/create_your_first_page_in_symfony.1442452819.txt.gz · Last modified: 2015/09/17 01:20 by mithat

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki