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 随身WiFi网络灯亮但是没有网络,如何解决?
  • ¥15 gdf格式的脑电数据如何处理matlab
  • ¥20 重新写的代码替换了之后运行hbuliderx就这样了
  • ¥100 监控抖音用户作品更新可以微信公众号提醒
  • ¥15 UE5 如何可以不渲染HDRIBackdrop背景
  • ¥70 2048小游戏毕设项目
  • ¥20 mysql架构,按照姓名分表
  • ¥15 MATLAB实现区间[a,b]上的Gauss-Legendre积分