对于需要频繁数据库通信的项目,什么移动框架适合?

发布于 2024-09-18 11:30:34 字数 184 浏览 5 评论 0原文

过去一周我一直在 jqtouch、iphone sdk 和 sencha touch 之间挣扎。我仍然无法决定哪个移动框架最适合我的项目。我的项目需要用户根据他们当前的地理位置提交内容,因此经常提取数据并将其提交到数据库中。它有点像四方。我精通 html、css、jquery 和 vanilla javascript。

请SO专家指教~

I have been struggling between jqtouch, iphone sdk and sencha touch for the past week. I still cannot make up my mind which is the most suitable mobile framework for my project. My project need users to submit content based on their current geological location, thus often fetching and submitting data into the database. It's abit like foursquare. I'm skilled in html, css, jquery and vanilla javascript.

Experts of SO please advise me~

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

白况 2024-09-25 11:30:35

如果您不需要本机代码的速度,我不会费心用 Object C 编写应用程序,除非您对此非常满意。 JQTouch 对于那些熟悉 html、css、jquery 和 javascript 的人来说非常有用,但是如果您有超过 4 或 5 个屏幕,它在较旧的 iPhone(3GS 之前)上就会陷入困境。 Sencha 的学习曲线比较陡峭,而且需要花钱才能获得许可(他们刚刚发布了商业许可费用,这是非常合理的 每个座位 99 美元),对于那些更喜欢编程的人来说可能会更舒服。但对于数据库访问,如果您要使用嵌入式 html 页面路由,那么实际上都是一样的——创建一个由一堆 REST JSON 调用组成的 api,就可以了。由于它提交到数据库,因此您可以异步执行所有操作而不必担心,现在的问题是对于主要写入的数据库使用什么数据库后端......

If you don't need the speed of native code, I wouldn't bother writing the app in Object C unless you are very comfortable with it. JQTouch is great for those who are comfortable with html, css, jquery and javascript, however it will bog down on older iPhones (pre 3GS) if you have more than 4 or 5 screens. Sencha has a lot steeper learning curve, and costs money to License (they just released the commercial licence costs and it is very reasonable at $99 dollars a seat) and would probably be more comfortable to those with more of a programing bent. But for the database access, if you are going the embedded html page route, it is really all the same -- make an api of a bunch of rest JSON calls and you will be fine. Since it is submitting to a database, you can do everything async without worrying about it, now the question is what database backend to use for a mostly write database...

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文