douou1891 2011-04-20 07:01
浏览 42

哪种方式是使用Web服务和操作其数据的最佳方法?

Need some advice on the best approach.

Currently we are going to start a new CI web project where we need to leverage data heavily from a external web-services or API for data?

Is it better to manipulate the data programically (in objects or array) when i need to sort them or store them in database and call them with order, group by etc..?

Is there a known architecture or framework for this?

What's the best approach use nowadays like how aggregater website is doing where they pull many data sources from various vendor API?

  • 写回答

2条回答 默认 最新

  • donlih2986 2011-05-29 16:17
    关注

    I would suggest getting the data using curl etc manipulate as arrays etc then store.

    Make sure you build in somekind of caching as well so you don't end up making unnessecary requests.

    The reason behind my method is to process once rather than everytime your site is requested.

    评论

报告相同问题?

悬赏问题

  • ¥15 使用ue5插件narrative时如何切换关卡也保存叙事任务记录
  • ¥20 软件测试决策法疑问求解答
  • ¥15 win11 23H2删除推荐的项目,支持注册表等
  • ¥15 matlab 用yalmip搭建模型,cplex求解,线性化处理的方法
  • ¥15 qt6.6.3 基于百度云的语音识别 不会改
  • ¥15 关于#目标检测#的问题:大概就是类似后台自动检测某下架商品的库存,在他监测到该商品上架并且可以购买的瞬间点击立即购买下单
  • ¥15 神经网络怎么把隐含层变量融合到损失函数中?
  • ¥15 lingo18勾选global solver求解使用的算法
  • ¥15 全部备份安卓app数据包括密码,可以复制到另一手机上运行
  • ¥20 测距传感器数据手册i2c