功能丰富且非常灵活的Node.js框架:Grasshopper

jopen 11年前

Grasshopper是一款功能丰富且非常灵活的Web应用Node.js框架,基本上支持所有的Web开发特性。

特性:

  • 集成依赖注入支持。
  • 过滤器拦截的请求。
  • 支持i18n。
  • Handles updation and validation of models from forms.
  • 支持responses的快速Gzip压缩。
  • 静态文件,也可以预压缩,以节省压缩的每个请求。
  • 支持flash的消息。
  • Allows adding view helpers to enable smarter views.
  • Layout and "include" support for views.
  • Automatic selection of view file based on request's extension.
  • Support for HTTPS with automatic redirection.
  • Supports Basic and Digest authentication.
  • Session management with support for custom session storage.
  • Simple API to create and consume cookies.
  • Fast file uploads using node-formidable.
  • Configurable form post and upload sizes.
  • Makes sending files as response attachments using 'Content-Disposition' simple.
  • Supports partial download of static files.
  • Supports if-modified-since, if-none-match and if-range headers.
  • Plenty of documentation through examples.

项目主页:http://www.open-open.com/lib/view/home/1396490002497