/explore
|
You are here |
blag.nullteilerfrei.de | ||
| | | | |
tomasvotruba.com
Do you use PHP 7.4 [typed properties](/blog/2018/11/15/how-to-get-php-74-typed-properties-to-your-code-in-few-seconds/)? Do you know why? I use them, so **I don't have to think and validate the property type** every time. We just know its type or PHP would crash otherwise. Until PHP 7.4 this was not possible and code was kinda crappy. Where are we now with constant type? Do you trust your class constants type? |
|
| | | | | ||
| | | | |
tomasvotruba.com
One technology evolution sparks naturally another one. When electricity became accessible to masses, a huge industry of home-electric tools became possible. Like this tool, I currently write on. The same thing happens in software, just exponentially faster. Like tokens and AST sparked [tools that change your code](/blog/2018/10/22/brief-history-of-tools-watching-and-changing-your-php-code/). Recently, I introduced [Symfony Static Dumper](/blog/2020/03/16/statie-is-dead-long-live-symfony-static-dumper/) that uses YAML to store data in your Symfony application. You where this goes... how can **we turn this YAML into objects**? |
|
| | | | | ||
| | | | |
tomasvotruba.com
With [Symfony 5 upgrade](/blog/2019/09/09/how-we-upgraded-pehapkari-cz-from-symfony-4-to-5-in-25-days/), we need any *working* Doctrine behaviors. Month later, we have [KnpLabs\DoctrineBehaviors 2.0](/blog/2019/12/30/doctrine-behaviors-2-0-reloaded/#how-do-you-migrate-from-gedmo-stof-to-knplabs-doctrinebehaviors) with full Symfony 5 support. If you used older Doctrine Behaviors, you're covered with Rector migration path. But what if you're using old broken Gedmo? **I'll show you how you can migrate Gedmo to KnpLabs**. |
|
| | | | | ||
| | | | |
blog.separateconcerns.com
I use dependency injection for non-deterministic code. |
|
| | | |||