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 模电中二极管,三极管和电容的应用
  • ¥15 关于模型导入UNITY的.FBX: Check external application preferences.警告。
  • ¥15 气象网格数据与卫星轨道数据如何匹配
  • ¥100 java ee ssm项目 悬赏,感兴趣直接联系我
  • ¥15 微软账户问题不小心注销了好像
  • ¥15 x264库中预测模式字IPM、运动向量差MVD、量化后的DCT系数的位置
  • ¥15 curl 命令调用正常,程序调用报 java.net.ConnectException: connection refused
  • ¥20 关于web前端如何播放二次加密m3u8视频的问题
  • ¥15 使用百度地图api 位置函数报错?
  • ¥15 metamask如何添加TRON自定义网络