Skip to content

Commit

Permalink
[zh-tw] sync translated content (#17059)
Browse files Browse the repository at this point in the history
* zh-tw: sync translated content

* Delete Ajax guide

ref: mdn/content#30441

---------

Co-authored-by: Allo <[email protected]>
  • Loading branch information
mdn-bot and yin1999 authored Nov 22, 2023
1 parent 0a1d5a3 commit 8ac4d6e
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 42 deletions.
11 changes: 6 additions & 5 deletions files/zh-tw/_redirects.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
# yarn content add-redirect <fromURL> <toURL>
#
# FROM-URL TO-URL
/zh-TW/docs/AJAX /zh-TW/docs/Web/Guide/AJAX
/zh-TW/docs/AJAX/Getting_Started /zh-TW/docs/Web/Guide/AJAX
/zh-TW/docs/AJAX/上手篇 /zh-TW/docs/Web/Guide/AJAX
/zh-TW/docs/AJAX:上手篇 /zh-TW/docs/Web/Guide/AJAX
/zh-TW/docs/AJAX /zh-TW/docs/Learn/JavaScript/Client-side_web_APIs/Fetching_data
/zh-TW/docs/AJAX/Getting_Started /zh-TW/docs/Learn/JavaScript/Client-side_web_APIs/Fetching_data
/zh-TW/docs/AJAX/上手篇 /zh-TW/docs/Learn/JavaScript/Client-side_web_APIs/Fetching_data
/zh-TW/docs/AJAX:上手篇 /zh-TW/docs/Learn/JavaScript/Client-side_web_APIs/Fetching_data
/zh-TW/docs/CSS /zh-TW/docs/Web/CSS
/zh-TW/docs/CSS/-moz-border-image /zh-TW/docs/Web/CSS/border-image
/zh-TW/docs/CSS/@font-face /zh-TW/docs/Web/CSS/@font-face
Expand Down Expand Up @@ -441,7 +441,8 @@
/zh-TW/docs/Web/CSS/彈頭 /zh-TW/docs/Web/CSS/box-sizing
/zh-TW/docs/Web/CSS/繼承 /zh-TW/docs/Web/CSS/Inheritance
/zh-TW/docs/Web/CSS/語法 /zh-TW/docs/Web/CSS/Syntax
/zh-TW/docs/Web/Guide/AJAX/Getting_Started /zh-TW/docs/Web/Guide/AJAX
/zh-TW/docs/Web/Guide/AJAX /zh-TW/docs/Learn/JavaScript/Client-side_web_APIs/Fetching_data
/zh-TW/docs/Web/Guide/AJAX/Getting_Started /zh-TW/docs/Learn/JavaScript/Client-side_web_APIs/Fetching_data
/zh-TW/docs/Web/Guide/API/DOM/Manipulating_the_browser_history/Manipulating_the_browser_history /zh-TW/docs/Web/API/History_API
/zh-TW/docs/Web/Guide/CSS /zh-TW/docs/Learn/CSS
/zh-TW/docs/Web/Guide/CSS/Getting_started /en-US/docs/Learn/CSS/First_steps
Expand Down
30 changes: 15 additions & 15 deletions files/zh-tw/_wikihistory.json
Original file line number Diff line number Diff line change
Expand Up @@ -948,6 +948,21 @@
"modified": "2020-07-16T22:32:43.326Z",
"contributors": ["tangerine1202", "nykevinwong", "mubiesam"]
},
"Learn/JavaScript/Client-side_web_APIs/Fetching_data": {
"modified": "2019-03-24T00:02:43.850Z",
"contributors": [
"circlepen",
"drinktea28",
"jackblackevo",
"chrisdavidmills",
"ethertank",
"fscholz",
"happysadman",
"Mgjbot",
"kourge",
"BobChao"
]
},
"Learn/JavaScript/First_steps": {
"modified": "2020-10-14T02:07:07.650Z",
"contributors": [
Expand Down Expand Up @@ -2688,21 +2703,6 @@
"Sheppy"
]
},
"Web/Guide/AJAX": {
"modified": "2019-03-24T00:02:43.850Z",
"contributors": [
"circlepen",
"drinktea28",
"jackblackevo",
"chrisdavidmills",
"ethertank",
"fscholz",
"happysadman",
"Mgjbot",
"kourge",
"BobChao"
]
},
"Web/Guide/Graphics": {
"modified": "2019-04-23T04:21:07.806Z",
"contributors": ["jackblackevo", "pytseng"]
Expand Down
14 changes: 5 additions & 9 deletions files/zh-tw/glossary/ajax/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,12 @@ slug: Glossary/AJAX

{{GlossarySidebar}}

AJAX(Asynchronous {{glossary("JavaScript")}} And {{glossary("XML")}}、非同步 JavaScript 與 XML)是結合了 {{glossary("HTML")}}、{{glossary("CSS")}}、JavaScript 、{{glossary("DOM")}}、還有 `XMLHttpRequest` {{glossary("object")}},以建立更複雜的網頁程式實做。AJAX 可以允許網頁只更新需要的部分,而無須重新載入整個頁面。另外,AJAX 也能讓你非同步工作,意思是說程式碼能在網頁試圖重新載入時持續運行(與同步(synchronously)相對比 ── 它會在運行的時候封鎖程式碼運作,直到網頁重新載入成功為止)。
AJAX(Asynchronous {{glossary("JavaScript")}} And {{glossary("XML")}}、非同步 JavaScript 與 XML)是結合了 {{glossary("HTML")}}、{{glossary("CSS")}}、JavaScript、{{glossary("DOM")}}、還有 `XMLHttpRequest` {{glossary("object")}},以建立更複雜的網頁程式實做。AJAX 可以允許網頁只更新需要的部分,而無須重新載入整個頁面。另外,AJAX 也能讓你非同步工作,意思是說程式碼能在網頁試圖重新載入時持續運行(與同步(synchronously)相對比──它會在運行的時候封鎖程式碼運作,直到網頁重新載入成功為止)。

## 了解更多

### 基本知識
## 參見

- {{DOMxRef("XMLHttpRequest")}}
- {{DOMxRef("Fetch API")}}
- [使用 Fetch API](/zh-TW/docs/Web/API/Fetch_API/Using_Fetch)
- 維基百科的 [AJAX](https://zh.wikipedia.org/wiki/AJAX)
- [Synchronous vs. Asynchronous Communications](http://peoplesofttutorial.com/difference-between-synchronous-and-asynchronous-messaging/)

### 技術資訊

- {{domxref("XMLHttpRequest")}} 物件。
- [MDN 的 AJAX 文件](/zh-TW/docs/Web/Guide/AJAX)
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: Ajax
slug: Web/Guide/AJAX
slug: Learn/JavaScript/Client-side_web_APIs/Fetching_data
original_slug: Web/Guide/AJAX
---

<section id="Quick_links">
Expand Down
15 changes: 3 additions & 12 deletions files/zh-tw/web/api/xmlhttprequest/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,15 +115,6 @@ _此介面也繼承了 {{domxref("XMLHttpRequestEventTarget")}} 及 {{domxref("E

## 參見

- MDN 上涵蓋 XMLHttpRequest 的相關教學:

- [Ajax](/zh-TW/docs/Web/Guide/AJAX)
- [使用 XMLHttpRequest](/zh-TW/docs/Web/API/XMLHttpRequest_API/Using_XMLHttpRequest)
- [HTML in XMLHttpRequest](/zh-TW/docs/Web/API/XMLHttpRequest_API/HTML_in_XMLHttpRequest)
- [`FormData`](/zh-TW/docs/Web/API/FormData)

- [HTML5 Rocks — New Tricks in XMLHttpRequest2](http://www.html5rocks.com/en/tutorials/file/xhr2/)
- `Chrome scope availability` — how to access XMLHttpRequest from JSM modules etc., which do not have access to DOM

- [Components.utils.importGlobalProperties](/zh-TW/docs/Mozilla/Tech/XPCOM/Language_Bindings/Components.utils.importGlobalProperties)
- [nsIXMLHttpRequest](/zh-TW/docs/Mozilla/Tech/XPCOM/Reference/Interface/nsIXMLHttpRequest)
- {{domxref("XMLSerializer")}}:將 DOM 樹解析為 XML 物件
- [使用 XMLHttpRequest](/zh-TW/docs/Web/API/XMLHttpRequest_API/Using_XMLHttpRequest)
- [Fetch API](/zh-TW/docs/Web/API/Fetch_API)

0 comments on commit 8ac4d6e

Please sign in to comment.