EasyCoder documentation

    

How it works

EasyCoder is a set of lightweight wrappers round chunks of JavaScript, specifically those that allow you to customize the appearance and behavior of web pages. These are mostly concerned with setting CSS styles on page elements and with handling events such as mouse clicks.

JavaScript is a comprehensive language that can perform most any computing task that users and programmers are capable of imagining. However, the price of this is increasing complexity. There's so much it can do but it's hard to know which parts are important and which are only rarely needed.

To make programming web pages as simple as possible we identified the core of what is needed to control them and devised an English-like syntax that any website designer or owner should be able to understand without the need to learn JavaScript. Then we built the EasyCoder plugin that contains a compiler and runtime support; this is a single JavaScript file that is added to the page header.

The user writes a program script and embeds it in a special tag inside the page itself. When the page loads, EasyCoder searches for the tag, compiles the script and runs it. Because the script is part of the web page there's no need to maintain any special external files. When you make a change the result can be seen immediately, just by viewing the page.

Note to programmers: EasyCoder is an Open Source project hosted on GitHub.