CodeSOD: Nobody’s BFF

This post was originally published on this site

The Daily WTF

Legacy systems are hard to change, and even harder to eliminate. You can’t simply do nothing though; as technology and user expectations change, you need to find ways to modernize and adapt the legacy system.

That’s what happened to Alicia‘s team. They had a gigantic, spaghetti-coded, monolithic application that was well past drinking age and had a front-end to match. Someone decided that they couldn’t touch the complex business logic, but what they could do was replace the frontend code by creating an adapter service; the front end would call into this adapter, and the adapter would execute the appropriate methods in the backend.

Some clever coder named this “Backend for Frontend” or “BFF”.

It was not anyone’s BFF. For starters, this system didn’t actually allow you to just connect a UI to the backend. No, that’d be too easy. This system was actually a UI generator.

The way this

To read the full article click on the 'post' link at the top.