If you're starting from scratch and interested in python, walk through Miguel grinberg's mega tutorial from start to finish, implementing everything yourself along the way. It's very good and you'll have a thorough understanding of the basics at that point. I started working professionally building simple web apps immediately after working through that. When youre ready to go galaxy brained, "Designing Data-Intensive…
Ask HN: Best books to learn web development?
41–50 of 51 posts
Re: Ask HN: Best books to learn web development?
#42You asked for JS (JavaScript) and you got a lot of suggestions for books or other resources about that language. But I suggest to not spend too much time with JS and learn TypeScript instead. It will make your life easier, because the compiler helps a lot - especially if your projects grow. The official documentation is very good and should be sufficient for almost everything that you would ever do with TypeScript. h…
You can just sit down and write JavaScript. It just works in your browser. You can’t do that with typescript.
Re: Ask HN: Best books to learn web development?
#43https://www.amazon.com/DOM-Scripting-Design-JavaScript-Docum... 1. If you want to be good at this start with a solid foundation. The compile target of the browser is the DOM (Document Object Model). 2. Read about accessibility: https://www.w3.org/WAI/standards-guidelines/wcag/ Understanding accessibility will influence why things are done in certain ways and will make clear the difference between presentation and dev…
Re: Ask HN: Best books to learn web development?
#44I know you asked specifically about books, but I can’t help but recommend the two online courses that Josh Comeau makes available. I have found both the “CSS for JavaScript Developers” and the “Joy of React” courses to be absolutely phenomenal! Josh’s teaching style is exceptional, and the courses’ exercises challenge you to work just at the edge of your abilities. I cannot recommend these courses enough!! https://ww…
Re: Ask HN: Best books to learn web development?
#45css-tricks has good stuff: https://css-tricks.com/ And I like this Principles of Object-Oriented Javascript book by Nicholas Zakas even though it's a little dated (example: its claim that there are no classes in JavaScript) https://nostarch.com/oojs And I love everything by Kevin Powell: https://www.youtube.com/@KevinPowell edit* I want to add the The Odin Project has a ton of good material: https://www.theodinprojec…
Re: Ask HN: Best books to learn web development?
#46I know you asked specifically about books, but I can’t help but recommend the two online courses that Josh Comeau makes available. I have found both the “CSS for JavaScript Developers” and the “Joy of React” courses to be absolutely phenomenal! Josh’s teaching style is exceptional, and the courses’ exercises challenge you to work just at the edge of your abilities. I cannot recommend these courses enough!! https://ww…
While I haven't taken either of his courses, his posts on his site are fantastic. I had forgotten about him. May end up grabbing one of his courses.
Re: Ask HN: Best books to learn web development?
#47https://www.amazon.com/DOM-Scripting-Design-JavaScript-Docum... 1. If you want to be good at this start with a solid foundation. The compile target of the browser is the DOM (Document Object Model). 2. Read about accessibility: https://www.w3.org/WAI/standards-guidelines/wcag/ Understanding accessibility will influence why things are done in certain ways and will make clear the difference between presentation and dev…
Aren’t 1 and 4 a bit of a contradiction? The DOM is the document object model for a reason - modern JavaScript is fundamentally object-oriented. What alternative do you propose to OOP JS - functional programming? You can fake it, but why? Why not just go with the flow?
That is not what OOP is. OOP is about expressing poly-instantiation and therefore allowing inheritance.
The internals of JavaScript are fundamentally OOP, such as the type system and distribution of DOM methods each expressed as prototypes. Most of that stuff you shouldn't be touching anyways. As far as your own code OOP is completely optional and requires far greater effort. Functions are first class citizens that can go absolutely anywhere with any kind of nesting in ways OOP structures cannot.
Re: Ask HN: Best books to learn web development?
#48https://www.amazon.com/DOM-Scripting-Design-JavaScript-Docum... 1. If you want to be good at this start with a solid foundation. The compile target of the browser is the DOM (Document Object Model). 2. Read about accessibility: https://www.w3.org/WAI/standards-guidelines/wcag/ Understanding accessibility will influence why things are done in certain ways and will make clear the difference between presentation and dev…
Not sure I agree with this advice. Most of webdev today is about actively avoiding the DOM. That's not to say you should not know what is below, but the rabbit hole can get deep. Accessibility is something that unfortunately is not high on the list of most people's priorities. You might say that's bad, but knowing it will not help someone learning the ropes to get an app done so they can learn more.
Re: Ask HN: Best books to learn web development?
#49Re: Ask HN: Best books to learn web development?
#50Earlier quoted context omitted.
Not sure I agree with this advice. Most of webdev today is about actively avoiding the DOM. That's not to say you should not know what is below, but the rabbit hole can get deep. Accessibility is something that unfortunately is not high on the list of most people's priorities. You might say that's bad, but knowing it will not help someone learning the ropes to get an app done so they can learn more.
That is true, but only for attaining/retaining employment. Otherwise, the DOM remains the compile target of the browser. Your giant framework is a shallow abstraction over this with a massively opaque API. Developers like to put their heads in the sand and wish the world works differently, and that's fine for a while as it greatly increases career mobility. But, pretending and hoping aren't things that elevate your c…