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 DS18B20内部ADC模数转换器
  • ¥15 做个有关计算的小程序
  • ¥15 MPI读取tif文件无法正常给各进程分配路径
  • ¥15 如何用MATLAB实现以下三个公式(有相互嵌套)
  • ¥30 关于#算法#的问题:运用EViews第九版本进行一系列计量经济学的时间数列数据回归分析预测问题 求各位帮我解答一下
  • ¥15 setInterval 页面闪烁,怎么解决
  • ¥15 如何让企业微信机器人实现消息汇总整合
  • ¥50 关于#ui#的问题:做yolov8的ui界面出现的问题
  • ¥15 如何用Python爬取各高校教师公开的教育和工作经历
  • ¥15 TLE9879QXA40 电机驱动