this post was submitted on 22 Feb 2024
13 points (100.0% liked)

Programming

13368 readers
1 users here now

All things programming and coding related. Subcommunity of Technology.


This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

founded 1 year ago
MODERATORS
 

Hello! I'll try to explain what I'm looking for: I sometimes have to write simple web pages (not just text, also buttons and video players and so on), but I really really hate writing html code. What I'm used to is QML, which I like a lot, because of the ease of placing objects exactly where I need using the anchors and the Layout objects. What I'm looking for is a language or something with a similar syntax, that can then be "built" to plain HTML/CSS/JS. Is there something like this? I know I can compile Qt/QML for webassembly, but I'm having huge amounts of problems, and also I'd like to have the possibility to have a plain HTML result, not necessary bind to the server side.

thanks in advance!!

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 3 points 8 months ago* (last edited 8 months ago)

Yeah I think headless CMSes are where it's at these days. A 'headless' CMS is one where editing and presentation are split into two parts, as opposed to it being used for editing and presentation (which is what traditional CMSes like WordPress, Joomla, CMSMS, etc do).

Usually you use the CMS to edit the site, but it just produces plain HTML so you don't need the CMS to serve the live site. The CMS could publish to a static file host like S3, Github Pages, etc.

There are even some that integrate into WordPress, meaning you use the WordPress admin section to write posts, but they then output plain HTML. Basically WordPress but without any potential security concerns since your users aren't actually hitting the WordPress server.

Having said that... 40%+ of the internet is powered by regular WordPress, so it's not going away any time soon.