Skip to main content

平板电脑和移动设备上的表格

SheetJS 是一个用于从电子表格读取和写入数据的 JavaScript 库。

¥SheetJS is a JavaScript library for reading and writing data from spreadsheets.

许多移动应用框架将 JavaScript / CSS / HTML5 概念与原生扩展和库混合在一起,以创建混合开发体验。精通 Web 技术的开发者现在可以构建在 iOS 和 Android 上运行的实际移动应用!

¥Many mobile app frameworks mix JavaScript / CSS / HTML5 concepts with native extensions and libraries to create a hybrid development experience. Developers well-versed in web technologies can now build actual mobile applications that run on iOS and Android!

本节中的演示展示了许多移动框架。在每种情况下,我们将构建一个示例应用,该应用加载 SheetJS 库脚本并处理设备上和远程电子表格文件。

¥The demos in this section showcase a number of mobile frameworks. In each case, we will build a sample app that loads SheetJS library scripts and processes on-device and remote spreadsheet files.

该生态系统多次破坏了向后兼容性!

¥The ecosystem has broken backwards-compatibility many times!

iOS 和 Android 以及底层 JavaScript 框架会定期进行重大更改。这些演示在某个时间点针对模拟器/真实设备进行了测试。框架或操作系统的更改可能会导致演示无法运行。

¥iOS and Android, as well as the underlying JavaScript frameworks, make breaking changes regularly. The demos were tested against emulators / real devices at some point in time. A framework or OS change can render the demos inoperable.

iOS 演示需要 MacOS。Android 演示在 MacOS 上进行了测试。

¥MacOS is required for the iOS demos. The Android demos were tested on MacOS.

常用工具的演示包含在单独的页面中。每个演示部分都会提到测试日期和平台版本。

¥Demos for common tools are included in separate pages. Each demo section will mention test dates and platform versions.

"JavaScript 引擎" 部分包括移动应用框架中使用的 JS 引擎的示例。SheetJS 库已在相关引擎中进行了测试。

¥The "JavaScript Engines" section includes samples for JS engines used in the mobile app frameworks. SheetJS libraries have been tested in the relevant engines.

推荐

React Native 非常受欢迎,是可以使用社区模块的新建项目的推荐选择。然而,其 "精益核心" 方法迫使开发者学习 iOS/Android 编程或使用社区模块来提供基本的应用功能。

¥React Native is extremely popular and is the recommended choice for greenfield projects that can use community modules. However, its "lean core" approach forces developers to learn iOS/Android programming or use community modules to provide basic app features.

最初的 Web View 框架是 PhoneGap/Cordova。现代框架构建在 Cordova 之上。Cordova 的受欢迎程度正在下降,但它拥有丰富的社区模块库可以解决许多问题。

¥The original Web View framework was PhoneGap/Cordova. The modern frameworks are built atop Cordova. Cordova is waning in popularity but it has a deep library of community modules to solve many problems.

在创建新应用之前,确定应用应支持哪些功能并研究社区模块非常重要。如果必须包含一些流行的功能模块,或者对于熟悉原生应用开发的团队来说,React Native 是显而易见的选择。

¥Before creating a new app, it is important to identify what features the app should support and investigate community modules. If there are popular modules for features that must be included, or for teams that are comfortable with native app development, React Native is the obvious choice.

平台

¥Platforms

以下框架已进行测试:

¥The following frameworks have been tested:

上次更新此表时,无法从 Linux 或 Windows 构建 iOS 应用。Android 工具可在 MacOS、Linux 和 Windows 上运行。

¥When this table was last updated, it was not possible to build an iOS app from Linux or Windows. Android tooling runs on MacOS, Linux and Windows.