Category: Web Development

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 […]

How to check your website’s performance?

Just recently, a friend of mine asked me about “website analysis tool”. I got interested and immediately started asking questions. What would you like to analyze? Performance? SEO? Accessibility? “We would like to check our website for performance.”, he says. Luckily, a couple well established tools exists that are designed to do just that. I […]