5 ms·
Modern JavaScript Tutorial
- edzo 9y agoDo you guys know a good tutorial for focused on server side js (node, express, etc) Whats the best resource to learn node? Thanks in advance
- snorrah 9y agoWes Bos has a paid course that covers a whole bunch of things over at https://learnnode.com/ https://learnnode.com/ - it's relatively recent I believe, so should cover some ES6 goodness.
- Can_Not 9y agohttp://expressjs.com/en/guide/routing.html http://expressjs.com/en/guide/routing.html Expressjs official guide (there are more guides after routing) https://github.com/sahat/hackathon-starter/blob/master/README.md https://github.com/sahat/hackathon-starter/blob/master/READM... git clone this and add a feature or convert it into a small prototype of an app. If you're out of ideas, switch out mongodb for postgre. Does the tests still work? If you can add something interesting, send a PR. Read the entire readme. https://blog.feathersjs.com/a-real-time-chat-frontend-with-plain-javascript-and-feathers-34e92bcce386 https://blog.feathersjs.com/a-real-time-chat-frontend-with-p... Make a chat room with feathersjs. https://stackoverflow.com/questions/2353818/how-do-i-get-started-with-node-js https://stackoverflow.com/questions/2353818/how-do-i-get-sta... More resources
- pfooti 9y agoNot free (some of the intro videos are free, but most are not), but egghead.io puts out some excellent material. I am pretty good at js stuff, but I keep my membership as the newer content is kind of a discovery thing (learn about things I might not have otherwise seen because a series of videos popped up on egghead).
- krirken 9y agohttps://Nodeschool.io https://Nodeschool.io has free open source tutorials on a range of Node topics.
- a_w 9y agoFree for the next ~23hrs: Node.js Web Development - Third Edition (2016) https://www.packtpub.com/packt/offers/free-learning https://www.packtpub.com/packt/offers/free-learning
- faitswulff 9y agoThis is the source for the website at https://javascript.info/ https://javascript.info/ . It's actually quite good - I'm reading about garbage collection at the moment. Looking forward to the inheritance/prototype section, something that's never quite stuck for me.
- baron816 9y ago> Looking forward to the inheritance/prototype section, something that's never quite stuck for me. I glanced through the section and I don't know how much it's going to help. What helped me was to stop thinking that JS had inheritance at all. Inheritance implies some sort of copying and combining of object behavior. In a language with classical inheritance, a child class has all the methods of a parent class. A instance object of a class has all its methods plus all of its parent's methods directly on it. JS doesn't do that. When you create an object that has a parent, you're creating two objects (the parent and the new child). When you call a method on the child that comes from the parent, the child doesn't hold that method, the parent does, so it delegates to the parent. So, I think when people ask you in an interview whether JS has classical inheritance or prototypal inheritance, you should say neither--it has behavior delegation. Please let me know if that makes sense.
- chris_wot 9y agoIsn't delegating to the parent object prototypical inheritance?
- baron816 9y agoYes, that's what we call prototypal inheritance. What I'm saying is that I don't think it's a good name for what's going on, since it clearly causes a lot of confusion.
- paulddraper 9y agoEh, I think that's debateable. Agreed that delegation is more clear though.
- grondilu 9y agoQuestion: I started a JS project lately, I tried to write it as modernly as possible (using as many ES6 features[1] as I could), and yet I stumbled on difficulties that I blame to the lack of type system and polymorphism. I'm considering writing my project in a typed language that compiles to JS, such as Scala or Haskell. But I would have to learn that language basically from the start. Is it a good idea and if so which language would you recommend?
- newsmania 9y agoWould you elaborate on the issue? JavaScript actually does have a type system, it's just not very transparent. Using triple equals will not coerce types when comparing, whereas double equals will.
- blauditore 9y agoWell, it does have a type system, but it's arguably the weakest kind of typing among all mainstream languages.
- make3 9y agodoes Bash count as a mainstream language? :P (just kidding)
- paulddraper 9y agoYes. SQL too. Neither are intended to be general purpose languages though.
- sorokod 9y agoKotlin
- grondilu 9y agoNever heard of it. Definitely intriguing. Thanks.