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 Python爬取指定微博话题下的内容,保存为txt
  • ¥15 vue2登录调用后端接口如何实现
  • ¥65 永磁型步进电机PID算法
  • ¥15 sqlite 附加(attach database)加密数据库时,返回26是什么原因呢?
  • ¥88 找成都本地经验丰富懂小程序开发的技术大咖
  • ¥15 如何处理复杂数据表格的除法运算
  • ¥15 如何用stc8h1k08的片子做485数据透传的功能?(关键词-串口)
  • ¥15 有兄弟姐妹会用word插图功能制作类似citespace的图片吗?
  • ¥15 latex怎么处理论文引理引用参考文献
  • ¥15 请教:如何用postman调用本地虚拟机区块链接上的合约?