編寫 Node.js 中的 Restful web 服務:RestMVC
RestMVC 目標是提供一個簡單,輕量級的框架,幫助開發人員使用 Node.js ,Express, Mongoose 和 MongoDB 編寫 Restful web 服務。
功能特性
到目前為止擁有的特性:
- Tool to build project skelleton for you
- Tool to build empty models for you
- Auto-generate controllers
- Auto-generate routes
- Handle 'BadRequest', 'NotFound' and '500' errors in a nice clean way.
- Inflection Library to translate 'person' into 'people'
- Accept header based response rendering
- List will now take '?from=1&to=10' for paging
計劃的特性:
- Security.
- More complex List actions on the controller.
- Filters
- More error types.
本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!