I don’t know if it’s alright to mention my own work, but the book I wrote to teach React is project-based. It’s got a bunch of very small projects and exercises rather than a single massive one, and the later projects review concepts from the earlier ones. It’s called Pure React and it’s digital-only right now (maybe one day I’ll get it printed!) https://daveceddia.com/pure-react/
I'm glad you did! Additionally, is there any reason that I should learn React using Node.js rather than python? I'm not particularly anti-Node.js but I'd rather learn Django simultaneously if it was all the same difference.
Ask HN: What are some books where the reader learns by building projects?
131–140 of 188 posts
Re: Ask HN: What are some books where the reader learns by building projects?
#132Here's a video of the author (me) interviewing a reader who did all the exercises, in the process going from (his words) below middle management to creating his dream project with his dream business partner https://youtu.be/zfV3yNKp0h8. The process costs nearly nothing in money and creates more time for his family.
Here are written reviews from NYU students and clients who took the project-based class the book is based on http://joshuaspodek.com/this-is-one-of-the-greatest-classes-....
If anyone has questions, I'm happy to answer here or by email. If anyone is interested but cost gets in the way, email me also and I'll try to work something out.
Re: Ask HN: What are some books where the reader learns by building projects?
#133It's a 20+ video course where you build a real world SAAS app. We build up 1 big app through out the course.
There's also 30-40+ hours worth of self guided optional assignments to add features into the application based on what you learn in each section. It's all positioned in the form of specifications, similar to how it would be when doing any type of job or contract gig.
Funny enough, many people have contacted me saying they took the course but don't even use Python and Flask. They were just experienced programmers using other web frameworks but wanted to see how the app all comes together so they can use the same patterns in their framework of choice.
Re: Ask HN: What are some books where the reader learns by building projects?
#134Now half way through this Phoenix book:
https://pragprog.com/book/phoenix14/programming-phoenix-1-4
Learning Elixir/Erlang/OTP has been a joy so far. It's a new and exciting world in the middle of so much js fatigue.
Re: Ask HN: What are some books where the reader learns by building projects?
#135It has several worked examples, including a key/value append-only database, a CPU emulator, an NTP client, a floating point implementation, multiple graphical applications, a binary files inspector and a few others!
Re: Ask HN: What are some books where the reader learns by building projects?
#136Re: Ask HN: What are some books where the reader learns by building projects?
#137My anecdote, since I already had projects in mind and just wanted to synthesize how things were glued together A to Z: I went to SourceForge/GitHub/BitBucket and cloned repos for projects for the language of choice, build them, run the tests.
Also, https://github.com/search and lookup stuff of similar topic / using the same libraries (words like MIT, ISC, Apache 2, BSD are a good sign). Then check if it's permissively licensed. Also, in the end, you likely won't ever end up forking or copying. You're just getting the knowledge of how it's glued, and probably will wire stuff in uniquely for your case.
Building these projects in itself teaches the ropes of getting an environment setup (googling build errors, checking issue tracker), dependencies, test suites, and building a production-ready package.
I kept the best projects I found at https://github.com/tony/.dot-config/blob/master/.vcspull.yam.... Purely for studying the source of.
Python : Flask, Werkzeug, Django, SQLAlchemy
JS : Express, Backbone, blog posts by Addy Osmani and JS enterprise architecture and Derick Bailey on Marionette (but i don't think the backbone would be as relevant today, it def paved the way to modern frontend we see today)
C++ : OpenTTD
In the end, there weren't many books I found espoused building projects. I already had an idea of what to build - I just needed enough to "ramp up", but if you want books:
JavaScript Patterns: Build Better Applications with Coding and Design Patterns
Examples applied directly to the task at hand. All about scoping.
A python book, that hits different areas than this JS book would be The Hitchhiker's Guide to Python: https://docs.python-guide.org/
C++: Scott Meyer books are great
General programming: Code Complete
Re: Ask HN: What are some books where the reader learns by building projects?
#138Elm in Action is that way. Over the course of the book you build a photo sharing application from scratch. Each chapter uses new "feature requests" from a fictional manager as a way to introduce and teach new Elm concepts. https://www.manning.com/books/elm-in-action?a_aid=elm_in_act... (It's technically in Early Access because the print book hasn't hit the shelves yet, but all the chapters are finished and available…
Re: Ask HN: What are some books where the reader learns by building projects?
#139Not a book, but if you're looking to learn modern SQL in a hands-on way, I created Mastery with SQL (masterywithsql.com) specifically because I was frustrated with traditional SQL (and PostgreSQL) content that's lacking in high quality and challenging exercises. Mastery with SQL has over 150 exercises, ranging from easy to very difficult, where you're primarily working with a single database and trying to answer inte…
Re: Ask HN: What are some books where the reader learns by building projects?
#140Elements of Computing Systems by Nisan and Schocken has you 'build' a computer from basic logic gates to CPU/Memory to assembler, VM, etc. all the way to a running program. https://www.nand2tetris.org/