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

by Reima Budd on Jun 13, 2022 Software 442 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: 17104
Publishing
Articles: 79,489
Categories: 202
Online
Active Users: 535
Members: 0
Guests: 535
Bots: 7316
Visits last 24h (live): 6171
Visits last 24h (bots): 54007

Latest Comments

I found this article really useful, especially for someone who is considering starting a business in Dubai Mainland . I liked how it explains the licensing process, required documents, costs,...
on Sep 23, 2026 about Josephine Linnea
It's fascinating to see all the diverse topics covered here, from online business trends to the history of moving services! I find myself often looking for ways to unwind after a day of diving...
This sounds like a pretty good deal for IPTV! The pricing for the 3-month and yearly subscriptions seems particularly attractive. It's always great to find affordable streaming options. Speaking...
on Sep 22, 2026 about IPTV PAID AND TRIAL SUBSCRIPTIONS
Thanks a lot for sharing us about this update. Hope you will not get tired on making posts as informative as this.  Knee Massager Australia
A fascinating dialog is value remark. I feel that it is best to compose more on this matter, it may not be an unthinkable theme however generally people are insufficient to chat on such subjects....
I like this post,And I figure that they having a great time to peruse this post,they might take a decent site to make an information,thanks for sharing it to me.  Knee massager
So luck to come across your excellent blog. Your blog brings me a great deal of fun.. Good luck with the site.  Knee massager
For anyone looking to start a business in Dubai Mainland. This is one of the most useful websites I’ve found for anyone who looking to start a business in Dubai The information about Dubai...
on Sep 20, 2026 about Josephine Linnea
My gym buddy kept talking about JokiCasino , so I checked it out. The sign-up was fast, no hoops. Australian users get proper AUD support, which is a relief. The loyalty program looks...
Every Client looking for high end companionship will find easy on the ears, gentle warmth, mastery in confident dialogue and a natural ease to make everyone at peace. Every client choosing for...

Translate To: