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

by Reima Budd on Jun 13, 2022 Software 398 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: 16369
Publishing
Articles: 77,352
Categories: 202
Online
Active Users: 799
Members: 2
Guests: 797
Bots: 13329
Visits last 24h (live): 1402
Visits last 24h (bots): 25576

Latest Comments

???????? Managing your finances is easier than ever with the Home Depot Credit Card Login portal! ????✨ Quickly pay bills, check balances, monitor recent transactions, and access account features...
It's good to hear about safety measures. On platforms like Omegle , you sometimes run into bots or people who aren't really being genuine. Hopefully, your filters really work well and cut down...
on May 23, 2026 about Nordic Online Dating
This is a helpful overview for publishers looking to monetize their websites more effectively. Platforms like MageNet can be useful for generating passive income while maintaining control over ad...
This is a useful guide for website owners looking to monetize their content more effectively. Platforms like MageNet can help publishers generate additional income while maintaining control over...
Great explanation about managing store credit cards and online account access. A lot of users struggle with navigation and payment setup. I recently read a simple walkthrough explaining the Home...
We are a trusted agency dedicated to offering premium companionship services with complete professionalism and privacy. Our experienced team ensures every client enjoys a smooth and comfortable...
on May 19, 2026 about Familiarize The Process Of SEO
geometry dash lite is more than simply a typical obstacle course game; it's more akin to a fast-paced race inside an ever-changing labyrinth of light, with pressure building with every second.
speed stars is a voyage of skill optimization with each race rather than merely speed pleasure. All things considered, the game is a potent blend of strategy, reflexes, and an alluring sense of...
The addictive nature of space waves comes from the feeling of always being able to do better than yourself again. Every small step forward brings a very real sense of victory.
Really appreciated this post — gave me something to think about. On a totally different note,    a friend of mine put together FarFarWestGuide (https://farfarwestguide.com) and I've been finding...

Translate To: