首页> 外文期刊>Communications of the ACM >Debugging AJAX in Production
【24h】

Debugging AJAX in Production

机译:在生产中调试AJAX

获取原文
获取原文并翻译 | 示例
           

摘要

The javascript language has a curious history. Whatrnbegan as a simple tool to let Web developers add dynamic elements to otherwise static Web pages has since evolved into the core of a complex platform for delivering Web-based applications. In the early days,rnthe language's ability to handle failure silently was seen as a benefit. If an image rollover failed, it was better to preserve a seamless Web experience than to present the user with unsightly error dialogs.rnThis tolerance of failure has become a central design principle of modern browsers, where errors are silently logged to a hidden error console. Even when users are aware of the console, they find only a modicum of information, under the assumption that scripts are small and a single message indicating file and line number should be sufficient to identify the source of a problem.
机译:javascript语言有一个奇怪的历史。从那时起,Whatrnn作为使Web开发人员可以向静态Web页面添加动态元素的简单工具,此后演变为用于交付基于Web的应用程序的复杂平台的核心。在早期,这种语言默默地处理失败的能力被视为一种好处。如果图像翻转失败,则最好保持无缝的Web体验,而不是向用户显示难看的错误对话框。rn。这种对错误的容忍度已成为现代浏览器的主要设计原则,其中错误被静默记录到隐藏的错误控制台中。即使用户知道控制台,在脚本很小且只显示一条文件和行号的消息应足以识别问题根源的假设下,他们也只能找到少量信息。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号