314x
V2EX  ›  问与答

谁能用一句话说说用python编程做网站的本质是什么?

  •  
  •   314x · Dec 30, 2013 · 3540 views
    This topic created in 4701 days ago, the information mentioned may be changed or developed.
    10 replies  •  1970-01-01 08:00:00 +08:00
    binux
    binux
    Dec 30, 2013
    1
    做网站
    glongzh
    glongzh
    Dec 30, 2013
    2
    编程的本质是什么?电脑的本质是什么?…
    itcook
    itcook
    Dec 30, 2013
    3
    42
    qiayue
    qiayue
    Dec 30, 2013
    4
    用 Python 跟数据打交道,最终生成 html 页面
    foomorrow
    foomorrow
    Dec 30, 2013
    5
    为浏览器/客户端提供rest接口和生成html
    ipconfiger
    ipconfiger
    Dec 30, 2013❤️3
    6
    基本过程就是:http request->wsgi->url route to function->logic(get data from database,write data to database)->render template->http response

    一句话总结就是吃进去的是http请求拉出来的是html代码
    vmebeh
    vmebeh
    Dec 30, 2013
    7
    DHTML
    richiefans
    richiefans
    Dec 30, 2013
    8
    同意
    @ipconfiger的~
    request->response
    jtacm
    jtacm
    Dec 30, 2013
    9
    把DB里的东西展现出来。
    skyleft
    skyleft
    Dec 30, 2013
    10
    处理请求,生成响应
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2093 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 97ms · UTC 14:46 · PVG 22:46 · LAX 06:46 · JFK 09:46
    ♥ Do have faith in what you're doing.