Sign up FAST! Login

domo-js.com


domo js com

Source: domo-js.com

Stashed in: JavaScript, Awesome, javascript libs

To save this post, select a stash from drop-down menu or type in a new one:

Really smart approach to dynamically creating HTML in JS.

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?

 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.

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

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

You May Also Like: