View email in browser | ||
This mail was sent using Mailcoach | ||
|
||
|
-
A new design for Ignition
At Spatie, we're currently refreshing Ignition. Here's a preview of the new look.
-
Event Sourcing for Laravel is now available
If you ever wanted to get started with event sourcing, this is the course for you. It contains a beautifully designed ebook, two hours worth of videos, and a full demo Laravel app containing an event-sourced shopping cart.
-
Do you work with PhpStorm everyday? (sponsored link)
PhpStorm is the best IDE for PHP out there, but how fast are you while using it? Mastering PhpStorm is a video course for the state-of-the-art PHP developer who wants to work efficiently and successfully in a beautiful IDE. It shows you how to be fast and provides dozens of tips and tricks for your daily workflow.
Use the "MP-LOVES-FREEK-DEV" coupon to get a 15% discount. (Valid for 7 days).
-
Improve code readability by refactoring if blocks to dedicated classes
If you code bases contains a long procedure with a lot of if statements to determine which case should be handle, consider extracting each case to its own dedicated class.
-
A trick to improve your class names
Sometimes it is not clear what the responsibility of a certain class is. This can be solved by adding a suffix to the class name.
-
JSON API Error Responses in Laravel with Httpable Exceptions
Jess Archer show a nice approach on how to use exception in the HTTP layer.
-
Dealing with the n+1 problem in Laravel
Mohamed shows how you can deal with N+1 problems using the $with model attribute and the newly added Model::preventLazyLoading() method.
-
CSS cascade & specificity
In a new video, Shruti Balasa explains this basic concept of CSS.
-
Performance problems caused by array_unique
Benjamin Eberlei tells the story of a performance mistake that is quickly made even by experienced developers.
-
How Laravel handles DB connections
Mohammed Said created another kick ass video, this time on how Laravel handles DB connections.
-
How to optimize ORDER BY RANDOM()
Tobias explains how you can make this operation very fast even if your table has several million records.
-
PHP Short Functions and Scope
Ross Wintle dissected the recent RFC for auto-capturing multi-statement closures in PHP.
-
Using Laravel's parallel testing inside your package tests
Spoiler it's pretty straightforward using orchestral/testbench.
-
Laravel Sidecar: Deploy & Execute Lambda Functions from Laravel
Sidecar packages, creates, deploys, and executes Lambda functions from your Laravel application.
-
No, Utility Classes Aren't the Same As Inline Styles
An excellent post on the subject by Sarah Dayan.
-
Working Through A Pandemic
Tighten employees share encouragement for anyone struggling through the pandemic.
Get a deep discount on all Spatie productsYou can use this coupon code (valid for the next two weeks) to get a 15% discount on these products my team and I have created: DISCOUNT-FOR-FREEK-DEV-READERS
You can that coupon code as wel to get a 30% discount on your first 3 months when subscribing to: |
|
Community LinksDid you write or stumbled across a blog post, tutorial or video that might be good to appear in this section? Submit it here.
|
|
Thanks for reading! Did you like this edition of the newsletter?
Yes!
Really liked it. |
Nope...
It could be improved. |
Advertisement opportunities at freek.dev/advertising.
You are receiving this mail because you've subscribed at freek.dev. Opt out any time. Unsubscribe.
This mail was sent using Mailcoach.