By Web Application I mean a web site targeted at Safari on the iPhone that can run "off-line" (by using a cache manifest file, JavaScript database, running full screen from an icon on the home screen.)
通过Web应用程序我的意思是一个针对iPhone的Safari网站,可以“离线”运行(通过使用缓存清单文件,JavaScript数据库,从主屏幕上的图标运行全屏。)
The user experience as a Web Application is fine once it's installed, so there is no need for it to be native, and potentially, an app delivered in this way could run on other platforms (mobile and PC browsers.) I'm aware that there are many hardware/API features that can't be accessed in this manner, but that is not a problem.
作为Web应用程序的用户体验一旦安装就很好,因此不需要它是原生的,并且以这种方式提供的应用程序可能可以在其他平台(移动和PC浏览器)上运行。我知道有许多硬件/ API功能无法以这种方式访问,但这不是问题。
The App Store provides the possibility of selling the app as well as a central catalog for users to find it. A mobile app delivered over the internet without those advantages faces an uphill battle.
App Store提供销售应用程序的可能性以及用户可以找到它的*目录。通过互联网提供的移动应用程序没有这些优势将面临一场艰苦的战斗。
Additionally, I would like to be able to leverage an existing HTML/JavaScript/CSS code base (and skills) rather than porting to a new language etc. Not to mention not requiring an OSX machine to develop on.
此外,我希望能够利用现有的HTML / JavaScript / CSS代码库(和技能)而不是移植到新语言等。更不用说不需要开发OSX机器了。
I haven't seen anything on the Apple site mentioning this, they are focusing on "native" Objective C/Cocoa apps. One option could be to develop a native iPhone app that provided a webkit surface for the HTML/JavaScript to run on.
我没有看到苹果网站上提到这一点,他们专注于“原生”Objective C / Cocoa应用程序。一种选择可能是开发一个本机iPhone应用程序,为HTML / JavaScript运行提供webkit表面。
3 个解决方案
#1
Is it possible to distribute an iPhone Web Application through the App Store?
是否可以通过App Store分发iPhone Web应用程序?
To my knowledge, no it is not. Theoretically, you could use a UIWebView to allow the user to experience your iphone-webapp, but if you're a serious developer, the $1000 for a used MacBook and the $100 for an iPhone License are well worth it.
据我所知,不是。从理论上讲,你可以使用UIWebView来让用户体验你的iphone-webapp,但如果你是一个认真的开发者,那么用过的MacBook 1000美元和iPhone许可证的100美元是值得的。
From a different perspective, the iPhone does allow custom links to your website by "Add To Homescreen". This gives the user nearly the same experience as with a native app.
从不同的角度来看,iPhone确实允许通过“添加到主屏幕”自定义链接到您的网站。这为用户提供了与本机应用程序几乎相同的体验。
From another perspective, you can achieve offline capability in a similar way to what Google does for Gmail/Reader/etc with its client-side cache/HTML 5.0 stuff.
从另一个角度来看,您可以通过类似于Google使用其客户端缓存/ HTML 5.0内容为Gmail / Reader / etc执行的操作来实现离线功能。
MonoTouch - This technology has been getting tossed around SO recently, so you might want to check it out (non-OSX developement).
MonoTouch - 这项技术最近被淘汰,所以你可能想要查看它(非OSX开发)。
#2
No only native apps can be deployed through the AppStore, I would look into the later option though. i.e. Develop a native app that provided a webkit surface. I think the trickiest bit would be exposing lower level iPhone functionality to the javascript engine.
不仅可以通过AppStore部署本机应用程序,我会查看后面的选项。即开发提供webkit表面的本机应用程序。我认为最棘手的一点是将较低级别的iPhone功能暴露给javascript引擎。
#3
Try PhoneGap, also checkout the Building iPhone Apps with HTML, CSS, and JavaScript book.
试试PhoneGap,同时查看使用HTML,CSS和JavaScript书籍构建iPhone应用程序。
#1
Is it possible to distribute an iPhone Web Application through the App Store?
是否可以通过App Store分发iPhone Web应用程序?
To my knowledge, no it is not. Theoretically, you could use a UIWebView to allow the user to experience your iphone-webapp, but if you're a serious developer, the $1000 for a used MacBook and the $100 for an iPhone License are well worth it.
据我所知,不是。从理论上讲,你可以使用UIWebView来让用户体验你的iphone-webapp,但如果你是一个认真的开发者,那么用过的MacBook 1000美元和iPhone许可证的100美元是值得的。
From a different perspective, the iPhone does allow custom links to your website by "Add To Homescreen". This gives the user nearly the same experience as with a native app.
从不同的角度来看,iPhone确实允许通过“添加到主屏幕”自定义链接到您的网站。这为用户提供了与本机应用程序几乎相同的体验。
From another perspective, you can achieve offline capability in a similar way to what Google does for Gmail/Reader/etc with its client-side cache/HTML 5.0 stuff.
从另一个角度来看,您可以通过类似于Google使用其客户端缓存/ HTML 5.0内容为Gmail / Reader / etc执行的操作来实现离线功能。
MonoTouch - This technology has been getting tossed around SO recently, so you might want to check it out (non-OSX developement).
MonoTouch - 这项技术最近被淘汰,所以你可能想要查看它(非OSX开发)。
#2
No only native apps can be deployed through the AppStore, I would look into the later option though. i.e. Develop a native app that provided a webkit surface. I think the trickiest bit would be exposing lower level iPhone functionality to the javascript engine.
不仅可以通过AppStore部署本机应用程序,我会查看后面的选项。即开发提供webkit表面的本机应用程序。我认为最棘手的一点是将较低级别的iPhone功能暴露给javascript引擎。
#3
Try PhoneGap, also checkout the Building iPhone Apps with HTML, CSS, and JavaScript book.
试试PhoneGap,同时查看使用HTML,CSS和JavaScript书籍构建iPhone应用程序。