It is easier to manage objects operating simultaneously with the concept of goals.
Simple implementation of this paradigm, which brings a new level of ease in programming.
Node.js, first steps
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.
Script with also a function to access an item by ID and save an object in an XML file.
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 socket.io.
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.
A readLine function to Node.js
File System module has a flaw: you can not read a text file line by line. Here is a simple function to complete this module.
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.
The simplest autocomplete code
With no framework, no regular expression.
Three methods are proposed to include a JS file, two with functions provided by Node.js.
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.
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 ...
Script to check the required version of the browser
Tell users which version you have to install for the application to work.
Compatibility test of new features
- jQuery and its plugins to design a professional web application. Selection of plugins and widgets to make an application more quickly.