The Introduction explains the rationale for the _Wunderbar way and leads new users through some tutorials implemented with Wunderbar.
- A simple Hello World
- Hello World with logic and style
- Basic Chat is easy to build
- System commands can be directly output
- A simple Wiki with previews
- Adding modularity with common runtimes (Sinatra, polymer, etc.)
- Defining Extensions to Wunderbar itself
- Basic Calendar app implemented in Wunderbar
- _Suffix And Options CheatSheet
Wunderbar features include globals and environment vars, command line options, and app logging.
- Wunderbar in
lib/wunderbar
is documented in the code - Helper
tools
likeweb2script.rb
- Basic
test
scripts for core behavior in Wunderbar
As a general convention in output, underscores in element and attribute names are converted to dashes. A few other special character conventions are used in Wunderbar.
_
: underscore generally refers to Wunderbar itself, but is used in a variety of other contexts as well_p "This emits a paragraph."
and is the most common usage_.comment "This is a Wunderbar comment."
as a method on Wunderbar itself_.system "git add #{file}"
executes the command and outputs results- When used, jQuery is mapped to
~
instead of$
, thus:~'textarea'.readonly = true
Method Suffixes:
!
: normally turns off all special processing, including indenting?
: normally adds code to rescue exceptions and produce tracebacks_
: adds extra blank lines between this tag and siblings