BRSWEB_2

Teaching Objectives of Demo

  1. DON'T use Javascript recursion even if it will translate from Python. This sidesteps it by flattening. Javascript recursion is almost always a terrible idea in production. (The production version of this does the flattening in Python before in response to a JSONRPC and works for all classes that can subclass TTS or use it as a mixin.
  2. Be careful about construction of objects. Python equivalencies are not always pyjs equivalencies
  3. Have fun and experiment with stylesheets and lower-contrast pages. Your taste is probably better than mine, but reducing optic fatigue for surfers is a noble goal.