V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
314x
V2EX  ›  问与答

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

  •  
  •   314x · 2013-12-30 11:08:18 +08:00 · 2704 次点击
    这是一个创建于 3785 天前的主题,其中的信息可能已经有所发展或是发生改变。
    10 条回复    1970-01-01 08:00:00 +08:00
    binux
        1
    binux  
       2013-12-30 11:18:21 +08:00
    做网站
    glongzh
        2
    glongzh  
       2013-12-30 11:34:07 +08:00
    编程的本质是什么?电脑的本质是什么?…
    itcook
        3
    itcook  
       2013-12-30 11:35:37 +08:00
    42
    qiayue
        4
    qiayue  
       2013-12-30 11:41:21 +08:00
    用 Python 跟数据打交道,最终生成 html 页面
    foomorrow
        5
    foomorrow  
       2013-12-30 11:42:53 +08:00
    为浏览器/客户端提供rest接口和生成html
    ipconfiger
        6
    ipconfiger  
       2013-12-30 11:43:31 +08:00   ❤️ 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  
       2013-12-30 11:48:07 +08:00
    DHTML
    richiefans
        8
    richiefans  
       2013-12-30 11:49:16 +08:00
    同意
    @ipconfiger的~
    request->response
    jtacm
        9
    jtacm  
       2013-12-30 11:49:52 +08:00
    把DB里的东西展现出来。
    skyleft
        10
    skyleft  
       2013-12-30 12:20:58 +08:00
    处理请求,生成响应
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   967 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 20:40 · PVG 04:40 · LAX 13:40 · JFK 16:40
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.