What happened last week - Issue #1
This week: Debugging using Ray, Eleventy, Statamic + Vite and much more.
What happened last week
It was a really interesting week. I did a webinar together with Freek van der Herten about debugging PHP using Ray. It was really interesting and I learned a lot. If you are still debugging using die and var_dump, you should listen to Freek and give Ray a chance.
Also, in the WordPress world, another WP Drama happened. This time Matt Mullenweg criticized Gutenberg and said that using Wix or Squarespace would be a quicker solution.
Interesting links
How to fix bugs in PHP faster with the Ray debugger — www.youtube.com
Learn how to debug using Ray. It's a really amazing piece of software and if you struggle using xDebug, Ray is an amazing alternative.
WordPress & Eleventy part one: WordPress - Dana Byerly — danabyerly.com
Dana Byerly wrote an amazing tutorial about using Eleventy and WordPress together. An amazing piece of content that shows how to connect those two together.
Vite Starter Kit - a Statamic Starter Kit — statamic.com
Finally, I played a bit with Vite together with Statamic. I'm really impressed with the speed difference - compiling all the CSS and JS using Laravel mix took 4-5 seconds, using Vite only 2.
Thanks to this starter kit you can see how to convert your website to Vite.
Astro | Build faster websites — astro.build
Astro 1.0 was released. I'm really happy seeing how Astro is changing for the better. Can't wait to see how Astro will look in a year.
You're probably using Lighthouse wrong: How we got tricked by a single magic number — blog.vuestorefront.io
It's a really amazing article explaining that many users don't fully understand how Lighthouse works. They only focus on the number rather than trying to understand the real reason.
Webinar: Going headless with Next.js and WPGraphQL | Buddy — buddy.works
Next week, together with Fran Agulto, we'll explain how to use build a headless WordPress app using Next.JS and Buddy.
Have an amazing week
Maciek