Since its introduction in the early 90s, the web has become the largest application platform available globally. HyperText Markup Language (HTML) has been an essential part of the web since the beginning, as it allows defining webpages in a tree-like manner, including semantics and content. Although the web was never meant to be an application platform, it evolved as such, especially since the early 2000s, as web application frameworks became available. While the emergence of frameworks made it easier than ever to develop complex applications, it also put HTML on the back burner. As web standards caught up, especially with milestones such as HTML5, the gap between the web platform and frameworks was reduced. HTML First development emphasizes this shift and puts focus on literally using HTML first when possible, while encouraging minimalism familiar from the early days of the web. It seems HTML-oriented web development can provide clear benefits to developers, especially when it is combined with comple- mentary approaches, such as embracing hypermedia and moving a large part of application logic to the server side. In the context of the htmx project, it was observed that moving towards HTML can reduce the size of a codebase greatly while leading to maintenance and development benefits due to the increased conceptual simplicity. Holotype-based comparisons for content-oriented websites show performance benefits, and the same observation was confirmed by a small case study where the Yle website was converted to follow HTML First principles. In short, the HTML First approach seems to have clear advantages for web developers, while there are open questions related to the magnitude of the benefits and the alignment with the recent trend of AI-driven web development.


翻译:自20世纪90年代初问世以来,Web已成为全球最大的应用程序平台。超文本标记语言(HTML)自始便是Web的重要组成部分,它允许以树状结构定义网页,包含语义与内容。尽管Web最初并非为应用程序平台设计,但其逐渐演化为该角色,特别是在2000年代初Web应用框架出现后。虽然框架的出现使得开发复杂应用变得前所未有的简单,但也使HTML退居次要地位。随着Web标准(特别是HTML5等里程碑)的完善,Web平台与框架之间的差距逐渐缩小。HTML优先开发强调这一转变,主张在可能的情况下优先直接使用HTML,同时倡导回归Web早期简洁至上的理念。以HTML为导向的Web开发能为开发者带来显著优势,尤其当与互补性方法结合时——例如采用超媒体架构或将大量应用逻辑转移至服务器端。在htmx项目的实践中发现,转向HTML可大幅缩减代码库规模,同时因概念复杂性的降低而获得维护与开发效益。基于原型的内容导向网站性能对比显示其性能优势,这一结论在Yle网站遵循HTML优先原则的小型案例改造中亦得到验证。简言之,HTML优先方法对Web开发者具有明显优势,但其效益的具体程度、以及与当前AI驱动Web开发趋势的契合度,仍有待进一步探讨。

0
下载
关闭预览

相关内容

《软件定义网络元素与机器代码的形式化验证》
专知会员服务
12+阅读 · 2025年11月18日
智能体网络:用AI智能体编织下一代网络
专知会员服务
30+阅读 · 2025年8月5日
【WWW2024教程】时间网络挖掘,附486页slides
专知会员服务
36+阅读 · 2024年5月23日
【WWW2024教程】大型语言模型驱动智能体,附slides
专知会员服务
64+阅读 · 2024年5月14日
Web3.0前瞻研究报告(2022年),56页pdf
专知会员服务
98+阅读 · 2022年9月25日
Web3.0(元宇宙)概念下的场景生态简析
专知会员服务
217+阅读 · 2022年4月23日
最新《动态网络嵌入》综述论文,25页pdf
专知
37+阅读 · 2020年6月17日
网络表示学习概述
机器学习与推荐算法
19+阅读 · 2020年3月27日
微信小程序支持webP的WebAssembly方案
前端之巅
19+阅读 · 2019年8月14日
被动DNS,一个被忽视的安全利器
运维帮
11+阅读 · 2019年3月8日
WebAssembly在QQ邮箱中的一次实践
IMWeb前端社区
13+阅读 · 2018年12月19日
图神经网络最近这么火,不妨看看我们精选的这七篇
人工智能前沿讲习班
37+阅读 · 2018年12月10日
[深度学习] AlexNet,GoogLeNet,VGG,ResNet简化版
机器学习和数学
20+阅读 · 2017年10月13日
国家自然科学基金
6+阅读 · 2017年12月31日
国家自然科学基金
18+阅读 · 2017年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
19+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
20+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
7+阅读 · 2014年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
2+阅读 · 2014年12月31日
VIP会员
相关资讯
最新《动态网络嵌入》综述论文,25页pdf
专知
37+阅读 · 2020年6月17日
网络表示学习概述
机器学习与推荐算法
19+阅读 · 2020年3月27日
微信小程序支持webP的WebAssembly方案
前端之巅
19+阅读 · 2019年8月14日
被动DNS,一个被忽视的安全利器
运维帮
11+阅读 · 2019年3月8日
WebAssembly在QQ邮箱中的一次实践
IMWeb前端社区
13+阅读 · 2018年12月19日
图神经网络最近这么火,不妨看看我们精选的这七篇
人工智能前沿讲习班
37+阅读 · 2018年12月10日
[深度学习] AlexNet,GoogLeNet,VGG,ResNet简化版
机器学习和数学
20+阅读 · 2017年10月13日
相关基金
国家自然科学基金
6+阅读 · 2017年12月31日
国家自然科学基金
18+阅读 · 2017年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
19+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
20+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
7+阅读 · 2014年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
2+阅读 · 2014年12月31日
Top
微信扫码咨询专知VIP会员