3

欧雷说:「当初发明 Web 时可能万万没想到日后相关技术会广泛应用于商业应用,无法有...

 2 years ago
source link: https://ourai.ws/murmurs/1fl83mkq8/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

欧雷说:「当初发明 Web 时可能万万没想到日后相关技术会广泛应用于商业应用,无法有效应对面向对象抽象的 UR...」

欧雷
发表于 2021-11-24 12:36

当初发明 Web 时可能万万没想到日后相关技术会广泛应用于商业应用,无法有效应对面向对象抽象的 URL 成了前后端通信的主要障碍。

在做应用开发时,一个或一系列 URL 本身不能满足实际以领域/业务为单位获取资源的需求。在数据方面,GraphQL 这类是个解,但其他静态资源貌似还没解?

现如今,以类似 REST 的思想让 URL 与某个「页面」绑定是个错误的设计。


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK