douzongmu2543 2016-01-30 15:24
浏览 66
已采纳

将响应式Web应用程序转换为移动应用程序

I have a simple 5 page website in which users keep track of their water intake. I know nothing about developing mobile apps, been reading the past 5-6 hours about applications like Apache Cordova and Adobe's Phonegap but found out they work only with HTML, CSS and JS.

So what is the best way to transorm my responsive web site (that has PHP, HTML, CSS, JS and is connected to mySQL) to a simple iOS and Android app using Phonegap or Cordova?

  • 写回答

1条回答 默认 最新

  • dongshi6969 2016-01-30 15:32
    关注

    I am currently doing exactly the same and was thinking about exactly the same before.

    I read a lot of the choice between Cordova and Phonegap (which is a Cordova build), and came to the conclusion that I would use Cordova with the Ionic framework in Visual Studio. So far this has provided me a good workspace with a lot of possibilities.

    For the second part, transferring data from your webserver towards your app: I have made several API's which I am running on my webserver and which returns the data in JSON which can be read by Javascript. This data is parsed by my application and shown to the user. For this way you will need a webserver, but even the cheapest shared webhosting should do the job.

    The Ionic framework got the basics of making a good multi-platform app, with all the styling already added and a very good documentation.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 cpuid是如何转换的
  • ¥15 MddBootstrapInitialize2失败
  • ¥15 LCD Flicker
  • ¥15 Spring MVC项目,访问不到相应的控制器方法
  • ¥15 esp32在micropython环境下使用ssl/tls连接mqtt服务器出现以下报错Connected on 192.168.154.223发生意外错误: 5无法连接到 MQTT 代理,如何解决?
  • ¥15 关于#genesiscsheel#的问题,如何解决?
  • ¥15 Android aidl for hal
  • ¥15 STM32CubeIDE下载程序报错
  • ¥15 微信好友如何转变为会员系统?(相关搜索:小程序)
  • ¥15 c# 直接使用c++ 类库文件