[WebTech #39] HTML > 3. 標籤學習 > 3-8 HTML5 API > 3-8-3 本地存儲
Local Storage API
本來的 HTML,任何東西都得到中央伺服器去取得,所以無法斷線,也不能在你機器內儲存任何東西。雖然這樣大大簡化了瀏覽器的製作,但只要一離線,什麼東西都不會運作了。加上移動式設備的興起,又不是人人都負擔得起高額的「吃到飽」連線費用,所以「能夠儲存一點資料,在客戶的瀏覽器內,免得樣樣都得靠中央伺服器」,就成了對 HTML5 的要求。
其實有種稱為「Cookie」的機制,是可以儲存一點東西在客戶端的。比如說「記住我的密碼」,就是利用 Cookie 儲存您的帳號密碼,於瀏覽器端。但是 Cookie 有最大 4KB 的限制,無法儲存太多東西。加上它完全不加密,任何人用一般的「筆記本(Notepad)」軟體,打開 Cookie 就看得到帳號密碼,因此引人詬病。
現在 HTML5 提供 Local Storage API,就是打算解決這些問題。想知道怎麼做嗎?看看這篇文章您就曉得了!
http://www.ibm.com/developerworks/cn/xml/x-html5mobile2/
xml notepad 在 XML Notepad - Wikipedia 的相關結果
XML Notepad is an open-source XML editor written by Chris Lovett and published by Microsoft. ... The editor features incremental search in both tree and text ... ... <看更多>
xml notepad 在 microsoft/XmlNotepad: XML Notepad provides a ... - GitHub 的相關結果
XML Notepad is a Windows program that provides a simple intuitive User Interface for browsing and editing XML documents. There are four ways to install it:. ... <看更多>
xml notepad 在 XML Notepad - Microsoft Open Source 的相關結果
XML Notepad provides a simple intuitive User Interface for browsing and editing XML documents. ... XML Notepad is the result of a promise Chris Lovett made to a ... ... <看更多>