关于钛加速器的一个小疑问?
i'm planning on working with titanium.
i want to know if "Same origin policy" can be eliminated by using titanium.
are there any drawbacks in titanium?
please recommend some cross-platforms..
please do leave some suggestions..
Thank you,
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
SOP 特别用于 HTTP。所以它不涉及钛,因为它只使用 javascript 作为“本地”语言,“翻译”成 xcode。最后你得到了一个简单的 xcode 项目和一个 .app 文件。
我将它用于一个相当复杂的应用程序,并且运行良好。我需要添加一些功能作为用 objC 编写的模块,因为该框架不像本机 objC 那样持续关注 iphone API,但效果很好。
SOP is especially used for HTTP. So it doesn't concern titanium since it only use javascript as "local" language that is "translated" into xcode. at the end you got an simple xcode-project and an .app file.
i use it for a quite complex app and it works fine. i needed adding some features as module written in objC since the framework isn't as ongoing concering the iphone API as the native objC, but that worked out fine.
既然你问的是钛的缺点..这就是..
我不会说它是跨平台的。与在 Windows 中开发的应用程序相比,即使是我的 Android 应用程序在 Mac 中的外观也会有所不同。
并非所有功能都适用于 Android 和 iPhone。有些会部分地作用于另一个。
Ti 是有偏见的,Android 开发者总是落后。
此外,如果您像我一样开发 Android 应用程序,您将面临很多问题,而且 Kitchen Sink 并不总是有效。 Ti 中的 Android 开发非常糟糕,预计会发现很多错误。
到目前为止,通讯录 API 尚未完成(版本 1.60)。我什至无法获取联系人电子邮件和电话号码!
没有蓝牙支持
我花了很多时间“调试”并等待模拟器,而不是认真编码。
API 参考和 QA 会有所帮助,但问题多于答案。
Ti 甚至没有像 IDE 那样的适当的调试功能。确保花大量时间来了解它是如何工作的。我很难找到好的资源来启动。
内存问题和泄漏非常常见。
渐变在 Android 中不起作用(使用图像代替)
最后一件事,文档真的很糟糕!
(尽管如此,我仍然喜欢 Ti)
Since you are asking for the drawbacks of Titanium.. here it is..
I would not say that it's cross platform. Even my android app will look different in my Mac compared to the one developed in Windows.
Not all functions will work on Android and iPhone. Some will partially work on the other.
Ti is a biased and Android Developer are always left behind.
Also, if you are developing an Android app like me, you will be facing a lot of problems and Kitchen Sink will not always work. Android development in Ti is very bad and expect to find a lot of bugs.
Contacts API is not even complete as of now (Version 1.60) . I can't even get the contacts email and phone number!
No Bluetooth support
I spent a lot of hours "debugging" and waiting for the emulator rather than serious coding.
API refence and the QA will help a bit but there are more questions than answers.
Ti doesn't even have a proper debugging features as well as IDE. Make sure to dedicate a lot of hours in knowing how it works. I have a hard time finding a good resources to start.
Memory Problem and Leaks are very common.
Gradients will not work in Android (use image instead)
and last thing, Documentation really sucks!
(but still I love Ti despite all of the above)