From PHP to Next.js: What Trivago Learned Rewriting Its Web App

by Reima Budd on Jun 13, 2022 Software 414 Views

Hotel search service Trivago rewrote its frontend in Typescript on the Next.js framework, replacing a PHP codebase on a homegrown JavaScript framework, Melody. From April 2020 until late 2021 the platform team created, tested and deployed the new application which reduced page size by up to 37%, while increasing daily code releases.

Engineering is all about tradeoffs, and Tom Bartel, Trivago Team Lead Interface Platform, does an excellent job illustrating the tradeoffs that led to the platform rewrite in his recent blog post. It was a massive undertaking, especially when nothing is inherently “wrong” or broken with the codebase.

What was working? Well, the site at large was. Users were enjoying full functionality on the web and mobile. There was a trained engineering team with many who enjoyed their functional job duties.

What “wasn’t working”? Melody was homegrown so it wasn’t widespread. The ecosystem was small, documentation was limited, and the engineering goes to’s (i.e. Google and Stack Overflow) were very limited or no help at all. There were at max two core maintainers with at least one on-call at all times. It was challenging to onboard new employees and some voiced concerns that they were learning and nurturing non-transferable skills.

Double down on Melody? Allocate resources to modernize the framework, update and add quality documentation, and train engineers to maintain? Or stare down …

…The Blank Page

Read More.

Article source: https://article-realm.com/article/Computers/Software/23444-From-PHP-to-Next-js-What-Trivago-Learned-Rewriting-Its-Web-App.html

Comments

No comments have been left here yet. Be the first who will do it.
Safety

captchaPlease input letters you see on the image.
Click on image to redraw.

Reviews

Guest

Overall Rating:

Statistics

Members
Members: 16750
Publishing
Articles: 78,447
Categories: 202
Online
Active Users: 4122
Members: 1
Guests: 4121
Bots: 9096
Visits last 24h (live): 9773
Visits last 24h (bots): 38599

Latest Comments

granny puts you inside a haunted house where survival depends on stealth and quick thinking. Explore abandoned rooms in search of useful items while avoiding the terrifying Granny, who reacts...
Every card revealed can either present an opportunity or force a complete shift in strategy. It is this blend of luck—inherent in the deal—and player skill that gives spider solitaire free its...
fnaf not only tests your courage but also keeps you in a constant state of vigilance. This style of psychological horror has allowed the game to carve out a unique identity and become an icon of...
For a high-end experience that combines beauty, elegance and sexual prowess, look no further than Noida Escort Service . Their stunning models are committed to providing a satisfying and discreet...
Orbit Beats is one of those games that's simple to understand but difficult to master.
Great write-up on the daily mechanics! One thing that always gets me is when a tricky puzzle threatens to end a long win streak. When I'm completely stuck and don't want to lose my progress,...
This list is useful for entrepreneurs comparing crypto exchange development companies in India, the USA, and the UK. When choosing a provider, review portfolio quality, security features,...
If you are looking for a top-tier Russian Delhi Call Girls Service , browse our verified profiles for the best experience.
on Jul 21, 2026 about Nice Girls Do It, Too!
When the demands of your schedule leave little room for error, booking a VIP Delhi Escorts Service becomes the most logical choice. True luxury is found in the sanctity of privacy, and these...
Stickman Hook is suitable for all ages, appealing to everyone from casual players to those who enjoy challenging their skills and chasing speed records.

Translate To: