8

Found here:

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

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."

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

Is this the correct term?

4

1 に答える 1

21

シングル ページ アプリ。URL は変更される可能性がありますが、すべてが 1 つの「ページ」で行われます。ほとんどの状態変更は、サーバーに行くことなくユーザーに表示されます (データはサーバーに送られますが、html/js/css などには送られません)。

ラウンドトリップ アプリは、get/post/put 要求ごとにページを変更するアプリです。往復とは、アプリケーションがブラウザーからサーバーへ、そしてブラウザーへとたどり、状態のすべての変化をユーザーに表示するためのパスです。Web ブラウザはすべてのページを再描画する必要があるため、通常は「ちらつき」が発生します。

往復エンジニアリングは別物です。

于 2013-10-21T18:15:47.193 に答える