DHH Profile picture
22 Dec, 9 tweets, 4 min read
Hotwire aka NEW MAGIC is finally here: An alternative approach to building modern web applications without using much JavaScript by sending HTML instead of JSON over the wire. This includes our brand-new Turbo framework and pairs with Stimulus 2.0 😍🎉🥂 hotwire.dev
That Turbo framework is a set of complimentary techniques for speeding up page changes and form submissions, dividing complex pages into components, and stream partial page updates over WebSocket. All without writing any JavaScript at all. turbo.hotwire.dev
Hotwire is all the tricks and tooling we used to build the front-end for hey.com. A refinement of years of research, experimentation, and SHIPPING HTML AT THE CENTER. It's been a revelation for us. Both for the web, and for our native apps.
This has been a huge team effort at Basecamp. The JavaScript work has predominately been done by @sstephenson and @javan, the native adapters by @zachwaugh and @jayohms, the visual identity by @AdamStddrd. So proud to work with this incredible team! 😍
We've also updated the Stimulus site to fit with the lovely new look that Adam created for Turbo 👌 stimulus.hotwire.dev
Also cross-posted the screencast from the Hotwire to YT. That fucking thing nearly killed me. Hours and hours of work to get this just like I wanted it. But it's a clean 10 minutes on the main tech, then another 3 on showing it in real life. ACTION! 😄
I also pushed out the repository from the screencast that shows just how little code is needed to make this all tick. It's pretty shabby though. Please help me polish it up! github.com/hotwired/hotwi…
Really curious to continue pushing the ES6 + ESM approach in the browser. This isn't strictly related to Hotwire, but it's part of deconstructing the overly complicated mess we've all made of frontend development. One brick at the time!
BTW, this release includes two new JavaScript libraries, three new Rails gems, two different native adapter integrations, three different websites, new organizations on GH and NPM, or 13(!!) new repos in total 😄 github.com/hotwired/

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with DHH

DHH Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @dhh

23 Dec
Hotwiring Rails expresses the desire to gift a lone full-stack developer all the tools they need to build the next Basecamp, GitHub, or Shopify. Not what a team of dozens or hundreds can do if they have millions in VC to buy specialists. Renaissance tech for renaissance people.
That's why I'm so pleased to rediscover the classics. Like @sstephenson said about Turbo Frames: "What if frames, but 2020?". So many powerful ideas lay in our past. The trick is to avoid nostalgia while steering clear of the present's blind turns.
Making tech more accessible to different ideas start by lowering the cost of participation. From teaching to tools. Focusing on the individual generalist, and their capacity to MAKE REAL THINGS is how I focus that mission.
Read 4 tweets
19 Dec
YES YES YES! Utah, North Carolina and New York are preparing yet ANOTHER antitrust case against Google. This time it's on their gatekeeper role with Android and the Play Store. The unopposed reign of big tech monopolists is finally eyeing its end 👏👏👏 bloomberg.com/news/articles/…
But it's curious to start with Google regarding the app store duopoly, because Apple is the greater abuser of the two. They're both bad, but Apple is worse. Anyway, whatever conclusions come of a case against the Play Store will surely govern the App Store too. HALLELUJAH!
It's been such a wretched year, so seeing this immense bipartisan support for finally bringing big tech monopolists to justice is incredible. And it didn't just happen. It was MADE to happen! From @davidcicilline's hearings, to @linamkhan's groundbreaking research, and beyond.
Read 6 tweets
17 Dec
Ten U.S. states sue Google on antitrust grounds in internet ads. They aren't being timid about it: "Google has repeatedly and brazenly violated antitrust and consumer protection laws. Its modus operandi is to monopolize and misrepresent." 🔥🔥🔥texasattorneygeneral.gov/sites/default/…
"Conversely, nearly every consumer goods company, e-commerce entity, and small business now depend on Google as their respective middleman for purchasing display ads... Google is pitcher, batter, and umpire, all at the same time" ⚾️🎯
"[Google] also boldly claims that “we’ll never sell your personal information to anyone,” but its entire business model is targeted advertising—the purchase and sale of advertisements targeted to individual users based on their personal information". HERE WE GO!
Read 8 tweets
16 Dec
Lord knows I have my problems with Apple, but Facebook – of all fucking companies – taking a "why won't you think of the small business" line to defend its privacy plundering ways is nauseating 🤮 theverge.com/2020/12/16/221…
And of course they need to drape themselves in "we're just here for small business" because they're the biggest pirates of privacy. I mean, look at this list!
This needn't be! Here's the privacy label for @heyhey. Yeah, no you don't need to scroll for twenty seconds. This is it. Ads targeted on personal data exploited by the likes of Facebook is nasty whether its done by small, medium, or big business.
Read 4 tweets
14 Dec
Who could have foreseen that the conglomerate making your phone, your set-top box, your watch, your speakers, your credit card, your fitness plan, as well as distributing your news, music, and movies might not be the ideal producer of your TV shows!

nytimes.com/2020/12/13/bus…
Apple's TV production sounds like a love place to work, though. No nudity, no critiques of the CCP (or China in general), no retrospective that might cast any of Apple's past irritants in a positive light, and you have to endure show notes from the king of cool, Mr Cook!
Once upon a time we banned movie studies from owning theaters. Correctly assessing that producers owning distribution was bad for consumers, bad for censorship, bad for all the things. But like the Glass-Steagall repeal, we now think corporations are so much wiser and kinder!
Read 4 tweets
10 Dec
For a good while, I thought the migration to the cloud was inevitable and good. A foregone conclusion. I don't think that anymore, and I'm really proud of the Basecamp ops team for having the expertise to giving us a on-prem path that's this solid ✌️❤️
What shattered the bell was seeing the bills. Whoever tells you that cloud is cheaper has never tried to provision a large fleet of database servers there. But it's not just about cost, although for a company of our composition IS an issue, it's also the future of the internet.
The idea that we're handing over half the internet – a system DELIBERATELY BUILT to be dispersed and resilient – and giving it to three companies to run their mega clouds on is fundamentally corrupt and obviously monopolizing. It's Bad For The Internet!
Read 5 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal Become our Patreon

Thank you for your support!

Follow Us on Twitter!