作者kojilin (呵呵呵噗噗噗..搞笑..)
看板Ruby
标题Re: Rails 1.2 以及 Rails 2.0 的目标
时间Fri Sep 15 16:08:54 2006
※ 引述《giive (lala)》之铭言:
: 我个人是对 RESTful 有兴趣啦,不过我目前实在是不太了解他的意思
: allow us to focus on more important things Rails is not about inventing your own style for doing common things
: 有人知道吗?
大概懂RESTful,但我也不懂那句想讲什麽
後面几句Over different projects, controllers will look more like the same.
Prettify routes
就比较懂:P
POST /people
GET /people/1
PUT /people/1
DELETE /people/1
大概就HTTP method可以搭配controller做到CRUD
恩,所以我还是不知道那句想说什麽:P
是说URI不会有自己的风格?
可是通常不就那几个show, edut,update...etc
koji
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 140.92.57.104
1F:推 PsMonkey:[举手] 什麽事 edut (这真的很独特的风格阿) 09/15 16:42
2F:→ kojilin:sorry...edit..:P 09/15 17:07