We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 9 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(5)
确实是困境。
我个人在 Cappuccino 上尝试了一次机会,但那是因为我目前正在参与 Objective-C,并且理论上有可能将我的代码(经过一些调整)插入 javascript/web 环境 - 很诱人。
不管怎样,如果你正在进行可可开发,你将在几个小时内启动并运行,但我相信你已经自己弄清楚了。
您将(在卡布奇诺中)有一个非常好的抽象可以使用。 我认为这很重要。
Dilemma indeed it is.
I personally took a chance on Cappuccino, but that is because I'm currently involved in objective-c and having the theoretical possibility to plug my code (with some adjustments) into a javascript/web environment - is tempting.
Anyway, if are you doing cocoa development, you will be up and running in a matter of hours, but I'm sure you've already figured that out by yourself.
You will (in Cappuccino) have a very nice abstraction to work with. I think that matters.
事实上,这并不是一个两难的问题。 这归结为一个简单的问题:
您有使用 Cocoa (Objective-C) 的经验吗? (或者,您是否计划在未来通过针对 OS X 或 iPhone 进行开发来大量使用 Objective-C?)
如果是这样,请选择 Cappuccino。 如果没有,请选择 SproutCore。
没有理由从一开始就尝试学习 Objective-C,同时学习 Web 应用程序和新框架的所有怪癖和新奇之处,从而搁置您的项目。
It actually isn't that much of a dilemma. It boils down to a simple question:
Do you have experience with Cocoa (Objective-C)? (Or alternatively, do you plan on using Objective-C heavily in the future by developing for OS X or iPhone?)
If so, choose Cappuccino. If not, choose SproutCore.
There is no reason to put your project behind from the start by trying to learn Objective-C and at the same time, all of the quirks and novelties of web applications and a new framework.
这两个项目的文档水平都令人震惊。
然而,由于 SproutCore 现在得到了 Apple 的支持,并且 Apple 非常擅长提供良好的文档,因此我预计这种情况会改变。
不过,Cap 有一个已发布的实际应用程序 (280Slides),您可以使用它来了解您应该如何构建您的应用程序。 所以现在开始使用 Cap 可能更容易,特别是因为你了解 Objective-C。
请注意,对于这两个项目,开箱即用的控件数量非常有限,因此您会发现自己正在实现自己的控件。 另外,SproutCore 默认情况下很丑!
就我个人而言,我认为 Cap 方法非常出色。
您不需要编写任何 HTML 或 CSS。 真的感觉就像您正在编写一个桌面应用程序,并且通过使用 Objective-js 进行编码,您基本上从浏览器中抽象出来。
然而,我并不喜欢该语言本身。 如果他们坚持使用 pov JavaScript,我会更喜欢它。
我知道 Mac 开发人员会喜欢您使用 Cap 创建的代码的潜在可移植性,但是自从 Apple 在 2012 年破产后,我真的不明白这一点:)
The level documentation for both projects is appalling.
However, since SproutCore is now supported by Apple, and Apple are rather good at providing good documentation, I expect this to change.
Cap, however has a released real world app (280Slides) which you can have a play with to get an idea of how you should structure your application. So at this point its probably easier to get started with Cap especially since you know objective-c.
Be aware that for both projects, the number of out-of-the-box controls are very limited, so you'll find yourself implementing your own. Also, SproutCore is ugly by default!
Personally, I think that the Cap approach is excellent.
You don't need to write any HTML or CSS. It genuinely feels like you are writing a desktop app and by coding in objective-js you're essentially abstracted from the browser.
However, I'm not a fan of the language itself. I would have preferred it if they had stuck with pov JavaScript.
I understand that Mac developers will like the potential portability of the code you create with Cap however since Apple go bust in 2012, I don't really see the point :)
是的...我觉得如果我选择 SproutCore,我将不得不花更多的时间来学习 Javascript 的怪癖,而不是 Objective-J。
既然您已经在 Obj-J 上呆过一段时间了……它与 Obj-C 有多接近,与 Javascript 有何不同? (我问你是因为我想要某人的真实生活经历......而不是维基所说的:))
Yeah...I feel like if I go with SproutCore, I would have to spend some more time learning the quirks of Javascript, as opposed to Objective-J.
Since you've spent time in Obj-J...How close is it to Obj-C and how different is it than Javascript? (I ask you because I want someone's real-life experience...not what the wiki says :) )
我尝试了两者,但我必须承认两者都需要更多改进。 只是补充一下我的观点:
Sproutcore 的
与卡布奇诺相比,卡布奇诺
I tried both and I must confess the two need more improvement. Just to add my points :
Sproutcore
Cappuccino