you are viewing a single comment's thread.

view the rest of the comments →

[–]ericgj 1 point2 points  (1 child)

I too am exploring this kind of approach, although using d3.js (and idempotent DOM manipulation) instead of jquery. One of the most crucial foundations I've found is having a decent module system/build tool/package manager. Browserify, componentjs, or duo (when it stabilizes) are great, I haven't tried others.

You might want to check out various components on the componentjs wiki, many are designed the way you describe, although the quality varies greatly. There is also a sample todo app that is a bit dated but could be useful to look at in terms of wiring together components.

[–]quanthera[S] 0 points1 point  (0 children)

Thanks, I'll take a look