by Proleps on 6/27/13, 11:06 AM with 8 comments
So far I haven't really felt the need to use frameworks or libraries. I've been close to using JQuery but I've able to avoid it until now. But even if I end up using JQuery, it is just a library and not a framework.
What do frameworks like Backbone.js, and ember.js have to offer? These frameworks offer functionality at the cost of adding a lot of complexity.
by cyphax on 6/27/13, 11:25 AM
In the case of such frameworks like Backbone/ember/Angular: these are implementations of MVC or MVVM or other such patterns, in Javascript. These make it easy to share data between web services you create, and, in the case of e.g. Knockout, bind data to controls on your page. You save yourself from having to write AND test all these things yourself. I have tried, for the first time, Backbone mere days ago, to see what the added benefit is. It gave me what's required to send data (in JSON format) to, for example, my controller, but what's nice about it is, for example, model binding.
It might not be entirely unlike PHP's situation: you can program your projects in plain PHP, or you can use the Zend Framework or Symphony or whatever you prefer, which adds a lot of (tested) logic that you otherwise would have to program yourself.
Do you NEED it? Not using these won't limit you, but you'll probably find yourself programming these things out yourself in a lot of cases, where many smart people have done this already.
by meerita on 6/27/13, 11:31 AM
The question came to me after I did my 3rd bootstrap like architecture for some projects I've been working for. You will end doing something like JQuery in the end, if you want to be organized and want to maintain all in a large team, you end up doing a framework so everyone does the same.
After doing it 4 times, I realized I can use Boostrap and do the same on 1/4 of the requiered time and, avoid the testing phase for many, many things.
by chc on 6/27/13, 11:44 PM
by CyberFonic on 6/27/13, 12:05 PM
by workhere-io on 6/27/13, 3:32 PM
by hkarthik on 6/27/13, 3:48 PM