dopuz8728 2011-08-09 06:05
浏览 27
已采纳

基于Javascript的图形/图表工具包与基于PHP的工具包

I'm contemplating using http://pchart.sourceforge.net/ for our graphing / charting requirements but another developer suggested the use of a javascript/jquery based one like - http://dojotoolkit.org/

While the look-n-feel for both are different, and perhaps a javascript based one is more easily manipulatable - I'm not convinced it would be the faster solution.

Wouldnt a PHP based toolkit be faster anyday, for the end user, with less data going back and forth between our server and the client machine?

Our charting requirements are for reporting purposes - we dont require users to manipulate the charts 'live' at all.

  • 写回答

4条回答 默认 最新

  • dongtan7418 2011-08-09 06:20
    关注

    Without considering presentation aspects, the 2 approaches generally have their pros and cons, whereas one's pro being the other's con.

    The PHP approach:

    • arguably more consistent results.
    • resulting chart(s) could be saved if data is constant once entered, this would avoid having the same process run multiple times, resulting better overall performance.

    The Javascript approach:

    • less computing power needed on the server.
    • resulting chart(s) could be generated dynamically delivering a more interactive user experience.
    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(3条)

报告相同问题?

悬赏问题

  • ¥15 c程序不知道为什么得不到结果
  • ¥40 复杂的限制性的商函数处理
  • ¥15 程序不包含适用于入口点的静态Main方法
  • ¥15 素材场景中光线烘焙后灯光失效
  • ¥15 请教一下各位,为什么我这个没有实现模拟点击
  • ¥15 执行 virtuoso 命令后,界面没有,cadence 启动不起来
  • ¥50 comfyui下连接animatediff节点生成视频质量非常差的原因
  • ¥20 有关区间dp的问题求解
  • ¥15 多电路系统共用电源的串扰问题
  • ¥15 slam rangenet++配置