CURD

英文小写的 crud,是指渣滓、水垢、腐蚀污泥

Create, Read, Update, and Delete, 增删查改 (CRUD)

  • basic operations of persistent storage
  • also sometimes used to describe user interface conventions that facilitate viewing, searching, and changing information using computer-based forms and reports.
中文英文意思SQLHTTP表现层状态转换资料分散服务MongoDB
增加Create创建INSERTPUT / POSTPOSTWRITEInsert
删除Delete删除DELETEDELETEDELETEDISPOSERemove
查询Read读取SELECTGETGETREAD / TAKEFind
改正Update更新UPDATEPUT / POST / PATCHPUTWRITEUpdate

其他变体

  • BREADS(也译作:面包)
    • 浏览(Browse)、读取(Read)、编辑(Edit)、创建(Add)、删除(Delete)、搜索(Search)
  • ICRUD
    • 索引(Index)、创建(Create)、读取(Read)、更新(Update)、删除(Delete)
  • CRAP(也译作:垃圾)
    • 创建(Create)、复制(Replicate)、写入(Append)、处理(Process)
  • DAVE
    • 删除(Delete)、创建(Add)、查看(View)、更新(Edit)
  • ABCD
    • 创建(Add)、浏览(Browse)、更新(Change)、删除(Delete)
  • ACID(也译作:盐酸, 注意这里和保证数据库可靠性的 ACID 不是一回事)
    • 创建(Add)、更新(Change)、查询(Inquire)、删除(Delete)

restful APIs

The POST method, on the other hand, is a process operation that has target-resource-specific semantics which typically exceed the scope of CRUD operations.