duanou3868 2016-07-14 19:39
浏览 19
已采纳

有没有办法将wordpress数据库与离子应用程序集成?

I already have a webpage developed on WP, with the default localhost DB. Is there a way to integrate this DB with my app? This app will be developed with IONIC 2.

If it isn't possible, can i use some external DB and access this one remotely with both applications?

Or i'll need to develop something like own CMS to have a better result?

Thanks and sorry about my english! Good Vibes :)

  • 写回答

2条回答 默认 最新

  • doue2666 2016-07-14 19:48
    关注

    i think You not understand what is Mobile App and what is it difference to Web App. So Mobile App is client like web browser, web browser do not connect to server database, it connects to server and server to database.

    Do get data from Your Wordpress on server should be some API, for example REST API, this api on every request will query database and send results in response. So You send tipical http ajax calls from ionic app in javascript to API and get result in response.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?

悬赏问题

  • ¥15 素材场景中光线烘焙后灯光失效
  • ¥15 请教一下各位,为什么我这个没有实现模拟点击
  • ¥15 执行 virtuoso 命令后,界面没有,cadence 启动不起来
  • ¥50 comfyui下连接animatediff节点生成视频质量非常差的原因
  • ¥20 有关区间dp的问题求解
  • ¥15 多电路系统共用电源的串扰问题
  • ¥15 slam rangenet++配置
  • ¥15 有没有研究水声通信方面的帮我改俩matlab代码
  • ¥15 ubuntu子系统密码忘记
  • ¥15 保护模式-系统加载-段寄存器