Laravel Form Requests deep dive
– ahmedash.dev - submitted by Ahmed Ammar
Dive deep into the magic behind FormRequest validation and uncover the steps Laravel takes to make your life easier
Read more [ahmedash.dev]
Posts tagged with deep dive
– ahmedash.dev - submitted by Ahmed Ammar
Dive deep into the magic behind FormRequest validation and uncover the steps Laravel takes to make your life easier
Read more [ahmedash.dev]
This post will walk through how database indexes work, with a particular focus on MySQL, everyone’s (well, many people’s) favorite homegrown organic database.
Read more [planetscale.com]
Join thousands of developers
Every two weeks, I share practical tips, tutorials, and behind-the-scenes insights from maintaining 300+ open source packages.
No spam. Unsubscribe anytime. You can also follow me on X.
The experience of using Livewire seems magical. It's as if your front-end HTML can call your PHP code and everything just works. A lot goes into making this magic happen.
Read more [calebporzio.com]
Here's an excerpt from Event Sourcing in Laravel, an premium course by Spatie launching later this year.
Read more [event-sourcing-laravel.com]
Hooks is feature was added recently to React that I really like.
In this article, we reintroduce closures by building a tiny clone of React Hooks. This will serve two purposes – to demonstrate the effective use of closures, and to show how you can build a Hooks clone in just 29 lines of readable JS. Finally, we arrive at how Custom Hooks naturally arise.
Read more [www.netlify.com]
In an impressive blog post on his blog, React lead developer Dan Abramov, explains how React works on the hood.
This is a deep dive — THIS IS NOT a beginner-friendly post. In this post, I’m describing most of the React programming model from first principles. I don’t explain how to use it — just how it works. It’s aimed at experienced programmers and folks working on other UI libraries who asked about some tradeoffs chosen in React. I hope you’ll find it useful!
Read more [overreacted.io]
In a post on his Medium blog Cameron Nokes explains the two most important processes in any Electron app: the main process and the renderer process.
Central to Electron is the concept of two or more operating system level processes running concurrently — the “main” and “renderer” processes. Dealing with multiple processes is new territory if you’re coming from browser Javascript land. It was definitely a paradigm shift for me initially, and working with multiple processes may mean you make different design choices in your app that you wouldn’t otherwise.
https://medium.com/@ccnokes/deep-dive-into-electrons-main-and-renderer-processes-7a9599d5c9e2
On the excellent PHP section of Sitepoint Thomas Punt has written a good high ievel overview of how PHP code is executed.
There’s a lot going on under the hood when we execute a piece of PHP code. Broadly speaking, the PHP interpreter goes through four stages when executing code:
- Lexing
- Parsing
- Compilation
- Interpretation
This article will skim through these stages and show how we can view the output from each stage to really see what is going on. Note that while some of the extensions used should already be a part of your PHP installation (such as tokenizer and OPcache), others will need to be manually installed and enabled (such as php-ast and VLD).
https://www.sitepoint.com/how-php-executes-from-source-code-to-render/