fucktwice
V2EX  ›  问与答

那种靠谱的web开发环境不需要配置web server,比如nginx或者apach2,语言内置或者...

  •  
  •   fucktwice · Oct 6, 2013 · 4063 views
    This topic created in 4658 days ago, the information mentioned may be changed or developed.
    那种靠谱的web开发环境不需要配置web server,比如nginx或者apach2,语言内置或者...

    求推荐,fastcgi各种等等的配置,太消耗时间了
    11 replies    1970-01-01 08:00:00 +08:00
    tylr
        1
    tylr  
       Oct 6, 2013
    Python
    xunyu
        2
    xunyu  
       Oct 6, 2013
    迟早要配置的,python也要做负载均衡吧
    letitbesqzr
        3
    letitbesqzr  
       Oct 6, 2013
    django 有自带的web server
    9hills
        4
    9hills  
       Oct 6, 2013
    @xunyu lz说的是「web开发环境」,生产环境当然不算啦
    yangzh
        5
    yangzh  
       Oct 6, 2013
    python 的 flask 等各种都不需要,都自带了。
    用最新版本 php,也自带了。
    用 node 的 express,自带。
    ruby,用 rack 等。
    大部分 web 开发语言都有自带的服务器吧。基本都是一句命令的事情。
    plprapper
        6
    plprapper  
       Oct 6, 2013
    nodejs python都行吧
    xunyu
        7
    xunyu  
       Oct 6, 2013
    @9hills sorry,没注意是开发环境
    kingwkb
        8
    kingwkb  
       Oct 6, 2013
    rails server
    vincenttone
        9
    vincenttone  
       Oct 6, 2013
    开发环境不需要web server的很多
    1.python 比如webpy、django都有自带的调试服务器。
    2.ruby ruby的调试服务器很多,只要你的站点用rack就行,比如rails、sinatra都可以。而且ruby的服务器很多webrick、rackup、thin之类的。rails用起来很方便 rails s。
    3.php php从5.4开始就自带小服务器了,php -S就可以了。
    julyclyde
        10
    julyclyde  
       Oct 7, 2013
    最新php自带的那个web服务器好像只能指定框架入口文件那样?貌似不能按文件名执行php?
    fucktwice
        11
    fucktwice  
    OP
       Oct 7, 2013
    基本明白了
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3228 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 42ms · UTC 11:19 · PVG 19:19 · LAX 04:19 · JFK 07:19
    ♥ Do have faith in what you're doing.