简单、轻量级的 Web 框架大全

jopen 10年前

罗列了一系列简洁的框架(简单、轻量级),按编程语言分好类,按字母顺序排序。

列表

CSS 框架

使用 http://refresh-sf.com/yui/ 去压缩, 得到 "压缩之后用 gzip 压缩的大小"/1024 = KiB

名字 大小 (base) 仓库 协议
Atatonic 5.1 KiB (minified) http://code.google.com/p/atatonic-css-framwork/ MIT
Base 2.95 KiB (minified + gzipped) https://github.com/matthewhartman/base MIT
Bijou 1.065 KiB (minified and gzipped) https://github.com/andhart/bijou MIT
Cardinal 4.25 KiB (minified and gzipped) https://github.com/cbracco/cardinal MIT
Cascade Framework 10.6 KiB (all modules) https://github.com/jslegers/cascadeframework MIT
Cascade Framework Light 2.0 KiB (all modules) https://github.com/jslegers/cascadeframeworklight MIT
Concrete 3.2 KiB https://github.com/davidlumley/concrete MIT
iceCream 1.8 Kib (minified) http://html5-ninja.com/icecream/ WTFPL
KNACSS 13.2 KiB (all modules) https://github.com/raphaelgoetter/KNACSS WTFPL
Kube 15.2 KiB https://github.com/sashka/kube Unknown
Min 0.9 KiB (minified and gzipped) https://github.com/owenversteeg/min MIT
Mistype 2.1 KiB https://github.com/ZDroid/mistype MIT
PocketGrid 0.5 KiB https://github.com/arnaudleray/pocketgrid MIT
Pure 4.3 KiB (gzipped) https://github.com/yui/pure BSD
RocketCSS 6.4 KiB https://github.com/RocketCSS/RocketCSS MIT
Simple Grid 1.1 KiB https://github.com/ThisIsDallas/Simple-Grid Unknown
Toast 1.2 KiB https://github.com/daneden/Toast Unknown

C 写的 Web 框架

名字 仓库 协议
go-horse https://github.com/gabrielfalcao/go-horse [MIT]((http://opensource.org/licenses/MIT)
Raphters https://github.com/DanielWaterworth/Raphters [GPL]((http://opensource.org/licenses/gpl-3.0.html)

PHP 写的 数据库 框架

名字 大小 (base) 仓库 协议
Medoo 10KB https://github.com/catfan/Medoo MIT

前端 JS 的框架

名字 Bower安装 仓库 协议
Aura bower install aura https://github.com/aurajs/aura MIT
Kraken Unknown https://github.com/cferdinandi/kraken MIT
Min.js Unknown https://github.com/remy/min.js MIT
Reactive.coffee bower install reactive-coffee https://github.com/yang/reactive-coffee MIT
Responsive Unknown https://github.com/ResponsiveBP/Responsive MIT
ScaleApp bower install scaleapp https://github.com/flosse/scaleApp MIT
skelJS Unknown https://github.com/n33/skelJS MIT
Spine bower install spine https://github.com/spine/spine MIT
Stapes bower install stapes http://github.com/hay/stapes MIT

Go 写的 Web 框架

名字 仓库 协议
Beego Framework https://github.com/astaxie/beego Apache License V2
Gocraft/web https://github.com/gocraft/web MIT
Martini https://github.com/codegangsta/martini MIT
Traffic https://github.com/pilu/traffic MIT

Haskell 写的 Web 框架

名字 Cabal安装 仓库 协议
Scotty cabal install scotty https://github.com/scotty-web/scotty BSD3
Snap cabal install snap https://github.com/snapframework/snap BSD3

Java 写的 Web 框架

名字 仓库 协议
Resty https://github.com/Dreampie/resty Apache License V2
Ninja Framework https://github.com/ninjaframework/ninja Apache License V2
Play Framework https://github.com/playframework/playframework Apache License V2
Restlet https://github.com/restlet/restlet-framework-java Apache License V2
RestX https://github.com/restx/restx Apache License V2
Spark https://github.com/perwendel/spark Apache License V2
Stapler https://github.com/stapler/stapler BSD

JavaScript 写的 Web 框架

名字 仓库 协议
Stapes https://github.com/hay/stapes MIT
Mithril https://github.com/lhorie/mithril.js MIT

Lua 写的 Web 框架

名字 Bower安装 仓库 协议
Lapis luarocks install lapis https://github.com/leafo/lapis MIT

Node.js 写的 Web 框架

名字 NPM安装 仓库 协议
Express.js [sudo] npm install express https://github.com/visionmedia/express MIT
Codekart npm install codekart https://github.com/myworld4059/Codekart MIT
Flatiron [sudo] npm install -g flatiron https://github.com/flatiron MIT
Hapi npm install hapi https://github.com/spumko/hapi Unknown
Koa [sudo] npm install koajs https://github.com/koajs/koa MIT
Meryl npm install meryl https://github.com/kadirpekel/meryl MIT
total.js npm install total.js https://github.com/totaljs/framework MIT
Restify npm install restify https://github.com/mcavage/node-restify MIT
SocketStream [sudo] npm install -g socketstream https://github.com/socketstream/socketstream MIT
Sails.js [sudo]npm -g install sails https://github.com/balderdashy/sails MIT

Perl 写的 Web 框架

名字 cpan安装 仓库 协议
Dancer cpan Dancer https://github.com/PerlDancer/Dancer Artistic or GPL v.1
Mojolicious cpan Mojolicious https://github.com/kraih/mojo Artistic 2.0

PHP 写的 Web 框架

名字 仓库 协议
Afro https://github.com/jbrooksuk/Afro MIT
AuraPHP https://github.com/auraphp/Aura.Web_Kernel BSD
Bullet https://github.com/vlucas/bulletphp MIT
Deano http://github.com/colindean/deano MIT
Fat Free https://github.com/bcosca/fatfree GPL 3
Fitzgerald https://github.com/gregmolnar/fitzgerald MIT
Flight https://github.com/mikecao/flight MIT
Hackwork https://github.com/ZDroid/hackwork MIT
Limonade https://github.com/sofadesign/limonade Unknown
MicroMVC https://github.com/Xeoncross/MicroMVC MIT
Nanite https://github.com/nirix/nanite LGPLv3
Phalcon Framework https://github.com/phalcon/cphalcon BSD3
polyframework https://github.com/polymedio/polyframework BSD3
Respect\Rest http://github.com/Respect/Rest BSD3
Silex https://github.com/silexphp/Silex MIT
Slim https://github.com/codeguy/Slim MIT
Smce Framework https://github.com/imadige/smceframework-MVC MIT
Swiftlet https://github.com/ElbertF/Swiftlet MIT
Yaf https://github.com/laruence/php-yaf PHP License v3.01

Python 写的 Web 框架

名字 PIP安装 仓库 协议
Appier pip install appier https://github.com/hivesolutions/appier Apache License 2.0
Bobo pip install bobo https://github.com/zopefoundation/bobo ZPL 2.1
Bottle [sudo] pip install bottle https://github.com/defnull/bottle MIT
CherryPy pip install CherryPy https://bitbucket.org/cherrypy/cherrypy/overview BSD
Cyclone pip install cyclone https://github.com/fiorix/cyclone Apache License 2.0
Flask pip install Flask https://github.com/mitsuhiko/flask BSD
Itty-Bitty pip install itty https://github.com/toastdriven/itty/ BSD3
Klein pip install klein https://github.com/twisted/klein MIT
Morepath pip install morepath https://github.com/morepath/morepath BSD3
ObjectWeb Unknown https://github.com/aisola/ObjectWeb LGPLv3
Pecan pip install pecan https://github.com/stackforge/pecan BSD
Pyramid pip install pyramid https://github.com/Pylons/pyramid BSD-derived
Tornado pip install tornado https://github.com/非死book/tornado Apache License 2.0
Web.py [sudo] pip install web.py https://github.com/webpy/webpy Public domain
Wheezy.web pip install wheezy.web https://bitbucket.org/akorn/wheezy.web MIT
Falcon pip install falcon https://github.com/racker/falcon Apache License 2.0

Ruby 写的 Web 框架

名字 Gem安装 仓库 协议
Brooklyn gem install brooklyn https://github.com/luislavena/brooklyn MIT
Busker gem install busker https://github.com/pachacamac/busker MIT
Camping gem install camping http://github.com/camping/camping MIT
Cuba gem install cuba https://github.com/soveran/cuba MIT
Grape gem install grape https://github.com/intridea/grape MIT
Crepe gem install crepe --pre https://github.com/stephencelis/crepe MIT
Hobbit gem install hobbit https://github.com/patriciomacadden/hobbit MIT
Kenji gem install kenji https://github.com/kballenegger/Kenji Azure
Lotus gem install lotusrb https://github.com/lotus/lotus MIT
Nancy gem install nancy https://github.com/guilleiguaran/nancy MIT
New York, New York gem install nyny https://github.com/alisnic/nyny MIT
Padrino gem install padrino https://github.com/padrino/padrino-framework MIT
Ramaze gem install ramaze https://github.com/ramaze/ramaze MIT
Sinatra gem install sinatra https://github.com/sinatra/sinatra/ MIT

Scala 写的 Web 框架

名字 仓库 协议
Finatra https://github.com/推ter/finatra Apache License V2
Play Framework https://github.com/playframework/playframework Apache License V2
Scalatra https://github.com/scalatra/scalatra BSD
Spray https://github.com/spray/spray Apache License V2

.NET (C#) 写的 Web 框架

名字 仓库 协议
Aurora https://github.com/frankhale/aurora GPL
Nancy https://github.com/NancyFx/Nancy/ MIT