chrome 应用程序开发环境中的打包应用程序是什么?
What are packaged app in context of chrome app development?
我是 chrome 应用程序开发的新手,我正在尝试构建一个简单的 Chrome 应用程序,它将有一个数据库。我将在系统本地存储数据。
在在本地保存数据部分中的documentation时,有一条注释如下:
Note: Packaged apps cannot use Web SQL Database or localStorage. The WebSQL specification has been deprecated for awhile now, and localStorage handles data synchronously (which means it can be slow). The Storage API handles data asynchronously.
所以我在这里很困惑,到底什么是打包应用程序?另一种对存储数据没有限制的应用程序是什么?
So I am confused here, what is exactly a packaged app?
当前文档中提到的所有内容都是 Chrome 应用程序。 "Packaged app" 是旧称。
What is the other type of app where there are no restrictions on storing data.
为了完整起见,其他两种类型的应用程序是:
Legacy packaged apps. They are an ancient version of Chrome apps with a different API, that has been deprecated since 2014.
Hosted apps,这是一个带有清单文件的网络应用程序的奇特名称,该文件已上传到网上应用店。它们的作用很像应用程序列表中的网络快捷方式(几乎没有额外的功能)。
这些要么不受支持,要么完全不同 - 它们不会帮助您解决限制问题。因此,学习使用文档中提到的可用工具。
我是 chrome 应用程序开发的新手,我正在尝试构建一个简单的 Chrome 应用程序,它将有一个数据库。我将在系统本地存储数据。
在在本地保存数据部分中的documentation时,有一条注释如下:
Note: Packaged apps cannot use Web SQL Database or localStorage. The WebSQL specification has been deprecated for awhile now, and localStorage handles data synchronously (which means it can be slow). The Storage API handles data asynchronously.
所以我在这里很困惑,到底什么是打包应用程序?另一种对存储数据没有限制的应用程序是什么?
So I am confused here, what is exactly a packaged app?
当前文档中提到的所有内容都是 Chrome 应用程序。 "Packaged app" 是旧称。
What is the other type of app where there are no restrictions on storing data.
为了完整起见,其他两种类型的应用程序是:
Legacy packaged apps. They are an ancient version of Chrome apps with a different API, that has been deprecated since 2014.
Hosted apps,这是一个带有清单文件的网络应用程序的奇特名称,该文件已上传到网上应用店。它们的作用很像应用程序列表中的网络快捷方式(几乎没有额外的功能)。
这些要么不受支持,要么完全不同 - 它们不会帮助您解决限制问题。因此,学习使用文档中提到的可用工具。