资 源 简 介
Mkup is a small tool that can be used to create DOM nodes using Javascript, using a convenient API that makes building complex DOM structures easy, maintainable and fast.
Currently, Mkup is (minified) 2.3 kb small and depends on Prototype (Tested with 1.6, but should work from at least 1.5 on). A jQuery Plugin version of it in the works, but currently, getting a useful and stable API is needed first. File a bug if you want to use it as jQuery plugin, this may speed things up :-)
Mkup implements the builder pattern, much like the ones found in Groovy.
If you want to give it a try, have a look at the Examples, or open the workbench, where you can try the API without hassle or installation - just type some code and click "run"!
Comments, suggestions and patches are very welcome!