Enable javascript in your browser for better experience. Need to know to enable it? Go here.
Last updated : Oct 27, 2021
NOT ON THE CURRENT EDITION
This blip is not on the current edition of the Radar. If it was on one of the last few editions, it is likely that it is still relevant. If the blip is older, it might no longer be relevant and our assessment might be different today. Unfortunately, we simply don't have the bandwidth to continuously review blips from previous editions of the Radar. Understand more
Oct 2021
Assess ?

继成功发布服务器端 Email 应用 HEY 之后, Basecamp 对外公布,他们于今年夏天将旗舰产品 Basecamp 3 迁移到了 Hotwire 。当很多组织越来越多地把单页应用(SPAs)作为新 Web 开发的首选,我们非常兴奋地看到 Hotwire 一直在逆流而上。和单页应用(SPAs)不同, Hotwire 应用程序的绝大部分业务逻辑和界面导航都在服务器端运行,只有很少量的 JavaScript 在浏览器上运行。 Hotwire 把 HTML 页面模块化为组件(称为 Turbo Frames ),这些组件支持延迟加载,有相互独立的上下文,能够基于用户行为修改上下文从而更新 HTML 页面。单页应用(SPAs)提供无可否认的用户响应能力,但是把传统服务器端 Web 编程的简单性与现代浏览器工具相结合,为平衡开发人员效率和用户响应能力提供了一种令人耳目一新的方式。

Apr 2021
Assess ?

Hotwire (跨端传送HTML)是一项构建网页应用的技术。页面由组件组成,然而与现代单页应用不同,这些组件的HTML在服务端生成并“跨端”传送至浏览器。这样的应用只在浏览器端运行少量的JavaScript代码用以将HTML片段组合在一起。包括我们在内的许多团队在异步web请求获得跨浏览器支持的2005年前后都尝试了这项技术,然而由于各种原因,这项技术并未引起很多注意。 如今,Hotwire使用现代网页浏览器和HTTP的能力来实现单页应用(SPA)的快速、自适应和动态特性。它通过将逻辑放在服务端并保持客户端代码的简洁,实现了更简单的网页应用设计。Basecamp团队发布了一些Hotwire框架来支持他们自己的应用程序,其中包括TurboStimulus。Turbo包含了提升应用程序响应速度的一系列技术和框架,例如防止整个页面重新加载、从缓存预览页面以及根据请求将页面切片等。Stimulus旨在通过将JavaScript对象与HTML页面元素关联起来,以增强浏览器当中的静态HTML。

Published : Apr 13, 2021

Download the PDF

 

 

 

English | Português 

Sign up for the Technology Radar newsletter

 

 

Subscribe now

Download the PDF

 

 

 

English | Português 

Sign up for the Technology Radar newsletter

 

 

Subscribe now

Visit our archive to read previous volumes