B
B
bernex2015-03-05 09:00:37
JavaScript
bernex, 2015-03-05 09:00:37

How to choose a JavaScript framework: AngularJS, EmberJS, Backbone or without for a specific task?

Never worked with any before.
10 years of experience in JS, so I want to start quickly and complete the task. I would like to know what is best suited for the task.
Task: admin.
Only division into pages and fields of various types. No lists, key-value, just different visualization of the value. And for each page it receives fields from the server.
The menu with the page is loaded, and the very first one is selected, a request is made with json (loading the settings page, lazy load):

[
    { type:'title', title:'Заголовок'},
    { type:'input', title:'Имя', value:23, key:'name' },
    { type:'image', title:'Фото', value:{id:23234, src:'fssdf.jpg', bigsrc:'fdfd.jpg'}, key:'image', desc:'Описание' },
]

It parses all this and displays various controls, there can be up to 20 of them.
When saving, only changed value elements are sent.
The selected page changes the url so that it will be loaded on reload.
My thoughts.
AngularJS doesn't seem to be easy, but it's certainly the number one to consider.
EmberJS is more like it because MVC is more explicit. But why is it so big - 300kb.
In general, without a framework, I also like it, I always did it, classes are all you need and jQuery for the DOM, but now I want to do it in fashion and get a win in development, stability and support.
What do you say to me, people with experience?
I would be glad if someone has a link to an example of such admins to have a look...
Thank you!

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Alexey Ukolov, 2015-03-05
@bernex

I think Backbone will give you exactly what you want - a foundation on which you can work in the way that suits you. It does not impose any restrictions on the architecture. And if you decide later that you need something more high-level, add Marionette.

S
Sergey Melnikov, 2015-03-05
@mlnkv

backbone

K
Kir ---, 2015-03-05
@SowingSadness

AngularJS doesn't seem to be easy, but it's certainly the number one to consider.

He died as a framework, not having time to get stronger. There was a big marketing puff. It is not used in any real big projects. The authors are already rewriting it.
Look towards KnockoutJS, it suits you perfectly. I had nothing to do with EmberJS.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question