Pinned Tweet
I think it’s possible to benefit from DDD practices and related ideas even if you don’t „do DDD“ (if that even exists 🙃).
Here are some principles that can be applied to almost every app: 👇
Simon Schubert retweeted
🥳 PHP 8.3 Released!
In this new release, we have:
⌨️ Typed Class Constants
🏛️ Dynamic Class Content Fetch
♻️ A New [#Override] Attribute
➕ …and more!
👓 Read all about it on: php.net/releases/8.3/en.php
🔗 php.net/ChangeLog-8#8.3.0
📦 php.net/downloads
Simon Schubert retweeted
We (@aboutyou_tech) are looking for a new Team Lead Tech for our GCP Operations team (remote within Germany). The role includes taking the ownership of ABOUT YOUs entire GCP setup, i.e.
- set up and enforce best-practices & guidelines
- act as a consultant for our dev teams
1/2
Simon Schubert retweeted
🎉 PHP 8.2.0 has been released!
🐘 Find out all about it @ php.net/releases/8.2/
📇 The full ChangeLog is at php.net/ChangeLog-8.php#8.2.…
💙 Thanks to everyone involved in this release.
To automate a 15min one-time Job definitely justifies to google and try out for more than 2 hours. 👨💻
Simon Schubert retweeted
Why getter and setter methods are evil infoworld.com/article/207372… by @allenholub
Simon Schubert retweeted
I will pre-release this Friday. In the current implementation, I'm using @Symfony as backend, #TS #WebComponents as frontend, @php_enqueue to run the commands, @mercurehub to get real time results in frontend, and ElectronJS to bundle it as an "application". 👇👇👇 #PHP #Symfony
Simon Schubert retweeted
How can we represent nothing in #PHP? aka, the absence of value ? There are three of them and they don't like each other...
"The three nothings of PHP"
exakat.io/en/the-three-nothi…
clickbaity but anyway helpful advice: gordonc.bearblog.dev/dry-mos…
2
Simon Schubert retweeted
Show me your (broken) test suites, and I'll tell you your developers' problems - A quick diagnosis of the most common test suites Issues.
A thread ⤵️
When we touch any existing code, we can:
- add more tests
- rename args/variables (safe with IDE)
- extract methods
- introduce new (value-)objects
- reduce nested loops/ifs
To make this code better understandable and less prone to errors. 💪
Or we just add up to the mess… 🥲
Simon Schubert retweeted
Really enjoying the new "composer audit" command (that came with v2.4). Will simplify a few CI workflows getcomposer.org/doc/03-cli.m…
Simon Schubert retweeted
Detect slow queries before they hit your production database using #phpstandba extension for @phpstan
staabm.github.io/2022/08/16/…
#php #staticanalysis
Realize a recurring problem -> lets fix it immediately.
To create a ticket & postpone it is not a solution when it already burned a lot of our time or had a bad impact on our product.
There is something like "negative business value" as well.
1
1
Simon Schubert retweeted
Experimenting converting all symfony recipe configs from yaml to php using @VotrubaT awesome config transformer.
github.com/symplify/config-t…
PS: @VotrubaT sorry for the issue spam, have some feature request and issues found.
Very good alternatives for traits:
* injectable service
* value object
* copy the code
IMO, applies in most cases as an alternative to class inheritance as well.
Just blogged: "When to use a trait?" matthiasnoback.nl/2022/07/wh…
„Stay focused on the target. Do one thing at a time. That gives you more time to do that thing, and do it well.“
This Post is from an account that no longer exists. Learn more
1
Simon Schubert retweeted
Replying to @fn_schubert
Yes, you can do that. Right click it > Mark as > Excluded. Also, disable node_modules library at File | Settings (Preferences on Mac) | Languages & Frameworks | JavaScript | Libraries.
















