(评论)
(comments)
原始链接: https://news.ycombinator.com/item?id=43954896
Hacker News 的讨论围绕着“纯原生 Web”(Plain Vanilla Web)的概念展开,提倡仅使用 HTML、CSS 和 JavaScript 进行 Web 开发,摒弃各种框架。许多评论者辩论了这种方法与使用 React 等框架(尤其是在 B2B SaaS 中)的优缺点。
“原生”方法的支持者强调其简单性、性能和降低的长期维护成本,尤其对于简单的网站或内部工具而言。他们还指出,对于客户配置,Excel 文件实际上可能是一种 surprisingly good 的方法,而不是花费大量时间构建 Web 应用的管理面板。一些人还提到了拥有内容和摆脱复杂技术的重要性。
另一些人认为,框架可以提高开发人员的生产力、代码组织以及对复杂 Web 应用至关重要的反应性和状态管理等功能。关于仅使用 HTML 和少量 JS 是否可以构建功能齐全的网站,存在相当大的分歧,许多人认为开发人员的技能比工具更重要。一些人还指出了“轻量级框架”的实用性。
讨论还涉及 Web Components、可访问性和简单性和可扩展性之间的权衡。总的来说,评论强调了理解项目需求和为工作选择正确工具的重要性。
I've discovered that when you start getting really cynical about the actual need for a web application - especially in B2B SaaS - you may become surprised at how far you can take the business without touching a browser.
A vast majority of the hours I've spent building web sites & applications has been devoted to administrative-style UI/UX wherein we are ultimately giving the admin a way to mutate fields in a database somewhere such that the application behaves to the customer's expectations. In many situations, it is clearly 100x faster/easier/less bullshit to send the business a template of the configuration (Excel files) and then load+merge their results directly into the same SQL tables.
The web provides one type of UI/UX. It isn't the only way for users to interact with your product or business. Email and flat files are far more flexible than any web solution.
reply