This is a page devoted to information about JavaScript. Not to be confused with Java.
From the Wikipedia JavaScript page:
JavaScript (JS) is an interpreted computer programming language. As part of web browsers, implementations allow client-side scripts to interact with the user, control the browser, communicate asynchronously, and alter the document content that is displayed. It has also become common in server-side programming, game development and the creation of desktop applications.
Java Scripting of JavaScript#
The Java Scripting functionality is in the javax.script package. A ScriptEngineManager object can discover script engines through the jar file service discovery mechanism. It can also instantiate ScriptEngine objects that interpret scripts written in a specific scripting language. The simplest way to use the scripting API is as follows:
- Create a ScriptEngineManager object.
- Get a ScriptEngine object from the manager.
- Evaluate script using the ScriptEngine’s eval methods.
Some links:
JavaScript Libraries#
- Node Packaged Modules (npm) (the Node Package Manager for JavaScript)
- Node.js is a platform built on Chrome's JavaScript runtime for easily building fast, scalable network applications. Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices.
- Masonry is a JavaScript grid layout library. It works by placing elements in optimal position based on available vertical space, sort of like a mason fitting stones in a wall.
- RequireJS is a JavaScript file and module loader. It is optimized for in-browser use, but it can be used in other JavaScript environments, like Rhino and Node. Using a modular script loader like RequireJS will improve the speed and quality of your code.
- D3.js (Data-Driven Documents) is a JavaScript library for manipulating documents based on data. D3 helps you bring data to life using HTML, SVG and CSS. D3’s emphasis on web standards gives you the full capabilities of modern browsers without tying yourself to a proprietary framework, combining powerful visualization components and a data-driven approach to DOM manipulation. See also D3.
- DataMaps: Interactive maps for data visualizations: bundled into a single Javascript file. lots of help!
- TopoJSON is an extension of GeoJSON that encodes topology. Rather than representing geometries discretely, geometries in TopoJSON files are stitched together from shared line segments called arcs. TopoJSON eliminates redundancy, offering much more compact representations of geometry than with GeoJSON; typical TopoJSON files are 80% smaller than their GeoJSON equivalents. In addition, TopoJSON facilitates applications that use topology, such as topology-preserving shape simplification, automatic map coloring, and cartograms.
- FlotCharts: Attractive JavaScript plotting for jQuery.
- noty is a jQuery plugin that makes it easy to create alert messages as an alternative the standard alert dialog.
Links#
- JSFiddle
- JSC WebKit
- Jasmine Tests: introduction-1.3.1.js
- Rhino Shell
- click-to-zoom via transform
- US Wind
- Tokyo Wind (includes references to tech and data sources)
- Urban Bus Races
- Nokia's HERE - Maps for Life
- Map Projections
- World Boundaries TopoJSON
- Google Fonts (includes step-by-step on how to use)