WARNING: This server provides a static reference view of the NetKernel documentation. Links to dynamic content do not work. For the best experience we recommend you install NetKernel and view the documentation in the live system .

HTML5 Frameworks

This module provides a single convenient deployment of common HTML5 web frameworks.

HTTP Response

The framework server is dynamically imported into the Frontend Fulcrum.

The RESTOverlay is used to wrap the libraries. It provides the following features for all libraries:

  1. SHA1 ETags for the served resource for long term 304 negotiation
  2. Automatic negotiated resource compression. This is in addition to existing minification of a given library and provides for highly efficient network optimisation. For example, bootstrap.min.css goes from 103kB to 16kB.
  3. Each served resource has an HTTP EXPIRES header one day in the future and Cache-Control max-age of 86400.

Here is an example of the HTTP response header for a resource from the module...

Cache-Control	public, max-age=86400
Content-Encoding	gzip
Content-Length	42226
Content-Type	application/x-javascript
Date	Thu, 28 Feb 2013 12:48:23 GMT
Etag	"1a59be663dd3695b34e37c3a19663e8170a564ba"
Expires	Fri, 01 Mar 2013 12:48:23 GMT
Last-Modified	Thu, 28 Feb 2013 12:48:23 GMT
Server	NetKernel [NetKernel Enterprise Edition 5.1.1] - Powered by Jetty

Latest Convention

By convention a REST interface containing the word latest will give a stable alias for the latest available implementation of a given technology.

Also specified are versioned interfaces for long-term stability.

For examples see the links below...

ACE

ACE Code Editor Javascript library

Demo

AngularJS

AngularJS Javascript library

Demo

Bootstrap

Bootstrap CSS framework

Demo

CanJS

CanJS Javascript library

Demo

D3.js

D3 Javascript library

Demo

Font-Awesome

Font-Awesome CSS icon library

Demo

html5 shiv

html 5 shiv HTML5 IE enabling script

Demo

  • for use, check the other demos

JQuery

Jquery Javascript library

Note that the 2.x releases of JQuery no longer support Internet Explorer 6, 7, or 8 !

Demo

Leaflet

Leaflet An Open-Source JavaScript Library for Mobile-Friendly Interactive Maps

Demo

DataTables

DataTables JQuery Plugin for HTML Tables

Demo

Foundation

Foundation Frontend Framework

Demo

Prism

Prism Lightweight, robust, elegant syntax highlighting

Demo

Pure

Pure A set of small, responsive CSS modules that you can use in every web project.

Demo

Respond

Respond A fast & lightweight polyfill for min/max-width CSS3 Media Queries (for IE 6-8, and more)

Demo

  • for use, check the other demos

Updates

This module will be stable and will endeavour to preserve legacy versions of libraries. New releases will be provided periodically (with an anticipated twice yearly cycle).

If you need to use a more recent version of a given library and can't wait for an update cycle. Then simply clone this module, rename it for yourself and drop the newer library into the resource/framework/ directory. No other editing should be needed.

Acknowledgements

We are grateful to all those that have created and/or contributed to these libraries. Please see licenses for individual licensing terms.