News for hackers. Stuff that matters.
Re:Angular 2 First App Post-Mortem by leeoniya on Friday January 22, 2016 @07:07PM (#10956429)
"All problems in computer science can be solved by another level of abstraction...except for the problem of too many levels of abstraction." [1]

BTW, if you want less framework-ness. Try a lightweight vdom lib. I worked with Mithril [2] for a while but after a few projects decided that MVC was poorly suited for front-end components. I'm writing what IMO is a great vdom view layer that's extremely fast, ~8k min, flexible (imperative/declarative), pure js and pleasant to use [3]. Feedback welcome :)

[1] https://en.wikipedia.org/wiki/Indirection

[2] http://mithril.js.org/

[3] https://github.com/leeoniya/domvm

Re:Angular 2 First App Post-Mortem by faizshah on Friday January 22, 2016 @08:31PM (#10956760)
I like it!

Can you add a comparison section to mithriljs and/or infernojs (the current leader in vdom performance)?

Also an example for routing would be nice.

Keep up the great work!

Re:Angular 2 First App Post-Mortem by leeoniya on Friday January 22, 2016 @08:43PM (#10956796)
perf is 2x mithril and 1x inferno at high mutations and "only" 0.5x inferno at low mutations. "only" because domvm gets 70/s vs inferno's 135/s on my i5 cpu on dbmonster at 1% mutation.

however, domvm views support isolated redraw and even granular node-level patching. so you can optimize much faster if needed

see here: http://mathieuancelin.github.io/js-repaint-perfs/

no routing yet, but some plans are brewing...wip :)

Re:Angular 2 First App Post-Mortem by esaym on Friday January 22, 2016 @10:37PM (#10957072)
domvm looks like something I might use. I know javascript, but I never could wrap my head around the larger frameworks.
Re:Angular 2 First App Post-Mortem by leeoniya on Friday January 22, 2016 @10:57PM (#10957119)
would be glad to answer any questions. feel free to open issues. the docs are sufficient but far from exhaustive.