本文介绍了使用iframe将网站转换为移动应用程序是一个很好的实践吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 限时删除!! 大家好, 我想问你关于我目前在软件公司的工作。我在一家公司工作,我的职位是Application Developer,到目前为止,我已经使用最新的工具和语言制作了两个项目。 但我很困惑,因为公司所有者鼓励所有开发人员编写响应式应用程序代码,然后使用iframe将其转换为移动应用程序。我想知道使用iframe将网络应用程序显示为移动应用程序是一种很好的做法吗? 我尝试了什么: b $ b 我们正在努力做到这一点。但是有时客户因为这个iframe而遇到烦人的问题。Hello Everyone,I want to ask you about my current job in a software house. I am working in a company where my job title is Application Developer and so far I have made 2 projects using latest tools and languages.But I am confused because the company owner encouraging there all developers to code responsive applications and then just use iframes to convert it into mobile apps. I wanna know is it a good practice to use iframe to show a web app as a mobile app?What I have tried:We are working to do it. But sometime clients gets annoying problems due to this iframe.推荐答案我个人认为这是一种非常糟糕的做法。 iframe不会使它成为移动应用程序,而只是一个运行在 WebView 中的Web应用程序(例如在Android中),显示为 be 一个应用程序。您可以要求您的经理阅读有关Apache Cordova,Xamarin和其他平台(如PhoneGap)的信息。 这些应用程序编程框架允许您的团队使用HTML,CSS和JavaScript(稍加修改)在移动平台上执行。在我看来,我认为Xamarin是最好的方法,因为我不建议使用JavaScript作为编程语言。我建议您开始使用Xamarin,与您的老板交谈并向他展示有关Xamarin的详细信息。 Xamarin也是跨平台的,因此您为一个平台编写的代码库也将在其他平台上执行,iOS,Android和Windows Phone都支持此工具。 最后,使用适当的软件类型来获得良好的用户体验。 Web应用程序经过修改和调整,可用于基于网络的通信。对于本机移动应用程序,您不希望配置网络,因为您应该配置应用程序的性能和责任。如果应用程序无法下载数据,则可能存在其他问题,但如果应用程序甚至无法工作,因为它正在加载并依赖于服务器本身。然后出现了非常糟糕的用户体验。注意这些事情。A very bad practice in my own opinion. An iframe won't make it a mobile application, instead it would just be a web application running in a WebView (for example in Android), showing it to be an application. You can ask your manager to read about Apache Cordova, Xamarin and other platforms such as PhoneGap.These application programming frameworks allow your teams to use HTML, CSS and JavaScript (with a bit modification) to be executed on the mobile platforms. In my own opinion, I think Xamarin is the best way to go because I don't recommend using JavaScript as a programming language. I recommend that you start using Xamarin, talk to your boss and show him the details about Xamarin. Xamarin is also cross-platform so the code-base that you write for one platform would be executed on other platforms too, iOS, Android and Windows Phone are all supported on this tool.Finally, use the appropriate software type for the good UX. Web applications are modified and tuned for network based communication. For the case of native mobile applications, you don't want to configure the networking as much as you should configure the performance and responsibility of the applications. If the application cannot download the data, there may be other issues, but if the application doesn't even work because it is loading and relying on the server itself. Then there comes a very bad UX practice. Watch out for these things. 这篇关于使用iframe将网站转换为移动应用程序是一个很好的实践吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 1403页,肝出来的.. 09-06 15:00