Examples
All examples
Source code: examples.js
Hello world
A very minimal Drakon.Tech app. See the Startup section.
Source code: examples.js / ex01_helloworld
Hello HTML
Build the page with imperative JavaScript.
Source code: examples.js / ex02_hellohtml
Hello modules
Use an external module to build the page.
Source code: examples.js / ex03_modules
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
Source code: examples.js / ex06_programming
Scenarios
Use scenarios to control the high-level logic of the user interface.
Source code: examples.js / ex07_scenarios
Node.js
Build a server app for Node.js without external packages.
Source code: examples.js / ex08_node
Node.js with Express
Build a server app for Node.js with express npm package.
Source code: examples.js / ex09_node_express
Contact: drakon.editor@gmail.com