*
The moose likes HTML, CSS and JavaScript and the fly likes So many Javascript options and approaches, how do you choose? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "So many Javascript options and approaches, how do you choose?" Watch "So many Javascript options and approaches, how do you choose?" New topic
Author

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

andrew ennamorato
Ranch Hand

Joined: Oct 03, 2007
Posts: 100
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

Joined: Jan 10, 2002
Posts: 60765
    
  65

"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.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
andrew ennamorato
Ranch Hand

Joined: Oct 03, 2007
Posts: 100
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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: So many Javascript options and approaches, how do you choose?
 
Similar Threads
Open source java projects where beginners can hope to contribute ?
Javascript Ninja: What skills make for "intermediate"?
Changing Javascript prompts according to Locale
Getting ready for the job market quickly - so many technology combinations, how to focus ?
JavaScript in the enterprise?