I have to strongly disagree with people proposing Ember. Several teams I work with, teams with very strong js and rails background, have tried it out and uniformly rejected it as being too restrictive, pointlessly baroque, monolithic, unstable, and with immature tooling (ember-cli in particular). I know a lot of people may disagree with that list but that is my experience and that of several people I respect. I'm not…
Ask HN: What is the best JavaScript stack for a beginner to learn?
41–50 of 61 posts
Re: Ask HN: What is the best JavaScript stack for a beginner to learn?
#42My 2c: stay away from any complex framework until you have a really good understanding of the language itself. Learn the DOM APIs with all it's drawbacks and bugs, DOM events, standalone browser APIs like Canvas, Audio, etc. Write simple node apps with express and modules whose sources you can read. Start using lightweight libraries like underscore / Backbone - you'll come to understand many of the issues that plague…
That sounds like the most boring possible way to learn webdev. Unless they're already a programmer, those things just aren't entertaining for most people. Making sure a beginner stays entertained is probably the most important goal, because people who get bored will give up before realizing their full potential. So if anyone's reading this and feeling bad that they don't feel like doing that, just dive in and do some…
Re: Ask HN: What is the best JavaScript stack for a beginner to learn?
#43My 2c: stay away from any complex framework until you have a really good understanding of the language itself. Learn the DOM APIs with all it's drawbacks and bugs, DOM events, standalone browser APIs like Canvas, Audio, etc. Write simple node apps with express and modules whose sources you can read. Start using lightweight libraries like underscore / Backbone - you'll come to understand many of the issues that plague…
That sounds like the most boring possible way to learn webdev. Unless they're already a programmer, those things just aren't entertaining for most people. Making sure a beginner stays entertained is probably the most important goal, because people who get bored will give up before realizing their full potential. So if anyone's reading this and feeling bad that they don't feel like doing that, just dive in and do some…
But it's not that bad when you have someone behind you, helping you when really needed, and showing you what you can achieve afterwards.
Jumping into JQuery, copy/pasting snippets from google and such won't (well, not often anyway) bring novices very far. Plus, they'll have a hard time learning other frameworks if needed (new job, etc.).
Re: Ask HN: What is the best JavaScript stack for a beginner to learn?
#44The phrase "Rails of javascript" doesn't make sense to me. What exactly is Rails...er...the "Rails of"? I'm assuming you mean something analogous to, "Rails is to full stack web-development as X is to JavaScript"...but that doesn't make any sense. Web development is a profession. JavaScript is a language. Maybe you're thinking that Rails is to back-end development as Something is to front-end development? But that do…
In analogy form, I think his question is:
Ruby::Rails
Javascript::???
Re: Ask HN: What is the best JavaScript stack for a beginner to learn?
#45The advice of learn "vanilla javascript" break if your targets (=browsers) are older than, lets say, THIS YEAR.
So, is the interest to do only "modern javascript" aka "this year release of browsers implementation of JS"? or "javascript as understood by, please not! internet explorer 6?".
So "vanilla javascript" is different depending in how much "modern" we are talking about. With truly recent JS, is possible to avoid jquery. If you are only in the server-side, Javascript IS == NODE.
So? No universal version (that could be retrofit to older devices) of JS exist on this earth (and the same apply to CSS3).
Think is like C/C++: The same bloat, pain as experience by the first users at the dawn of it, plus half-baked new shinny things, that are not universally used, and never equally across the board.
So, is very likely you need to learn "real vanilla javascript = as understood in the IE6 era, perhaps some versions up (if lucky) plus "jquery".
You can avoid jquery if use some kind of niche stack, but, jquery IS javascript as "everyone" use it. Think no only in raw use, but, interfacing with libraries and stuff. So, jquery is the "rails" of js, could be argued.
IF you actually have total control on the deployment environment, and on the use of external dependencies, you can SKIP JS and use coffescript, elm, typescript, etc. But you need to be very lucky to be in this position ;)
Re: Ask HN: What is the best JavaScript stack for a beginner to learn?
#46Re: Ask HN: What is the best JavaScript stack for a beginner to learn?
#47To dive in pick one with a lot of good documentation and a strong community. Pick a popular one and get to know it well, they all solve the same problem, so understanding the problem is more important. Take a look here, for an idea of popularity: http://libscore.com/data.html
If asked to make a call, I'd say Angular - it's massively popular and growing. It's on practically every interviewers list. And chances are, even if they break backwards compatibility, the community will fork and continue a 1.* branch.
Re: Ask HN: What is the best JavaScript stack for a beginner to learn?
#48My 2c: stay away from any complex framework until you have a really good understanding of the language itself. Learn the DOM APIs with all it's drawbacks and bugs, DOM events, standalone browser APIs like Canvas, Audio, etc. Write simple node apps with express and modules whose sources you can read. Start using lightweight libraries like underscore / Backbone - you'll come to understand many of the issues that plague…
That sounds like the most boring possible way to learn webdev. Unless they're already a programmer, those things just aren't entertaining for most people. Making sure a beginner stays entertained is probably the most important goal, because people who get bored will give up before realizing their full potential. So if anyone's reading this and feeling bad that they don't feel like doing that, just dive in and do some…
Re: Ask HN: What is the best JavaScript stack for a beginner to learn?
#49My 2c: stay away from any complex framework until you have a really good understanding of the language itself. Learn the DOM APIs with all it's drawbacks and bugs, DOM events, standalone browser APIs like Canvas, Audio, etc. Write simple node apps with express and modules whose sources you can read. Start using lightweight libraries like underscore / Backbone - you'll come to understand many of the issues that plague…
Example of first week complexity: make a choose-your-own-adventure player from a list of {id="sec01", text:"..", links:[{'Continue':'sec02'}, ]}s.
Second week: Wrap the chrome speech API[1] to produce a "game editor" for the above format.
Third week: make a youtube playlist editor that plays a list of time intervals from youtube videos: [{'tStart':0, 'tStop':451.3, 'url':'utube/URL'}, {..}, {..}, ... ]
It's just "toys," but they're immediately useful. In general I think ''file://localhost'' development of .js is a good place to start because of the immediate feedback---it either works or it doesn't.
@nielmalhotra One thing you can tell ur friend is that everyone is a beginner with the most of the modern APIs. So by reading the docs and trying things out he's already a "research level" web dev ;)
Re: Ask HN: What is the best JavaScript stack for a beginner to learn?
#50Using it to make something stupid definitely won't get you a job, but it's easy to using it will encourage you to use/learn about the cool parts of JavaScript.