Versions Compared

Key

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

...

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.

...

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.

For Sublime 3 exists a Plug-in to automatically beautify HTML, JS and CSS code. With the help of this Plug-in the code becomes human-readable and gets interpreted without errors

Link to sublime Plug-in page: https://packagecontrol.io/packages/HTML-CSS-JS%20Prettify

...

This code creates the Installed Packages folder for you (if necessary), and then downloads the Package Control.sublime-package into it. The download will be done over HTTP instead of HTTPS due to Python standard library limitations, however the file will be validated using SHA-256.

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

3 Installation through composer

...