library phpfox-html
Asset (javascript, stylesheet, Meta, ...) manager library for phpfox framework
codelego/phpfox-html
Asset (javascript, stylesheet, Meta, ...) manager library for phpfox framework
- Tuesday, November 29, 2016
- by codelego
- Repository
- 1 Watchers
- 0 Stars
- 4 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 1 Forks
- 0 Open issues
- 1 Versions
- 0 % Grown
Html element library for phpfox framework.
HTML Structure, (*1)
{html}
{directive}
{header}
{title}
{keyword}
{description}
{meta}
{link}
{open_graph}
{style}
{inline_style}
{script}
{inline_script}
{static_html}
{body}
{search_main}
{search_nav}
{search_form}
{breadcrumb}
{mainMenu}
{subMenu}
{category}
Your Html Content Here
{footer
{script}
{inline_scripts}
{static_html}
Best Practice, (*2)
>, (*3)
In order to optimize front-end, let control javascript/stylesheet by your own., (*4)
- Put stylesheet resource to HEAD tag
- Put javascript resource to the end of BODY tag.
- Reduce number of requests
- Control javascript use
requirejs
- Control stylesheet use
requirecss
dev-master
9999999-dev
Asset (javascript, stylesheet, Meta, ...) manager library for phpfox framework
Sources
Download
MIT