The Go Programming Language
› http://golang.org/
› Go Playground
Go Projects
› Revel Web Framework
xAI
0.01D

又造了个golang的web框架

  •  
  •   xAI · Nov 25, 2013 · 4080 views
    This topic created in 4755 days ago, the information mentioned may be changed or developed.
    最近都在学习golang的开发,就拿开发web框架练手了,前期看了各种web框架的源码,并作为参考。

    断断续续开发了快2个月,期间得到了一些写golang的同事的帮助。

    路由是在gorilla的mux https://github.com/gorilla/mux 上面的修改开发而成。
    表单验证是在jimmykuu的wtforms https://github.com/jimmykuu/wtforms 上面修改开发而成。
    还有其他很多参考过的项目。

    整个项目算是自己学习golang和web框架的成果,该框架还没有线上项目实践,自带一个演示项目。

    项目地址: https://github.com/go-web-framework/handy

    欢迎给意见,欢迎参与开发。

    造轮子属于一个学习提高的过程,后续继续造好该轮子。
    6 replies  •  2014-12-29 17:04:09 +08:00
    gihnius
    gihnius
    Nov 25, 2013
    1
    nice.

    https://github.com/jimmykuu/wtforms 这个有 xss bug, 我提交了 issue, 貌似作者没有看到.

    顺便推一下我用 Go 写的网站 http://www.qufor.com
    yjsslab
    yjsslab
    Nov 25, 2013
    2
    @gihnius what for
    Winny
    Winny
    Nov 26, 2013
    3
    golang的web框架都是自建HTTPServer 性能相比Nginx更好还是更差呢?
    gihnius
    gihnius
    Nov 26, 2013
    4
    @Winny 建议 nginx, 不必在 golang 里处理太多事情.
    xAI
    xAI
    OP
    Nov 26, 2013
    5
    @Winny 用nginx做代理
    pertersonvv
    pertersonvv
    Dec 29, 2014
    6
    @gihnius 啥东西没有
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2283 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 43ms · UTC 13:56 · PVG 21:56 · LAX 05:56 · JFK 08:56
    ♥ Do have faith in what you're doing.