VERSION 3.6.3 PRODUCTION, 15 March 2018
Really most of the existing "frameworks" are WAY too massive to have any business on a normal website. Many of them by themselves gZip COMPRESSED are half the size I usually allow for an entire page template's HTML + CSS + scripts + images; yet amazingly their massive bloat is BEFORE you actually even start adding USEFUL scripting that actually does stuff to the page. In addition, they are quite often chock full of functions that most people would never use, outright abuse, are CSS' job, or just plain don't belong on a website!
- Maximum download size targets once gzipped of 12k for the complete source (currently 11.92k), and 8k or less gzipped when both minification and gzip compression is applied. (currently 7.68k)
Implements the DOM-JON specification in the
_.writemethods for quickly and easily adding complex element structures to the DOM without resorting to the slow, quirky, and often insecure
innerHTMLmethod. In fact the use of innerHTML and methodologies like it are discouraged by elementals.js. As it well should be!
Designed for inclusion before
</body>, speeding load time.
- Encourages the use of scripts that attach themselves to the document, as opposed to being called by the attributes in the markup or inlined scripting. This makes elementals.js far easier to deal with when working in environments such as the Content Security Policy.
Provide shims/polyfills in legacy browsers for missing ECMAScript functions like
- Cross-browser AJAX object creation that allows passing a series of 'readystate' and 'status' handlers.
uSortstyle method for Lists and Tables directly off existing markup. No need to waste time trying to pass the data in the scripting separately, just pull it from the live page!
- DOM walking tools like various 'each', 'next' and 'prev' methods, that can be passed a 'mask' for either specific tags, or nodetypes.. In addition all children or the entire sub-tree can be easily walked with a callback.
Class handling methods akin to those in the new
For the time being news and announcements will be posted over on our sister site:
CutCodeDown - Minimalist Semantic Markup.