Hardcoded HTML to JSON
What’s going on with all these divs?! You shouldn’t be returning all this hard coded HTML... Nowadays we send our data as a JSON object and then we integrate it into the DOM via the front-end Ah, OK... LATER Done! It was easier than I thought actually! Great! I wrapped all the Ajax responses in a JSON object like you asked!
A four-panel comic shows a developer explaining JSON responses and front-end DOM integration to a colleague. The colleague misunderstands and wraps the Ajax responses in a JSON object, even though that was already the intended approach. The joke is aimed at confusing or overly literal explanations in programming work.
- @dev_meme / 2626 2021-01-18
- Type
- image
- Size
- 640×587 · 95.8 KiB
- Mood
- sarcastic
- Language
- en
- Added