scripts stylesheets |
Is it a bad practice to make a header and footer file and call EVERY script and style sheet inside ?
(03-10-2019, 09:41 PM)php_rocs Wrote: @ChiKaLiO, y thats exactly what made me think lol so for "special" scripts/stylesheets i just add them to the body or there is a better way to do it ?
(03-10-2019, 06:51 PM)ChiKaLiO Wrote: Is it a bad practice to make a header and footer file and call EVERY script and style sheet inside ? For simple sites I have recently started to generate web-pages by using a common master View template which caters for the vast majority of cases: Parameters passed to the common template are all generated in Controllers and passed to the following View: PHP Code: <?php |
Welcome Guest, Not a member yet? Register Sign In |