Sign up and get the BEST of PandaWhale! Sign Up Login

domo-js.com

Really smart approach to dynamically creating HTML in JS.

12:42 PM Nov 09 2012

Props Given:
2

dōmo lets you write HTML markup and CSS styles in JavaScript syntax, in the browser and on the server. dōmo is a simpler, easier, and more reliable alternative to template engines and CSS pre-processors, and works well with all the tools you already use, from jQuery to Backbone.js to CoffeeScript.

What makes this approach better?

1:06 PM Nov 09 2012

 In the conversation on HN the package author says that the improvement is a better platform for extending and improving CSS and HTML, since JS is such a well understood beast.

For myself the attraction is that it is a cleanly factored approach to unifying CSS, JS and HTML syntax. I found it inspiring to think of this as all three at the same time.

1:10 PM Nov 09 2012

Props Given:
1

All I know is that JavaScript seems to be everywhere these days.

Unifying CSS, JS, and HTML syntax sounds like magic to me. 

5:33 PM Nov 09 2012

You May Also Like:

STASHES