M
M
magary42016-02-08 15:34:23
JavaScript
magary4, 2016-02-08 15:34:23

Which "light" js library with templating and 2way-data-binding should I choose?

I used to use Angular. but it is more suitable for SPA or when there is a lot of interactive interface.
The current project on Symphony, everything is rendered by twig, but sometimes there are interfaces when you need to:
1. make a complex form (2-way-DB)
2. render some list from JSON
3. add some class to the div based on the value of which -some js-variable
that is well suited for my task?

Answer the question

In order to leave comments, you need to log in

8 answer(s)
F
frontendthug, 2016-02-08
@frontendthug

Vue.js

Y
Yuri, 2016-02-08
@riky

matryoshka js

D
Denis Ineshin, 2016-02-08
@IonDen

jquerymy.js

L
lega, 2016-02-09
@lega

Used to use Angular
Then check out Angular Light: 2way, 1-way, directives.
There are no providers, modules and other "husks".

D
Dmitry Pavlov, 2016-02-09
@dmitry_pavlov

Knockout.js ?

A
Anton Zhukov, 2016-02-09
@MrCheater

If you don't want React - take Mithril mithril.js.org
7 kb - and the possibilities are comparable

E
Evgeny Ivanov, 2016-02-18
@alexdjet

[tag sarcasm] very powerful and "light" - Vanilla JS [/tag sarcasm]

O
overmes, 2016-02-18
@overmes

Backbone + ModelBinder( plugin )
Marionette can be used instead of Backbone, but it is more complicated

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question