EasyCoder Plugin

Descripción

EasyCoder is a programming language written in JavaScript/ECMAScript6 and packaged as a browser plugin. It is known to work with popular browsers such as Chrome and Firefox on Windows or Linux, as well as on current iOS and Android devices.

EasyCoder is for non-programmers, who generally find JavaScript hard to learn. Not everyone wants to be a professional programmer; most just want to achieve results with the minimum of effort. The work done by JavaScript in a web page mostly uses a small fraction of its capabilities, so we’ve taken the more common requirements and packaged them up in an English-like script syntax. Some of the things you may want to do are

  • Change the appearance of a screen element by modifying its CSS attributes. You may want something a little – or a lot – different to what your theme provides
  • Show and hide parts of your content, avoiding the need to reload the page by putting everything in at the start and selecting which parts of it to show
  • React to button clicks and other events by altering the appearance or revealing content as above
  • Retrieve content from web services using REST and JSON
  • Draw and animate simple graphics
  • Create a Google Map, put markers on it and intearct with the map and the markers
  • Include the CKEditor rich text editor in your pages
  • Include the Showdown markdown converter in your pages

EasyCoder provides a simple syntax to do all these things, at about the same level of complexity and readability as SQL or Excel macros. It’s a full programming language, though, capable of making complex logical decisions.

EasyCoder scripts are embedded in your page or post, inside a special «preformatted» tag. When the page loads, EasyCoder looks for this element then compiles and runs the script it contains. When it interacts with HTML elements it attaches their IDs to its own variables, so your HTML and its controlling script are in the same file.

The EasyCoder core module is currently about 55k bytes in its minimised form and it downloads its own plugin modules from a growing library. Its performance is good because it precompiles scripts – a process that takes only tens of milliseconds – and the compiled code for each command is only a thin wrapper around the corresponding JavaScript functionality.

When EasyCoder detects an error, either in compilation or at runtime, it opens a popup window with a friendly error message that tries to tell you what went wrong and where in the script it happened.

As a further help when developing scripts, EasyCoder has a single-step tracer where you can decide which variables to display for each step of your script. To use this feature you add another special «preformatted» section to your page and add the ‘trace’ command in your script where you want tracing to start. See the Documentation.

EasyCoder has a fully pluggable architecture. This means any JavaScript development team can make their own plugins, that ‘wrap’ EasyCoder functionality round their products so WordPress site developers can use them without the need to learn JavaScript. Plugins can be served from any website without any need to notify EasyCoder Software.

Documentation

Extensive documentation is available at our documentationpage.

Examples

A range of example scripts can be seen at our examples page.

Learning resources

For tutorials and a programmers’ reference see our EasyCoder Software Codex.

Reseñas

10 de septiembre de 2019
I really like this plugin. I've always wished for some sort of easy 'Basic'-kind of programming inside WP. This seems like a good aproach. The syntax is not Basic, more reminding of HyperTalk, but it's quite effective and workable. Also, it can be used outside WP.
Leer la 1 reseña

Colaboradores y desarrolladores

«EasyCoder Plugin» es un software de código abierto. Las siguientes personas han colaborado con este plugin.

Colaboradores

Traduce «EasyCoder Plugin» a tu idioma.

¿Interesado en el desarrollo?

Revisa el código , echa un vistazo al repositorio SVN o suscríbete al registro de desarrollo por RSS.

Registro de cambios

2.5.2 05-oct-2019

  • Fix bugs in drag & drop and others

2.5.1 30-aug-2019

  • CORS, bug fixes

2.5.0 26-aug-2019

  • Drag & drop

2.4.6 09-aug-2019

  • Minor updates to gmap and others

2.4.5 24-jul-2019

  • Update version number

2.4.4 21-jul-2019

  • Add ‘or’ clause to ‘attach’

2.4.3 5-jul-2019

  • Refactor for faster tokenizing

2.4.2 22-jun-2019

  • Fix another bug in REST server

2.4.1 18-jun-2019

  • Fix bug in REST server

2.4.0 18-jun-2019

  • Sorting & filtering; added the script editor

2.3.1 7-jun-2019

  • Bug fixes & updates to support learn-to-code

2.3.0 16-may-2019

  • All JS modues version-numbered; split json into json/rest

2.2.6 12-may-2019

  • Updated ‘require’; replaced missing sample file

2.2.5 9-may-2019

  • Updated ‘require’; replaced missing sample file

2.2.4 1-may-2019

  • Handler for on leave

2.2.3 29-apr-2019

  • Detect portrait and landscape

2.2.2 1-apr-2019

  • Added date formatting

2.2.1 17-mar-2019

  • New plugin: anagrams. Various changes/optimisations/bugfixes

2.2.0 25-feb-2019

  • New plugins: gmap and showdown.

2.1.9 21-jan-2019

  • Code checked by eslint.

2.1.8 16-dec-2018

  • All UI components can be created programmatically.

2.1.7 09-dec-2018

  • Moved local files out of plugins folder.

2.1.6 07-dec-2018

  • Fixed bugs in plugin loader.

2.1.5 06-dec-2018

  • Improvements to REST; new UI package.

2.1.4 18-nov-2018

  • Bug fixes and minor improvements.

2.1.3 29-oct-2018

  • Revised REST functionality.

2.1.2 26-oct-2018

  • Better error handling and reporting.

2.1.1 25-oct-2018

  • Added some more REST functions and a REST server.

2.1.0 21-oct-2018

  • Change from curly braces to backticks.

2.0.1 18-oct-2018

  • Bug fixes.

2.0.0 17-oct-2018

  • New pluggable architecture.

1.5.3 11-oct-2018

  • Added ‘replace’; fixed bugs.

1.5.2

  • Added some minor features, fixed bugs.

1.5.1

  • Fix some REST bugs.

1.5.0

  • Added sin, cos & tan trig functions; left and right substring operators; json shuffle.

1.4.0

  • Added alias variables.

1.3.0

  • Added width/height, modulo and array data assignment. Various other bug fixes.

1.2.0

  • Added new features to groups and other graphics items.

1.1.1

  • Bug fix

1.1.0

  • Added graphics features based on SVG.

1.0.0

  • Initial release version.