使用 PhoneGap 和 PhoneGap 的推荐开发流程Sencha Touch?
我即将开始使用 PhoneGap 编写应用程序Sencha Touch 2。第一阶段仅适用于 Android。 由于我对这些框架(以及一般的移动应用程序开发)很陌生,因此我需要您对我应该采取的开发过程提出建议:
我应该在我的 PC 浏览器上开发和测试 Sencha 代码,然后,当逻辑是已完成,看起来不错,只需将资源复制到我的 Android/PhoneGap 应用程序并在移动设备上运行?我的意思是,我应该在哪里、在什么阶段考虑屏幕尺寸等参数? 作为这两个框架(组合)的开发新手,我预计会发现什么常见障碍?
谢谢 :)
I'm about to start writing an application using PhoneGap & Sencha Touch 2. At first stage just for Android.
Since I'm new to these frameworks (and to developing mobile apps in general), I need your an advice on the development process I should take:
Should I develop and test the Sencha Code on my PC browser and then, when the logic is completed and it look OK simply copy the resources to my Android/PhoneGap app and run on the mobile device? I mean, where and in what stage should I take parameters such as the screen size into consideration?
Any common obstacles I'm expected to find as a newbie to development in these 2 frameworks (combined)?
Thanks :)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我从 v1.0.0 开始使用 Sencha Touch 开发一个项目,从 v0.95 开始使用 Phonegap 开发一个项目。
首先,我建议远离 Android Emulator。(这样一个缓慢且有问题的模拟)如果你不会编写任何业务逻辑,我的意思是你的应用程序不会依赖于 java 平台的核心数学能力,只使用 Ext 驱动的 Sencha Touch你也将无法在浏览器上测试你的工作。我的建议是在真实的设备上开始并继续——真实的移动环境。也许你会面临各种困难,你只能在设备上看到的问题,在运行应用程序时搜索最佳实践除了这些之外,我建议您使用 Sencha Touch 的 MVC 示例构建应用程序流程机制。
I've been developing a project using Sencha Touch since v1.0.0 and Phonegap since v0.95.
At first I would suggest keeping away from Android Emulator.(such a slow and problematic emulation)If you won't code any business logic that I mean your app won't depend on core mathematical abilities of java platform just using Ext-powered Sencha Touch you won't be able to test your work on a browser as well.My suggestion is starting and continuing on a real device-real mobile environment.Maybe you'll face various difficulties,problems that you can only see on a device and search for best practices while running your app on device.In addition to those I suggest you to build up an application flow mechanism using Sencha Touch's MVC samples.