• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Sheriff
Posts: 67747
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic