Doeke Norg
@doekenorg
Followers
854
Following
3K
Media
262
Statuses
5K
Developer for @GravityView, spouse to @Renatenorg and father of 3. Follow me for more on vanilla PHP, Symfony and useful patterns.
Vries, The Netherlands
Joined March 2009
Without looking it up... What is the result here? *Spoiler, it is _not_ 2024-12-31*
2
0
3
So many time-related puns. Try and find them all. ⏰ Oh, and learn about the `ClockInterface` as well. #php #testing #clock
https://t.co/YvLd3LRTty
doeken.org
Learn how a ClockInterface helps you decouple time and write stable, testable code.
2
4
10
So many time-related puns. Try and find them all. ⏰ Oh, and learn about the `ClockInterface` as well. #php #testing #clock
https://t.co/YvLd3LRTty
doeken.org
Learn how a ClockInterface helps you decouple time and write stable, testable code.
2
4
10
Here is one that *is* immutable. Alternatively, you can also use `readonly` parameters (8.1) or classes (8.2).
0
0
4
Quick PHP Tip💡 If your class is meant to be immutable, don't use a public constructor; you can call it like any other public method. Use a private constructor with a static named constructor instead.
7
0
10
Coroutines in PHP? 🤔 Learn how they work with Generators and Fibers. They might simplify your async code! https://t.co/d2bmQ1B8pL
doeken.org
Coroutines are functions that pause and resume with state, allowing flexible, bidirectional control flow in PHP.
0
3
8
PHP Coroutines... and hot potatoes? 🥔🔥 Sounds weird, but it perfectly explains how `yield` and Fibers work. If you’ve dabbled with them (or avoided them entirely), this post is for you 👉 https://t.co/5YbKMJ94vf
#PHP #Coroutines #AsyncPHP
0
0
9
PHP Coroutines... and hot potatoes? 🥔🔥 Sounds weird, but it perfectly explains how `yield` and Fibers work. If you’ve dabbled with them (or avoided them entirely), this post is for you 👉 https://t.co/5YbKMJ94vf
#PHP #Coroutines #AsyncPHP
doeken.org
Coroutines are functions that pause and resume with state, allowing flexible, bidirectional control flow in PHP.
0
17
80
Unfortunately I was right about how wrong the provided info was 😑
0
0
1
Damn, @samwhoo's posts never seem to disappoint me. The quality is absolutely bonkers, with the perfect balance of nerding out and light-heartedness. And the interactivity is something we should all strive for. 👏 When is your course coming? Sign me up !💰
It me! ❤️ This really was such good timing. I sent Nolen one of my first drafts of https://t.co/GymaCUtrWD at the time he was working on this cold-start problem. He connected the dots immediately and we had a good laugh about it.
1
0
6
I would call it 'created_at'. #crudlife
2
0
10
Stop struggling with MailPoet field mapping in Gravity Forms! Our new feature makes it a breeze. ✅ Add MailPoet Custom Fields to your form ✅ Auto-sync values ✅ Disable field options ✅ Use the same field more than once! Read more: https://t.co/3Mh11Etx37
@mail_poet @gravity
apogi.dev
Connect MailPoet Custom Fields to Gravity Forms and use conditional logic for smarter, more flexible signup forms.
0
2
3
Quick PHP tip: If you ever need to insert a value into an array at a specific index, you can use the `$replacement` variable of the https://t.co/byvcdNPT45 method, combined with a length of `0`. If you know the value, you can find the index using https://t.co/BPfP5nNaDt.
0
2
6
I found out this weekend how to make fluffy pancakes 🥞! I just mixed up regular pancake batter and then whisked the crêpe out of it. 🤌
0
0
2
Wow, I haven't written a blog post in over a year, but today that changed with the publication of my first, and probably not the last, blog post at @GravityView. 🚀 https://t.co/FHnS1sBgtV
#WordPress #php
gravitykit.com
You’ve just updated a plugin, theme, or even PHP on your WordPress site, and suddenly it happens: a Deprecated: message appears. What’s going on? Is the
1
0
3
I'm so glad to see the screen casting course from @aarondfrancis paid off. Basically needed just one take. Anyways, the full edit is here: https://t.co/8LVWT1Wpjq
#php #wordpress @apogidev @mail_poet @gravityforms
2
0
13
Referencing your own blog posts is so nice. I just needed a refresher on Tree traversal, as I don't do that daily. So helpful.
doeken.org
In this post I want to introduce you to Tree structures. What they are, how you can use them, and in which situation they can be helpful.
0
2
4