其中UI用于科尔多瓦的Andr​​oid / iPhone应用程序开发 [英] Which UI to use for Cordova Android/iPhone app development

查看:128
本文介绍了其中UI用于科尔多瓦的Andr​​oid / iPhone应用程序开发的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我开始学习使用科尔多瓦/ PhoneGap的为Android / iPhone应用程序开发和很迷茫与量的框架在那里。 (我已教程由Christophe Coenraets 这里和的这里)为起点,并设法得到的东西的工作,但我现在的问题就是如何让一个漂亮的UI。

I’m getting started with using Cordova/PhoneGap for Android/iPhone app development and am very confused with amount of frameworks out there. I have taken tutorials by Christophe Coenraets (here and here) as a starting point and managed to get something working, but my current problem is getting a nice UI.

以上使用 http://topcoat.io/topcoat/ 和的 http://goratchet.com/ 但他们两人似乎都很少支持。但是,这些真正吸引是因为他们是如此轻巧,并且是独立的code中的功能方面。

The tutorials mentioned above use http://topcoat.io/topcoat/ and http://goratchet.com/ but both of them seem to have very little support. But these really appeal to be because they are so lightweight and and are independent from the functional aspects of the code.

我已经看了 http://mobileangularui.com/ 这看起来不错,但我真的很困惑通过构建HTML5移动应用与引导和角JS主页上的 - 我可以只使用用户界面层还是需要两个角JS和引导,而这些是没有本质diferent,竞争,框架

I've looked at http://mobileangularui.com/ which looks great, but I'm really confused by "Build HTML5 Mobile Apps with Bootstrap and Angular JS" on the homepage - can I use just the UI "layer" or does it need both Angular JS and Bootstrap, and are these not essentially diferent, competing, frameworks?

最后,我创建的测试应用程序这些,他们都很好地工作在我的Andr​​oid 4.2的手机,但所有的都有各种问题(通常不会滚动)在我的旧的Andr​​oid 2.3手机 - 做这些现代框架不支持那个时代的手机吗?

Finally, I've created test apps with these and they all work fine in my Android 4.2 phone, but all of the have various issues (usually will not scroll) in my older Android 2.3 phone - do these modern frameworks not support a phone of that age?

感谢你在前进。

推荐答案

首先 - 你的科尔多瓦应用程序应该采用 SPA(单页应用程序)设计。松散定义,一个 SPA 是从网页中的一个请求,运行客户端应用程序。用户加载一组初始资源( HTML,CSS和JavaScript ),并进一步更新(呈现出新的观点,装载的数据)是通过AJAX实现。水疗通常用于更复杂的客户端应用程序。 的Gmail 就是一个很好的例子。在装入的Gmail ,邮件视图,编辑和组织都通过更新的 DOM 完成而不是实际离开当前页面加载一个完全新的。 更多.....

First and foremost - your Cordova applications should adopt the SPA (Single Page Application) design. Loosely defined, a SPA is a client-side application that is run from one request of a web page. The user loads an initial set of resources (HTML, CSS, and JavaScript) and further updates (showing a new view, loading data) is done via AJAX. SPAs are commonly used for more complex client-side applications. GMail is a great example of this. After you load GMail, mail views, editing, and organization are all done by updating the DOM instead of actually leaving the current page to load a completely new one. More.....

SPA库(UI)的例子您可以使用您的科尔多瓦应用程序是:

Examples of SPA libraries(UI) you can use in your Cordova applications are:

1) AngularJS

2) jQuery Mobile的

3)剑道UI

4)煎茶触摸

5)骨干

这篇关于其中UI用于科尔多瓦的Andr​​oid / iPhone应用程序开发的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆