Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagephp
titleExample JS implementation example (Footer)
collapsetrue
<script 
src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>


ProsCons
  • easy and fast to implement
  • Requesting external sources
  • high availability (100% uptime)
  • longer access time when called from "local" network
  • easy to upgrade
  • does not work without internet access (might be bad for a NMS-Tool)
  • easy to maintain ( - no maintenance)
  • Dependant on source file -> debugging and adjustments hard to do

2 Local implementation

For the deployment version a local implementation is recommended.

...

Code Block
languagephp
titleExample JS implementation example (Footer)
collapsetrue
<script src="{{asset('components/assets-admin/plugins/bootstrap/js/bootstrap.min.js')}}"></script>


ProsCons
  • faster in "local" networks
  • installation, upgrade and maintenance required
  • independent of internet access
 
  • file can be easier debugged
 

Formating the downloaded

...

file in Sublime3 - recommended to prevent bugs/bad behaviour

To work with the files, they almost always need to be reformatted, because they are only machine readable and due to for me unknown properties the lines are sometimes too long and get not completely interpreted.

...

Now right-click into sublime in the opened file and click on HTML/CSS/JS Prettify -> Prettify Code

3 Installation through composer

TO-DO: Check Composer implementation seems also possible and would be easier to maintain and does automatic updates, but was not used by me, because copying the files to the corresponding folders was sufficient for me.

 

Filter by label (Content by label)
showLabelsfalse
max5
spacesLAR
sortmodified
showSpacefalse
reversetrue
typepage
labelsCSS JS Bootstrap Header Footer

...

hiddentrue

...