background preloader

JavaScript

Facebook Twitter

12 Steps to MooTools Mastery. This tutorial is about understanding and mastering the MooTools library. It does so by offering a high level introduction to the history and foundations of the Core library: where to start, where to explore, what to master, and more. 1. Prototypal Inheritance The foundation of the MooTools framework is really in the prototypal inheritance model of JavaScript. With JavaScript however, everything is created immediately, even before you instantiate the objects with the "new" operator. The example above is actually a rather popular means of introducing the concept of prototyping. Prototyping simple code patterns like the for loop above can save tons of time when working on larger projects. 2. Wayyyy back in 2006, Chris Heilman was already getting fanatical about the object literal syntax...

Like most programming languages, in JavaScript there exist a large number of stylistic preferences and "best practices. " 3. A simple MooTools class will look something like this (notice the syntax): 4. You Might Not Need jQuery. An Introduction To Full-Stack JavaScript.

Build

Eloquent. Code Quality. JSHint, a JavaScript Code Quality Tool. Document Object Model (DOM) JavaScript. JavaScript (JS) is a lightweight interpreted (or just-in-time compiled) programming language with first-class functions. While it is most well-known as the scripting language for Web pages, many non-browser environments also use it, such as Node.js, Apache CouchDB and Adobe Acrobat. JavaScript is a prototype-based, multi-paradigm, single-threaded, dynamic language, supporting object-oriented, imperative, and declarative (e.g. functional programming) styles. JavaScript's dynamic capabilities include runtime object construction, variable parameter lists, function variables, dynamic script creation (via eval), object introspection (via for...in and Object utilities), and source-code recovery (JavaScript functions store their source text and can be retrieved through toString()).

This section is dedicated to the JavaScript language itself, and not the parts that are specific to Web pages or other host environments. Looking to become a front-end web developer? Get started. JS: The Right Way.