Adam retweeted
Here's the Fizzy flipbook video I made showing how the design progressed from initial commit to launch.
Adam retweeted
CSS Nesting just landed in Firefox 117 which puts it at 100% browser support!
You can start using it today — here are 11 examples on how it works 👇
Adam retweeted
OAuth 2.0 Flows
Authorization Code Flow: The most common OAuth flow. After user authentication, the client receives an authorization code and exchanges it for an access token and refresh token.
Client Credentials Flow: Designed for single-page applications. The access token is returned directly to the client without an intermediate authorization code.
Implicit Code Flow: Designed for single-page applications. The access token is returned directly to the client without an intermediate authorization code.
Resource Owner Password Grant Flow: Allows users to provide their username and password directly to the client, which then exchanges them for an access token.
Over to you - So which one do you think is something that you should use next in your application?
–
Subscribe to our weekly newsletter to get a Free System Design PDF (158 pages): bit.ly/3KCnWXq
Adam retweeted
Pro-tip #PostgreSQL tip, trying to use psql more, but still missing a richer editor when writing SQL? Set your $EDITOR or $PSQL_EDITOR to the editor of your choice. Then use \e to open the last executed SQL in that editor, close and save, it'll execute the query.
Adam retweeted
Came across this great guide (written by @brandur; linked by @tanvirraj) for REST API principles. Evergreen best practices!
github.com/brandur/heroku-ht…
Adam retweeted
When did the Ruby community all agree that it was better to define dozens of methods that set and return an instance variable than simply setting those ivars in initialize?
Adam retweeted
Here's how we sped up our HEY Rails test suite by 25%
world.hey.com/lewis/faster-r…
Adam retweeted
The logic for multi-step forms can quickly become a terrifying mess. Here's a refactor I successfully applied on multiple projects to tame the complexity: branching early
thoughtbot.com/blog/structur…
Adam retweeted
And here is what readers say about @shortrubynews
newsletter.shortruby.com/p/t…
Adam retweeted
Yesterday I published the 53 edition of @shortrubynews
You can read it for free at newsletter.shortruby.com/p/e…
#Ruby #Newsletter #ShortRuby #News #Rails #Web #Development
Adam retweeted
⚡️ Database Tip
Sometimes you have date ranges in your database and you don't want them to overlap. Two people staying in the same room at the same time in a hotel is a big problem.
You can define constraints for your tables so that time ranges can never overlap!
Adam retweeted
tl;dr: I'm starting a newsletter about Phoenix LiveView phxlvweekly.com
#myelixirstatus
long: I've been webdev'ing since '97 starting w/perl scripts. Rails in '04 was a 😲 moment. Phoenix LiveView in '22 is even more 🤯 & gives me the same giddy excitement that Rails did.
Adam retweeted
Out-of-context Slack screenshot responding to someone's question as to why I recommend avoiding RSpec. I was a huge RSpec fan through 2012 or 2013 but gradually flipped to thinking it was more harmful than helpful in practice.
Adam retweeted
I'm not yet convinced by the benefits of typing/Sorbet, but I am convinced about the benefits of packwerk. It's just made code so much easier to think about in the Gusto monolith.
Adam retweeted
Released the first version my #Rails notifications gem!
💎 github.com/excid3/noticed
Supports database, email, #ActionCable, @twilio, @vonage, slack, and custom delivery methods.
Really happy with how this turned out. Will be doing a screencast on how to use it soon!
Adam retweeted
This is mind blowing.
With GPT-3, I built a layout generator where you just describe any layout you want, and it generates the JSX code for you.
W H A T
Adam retweeted
If we want the #Ruby community to grow, we need to get back to innovating and talking about it.
There's so much cool stuff happening with server rendered apps. We could have been doing this years ago. There's nothing better than building great products with tiny dev teams. 😍
























