跨平台移动API——寻找建议

发布于 2024-10-26 01:17:04 字数 1052 浏览 5 评论 0 原文

所以,是的,这可能是有关该主题的第 1000 个问题。然而,我的问题与其他人提出的问题有些不同,所以请耐心等待:

我正在寻求开发一个针对三/四个流行和/或不断增长的移动平台(Iphone、Android、WinPhone7)的移动应用程序 。 ,RIM)。该应用程序是我的初创公司当前提供的现有 SaaS 系统的扩展。该移动应用程序将提供一种快速简单的方式来查看最新状态和信息。图表与SaaS 应用程序收集的数据的报告信息。需要 100% 连接到互联网。除用户名/密码外,无需输入任何数据。应用程序非常简单,只有 5-6 个“页面”。

在第一阶段,需要支持的只是用户登录,查看存储在云中的数据的当前状态,访问一些实时报告

在第二阶段,我希望能够提供来自云中服务器的某些关键事件的推送通知

我的目标是:

1) 生成报告数据的后端处理已经用 ASP.NET MVC2 编写。我想重新使用它。它可以作为 WCF 服务公开,也可以发布在适合移动设备的网站上

2) 我希望能够比通过官方应用程序商店/市场更快地部署补丁。

3) 我无法花费大量资源来定位三到四个专有平台,因为它是辅助业务垂直目的的应用程序。我想为所有 3-4 个平台开发一次。

4) 我没有访问权限,也不想购买 Macbook

5) 我确实想通过特定于供应商的应用程序市场进行部署

6) 我想远离专有语言/框架/锁定

听起来像我需要的是一个适合移动设备的网站的外壳,可以打包为应用程序。是否有现有的产品可以让我真正轻松地做到这一点?这样做会阻止我在第 2 阶段进行推送通知吗? 谁能推荐一个“外壳”产品,它可以对网站进行包装,并且可以在所有 4 个平台上看起来最好的 Javascript 库。我见过 Jqtouch、Jquery Mobile 等名称...但不确定哪些更适合我的需要。

我需要 PhoneGap 吗?我在这里不是100%确定。 PhoneGap 是否可以使用仅限在线的 html/javascript 页面转换为本机代码,还是必须将 html/javascript 文件与应用程序一起分发?我宁愿让网站本身完全驱动 UI,因为我可以不断更改网站,而无需供应商市场商店的各种版本审批流程。

谢谢你的帮助

So, yes, this is probably 1000th question on the subject. However, my question is somewhat different from others that were asked about this, so please bear with me:

I am looking to develop a single mobile-app that targets the three/four popular and/or growing mobile platforms (Iphone, Android, WinPhone7, RIM). This application is an extension of an existing SaaS system that my startup currently offers. This mobile-app would provide a quick-and-simple way to view up-to-date status & chart & report information for the data that SaaS application collects. Connection to the internet is required 100%. No data entry besides username/password. App is very simple with 5-6 "pages".

In phase 1, all that would need to be supported is for user to log in, get to see current status of his data stored in the cloud, get access to a few live reports

In phase 2, I'd like to be able to offer push-notification of certain key events from my servers in the cloud

My goals are:

1) The back-end processing that generates data for reports is already written in ASP.NET MVC2. I want to re-use it. It can be exposed as either a WCF service or published on a mobile-friendly website

2) I'd like to be able to deploy the patches faster than through the official app-stores/marketplaces.

3) I cannot afford to spend a lot of resources to target three-four proprietary platforms, for an app that is auxiliary to the vertical purpose of the business. I want to develop it once for all 3-4 platforms.

4) I do not have access, nor do I want to purchase a Macbook

5) I do want to deploy thru the vendor-specific application marketplaces

6) I'd like to stay way from proprietary languages/frameworks/lock-ins

Sounds like what I need is a shell around a mobile-friendly site that can be packaged as an app. Are there existing products that can make it REAL EASY for me to do so? Will doing so, preclude me from doing push notifications in phase 2?
Can anyone recommend a "shell" product that would make a wrapper around the website as well as Javascript library that would look the best across all 4 platforms. I've seen the names like Jqtouch, Jquery Mobile, etc... but not sure which ones are better for what I need.

Do I need PhoneGap? I am not 100% sure here. Can PhoneGap use online-only html/javascript pages to translate into native code or must html/javascript files be distributed with the application? I'd rather have the website itself drive the UI completely, as I can keep changing the website without various version approval processes from vendor market-stores.

Thank you for help

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

流云如水 2024-11-02 01:17:04

在了解您的项目目标后,我认为您不需要 Phonegap。如果您 1) 不想购买 Mac(iOS 需要,即使您可以在云中编译它),您可能会考虑使用 Web 应用程序而不是本机应用程序:https://build.phonegap.com/),2) 希望随时应用和部署更新,而无需通过那些平台独立的市场和审批流程。

jQuery Mobile 将是一个很好的选择,目前(此时此刻)处于 Alpha 3 阶段,但它是一个非常稳定的选择,您可以在任何这些平台上部署您的系统。请注意,如果您将精力集中在 Web 应用程序上,则无法瞄准您提到的第二阶段:推送通知。

如果您决定使用本机,那么一旦您设置了正确的 Web 服务和证书,推送通知服务就可以部署到您的 Phonegap 项目中(查看 @ http://easyapns.com);

..还有一点要注意的是,phonegap 的想法是所有资源(html、js、图像等)都必须在应用程序内本地分发,然后使用来自另一个 Web 服务的 JSON 获取在线数据(如报告等),这是另一项容易完成的任务。 Phonegap 不会将您的 HTML 文件编译为本机代码(ObjectiveC 或 Java),它只是在运行时将您的 Web 应用程序加载到 UIWebKit 组件中(对于 iOS 应用程序)

另一种选择是使用 Titanium - http://www.appcelerator.com 但这种方法更面向 JavaScript,并且您的最终应用程序看起来更加原生。 (这里不是 HTML,所以我认为这对你来说是一个缺点)

希望它有帮助:)

I don’t think you need Phonegap after reading about your project goals. You might consider a Web App instead of a native one if you 1) dont want to buy a mac (required for iOS even tho you can compile it in the cloud: https://build.phonegap.com/), and 2) want to apply and deploy updates anytime without going thru those platform independent marketplaces and approval processes.

jQuery Mobile would be an excellent choice, currently (at this very moment) in Alpha 3 but a very stable one and you can deploy your system on any of those platforms. Note that if you focus your efforts in a Web App you can’t target the second phase you mentioned: Push Notifications.

If you decide going Native, then Push Notifications services can be deployed into your Phonegap project once you setup the proper web services and certificates (take a look @ http://easyapns.com);

..and one quick note, the idea of phonegap is that all resources (html, js, images. etc) have to be distributed locally within the app and then getting online data (like reports, etc) using JSON from another web service, and that’s another easy task to accomplish. Phonegap DOES NOT compile your HTML files into native code (ObjectiveC or Java), it just load your Web App into a UIWebKit component at run time (in the case of an iOS app)

Another alternative could be using Titanium - http://www.appcelerator.com but this approach is more javascript oriented and your final app looks much more native. (not HTMLs here so I think thats a drawback for you)

Hope it helps :)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文