Beego 设计理念与API开发.pdf

beego 设计API发 ECUG术 Asta Xie 纲 beego beego设计 块 API发 beego发 1 of 22 12/15/14, 8:10 PM beego 简单库 RESTFul Namespace 动API 发 户 2 of 22 12/15/14, 8:10 PM Unix设计 块: Write simple parts connected by clean interfaces : Separate policy from mechanism; separate interfaces from engines 组: Design programs to be connected to other programs 规则 less is more beego 设计 3 of 22 12/15/14, 8:10 PM beego 设计 beego 设计 4 of 22 12/15/14, 8:10 PM beego 设计 简单 块 习库: Flask, Rails, Sinatra 发 设计 fast, fast, fast bee go get /beego/bee 创应 bee new mygo 5 of 22 12/15/14, 8:10 PM 块组 beego块块 cache config context httplibs logs orm sessions toolbox validation Cache 设计 : memory, memcache, redis, file Gob进编码 interface: Get(key string) interface{} Put(key string, val interface{}, timeout int64) error Delete(key string) error Incr(key string) error Decr(key string) error

文档评论(0)

1亿VIP精品文档

相关文档