422 posts
  • Exclusive Author
  • Bought between 1 and 9 items
  • Referred between 50 and 99 users
  • Has been a member for 1-2 years
  • Sold between 10 000 and 50 000 dollars
  • Philippines
phpbits says

Hi Everyone,

Just planning on studying javascript framework. Which of the two do you recommend the most? Thanks

Cheers, phpbits

575 posts Magento Elite & Gravity Maker
  • Elite Author
  • Sold between 100 000 and 250 000 dollars
  • United States
  • Has been a member for 4-5 years
  • Referred between 50 and 99 users
  • Bought between 1 and 9 items
  • Exclusive Author
GravityDept says
35 posts
  • Bought between 1 and 9 items
  • Exclusive Author
  • Has been a member for 2-3 years
  • Referred between 10 and 49 users
  • Sold between 50 000 and 100 000 dollars
nicole_89 says

You can check a sample app written in many popular frameworks here http://todomvc.com/ https://github.com/tastejs/todomvc/tree/gh-pages/architecture-examples and decide based on code, backbone is the most common and mostly used with http://marionettejs.com/ or http://chaplinjs.org/ but pretty old.

Angular approach seems pretty messy for me, having all the bindings and stuff in html attributes makes thing hard to maintain having to go forth and back between code and attributes on the other hand underscore template engine used in backbone and clones messes html as well by polluting them with brackets.

Most js frameworks do a good job on separating stuff and are useful in very big apps but all fail on the view part making it hard to maintain, is beyond me why having the power of DOM they treat the view as a string like on server side.

Also depending on the complexity of your app and how big it is, a js framework maybe overkill, there is the learning curve, many things that will bloat and increase your code only to respect the framework conventions etc after studying all the examples in there I liked the jQuery example the most, minimum organization to keep things maintainable and let’s your app evolve in it’s own way.

by
by
by
by
by
by