在阅读了关于灵活应用程序开发的Worklight基础文档之后。(Worklight foundation v6.2.0文档)
我偶然看到了这部分:
在应用程序中无缝地混合了web和本机组件。 在IBM Worklight Foundation V6.2.0中,在应用程序中更容易混合web和本机组件,允许您构建具有任何web和本机功能组合的混合应用程序。下面的增强支持混合应用程序开发的更大灵活性。
- Start the application in a web view page, connect to the Worklight server, and then login to access protected resources. You can then switch to a native view and access the same protected resources without the need to reauthenticate.
- Start the application in a native page, connect to the Worklight server, and then login to access protected resources. You can then switch to a web view and access the same protected resources without the need to reauthenticate
本地组件和web组件之间的导航不需要任何额外的编程工作,并且可以提供更大的应用程序灵活性。例如,现在可以采用以下方案:
在示例中多次提到的情况是,您的worklight应用程序将以一个本机页面开始。但是,当使用本机页面启动应用程序而不是仅仅从web视图页面开始时,有什么好处呢?
发布于 2014-10-17 12:38:59
我想到的一些例子是:
https://stackoverflow.com/questions/26424941
复制相似问题