iPhone开发
我是 sapna。我们必须在 iPhone 中开发一个具有以下功能的应用程序:-
- 识别唯一的用户并捕获个人资料。
- 管理模块/配置模块帮助用户定义数据点及其绑定值。
- 支持多达 250 个数据点监控,客户端监控多达 50 个
- 提供选项卡式界面,单个选项卡/标签中分组的数据点不超过 10 个
- 输出以文本和图形形式生成
- 支持 iPhone 的触摸功能等
- 用于从数据库检索点数据的 Web 服务。
我们了解到需要 mac os 和 iphone sdk。现在数据传输需要什么?是 API。还是 Web 服务。需要什么。开发这个项目需要研究哪些主题。我对这个领域完全陌生。等待您的回复。
i am sapna.and we have to develop an application in an iphone having features:-
- Identifies a unique user and captures profile.
- Admin module / configuration module to assist user define the data points and their bound values.
- Support of upto 250 data points to monitor, and monitor upto 50 on the client side
- Provide tabbed interface with not more than 10 points of data grouped in a single tab / tag
- Output to be generated in text and graphical form
- Support iphone features of touch etc
- Web service to retrieve point data from the database.
we have learnt that mac os and iphone sdk is required.now for data transfer what is reqiured ? is it API.or web services.what is reqiured.what topics ahoulkd be studied for developing this project.i am fully new to this domain.waiting for your reply.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
HTTP 休息请求非常简单,并且可以在客户端构建为非阻塞。 iPhone 对 XML 的支持很少,而 JSON 使用 json 库,例如此处的库。
您可能想使用 deviceID 作为唯一的用户标识符(我猜这取决于您对唯一的定义)
要学习 iPhone 编程,我强烈推荐 iTunesU 上提供的 CS193P 课程(目前)。
HTTP rest requests are very easy, and can be architected as non-blocking on the client side. The iPhone has minimal support for XML and JSON is far easier (IMHO) using one of the json libraries such as those here.
You may want to use the deviceID as the unique user identifier (depends on your definition of unique I guess)
To learn iPhone programming, I can highly recommend the CS193P course available (at the moment) on iTunesU.
对于 Web 传输,您可以非常轻松地执行 HTTP REST,因此我将构建您的服务器端来讨论非常简单的 HTTP。有对 XML 的内置支持,但您必须手动解析服务器的结果。
对于Tab UI的支持,你可以看一下SDK中包含的例子,并不难。
对于图形输出,您将需要创建自己的 UIView 来覆盖绘图函数。您必须学习 CoreData API 才能生成高质量的渲染。
如果您对此不熟悉,并且更熟悉 C# 甚至 Java,我强烈建议您查看 MonoTouch 系统。
For web transfers, you can do HTTP REST very easily so I would architect your server side to talk very simple HTTP. There is built-in support for XML, but you will have to parse results from the server manually.
For Tab UI support, you can just look at the examples included in the SDK, it's not difficult.
For graphical output, you will want to create your own UIViews that override the draw function. You will have to learn the CoreData API in order to produce high-quality renderings.
If you are new to this, and are more familiar with C# or even Java, I highly recommend looking at the MonoTouch system.
首先你需要一个基于Mac的系统并安装iPhone SDK。我认为您正在尝试制作 iphone 版本的网络应用程序。最好下载 MAMP(Macintosh Apache MySQL PHP)服务器并安装它来调试您的应用程序。它只是 WAMP 和 LAMP 的 mac 版本。 (希望您熟悉 PHP)。
然后,您可以配置 MAMP 进行调试,调试完成后,您可以将这些 PHP 文件托管到实际服务器。
请记住,您需要从服务器获取 XML 格式的结果。并且您需要编写代码来解析在服务器上生成的 XML。
希望这些信息有帮助。
First of all u need a Mac based system and the iPhone SDK installed. I think you are trying to make an iphone version of the web application. it will be better for you to download the MAMP(Macintosh Apache MySQL PHP) Server and install it to debug your application. its simply the mac version of WAMP and LAMP. (hope you are familiar with PHP).
You can then configure you MAMP for debugging and once the debug is complete you can host these PHP files to the actual server.
Remember, you need to get the results from the server in the XML format. and you need to write code to parse the XML you generated at the server.
Hope this information is helpful.