João Prado (@joaorprado) header
João Prado (@joaorprado) profile picture

Full Stack Developer

Brasil
Joined October 2010
Photo by João Prado (@joaorprado)Photo by João Prado (@joaorprado)Photo by João Prado (@joaorprado)
Estou no @PolyworkHQ em poly.work/joaoprado. Vamos ver que bicho é esse..
João Prado retweeted
24
331
17
5,891
140,392
🎉 The MySQL for Developers course is live! 🎉 It's over 7 hours long, split into 64 videos, across 4 different sections: • Schema • Indexes • Queries • Examples It's everything a developer needs to know about MySQL. It's also completely free! planetscale.com/courses/mysq…
87
494
82
1,820
243,987
💥 16 little UI design rules that make a big impact UI design might appear to be a magical art form, but a lot of it is made up from logical rules or guidelines. We’ll redesign an example interface using 16 of 100+ guidelines from my book - @PracticalUI A mega thread👇
92
760
56
5,332
844,864
I'm always on the lookout for a good "make more things the same" refactor and I just found one! Make your life easy, make more things the same.
24
33
3
317
37,089
🔥 #Laravel / PHP Tip: Enums don't have to just be a list of constants. You can add methods to them. Why not add one to check an instance's value? Or add one to share extra data with your front-end. Then it becomes a source of truth / avoids duplication.
15
51
3
259
21,250
⚡️ Database Tip Deleting an unused index is still a risky operation: The database will become slow if you guessed incorrectly. On MySQL you can make an index invisible first (before deleting it) and make it visible again instantly if you still need it. sqlfordevs.com/invisible-ind…
5
35
2
152
15,414
🤔 Dictionaries: should they be in the database? 🤔 Dictionary is set of values that are supported in your application. But how they should be defined? Well, as always, it depends 😉 #PHP #architecture Let me tell you what I think about it 👇🧵
1
3
2
20
João Prado retweeted
Wanna know what I've been working on lately? Check this out 👇👇👇 workerless.run
23
38
6
396
Eu só acho que essa criança deve ser e a reencarnação de algum musico pq não é possível!
771
3,814
2,473
43,533
Ok here it is: 3,500 words on Laravel's safety mechanisms! This also includes my plea to enable the new strict mode everywhere, especially in production. If you don't want to read the whole article, I'll lay out some of the arguments here. planetscale.com/blog/laravel…
33
153
20
576
Adding tests to an existing code base can be hard to do. So I wanted to give you an example of how I would approach it. I’m still learning btw, so if you have any suggestions let me know. We’ll be adding a test to this controller method. 👇
3
14
71
João Prado retweeted
Papercut: starting today's @laravelphp release, Blade can now infer values from PHP 8.1 backed enums. 💅🏻
2
30
2
237
hey @laravelshift is the pest converter not part of the Latest Unlimited plan? When I try to run on one of my company's repo it asks for my credit card info
1
Hi @gonedark . I'm interested in the confident laravel course, do you offer any discount based on purchase power parity? If you do, it would likely be the difference whether i can pick the starter or the master course.
1
1
1
João Prado retweeted
New developer refactors legacy code
212
3,364
416
17,239
When counting rows in MySQL, is it better to use COUNT(*) or COUNT(id)? It may surprise you, but you should never use COUNT(id) if you're trying to count all the rows in the table. How come? Well, that's kinda complicated... aaronfrancis.com/2022/mysql-…
35
208
28
856
João Prado retweeted
How software testing works
722
9,365
1,264
45,177
⚡ Database Tip Creating indexes is a handcraft learned from experience, multiple-column indexes is a lot more complicated. But it doesn't have to be complicated! Here are 3 simple rules for the column ordering of multiple column indexes, solving 80% of the perf problems.
13
69
3
380