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

by Reima Budd on Jun 13, 2022 Software 466 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: 17257
Publishing
Articles: 79,948
Categories: 202
Online
Active Users: 748
Members: 0
Guests: 748
Bots: 4997
Visits last 24h (live): 5533
Visits last 24h (bots): 114955

Latest Comments

Since moving through different routines in Canada, I've realised how important it is to have hobbies that don't require complicated planning. Sometimes I go cycling or meet friends, while...
Planning a date night in Saskatchewan is super easy when you have awesome local entertainment options nearby. My partner and I enjoyed a wonderful dinner and spent a few hours at  casino gold...
I have read your article, it is very informative and helpful for me. I admire the valuable information you offer in your articles. Thanks for posting it  Jpbosku    
What a fantastic list of home plans! I'm curious, how do you think the trend towards smaller, more sustainable homes will impact these best-sellers in the future? Do you see any plans here that...
on Nov 3, 2026 about Best Selling Home Plan
I really like the new design. It is a lot easier to use and visually attractive.  Sbo28      
I really like the new design. It is a lot easier to use and visually attractive.  Untung28    
Watch High Quality Anime Online on Aniwatch With English Subbed And Dubbed.
I really loved reading your blog. It was very well authored and easy to undertand. Unlike additional blogs I have read which are really not tht good. I also found your posts very interesting. In...
You there, this is really good post here. Thanks for taking the time to post such valuable information. Quality content is what always gets the visitors coming.  amanahtoto    
Certain nights demand complete attention and the kind of chemistry that builds slowly without any forced effort. Using Female Escort Service in Delhi often results in sessions that feel...

Translate To: