不同服务器端语言比较

原创文,最初发布于 szhshp的第三边境研究所 , 转载请注明

Server-Side Languages Comparation

Coldfusion

  • Based on JAVA

Pros

  • Based on Tags, easy to learn, very easy to learn, connot be easier.
  • Based on JAVA, easy hosting on Win/Linux
  • Better build-in debugging tools
  • The query operations are very easy

Cons

  • JSON support is not good?
  • Price
  • Based on JAVA, run virtual machine need more memory/resource
  • Powerful server required
  • Not free as JAVA, not easy to extend
  • Support community is not large

PHP

  • Open-source

Pros

  • Free!!
  • Free 3rd apps
  • Free hosting
  • Large support community
  • Many 3rd libs
  • Very low system requirements
  • OOP
  • Interpreted language, easier and faster relatively

Cons

  • Output: needs to wrap the output(something like AJAX in JS), which is clumsy
  • Security, required some additional tools for security consideration

JAVA

Props

  • OOP
  • Better for bigdata analytics
  • Cross-platform, can be compiled for many OS3
  • Memory safe(GC is good)
  • Static type checking, you can find the error in Dev Env

Python

Pros

  • Security, better security than php
  • More compact and clean syntax for dev
  • Many powerful standard lib

Cons

  • Speed, slower than C?
  • Mobile Dev is not very good
  • Memory consumption
  • Database access

Node

Pros

  • Performance(Real fast)
  • Written in JS
  • Highly extensible, NodeJS will provide low-level API which is easy to control all.
  • AJAX, JSON, HTTP Server are easy to use
  • Single-threaded (will create multipld-node process)
  • High compatibility of NOSQL
  • Rich community-driven open-source modules. NPM is cool!

Cons

  • Single thread, would be difficult for complex I/O operation, asynchronos programming is hard To understand
  • Not suitable for large and complex Web Apps
  • Single-threaded
  • Upgrade usually. (May need to rewrite a project for some new changes?)

Reference

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • rljs by sennchi Timeline of History Part One The Cognitiv...
    sennchi阅读 12,150评论 0 10
  • afinalAfinal是一个android的ioc,orm框架 https://github.com/yangf...
    passiontim阅读 15,671评论 2 45
  • 不恋尘世浮华,不写红尘纷扰,不叹世道苍凉,不惹情思哀怨,闲看花开,静待花落,芬芳馥郁,初心如也!
    娱阅书生阅读 3,610评论 2 3
  • 2018年2月9日 星期五 晴 今天是寒假第十三天,冷了这么多天,终于暖和了。下午姥姥家要做大馒头,我去的...
    苏筱瑜妈妈阅读 916评论 0 0
  • 明日冬至。 冬至我印象最深的就是南方吃汤圆,北方吃饺子。 这点,谁也不服谁。 有人说中国文化就是一个“吃文化”。 ...
    城市花大姐阅读 4,666评论 5 51