我有一个应用程序将来需要更好地支持平板电脑。我已经看到一些已经使用 UP1 和 ExtLib Mobile Controls 创建的应用程序,但我想知道是否有人知道某些特定功能,这些功能太具有挑战性,甚至无法考虑将其引入到移动设备上?
例如,特定设备上是否存在部分刷新问题?托管 Bean 仍然可以在幕后使用吗?动态内容在移动设备上完全可行吗?
我很想听听人们在调动现有 XPage 应用程序时必须放弃哪些重大挑战/功能。
I have an application that will need to better support tablets in the future. I have seen some apps already created with UP1 and ExtLib Mobile Controls but I was wondering if anyone knows of specific functionality that simply is too challenging to even consider bringing to a mobile device?
For example, are there partial refresh issues on specific devices? Can managed beans still be used behind the scenes? Is dynamic content totally viable on mobile?
I'd be interested in hearing what big challenges/functions people had to give up when they mobilized their existing XPage apps.
发布评论
评论(5)
XPages 中实际上没有任何东西会像其他 Web 应用程序开发模型一样阻止构建移动 Web 应用程序。换句话说:您可以使用移动设备上的网络应用程序执行的所有操作都应该可以使用 XPage 执行。
XPages 8.5.3 UP1 附带 Dojo Mobile 1.6.1。然而,这并不妨碍开发人员使用其他框架,如 JQuery 或其他框架。
一般而言,本机应用程序和混合应用程序有一些优势。但我个人认为大多数通常相当简单的业务应用程序都可以使用移动网络应用程序构建。如果您需要本地数据/离线数据,那可能会有所不同。
There isn't really anything in XPages that would prevent building mobile web apps as with other web app dev models. In other words: Everything you can do with web apps on mobile you should be able to do with XPages.
XPages 8.5.3 UP1 comes with Dojo Mobile 1.6.1. However that does not prevent developers from using other frameworks like JQuery or anything else.
There are some advantages in general for native apps and hybrid apps. But personally I think most of the typically rather simple business apps can be built with mobile web apps. If you need local data/offline that might be different though.
您可以使用 Xpages 完成移动 Web 开发中可能实现的任何操作。动态内容可能不是万能的,但它运行得很好。在 openntf.org 上免费提供的 ITANA 中,我创建了一个简单的复制引擎,用于使用 sqlite 将 Notes 任务从本地设备复制到 domino 服务器。这使得它运行速度非常快,并且允许应用程序离线运行。
所以我相信您想要尝试的任何内容都会起作用,您可以使 Xpage 输出您想要的任何内容,从 html 到 xml 或 json,以完成您的任务。
You can use Xpages to do anything that is possible with mobile web developement. Dynamic content may not be the way to go for everything, but it will run just fine. In ITANA available for free on openntf.org, i created a simple replication engine to replicate notes tasks from the local device using sqlite to the domino server. This makes it run very fast and allows the app to run offline as well.
So i believe anything you want to try will work, you can make the Xpage output anything you want, from html, to xml, or json, to accomplish your tasks.
我知道 XPages 与旧版 Blackberry 完全不兼容。我认为现在情况并非如此,但回到 OS 5.0,我认为甚至按钮都不起作用。因此,如果您使用 BB 做任何事情,请确保它是现代的且经过测试的。
我们并没有真正在 ext 中获得平板电脑支持。我认为图书馆直到下一个道场版本。但是您可以在某处获得平板电脑支持的预览。我还没看过,但 Lotusphere 上提到过。因此,如果您想使用平板电脑,您可能想立即推出自己的平板电脑,直到平板电脑上市。
I know that XPages was totally incompatible with older Blackberry's. I assume that's not the case these days but back at OS 5.0 I think even buttons wouldn't work. So if you're doing anything with BB make sure it's modern and tested.
We're not really getting tablet support in ext. library until the next dojo rev I think. But there is a preview of tablet support somewhere that you can get. I've not looked yet but it was mentioned at Lotusphere. so if you want to hit tablets you might want to roll your own right now until that comes available.
平板电脑更具挑战性,因为移动控件是为手机尺寸的设备设计的。也就是说,经过一些尝试和错误,您可以获得一个不错的导航器分屏,并且仍然使用单页应用程序移动控件来简化它,记录在自己的页面中打开,就像手机版本一样。我发现如果您使用 oneui2.1 中的 iPhone 主题,则应以不同的方式处理前面的内容
。 oneui2.1 为您的导航和视图提供了漂亮的样式。表单可能需要一些自定义样式。
将您的设计拆分为自定义控件,然后您可以使用适用于移动设备和直接网络的服务器 ate xpage。或者,如果您放弃使用移动单页控件,您始终可以使用单独的样式表来适应 iPad。实际上取决于所需的功能。祝你好运
Tablets are a little more challenging as the mobile controls are designed for the mobile phone size devices. That said with a little trial and error you can get a nice navigator split screen and still use the one page app mobile controls to streamline it, with records opening in their own page just like the phone version. Type ahead as I'm discovering should be handled differently if you are using the iPhone themes from oneui2.1
The oneui2.1 gives your navs and views nice styling. The forms may need a bit of custom styling.
Split your design into custom controls then you can use a server ate xpage for mobile devices and straight web. Or if you forgo the use of mobile single page controls you can always just have a seperate style sheet to accommodate the iPad. Really depends on the functionality needed. Good luck
对于任何想要使用 XPages 进行平板电脑特定开发的人来说,我的建议是尽快迁移到 Notes 9.0 和 dojo 1.8。 Dojo 1.8 有一个名为 ScreenSizeAware 的实验性控件。这远远领先于 Extension Library Mobile 控件或 Dojo 为平板电脑开发提供的任何其他功能。
My suggestion for anyone wanting to do tablet specific development using XPages is to move to Notes 9.0 and dojo 1.8 asap. Dojo 1.8 has an experimental control called ScreenSizeAware. This is miles ahead of anything else either the Extension Library Mobile controls or Dojo provides for Tablet development.