cross-platform phone development environment

帅比萌擦擦* 提交于 2019-12-10 23:00:01

问题


I'm working on guidance for development of mobile applications in a -mainly- .Net shop.

How do you tackle the different platforms when developing mobile applications from the perspective of a .Net developer? What are advantages and disadvantages of these approaches?

Probably the simplest approach is to just stick to web-based development (HTML5, jquery mobile, etc). But I can imagine this won't be enough for any and all applications.

I have looked at Titanium, which claims to be a platform where you develop in JavaScript, which is then "translated" to the native platform (android/iPhone). The lack of a 'declarative' (read xml-based) UI development experience seems like a disadvantage.

Another option could be the mono-based stack (monotouch, monodroid), where you don't really have a full cross-platform, develop once, deploy everywhere experience, but you can share your business logic and develop reusing part of your .Net skills and tooling. An additional advantage is that the same approach can be used to target Windows Phone 7.

Are there other options? Is it worthwile to even try this? What's your experience?


回答1:


I am the head of mobile development for a government contractor that develops various systems for large government organizations, including Budget Management, Time Tracking, Radiological Monitoring and Assessment, and other much more intensive systems. We've been using jQuery Mobile with great success. Our clients have been universally satisfied with both the UI and UX afforded by JQM. We use ASP.NET's Razor engine for inline coding within the pages that drive JQM. Though not every possible feature is implemented in JQM by default, it's not that difficult to extend. I haven't yet run into any roadblocks I wasn't able to easily overcome.

As far as cross-platforming goes, we've found that the best option is combining JQM and PhoneGap. Titanium is seriously hindered by the lack of a XML UI engine as you said, and MonoTouch just isn't robust enough to do everything we need.



来源:https://stackoverflow.com/questions/5405314/cross-platform-phone-development-environment

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!