For decades MySQL has considered BLOB a sink for data junk that didn’t fit the strictly typed SQL bill. As the outside world began voting for JavaScript, JSON and key-value/key-document stores, TEXT/BLOB was rediscovered as the only way to store JSON inside MySQL. But havi…
17 result(s) for βtypedβ
(This is an update on a blog post I wrote last year about parameter type checking) PHP is dynamically typed PHP is a dynamically typed language. What this means is that it allows you to do things like : $a = 5; $a = 'test'; $a = false; The reason this works, is because PHP enfor…
Laravel 13.15.0 adds typed translation accessors, JSON Schema deserialization, a dedicated Cloud queue driver, and security fixes for date validation and route unserialization. The post Typed Translation Accessors in Laravel 13.15.0 appeared first on Laravel News. Join the Larav…
Lattice is a server-driven UI framework for Laravel that lets you define pages, forms, and tables in PHP and renders them as typed React components over Inertia. The post Lattice: Describe Inertia UIs in PHP appeared first on Laravel News. Join the Laravel Newsletter to get all …
Strongly-typed object-oriented code helps me tremendously during refactoring. When I realize I need to pass more information from one place to another, I usually take my first step by changing a return typehint, or adding a required parameter to a method. Running PHPStan after m…
I use Livewire 3 for interactive forms and fast clickable maps. Last week, I worked on a filter page for the Rector website, where you can use text input to search for core and community rules. I typed "add param" to the input and got the results that best matched the rules I co…
Table of Contents Where this plugin fits Installation The database model Attach the behavior Typed reactions with enums Configure public aliases Render a reaction widget Choose a request strategy Counter caches for list views Querying reacted content Custom user models Admin bac…
Strict tables For those of you who don't know, SQLite is like a dynamically-typed language. There's no restrictions on what you can and can't store inside of a column. That means if you have a INTEGER column in your database table, there's nothing stopping you from storing a str…
A mixed typed represents the absence of type information. It is a union of all types, which means it can be anything. This in turn leads to suboptimal PHPStan analysis results which can lead to missing errors or even false positives. For a few years, I am now contributing to PHP…
Learn how Expressive can improve a Laravel application by keeping Eloquent as the database layer while moving business logic to fully typed objects. Read more
Rowan Tommins [IMSoP]