pleasant ideas and electronics

about mmm

mmm is a collection of Lua/Moonscript modules for web development. All modules are 'polymorphic' - they can run in the browser, using the native browser API for creating and interacting with DOM content, as well as on the server, where they operate on and produce equivalent HTML strings.

As the two implementations of each module are designed to be compatible, mmm facilitates code and content sharing between server and client and enables serverside rendering and rehydration.

  • mmm.dom: a lightweight DSL for creating HTML documents
  • mmm.component: a small and DOM-centric framework for reactive web interfaces