Most systems will have to deal with future or deferred events. Even the most common example of software on the web — a blog — will have the ability to “publish” a post in the future at a certain time.
When that time is reached, the read model should return…
Laravel Octane is a new way of running Laravel applications at super high speeds:
“Laravel Octane supercharges your application’s performance by serving your application using high-powered application servers, including Swoole and RoadRunner. Octane boots your application once, keeps it in memory, and then feeds it requests at supersonic speeds.”
Tailwind CSS is a mobile first, utility CSS framework which will vastly increase productivity while implementing designs in your web app or website.
A small DX improvement I make in my Tailwind projects, which I’m describing as a “default first” approach (this is a semi-joke derived from mobile first).
Laravel Blueprint is a wonderful tool that helps scaffold Laravel apps in the early stage of development.
It uses a simple YAML format, like the below:
php artisan blueprint:trace and the models, migrations, factories, Nova resources will all be generated.
This saves a lot of time, but…
This is a matter of personal preference, it basically means that if you have a file, say
app/Services/Calculator.php and you wanted to write a test for this class, instead of hiding the test away in a
Heroku provides a good base level guide to get a Laravel running on its platform, however, it really stops at the bare minimum.
We’ve got 10+ (micro-ish) services running in production on Heroku and over the years we’ve fine tuned our setup to ensure that these apps are performant and…
Frameworks like Laravel encourages this behaviour out of the box, with the loading of the
.env file and the config directory for the different services the application might do…
Every developer loves to hate WordPress, and they have good reason to! It’s built on PHP which has its many flaws and does not follow any modern software architectures.
However, there’s no denying the popularity of the “platform”, it powers 20% of the internet and as such there is a…
If you have state that can be stored in the URI, I highly suggest you store it there, because:
If you authenticate with Firebase in your app, authenticating with your API is very easy, as the Firebase token is a JWT.
All we really need to is implement a
Guard with a
user function that returns an
Because our user is actually stored in the JWT token…