Leonardo Losoviz is a freelance developer and writer, with an ongoing quest to integrate innovative paradigms (Serverless PHP, server-side components, GraphQL) into existing PHP frameworks (WordPress, Symfony, Laravel), and unifying all of them into a single mental model. He gives account of his progress on Smashing Magazine, on his own blog
leoloso.com
, and in whichever event he is accepted to speak.
Do you need search for your site, but haven’t found the time to add it? Within 15 minutes, Leonardo Losoviz explains how you can add a super powerful search that also looks super good. In this article, you’ll learn how to go from 0 to 100 with search.
Read more…
If we want our WordPress plugins to offer a settings page that is fully powered by blocks, how can we do it? Since
Full Site Editing
doesn’t support this feature yet, we need to code a custom solution. In this article, we will learn how we can do it.
Read more…
In this article, Leonardo Losoviz discusses some potential consequences as well as positive outcomes of WordPress joining the Block Protocol.
Read more…
In this article, Leonardo Losoviz explains how Cloudinary’s integration can be used with WordPress to produce and deliver optimal digital experiences.
Read more…
In this article, Leonardo explains how to use a “multi-monorepo” approach for making the development experience faster, yet keeping your PHP packages private. This solution can be especially beneficial for PRO plugin creators.
Read more…
VS Code can be supercharged wuth hundreds of
VS Code extensions
. In this article, Leonardo shares four useful extensions that help him in his daily work.
Read more…
When developing themes and plugins for WordPress, we need to test them in different environments. How can we create multiple testing sites on our computer, quickly and easily, without having to become a sysadmin?
Read more…
Amazon allows visitors to display prices in their own currency. Thanks to
ExchangeRatesApi.io
, we can do the same for our online shops, providing a better experience to our customers. Let’s find out how.
Read more…
Let’s explore the plugins providing GraphQL servers to WordPress. When should we use WPGraphQL, and when the GraphQL API for WordPress? Is there some advantage of one over the other, or some particular task that is easier to accomplish with one of them? In this article, we will find out.
Read more…
The Laravel-powered October CMS enables to extend the functionality of the application through the use of plugins. In this article we will learn how to create an e-commerce site through one of October’s most popular plugins, Shopaholic.
Read more…
Making our code CMS-agnostic, as much as possible, enables us to easily port our application to another CMS if the need arises. In this article we will learn how to abstract a WordPress application, making its code readily available for other frameworks or CMSs.
Read more…
Making our code CMS as agnostic as possible enables us to easily port our application to another CMS if the need arises. In this article, we will learn how code abstraction works, why it is a good idea, and the key concepts to achieve it.
Read more…
Gutenberg is reinventing the experience of creating content in WordPress, granting it new powers to create, edit and manage our content. Let’s see what these new powers are.
Read more…
The term COPE (“Create Once, Publish Everywhere”) is a methodology for publishing our content to different outputs (website, AMP site, email, apps, and so on) by having a single source of truth for all of them. Let’s explore how to implement COPE using WordPress.
Read more…
Since its release 8 months ago, Gutenberg has been greatly improved, offering a user experience much richer than anything that was possible in WordPress. Let’s take a look at its latest developments, and where it is heading to.
Read more…
Cloudflare Workers lets devs build and extend the capabilities of serverless sites. In this article, we will learn how Cloudflare Workers works and when it makes sense to add it to our technology stack.
Read more…
Many people are currently looking for alternatives to WordPress. This article compares WordPress and October CMS by exposing the important concerns that need to be kept in mind when looking for a suitable CMS for your projects.
Read more…
WordPress is modernizing, allowing us to rethink how to make the most out of newer tools and technologies. In this article, Leonardo Losoviz explains how you can integrate WordPress with Composer, Packagist, and WPackagist in order to produce better code.
Read more…
This article makes a tour of the PHP features newly-available to WordPress, and attempts to suggest how these can be used to produce better software.
Read more…
In the world of APIs, GraphQL has lately overshadowed REST due to its ability to query and retrieve all required data in a single request. In this article, I will describe a different type of API, based around components, which takes a step further the amount of data it can fetch from a single request.
Read more…
When optimizing the speed of our websites from the server side, caching ranks among the most critical tasks to get just right. In this article, Leonardo Losoviz examines an architecture based on self-rendering components and SSR, and analyzes how to implement it for WordPress sites through Gutenberg.
Read more…
Overusing inline CSS or JS code, as opposed to serving code through static resources, can harm the site’s performance. In this article, we will learn how to load dynamic code through static files instead, avoiding the drawbacks of too much inline code.
Read more…
What does Gutenberg bring to the future of WordPress? In this article, Leonardo Losoviz shares a number of implications of building sites through a component-based architecture (as the concept) and through Gutenberg (as the implementation), including what new functionalities it can deliver and how much better it can integrate with current website development trends.
Read more…
Sending many transactional emails at once, if not architected properly, could become a bottleneck for the application and degrade the user experience. Part of the problem is connecting to the SMTP server from within the application, synchronously. In this article we will explore how to send emails from outside the application, asynchronously, using a combination of AWS S3, Lambda, and SES.
Read more…
When creating a multi-step form in which a file is uploaded and manipulated, if the application is running on several servers behind a load balancer, then we need to make sure that the file is available all throughout the execution of the process, for whichever server handles the process at each step. In this article, we will solve this issue by creating a repository accessible to all servers where to upload the files, based on AWS S3.
Read more…
It’s a well-known fact that it’s not easy for WP websites to implement code-splitting through Webpack. Leonardo takes things into his own hands and implements his own version of code-splitting for an open-source framework named PoP.
Read more…
What if we could have a WordPress website in which its dynamic content could be exported as static files? Leonardo Losoviz explains how you can combine both worlds: switch to a static site generator without having to abandon WordPress.
Read more…
Through service workers, all framework and application code to output the HTML view can be precached in the browser, thus speeding up both the first meaningful paint and the time to interact. In this article, I will share my experience with implementing service workers for PoP, an SPA website that runs on WordPress, with the goal of speeding up the loading time and providing offline-first capabilities.
Read more…