原生 js 封装插件方法详解与实际案例分享
566
2022-10-14
COKE.js- Node.js MVC 框架
COKE.js 是一个轻量级的 Node.js MVC 框架,可以加快你 web 程序的开发。COKE 是在 Express的基础上建立的,所以用户可以使用所有的 Express 的middlewares ,可以直接连接 Express。
特性:
MVC structure.Mongoose as ODM (mongodb), supports validation.Lightening fast template parsing with thunder. It renders over a million pages within a second. However it can be replaced with any express compatible ones if it does not fit your need.RESTful routing, supports namespace and nested resource. Thanks to RailwayJS.Assets management (something like assets pipeline in Rails). COKE uses a YAML file to manage all the assets. You can group them, specify which assets to be used in the action view. On production they will be combined and minified with a version number at the end.Middleware and 3rd party lib support, which means all the express and connect middlewares can be used directly.Controller filters for flow control.Comprehensive logger for debugging.Powerful generators for project prototyping.Model command line console.Data migration tool.Cluster support, gracefully shutdown all workers and the server.Socket.io compatible.
要求:
node >= 0.8.xmongodb >= 2.Xpackagessee packages.json
版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。
发表评论
暂时没有评论,来抢沙发吧~