702 posts
  • Won a Most Wanted contest
  • Made it to the Authors' Hall of Fame
  • Has sold $40,000+ on Envato Market
  • Has referred 100+ members
+5 more

Hi Everyone,

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

Cheers, phpbits

770 posts Magento Elite & Gravity Maker
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $125,000+ on Envato Market
  • Located in United States
  • Has been part of the Envato Community for over 5 years
+4 more
60 posts
  • Sells items exclusively on Envato Market
  • Has been part of the Envato Community for over 2 years
  • Has referred 50+ members
  • Has collected 1+ items on Envato Market
+2 more

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.

Helpful Information

  • Please read our community guidelines. Self promotion and discussion of piracy is not allowed.
  • Open a support ticket if you would like specific help with your account, deposits or purchases.
  • Item Support by authors is optional and may vary. Please see the Support tab on each item page.

Most of all, enjoy your time here. Thank you for being a valued Envato community member.

Post Reply

Format your entry with some basic HTML. Read the Full Details, or here is a refresher:

<strong></strong> to make things bold
<em></em> to emphasize
<ul><li> or <ol><li> to make lists
<h3> or <h4> to make headings
<pre></pre> for code blocks
<code></code> for a few words of code
<a></a> for links
<img> to paste in an image (it'll need to be hosted somewhere else though)
<blockquote></blockquote> to quote somebody

:grin: :shocked: :cry: Complete List of Smiley Codes