Simulacra.js
Languages and libraries
javascript ui library
SHOW HN2015
How HN took it
3 positive, 1 neutral or asking, 0 mixed, 4 critical, out of 8 comments about the project. Thread score -0.17.
Design: 1 for, 2 againstPerformance: 0 for, 2 againstIdea: 2 for, 0 against
The thread, comment by comment
Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.
positive neutral or mixed critical about another commenter or something else the maker
What HN said
What people liked
Compact, minimalist, handles the basic case without boiling the ocean
From 2 comments
I've been looking for something like this. This cleanly solves the basic (majority) case and doesn't try to boil the ocean. It looks like it would be easy to build a higher-level…
matthewtoast on HNInteresting project and it's nice to see work done on something compact and minimalist. But I don't like that CSS classes are used to bind data. I know other libraries do this…
teleclimber on HN
Simple enough to adopt for lightweight UI
From 2 comments
I love it! This is going to be my goto library for lightweight ui from now on. https://github.com/marksteve/todo-simulacra
marksteve on HNI've been doing database-backed web apps using MVC frameworks for so many years, that it's hard for me to wrap my head around the front-end javascript frameworks. This one seems…
jordanlev on HN
Objections
Using CSS classes for data binding mixes style and behaviour
From 3 comments
Interesting project and it's nice to see work done on something compact and minimalist. But I don't like that CSS classes are used to bind data. I know other libraries do this…
teleclimber on HNThis looks pretty interesting. It does require the structure of the HTML to be very similar to the object, though. And I'm not thrilled that is uses the class name for a DOM node…
Dru89 on HNIf you always use something like 'data-bind' for binding and keep classes solely for CSS it's easier to maintain simply because you know 'what classes you can delete' without…
nilliams on HN
Unclear whether vector binding and heterogeneous elements are supported
From 1 comment
This is fine for scalar binding of simple values - a property mapping to a value - but what about vector binding, where you have a list of items, and need the UI to reflect…
barrkel on HN
Benchmarks are hard to reproduce
From 1 comment
These benchmarks are tough to reproduce (for all libs). Mithril's instructions say, "To run an execution time test on this page, run the profiler from your browser's developer…
leeoniya on HN
Requests
More realistic examples of a full app
From 1 comment
I've been doing database-backed web apps using MVC frameworks for so many years, that it's hard for me to wrap my head around the front-end javascript frameworks. This one seems…
jordanlev on HN
Stress tests such as dbmonster and speedtest
From 1 comment
These benchmarks are tough to reproduce (for all libs). Mithril's instructions say, "To run an execution time test on this page, run the profiler from your browser's developer…
leeoniya on HN
Clearer usage via script tag without a bundler
From 1 comment
I've been doing database-backed web apps using MVC frameworks for so many years, that it's hard for me to wrap my head around the front-end javascript frameworks. This one seems…
jordanlev on HN
Questions
How to use it in a plain script tag rather than with require
From 1 comment
I've been doing database-backed web apps using MVC frameworks for so many years, that it's hard for me to wrap my head around the front-end javascript frameworks. This one seems…
jordanlev on HN
Does it support sorts, insertions and deletions in lists
From 1 comment
This is fine for scalar binding of simple values - a property mapping to a value - but what about vector binding, where you have a list of items, and need the UI to reflect…
barrkel on HN
Alternatives named
Mustache / Hogan.js
From 1 comment
I think you're correct about its intended use case being different. I used Twitter's Mustache compiler, Hogan.js, in a similar fashion for a tiny app once. Though I suppose I…
tedmiston on HN
domvm
From 1 comment
These benchmarks are tough to reproduce (for all libs). Mithril's instructions say, "To run an execution time test on this page, run the profiler from your browser's developer…
leeoniya on HN
Pure templating (beebole)
From 1 comment
reminds me of http://beebole.com/pure/
leeoniya on HN