Shopify Headless Storefront in 2023: Hydrogen or Next.js?

Posted 4 min to read

In the world of modern Shopify storefront development in 2023, two major frameworks have emerged as leading choices: Hydrogen v2, developed by Shopify, and Next.js v13, developed by Vercel. Both of them are React-based and support streaming SSR, providing high performance. Additionally, Hydrogen is built on top of Remix, which is Next’s new competitor. In this article I will focus on several pros and cons of these frameworks from a business perspective.

Read more

Solving the N+1 problem in Eloquent

Posted 3 min to read

When using such convenient tools as Eloquent ORM, it's easy to forget about the N+1 problem. Ignoring it may lead to serious server slowdowns at an unexpected time. In this article I'll explain what the problem is, how to solve it and detect it at an early stage before problems occur.

Read more

Trusted Web Activity - a way to publish PWA on Google Play

Posted 4 min to read

Trusted Web Activity (TWA) is a way to display Progressive Web Apps (PWA) using Chrome Custom Tabs. This technology allows you to quickly use your current website to create an "installable" application for Android and publish it on Google Play Store. Such application works in full screen mode, without the address bar, giving the impression of using a native application.

Read more

Multilanguage support in Laravel 7

Posted 7 min to read

Adding multilanguage support to Laravel application requires focusing on three main aspects: routing, user interface translation and database structure modification. In this article I will describe each of them and draw attention to good practices that are worth following.

Read more

WebP support on the webserver level

Posted 4 min to read

When implementing WebP on a website, the main problem is to provide support for browsers that do not support it. I will show you how to quickly and sensibly add WebP support on the webserver level (NGINX and Apache) without any modification of the front- and back-end code which, depending of its complexity, could be very time-consuming.

Read more

PWA - minimum requirements

Posted 4 min to read

PWA (Progressive Web App) is a web application that in theory works in a similar way to a native application installed on a desktop or mobile device. In this article you will learn how to make your application meet all the minimum PWA requirements in 15 minutes and make it installable.

Read more