2017 © Pedro Peláez
 

library phpfox-html

Asset (javascript, stylesheet, Meta, ...) manager library for phpfox framework

image

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

The README.md

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)

  1. Put stylesheet resource to HEAD tag
  2. Put javascript resource to the end of BODY tag.
  3. Reduce number of requests
  4. Control javascript use requirejs
  5. Control stylesheet use requirecss

The Versions

29/11 2016

dev-master

9999999-dev

Asset (javascript, stylesheet, Meta, ...) manager library for phpfox framework

  Sources   Download

MIT