314x
V2EX  ›  问与答

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

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

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