|
|
Log in / Subscribe / Register

String based HTML building

String based HTML building

Posted May 10, 2026 6:36 UTC (Sun) by kleptog (subscriber, #1183)
In reply to: String based HTML building by khim
Parent article: Forgejo "carrot disclosure" raises security questions

While string based HTML creation is probably required under the hood, I thought the same until someone introduced me to Vue.js. As a developer it allows you to decompose your UI into components with interfaces, and you have straightforward templating for the output. All your escaping issues vanish and suddenly I could reason about a JS application without going crazy.

This is hardly new technology. If this project is still creating HTML by string concatenation in 2026, then it does make me concerned for the state of the rest of the project. Even Django with its templating engine is 17 years old now.


to post comments


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds