K
K
kcfco2015-06-14 19:27:00
JavaScript
kcfco, 2015-06-14 19:27:00

JS framework\library with two-way binding for small widgets?

You need a javascript framework or library to create small (but often complex) widgets. Examples of such widgets:

  • Form with complex logic (not implemented via pjax)
  • Notification Widget
  • Product selection or smart search widget
  • Chat Widget

Of course, all these points can be implemented through jquery familiar to everyone, but when using templating \ two-way binding, the amount of code is significantly reduced, and it looks more understandable.
What I tried:
  • Angular - difficulties with several angular widgets in one document, it is difficult to throw some additional script (jquery plugin as an example) if the author of the script did not provide for working with angular, rapid obsolescence of the current version (the second one is approaching, which is actually a new framework)
  • Ember js - convenient, but too much nailed down, to the point that dependency injection without the use of dirty hacks can only be done in a few system classes (route, controller)

Meterorjs and its analogues will not work, since the backend is in php or potentially in java.

Answer the question

In order to leave comments, you need to log in

5 answer(s)
S
Sergey, 2015-06-14
Protko @Fesor

Polymer

L
lega, 2015-06-14
@lega

Angular Light, there is a full isolation mode.

S
Sergey Melnikov, 2015-06-15
@mlnkv

https://muut.com/riotjs/melnikov5.github.io/riotjs
_

K
Konstantin Kitmanov, 2015-06-15
@k12th

vuejs.org
rivetsjs.com
www.ractivejs.org

K
Kir ---, 2015-06-15
@SowingSadness

reactjs
knockoutjs

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question