filmov
tv
Tuto #3 symfony 4: : Routing in symfony 4
Показать описание
Routing
4.2 version
edit this page
Having flexibility is even more important. What if you need to change the URL of a page from /blog to /news? How many links would you need to hunt down and update to make the change? If you're using Symfony's router, the change is simple.
Creating Routes¶
A route is a map from a URL path to a controller. Suppose you want one route that matches /blog exactly and another more dynamic route that can match any URL like /blog/my-post or /blog/all-about-symfony.
Routes can be configured in YAML, XML and PHP. All formats provide the same features and performance, so choose the one you prefer
Srexpert-المبرمج
المبرمج طريقك لتعلم لغات البرمجة
Programmeur votre façon d'apprendre les langages de programmation
Programmer your way to learn programming languages
#php #java #magento #javascript #jquery #reactjs #angularjs #js and more..
4.2 version
edit this page
Having flexibility is even more important. What if you need to change the URL of a page from /blog to /news? How many links would you need to hunt down and update to make the change? If you're using Symfony's router, the change is simple.
Creating Routes¶
A route is a map from a URL path to a controller. Suppose you want one route that matches /blog exactly and another more dynamic route that can match any URL like /blog/my-post or /blog/all-about-symfony.
Routes can be configured in YAML, XML and PHP. All formats provide the same features and performance, so choose the one you prefer
Srexpert-المبرمج
المبرمج طريقك لتعلم لغات البرمجة
Programmeur votre façon d'apprendre les langages de programmation
Programmer your way to learn programming languages
#php #java #magento #javascript #jquery #reactjs #angularjs #js and more..