/**************************************/
//Deployment
//
/*************************************/
Before you start your iPhone application development, choosing the right deployment model for both your internal (.内的,内部的;国内的,内政的;内心的)testing and how you distribute your applications for public use.
在你开始你的iphone应用程序开发之前,为你的测试和你如何向公共用户分发你的应用程序选择正确的开发模型。
Testing Your Applications
During the development of your application, you will find that most often you will deploy to the iPhone Simulator that comes as part of the iPhone SDK download from Apple. This is a great tool for initial acceptance(接受,接纳;赞同,承认;容忍) testing of the functionality you build, however it is extremely important that you test using a real iPhone device and in the conditions that your application will be used (indoor/outdoor, areas of low bandwidth connection, etc).
Some considerations:
测试你的应用程序
在开发你的应用程序的过程中,你将会发现,大多数情况下你将会部署你的应用程序到模拟器上面,这个模拟器也是你从Apple上面下载的Iphone SDK的一部分。这是一个测试你创建的应用程序功能的接收程度最好的工具。尽管如此,在一个真的设备和你应用程序将会使用的条件(室内、室外)下测试你的应用程序也是及其重要的。
一些要考虑的环境:
GPS Display - testing with the iPhone Simulator will center location on Cupertino and will not simulate good and bad GPS signal acquisition. If you are planning to leverage GPS for map navigation and/or data collection you will need to test in real world conditions.
GPS 展示:使用iphone模拟器进行测试,将会在cupertino中集中于位置 ,并且不能模拟GPS信息获取的是好还是坏。如果你打算使用GPS信号用于地图导航或者数据收集,那么你将需要在一个真环境条件下测试。
- Direct Sunlight - sunlight has a direct impact on the design of the maps you deploy to your iPhone device. Sunlight will wash out colors making it difficult to see necessary information on the map.
- 对准阳关:日光对你部署在你的iphone设备上的地图的设计有着直接的影响。 日光将会淡化颜色效果,使之更加苦难的在地图上面查看所需要的信息。
- Battery Life - it is important to understand how the functionality you develop impacts battery life of the device. For example, if you are continually using the GPS or frequently requesting information from the server you can draw down the battery quickly. It is important that you profile your battery use.
- 电池的寿命:理解你开发的功能对设备上的电池寿命的影响是非常重要的。比如:如果你一直使用GPS或者频繁的从服务器上查询信息,电池的容量会被你很快的消耗。 因此减少电量的消耗是非常重要的。
- Distributing Your Applications
There are two primary models for distributing iPhone applications:
分发你的应用程序
这里有两个重要的模型用于分发你的iphone应用程序
- Ad Hoc Distribution - share your application through email or posting to a web site or server. This model allows you to share your app with up to 100 other iPhone or iPod Touch users with Ad Hoc distribution.
- Enterprise Distribution - best for deploying proprietary, in-house applications to authorized users within your company. The iPhone Developer Enterprise Program is available to companies with 500 or more employees.
Program enrollment with Apple determines which deployment models are available to you. Read details on Program Enrollment for more information.
第一:通过Emain或者一个web站点或者服务器分享你的应用程序。这个模型允许你和100个其他iphone或者ipod Touch用户分享你的应用程序。
第二:企事业单位分发。 对于分发私有的、室内的应用程序给公司内部授权的用户是最好的方法,iphone开发者企业编程在一个500或者更多的员工的供公司是可以获取的。