menu
Menu
Drakon.Tech logo
Drakon.Tech
Get started
Drakon.Tech documentationProgramming in DRAKONThe basics of programming with Drakon.TechAdvanced programming methodsGame examplesThe source codeLegacy tutorials (JavaScript 0.2)Tutorial 1. Hello world!Tutorial 2. Variables and functionsTutorial 3. Basic flow controlTutorial 4. ChoiceTutorial 5. For each loopTutorial 6. The arrow loopTutorial 7. SilhouetteTutorial 8. Lambdas and exceptionsTutorial 9. ModulesTutorial 10. Concurrent programming with scenariosExamplesLibraries

Examples

All examples

Source code: examples.js

Hello world

A very minimal Drakon.Tech app. See the Startup section.

Hello HTML

Build the page with imperative JavaScript.

Hello modules

Use an external module to build the page.

CSS

Change CSS-styles dynamically.

Source code: examples.js / ex04_css

Hello npm

Use npm libraries in the browser.

Source code: examples.js / ex05_npm

Programming demo

Various features of Drakon.Tech in use:

  • functions
  • flow control
  • loops
  • globals
  • exceptions
  • lambdas
  • classes

Scenarios

Use scenarios to control the high-level logic of the user interface.

Node.js

Build a server app for Node.js without external packages.

Node.js with Express

Build a server app for Node.js with express npm package.

close
Close
Drakon.Tech logo
Drakon.Tech home
Programming in DRAKONThe basics of programming with Drakon.TechAdvanced programming methodsThe source codeLegacy tutorials (JavaScript 0.2)