JavaScript for all applications

JavaScript is now a server side language too and allows to make applications running locally or online with Web's standards.

Why to replace PHP by JavaScript on the server?
What does JavaScript offers that PHP does not have?

Second part: A CMS in JavaScript on the server. With the example of Ghost.

Node.js Node.js tutorials

Using JavaScript at command line with the V8 compiler
JavaScript may be used as a scripting language on the local desktop.

Node.js, first steps
Description of features of this JavaScript server, and why it is important for developers.

A system for making online or offline applications
The Node.js environment is essentially made of five components, here a list of software you can choose to these components.

How to build a page and application server script
Second step in the study of Node.js, how to make a basic server.

Running locally a PHP program from the browser
Node.js connects the browser to executable files on a local machine. So a HTML page can launch a local script.

HTML 5 as an interface to a local script, with Node.js
How to pass data to a script running on the local desktop once entered in a HTML form. These data become parameters to the script and results are send to the browser as a web page.

First steps with WebSocket and Node.js
Creating an interaction between a server and a HTML page, online or locally, is very easy with

PHP script used locally, with HTML 5 interface  thanks to WebSocket
This demonstration provides the additional possibility for a local script after receiving data from the HTML interface to send the results to the same interface, which can then process and display them.

Widgets & Scripts Drop down list with rotate button

Rotating list
To select an option from a short list, the rotating list (which can also be a down list) is more convenient than the traditional drop-down menu.

JavaScript.Ini: Configuration file manager
This script generates an HTML user interface from a JSON configuration file for a local (with Node.js) or online application. It also allows you to update the file based on the options selected by the user. A full demo is provided for download.

How to highlight the current page in a list
Showing in a summary included on several pages which link corresponds to the current page.

Difference between two dates
In years or day. Age of a person.

How to make JavaScript links
You can add unlimited links in a page without the risk to look like a link farm to search engines if links are visible to users but not to the engines ...


Compatibility test of new features
Since ECMAScript 1.6 and even more Harmony, JavaScript has new capabilities. But what browsers support them? The test page can check it directly.

jQuery and its plugins to design a professional web application
Selection of plugins and widgets to make an application more quickly.

Resources A rose in JavaScript