“单页应用"的含义是什么?在“往返"的上下文中,应用? [英] What is the meaning of "single page apps" in context with "round trip" apps?

查看:104
本文介绍了“单页应用"的含义是什么?在“往返"的上下文中,应用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在这里找到:

http://docs.angularjs.org/guide/introduction

它指出:您可以使用Angular开发单页和往返应用程序,但是Angular主要用于开发单页应用程序.Angular支持浏览器历史记录,前进和后退按钮以及单页书签功能.页面应用程序."

It states that "You can use Angular to develop both single-page and round-trip apps, but Angular is designed primarily for developing single-page apps. Angular supports browser history, forward and back buttons, and bookmarking in single-page apps."

但是我在这两个词上没有找到太多,完全是这样拼写的,但是我确实发现了这一点: http://en.wikipedia.org/wiki/Round-trip_engineering

But I'm not finding much on the two terms, spelled exactly that way, but I did find this: http://en.wikipedia.org/wiki/Round-trip_engineering

这是正确的术语吗?

推荐答案

单页应用程序,尽管URL可能会更改,但所有操作都在一个页面"上进行.大多数状态更改都显示给用户,而无需访问服务器(他们将向服务器获取数据,但不会访问html/js/css等)

Single page app, everything happens on one "page", although the URL might change. Most state changes are shown to the user without going to the server (they'll go to the server for data, but not html/js/css etc)

往返应用程序是在每次获取/发布/提交请求时更改页面的应用程序.往返行程是应用程序从浏览器到服务器再到浏览器的路径,向用户显示状态的每一个变化.这通常会导致闪烁",因为Web浏览器必须重绘每个页面.

Round-trip apps are apps that change pages on every get/post/put request. The round trip is the path the application takes from the browser, to the server, to the browser to display every change in state to the user. This usually results in "flicker" as the web browser has to redraw every page.

往返工程是另一种野兽.

Round-trip engineering is a different beast.

这篇关于“单页应用"的含义是什么?在“往返"的上下文中,应用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆