Koa2, thinkjs, CmsWing技术路线

一、Koa2

  • 学习网站

https://www.liaoxuefeng.com/wiki/001434446689867b27157e896e74d51a89c25cc8b43bdb3000/001434501628911140e1cb6ce7d42e5af81480f7ecd5802000

  • 代码

https://github.com/sihongwang/learn-javascript

 

二、 thinkjs

  • 网站

https://thinkjs.org/doc/index.html

  • 最佳实践

https://github.com/thinkjs/think-awesome

think-awesome

Awesome projects for ThinkJS 3.x

Middlewares

Package Author Version Status Coverage Description
think-router @lushijie Router Parser
think-trace @lizheming Error trace
think-payload @berwin Parse body data
think-meta @welefen Show meta info
think-logic @toxic-johann Invoke logic action
think-controller @toxic-johann Invoke controller action
think-wechat @akira-cn   wechat middleware
think-swagger @libery swagger middleware
think-qs @welefen parse complex query data

Koa Middlewares

Package Author Version Status downloads Description
kcors @fengmk2 CORS middleware
grant @simov OAuth middleware
koa-csrf @jonathanong CSRF tokens
koa-helmet @venables helmet middleware
koa-ip-filter @charlike Ip filter middleware for koa
koa-jwt @sdd JWT (JSON Web Tokens) verification
koa-basic-auth @tj blanket basic auth middleware

Adapters

view

  • think-view-pug Use pug to render view files (pug is rename from jade)
  • think-view-nunjucks Use nunjucks to render view files
  • think-view-handlebars Use handlebars to render view files
  • think-view-ejs Use ejs to render view files
  • think-view-xtemplate Use xtemplate to render view files
  • think-view-opx Use sdopx to render view files
  • think-view-art Use art-template to render view files

session

  • think-session-cookie Use cookie to store session data
  • think-session-file Use file to store session data
  • think-session-redis Use redis to store session data
  • think-session-jwt Use jsonwebtoken to store session data
  • think-session-mysql Use mysql to store session data

cache

  • think-cache-file Use file to store cache data
  • think-cache-redis Use redis to store cache data
  • think-cache-memcache Use memcache to store cache data

model

  • think-model-abstract Model adapter abstract class
  • think-model-mysql Mysql adapter for model
  • think-model-sqlite Sqlite adapter for model
  • think-model-postgresql Postgresql adapter for model

websocket

  • think-websocket-socket.io Socket.io adapter for websocket

Extends

  • think-view Add displayrenderassign methods to controller.
  • think-email Add sendEmail method to think, context, controller.
  • think-cache Add cache method to think, context, controller.
  • think-session Add session method to think, context, controller.
  • think-fetch Add fetch method to think, context, controller, service.
  • think-model Add model method to think, context, controller, service. add Model to think.
  • think-websocket Support websocket.
  • think-mongoose Wrap mongoose.
  • think-sequelize Wrap sequelize
  • think-i18n A comprehensive I18N solution wraps Jed, Number(opt in) and Currency(opt in). Support flexible customize for text, number and currency per locale in a standard way.
  • think-eolinker-apishop 对eoLinker官方apishop提供的第三方API做的封装。

Others

  • think-pagination Pagination for ThinkJS 3.x
  • think-ueditor Ueditor configuration for ThinkJS 3
  • think-redis Wrap ioredis
  • think-svg-captcha Generate svg captcha.
  • think-memcache Wrap memcache.
  • think-hashids Generate a short unique ID from the integer for ThinkJS
  • think-purify Use the HTML5 Purify extension in ThinkJS
  • think-esapi An ESAPI(Enterprise Security API) extend for ThinkJS

Projects by ThinkJS

  • 360 静态资源托管库 - 托管前端常见的静态资源库,支持 HTTP2
  • 360 移动开发者中心 - 提供推送、Replugin、代码检查等移动开发服务
  • 众成翻译 - 中国最好的技术翻译社区,最懂译者的翻译平台
  • 爆米兔 - 小而美的 H5 创意制作平台
  • 声享 - 免费在线制作有声 PPT
  • Firekylin - A Simple & Fast Node.js Blogging Platform Base On ThinkJS & React & ES2015+
  • CMSWing - 一款功能强大的(PC端、手机端和微信公众平台)电子商务平台及 CMS 建站系统
  • thinkjsplus - 一款基于 ThinkJS 3 从入门到实践的记事本项目,很适合新手实战
  • NideShop - 基于 ThinkJS+MySQL 开发的开源微信小程序商城
  • CmPage - 企业信息化开发框架,包括账套、用户权限等管理模块,轻量级工作流引擎,以及业务模块的快速开发等

 

三、CmsWing

  • 网站

https://www.cmswing.com/docs

你可能感兴趣的:(js,koa2,thinkjs,cmswing)