Author: Wojciech Szczurek

Dynamic Origin Swapping in AWS CloudFront with Lambda@Edge

I recently needed to add a staging environment to my single page apps (SPA) hosted on S3 and served through an existing CloudFront distribution. My bucket layout looked like this: Rather than stand up a second distribution, I decided to serve stage traffic from the same CF endpoint—simply by swapping the S3 origin path at runtime. The natural […]

Generating Config Cache in Laravel Serverless Deployments

Laravel applications can be successfully deployed to AWS serverless infrastructure using projects such as Bref. On deployments, for optimal performance you want to create cached files for your configuration, events, routes, and views by using php artisan optimize. One challenge with compiled Laravel configuration files is that they generate absolute, environment-dependent paths. This behavior can […]

Ditch the Overkill: How to Send WordPress Emails Using PHPMailer and Amazon SES

The WordPress ecosystem now hosts a range of fully developed email solutions provided by numerous plugins. Two of the most prominent examples are WP Mail SMTP and Easy WP SMTP. While I have no particular objections to these plugins, I believe that for experienced developers, they can be overly complex. Most of their features extend […]

How to Implement Server-Side Rendering for WordPress Blocks?

Recently, I was tasked with implementing server-side rendering for a WordPress block created with @wordpress/create-block package. Specifically, I developed a block that displays a page list based on a user-selected menu. The block’s functionality is straightforward: in the back-end, the user selects a menu from a list of available menus, and on the front-end, the […]

AWS Certified Data Engineer – Associate (DEA-C01)

Introduction What data engineers do? Data engineers: Data management challenges: Essentially, the role of the data engineer is to get data from sources, make is useful and serve the data to stakeholders. Data Discovery Data engineer responsibilities: AWS Data Services and Modern Infrastructure Basic workflow of modern data engineering building blocks: Orchestration and Automation Options […]

“Hidden Potential: The Science of Achieving Greater Things” by Adam Grant

Another great read from Adam. As the title suggests, the author explores self-improvement techniques by embracing the unknown and unfamiliar, overcoming obstacles by building support systems, and discovering inner potential—not through the end result, but through the growth that happens along the way. Why does Finland’s education system consistently rank among the best in the […]