📚 Lean more about the why, TOC and publish date (and a pre-order discount!) 🤑
Over the past 25 or so years I've dabbled with various programming languages. From ASP, to PHP to ActionScript (who remembers this?! 👨🦳). But for well over 10 years my main languages are Ruby and JavaScript. In that order.
I try to write as much Ruby as possible. But if you build modern web/SaaS apps, there is simply no way you can do without writing JavaScript. Even with all the fantastic Hotwire tools.
Over those 10+ years I've come to enjoy JavaScript quite a bit. And when I launched Rails Designer I got many a question to help other teams with their JavaScript. And then often, after a successful project, the question (request?): you should write a book!
So I'm (pre) announcing: JavaScript for Rails Developers. Scheduled to be published early 2025. It will be a really pragmatic book about using JavaScript in your Rails (SaaS) apps. From learning when to use JavaScript or use CSS instead to more advanced features like Promises.
If you have been a Rails developer who has cursed at JavaScript, this book might be for you. If you've been a Rails developer avoiding JavaScript at all costs, this book is what you need. For Rails developers who've wished JavaScript would just disappear, this book might change your mind.
Top comments (3)
What topics and insights do you hope to see in this book?
I will admit that compared to my Ruby code for a Rails app, my JS code looks pretty hacky 😅 As a result, IMO, focusing on JavaScript that is expected to be on par with the Rails ecosystems' codes & conventions would be the most helpful part to me.
Good one! 🤜
I like my JavaScript code to be just as readable as my Ruby code. Make smaller "objects" (functions and classes).