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
Node.js is the basis of five components to build application for the web or the desktop.
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.
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.
Electron: IPC vs. WebSocket
For local Node.js applications, which of these two data exchange modes to choose?
Electron: Prompt dialog box
A modal substitution dialog created entirely with the functions of Electron. (In ipcMain).
HTML dialog tag and modal window for Electron
To replace prompt() or other dialog, a simple HTML tag. (In ipcRenderer).
Using IndexedDB with Electron
A simple database for your locale application, compatible with a web app.
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 (PHP or other language) 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.
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.
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.
Script wto access XML or save an object in an XML file.
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.