JavaScript, language for web pages

JavaScript is an object-oriented structured and dynamic scripting language for web pages.

JavaScript

Building web page requires knowledge of several programming languages: HTML or XHTML for content, CSS for design. With these two languages web pages will be static and accessible from any device you use to view the page. The biggest drawback of this situation is an interaction between the user and page. User has to wait for loading of new page every time he fills out the form. JavaScript makes web page more alive, allowing response to user’s actions without the need to reload the page.

Developing JavaScript

JavaScript was developed by Brendan Eich at Netscape. Its key points, that appealed to both professionals and beginners, were: lightweightness and simpleness. The language was originally named LiveScript during release in 1995. Later name was changed to JavaScript.

Such name choice was well thought out marketing move. Though JavaScript has almost nothing in common with Java, the latter was gaining popularity and Netscape decided to add a little bit of confusion and attention to its new product.
This interpreted language for web pages gained success very quickly. In 1996 JavaScript support was introduced by Microsoft in its web browser, Internet Explorer, in version 3.0. Microsoft's implementation was named JScript .

Nowadays, JavaScript is a part of Oracle Corporation.

Building with JavaScript

JavaScript is an structured and dynamic scripting language. The basic syntax was intentionally made similar to both C++ and Java to facilitate professional’s and newbie’s learning process.

JavaScript is both an object-oriented and procedural language. Once an object is constructed it can be used as a prototype for building of similar one. Runtime object construction, dynamic script creation, and source code recovery make JavaScript more dynamic.

JavaScript has implementation as part of web browsers that allows interaction with user and alteration of displayed content. But it is not only one way directed language. Games, desktop applications and server-side programming use JavaScript in their development.

Support products

To improve structure or design JavaScript developers may use additional web frameworks and libraries:

JavaScript testing with Karma

Karma is a simple and lightweight open source test runner for JavaScript. It is well suited for testing AngularJS code or any other JavaScript projects.

Ionic framework

Ionic is an open source front-end framework for development of hybrid mobile apps. It allows to use well-known web technologies such as HTML, CSS and JavaScript, Sass, and AngularJS.

MediaElement.js

MediaElement.js offers a complete HTML5 player that supports playback in all popular browsers, replacing HTML5 with a Flash or Silverlight-powered player if necessary.

simpleCart(js)

E-commerce JavaScript solution that integrates shopping cart with your website

Collaboration is easy with TogetherJS

TogetherJS is a free and open source HTML5 based JavaScript library that adds collaboration tools to your website. Main features: cursor-mirroring, co-browsing, co-presence, text and voice chat, etc. Use collective.js.togetherjs to integrate library into your Plone website.

Use Highslide JS to view images

Highslide JS is an open source highly configurable thumbnail viewer written in JavaScript. Highslide JS can be integrated into Plone via collective.js.highslide or collective.plonetruegallery.

Create grids in a more intuitive way with Gridster.js

Gridster.js is a jQuery plugin that allows to design intuitive drag-and-drop layouts. Elements can span multiple columns and can be both re-ordered, added and/or removed from the grid dynamically and at anytime. collective.gridlets integrates Gridster.js into Plone.

D3.js brings data to life using HTML, SVG and CSS

D3.js (Data-Driven Documents) is a JavaScript library for manipulating documents based on data. It provides data visualization in W3C-compliant computing, applying HTML5, JavaScript, CSS3, and SVG and combining powerful visualization components with a data-driven approach to DOM manipulation. D3 can be integrated into Plone CMS using collective.js.d3 package.

Converse.js adds webchat to a website

Converse.js is an open source web-based XMPP Instant Messaging client written in JavaScript that integrates a webchat client into any website. collective.xmpp.chat and collective.xmpp.core integrate Converse.js into Plone.