Workaday Reading

PHP in 2023



"From its humble beginnings as a personal project in the mid-90s, PHP has grown to become one of the most popular languages for web development, powering everything from small blogs to large enterprise applications."

read »

Workaday Reading

Does WWW still belong in URLs?



"DigitalOcean provides cloud products for every stage of your journey. Get started with $200 in free credit! For years, a small pedantry war has been raging in our address bars. In one corner are brands like Google, Instagram, and Facebook. This group has chosen to redirect example.com to www."

read »

Workaday Reading

Dev environments in the cloud are a half-baked solution



"Key takeaways Developer environments in the cloud have existed for years Everything turns into SaaS, but should your dev environment, really? Service availability can never match localhost Pay-as-you-go pricing is for privileged people only and locks out many The fully baked solution is a hybrid tha"

read »

Workaday Reading

Drupal Paragraphs

"Paragraphs is the new way of content creation! It allows you — Site Builders — to make things cleaner so that you can give more editing power to your end-users."
read »

Add a Resize Handle for WordPress Post and Page Edit Sidebar

I was converting some ACF fields to Gutenberg ACF fields and put together some options for how/where content can be edited. The acf_register_block_type() function has the mode option. The allowed values are: – auto: Preview is shown by default but changes to edit form when block is selected. – preview: Preview is always shown. Edit … Continued

Workaday Reading

Stop mocking about: Event Dispatcher



"I don't like mocks in unit testing (I use them, but don't like them). It often results in tests that only assure some specific method was called with certain parameters. It is this approach that may lead some to think that writing tests is writing the code twice, and therefore a waste of time."

read »

Workaday Reading

COUNT(*) vs COUNT(id) in MySQL



"TL;DR: Use COUNT(), not COUNT(id), when you want to count rows. You have probably read in a bunch of different places that you shouldn't use SELECT() in MySQL when you don't need all the data. SELECT(*) selects all the columns in the table, not just the ones that you might need."

read »

Workaday Reading

How technology literally changes our brains



"Nicholas Carr on deep reading and digital thinking. In 1964, the Canadian philosopher Marshall McLuhan published his opus Understanding Media: The Extensions of Man. In it he writes, “In the long run, a medium’s content matters less than the medium itself in influencing how we think and act."

read »