【问题标题】:What changes were made to the IBM Worklight JSONStore API between versions 6.1 and 6.2?版本 6.1 和 6.2 之间对 IBM Worklight JSONStore API 进行了哪些更改?
【发布时间】:2015-04-05 11:09:15
【问题描述】:

似乎作为从 IBM Worklight 6.1 和 6.2 过渡的一部分,对 JSONStore API 进行了更改。具体来说,它看起来像是load() 方法(以及其他方法)were deprecated

看来,这种方法的替代方法是使用 JSONStoreInstance 的一部分 change() API 来刷新来自适配器调用的数据(即从后端同步它),并在此过程中将其标记为“干净” .我从 the most recent versions of the JSONStore tutorial 为 MobileFirst Platform 6.3 做出这个推断。

但是,据我所知,知识中心的“what's new in 6.2”部分并未讨论对 JSONStore 的此更改。

有人可以确认这确实是预期的变化吗?是否有更多关于 JSONStore 支持在 6.1 和 6.2 之间公开可用的变化的更多信息?

【问题讨论】:

    标签: json ibm-mobilefirst jsonstore


    【解决方案1】:

    在 v6.2 中使用 JSONStore 和外部数据已记录在 here。有用于事务的 API(即startTransactioncommitTransactionrollbackTransaction)。有安全实用程序here。有一个 advancedFind API 使用 QueryPart 对象和其他 find API 改进(即过滤、排序)。还有一个适用于 Android 和 iOS 的原生 JSONStore API,示例为 heredocumentation 的结构发生了变化,添加了新的部分(例如 general terminology),同时更新了一些旧的部分。有一种方法可以将分析信息(例如文件大小、操作时间)从 JSONStore(Android 和 iOS,混合和原生)收集到 Operational Analytics console,记录在 here。还有适用于 Windows Phone 8 和 Windows 8 的混合 JSONStore API。

    这些变化都是故意的。

    【讨论】:

    • 很好的答案,谢谢。似乎这只是意外地被排除在更改列表之外。感谢您提供全面的链接。
    猜你喜欢
    • 2015-02-16
    • 2013-12-27
    • 2014-08-10
    • 1970-01-01
    • 2018-07-16
    • 2013-08-13
    • 1970-01-01
    • 2014-09-08
    • 2015-06-07
    相关资源
    最近更新 更多