Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

So many Javascript options and approaches, how do you choose?

 
andrew ennamorato
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There are lots of ways to do things in JS, it seems. Just try a search for 'OO JS' on github.

How do the authors choose their approach when faced with a problem they're trying to solve? Do they use 'design patterns' they're familiar with using raw JS or do they pull in Underscore or Backbone?
I guess I could say I'm an intermediate level Javascripter, but lately it seems there's too many options to choose from - heck just the Constructor pattern itself has multiple options. I think something like TodoMVC is pretty cool, as it shows different approaches...but what is there for just JS the language and patterns itself? i.e. Do we need an 'Effective Javascript' book (there are actually is one: http://effectivejs.com) or is Secrets it?
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64631
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Secrets" will teach you JavaScript, pure and simple. (Well, advanced JavaScript is anything but simple, but you know what I mean). It does not cover frameworks or how to choose one.

Of course, being a JavaScript ninja will certainly help you to evaluate whether particular frameworks are suitable to your needs or not.
 
andrew ennamorato
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Bear.

I guess sometimes it feels a little overwhelming when looking at JS "best practices" so hopefully Secrets helps clear that up. It seems lately there are a lot of good resources but the more the better.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic