G
G
Gleb2015-10-08 14:31:17
css
Gleb, 2015-10-08 14:31:17

Is there a miracle framework in JS?

Colleagues, good afternoon.

I often come across tasks where there is a lot of simple js logic (show \ hide).
Example : order form for individuals and legal entities. face. Depending on the type of payer selected, different fields are displayed + these fields have their own logic, such as when choosing the country Russia in the delivery address, we use cladre, if not, then only manual entry without prompts, etc. tasks.

Problem : often, such logic turns into a huge monster containing hundreds of onclick, onchange events, and any improvements take the lion's share of time and lead to errors in other blocks.

Question : is there a JS framework that summed up the description of logic in such tasks under one template?

The presence in the framework will be a huge plus : ajax, localstorage, validation, form submissions.

Also, with great pleasure I will listen to how you design such logic before implementation.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
E
Evgeny Petrov, 2015-10-08
@EvgenZZ

BackBone.js + Marionette.Js, https://github.com/jashkenas/backbone/wiki/Extensions ,-Plugins,-Resources

A
Alex Sokol, 2015-10-08
@Sokol_ua

VanillaJS

V
Viktor, 2015-10-08
@Levhav

You might like angularJS

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question