I’am new to symfony.
I need to build a static web page. The page simply contains a form but it could be any othe content: however the content is static.
The symfony documentation describes this pattern for user request handling:
user http request -> symfony router match the correct route (controller + action) -> an action on the controller is executed -> the action generate the http response
This is of course a valid pattern for handling requests that need to take data from database etc (non-static content)
For static content the action on the controller will always generate the same http response.
So for static content is there a way in symfony to access the static page without passing through the controller?
I know I can place a static html under the document root folder tree, but this seems not to be a symfony best-practice, does it??
Thank you so much
If you said about 1.4 Symfony, you can use this method for static page. Or you can