xcode 如何制作网络应用程序?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/1770234/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
how to make web application?
提问by mikal
I want to implement web application using xcode?is it possible?if yes then then please advicse me?
我想使用 xcode 实现 Web 应用程序吗?这可能吗?如果是,那么请给我建议?
example:http://pinoypay.com/iphone/
回答by hallski
While I have no personal experience with it I think you are looking for Dashcode rather than Xcode for developing web applications such as the one you linked.
虽然我没有个人经验,但我认为您正在寻找 Dashcode 而不是 Xcode 来开发 Web 应用程序,例如您链接的应用程序。
It's located in /Developer/Applications/Dashcode
after installing the developer tools.
它位于/Developer/Applications/Dashcode
安装开发人员工具后。
You can read more about using Dashcode to develop web applications in the Dashcode User Guide.
您可以在Dashcode 用户指南 中阅读有关使用 Dashcode 开发 Web 应用程序的更多信息。
回答by mmc
Is it possible? Yes.
是否可以?是的。
Is it convenient or pleasant? No.
是方便还是愉快?不。
I'm sorry but from the question, it appears you are trying to run before you can walk. Or possibly even crawl.
我很抱歉,但从这个问题来看,您似乎在走路之前试图跑步。或者甚至可能爬行。
XCode is not required to build an iPhone styled website, only to write an iPhone application. You would be better off starting with some HTML-CSS tutorials.
构建 iPhone 风格的网站不需要 XCode,只需编写 iPhone 应用程序即可。你最好从一些 HTML-CSS 教程开始。
回答by PurplePilot
The best option is to use one of the frameworks becoming available and maturing. In the first instance as has been said look at Dashcode, particularly the latest release as this has templates for web based apps and will actually generate the code for dual, Browser and iPhone app so the resultant code will function in both. The there are a number of third party solutions of varying quality, ease of use and documentation. In no particular order there is:
最好的选择是使用其中一个可用且日趋成熟的框架。如前所述,首先查看 Dashcode,尤其是最新版本,因为它具有基于 Web 的应用程序模板,并且实际上会为双、浏览器和 iPhone 应用程序生成代码,因此生成的代码将在两者中运行。有许多不同质量、易用性和文档的第三方解决方案。没有特定的顺序:
jqtouch(this is jquery based)
jqtouch(这是基于jquery)
quickconnect(which has large parts of an OReilly book devoted to it)
快速连接(OReilly 书中有很大一部分专门介绍了它)
All of these give you the javascript and the css to make a web app look and feel and act like a native iPhone app (to one degree or another).
所有这些都为您提供了 javascript 和 css 来制作 Web 应用程序的外观和感觉,并像本机 iPhone 应用程序一样运行(在某种程度上)。
Dashcode is excellent for some solutions as it gives you access to all the Apple tools and has reasonable IDE. The result then runs on a normal web server.
Dashcode 非常适合某些解决方案,因为它可以让您访问所有 Apple 工具并具有合理的 IDE。结果然后在普通的 Web 服务器上运行。
Quickconnect actually has Dashcode templates which you load into Dashcode and build the first part of the app in, then this is exported and imported into Xcode and you completed the project in Xcode and deliver it as a Web App for the iPhone.
Quickconnect 实际上有 Dashcode 模板,您可以将其加载到 Dashcode 中并在其中构建应用程序的第一部分,然后将其导出并导入到 Xcode 中,然后您在 Xcode 中完成项目并将其作为适用于 iPhone 的 Web 应用程序交付。
Thee other frameworks can be used and developed with any tools, Textmate, Eclipse etc. and the resulting code it then run on a normal web servers
可以使用任何工具(Textmate、Eclipse 等)使用和开发其他框架,然后将生成的代码运行在普通的 Web 服务器上
回答by PurplePilot
XCode is an IDE. You can use it to build a web application but you must use some kind of web application framework in the first place.
XCode 是一个 IDE。您可以使用它来构建 Web 应用程序,但首先您必须使用某种 Web 应用程序框架。
回答by Fabio Ricci
In my opinion, yes. And while xCode does not target to the web development as other software (like Brackets, DW, etc.) it has a nice feature: a drop-down menu of javascript functions, which would be extremely useful to have in other web development IDEs...
在我看来,是的。虽然 xCode 不像其他软件(如 Brackets、DW 等)那样面向 Web 开发,但它有一个很好的功能:javascript 函数的下拉菜单,这在其他 Web 开发 IDE 中非常有用。 ..