Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

其实一直有这种问题 #19

Open
Hanggi opened this issue Dec 16, 2015 · 4 comments
Open

其实一直有这种问题 #19

Hanggi opened this issue Dec 16, 2015 · 4 comments

Comments

@Hanggi
Copy link

Hanggi commented Dec 16, 2015

在实现一个功能时会使用很多第三方模块,即便是官方推荐的模块列表,每种功能都能对应出大量模块。
比如,上传那一章里就说到用版本小于1的koa-multer,但是人气更高也好用的上传模块也很多,这年头选择恐惧的人这么多,是不是应该做个同功能模块的比较,或说下使用这个模块的原因,或是这个模块的优点?

@i5ting
Copy link
Contributor

i5ting commented Dec 16, 2015

首先是挑自己熟悉实现,其次是找best practice,你说呢?

选择koa-multer的原因

  • express里使用multer是标配,非常稳定,也是推荐的,会express的人非常容易理解
  • koa-multer是multer的封装,核心仍然还是multer
  • koa-multer作者fundon是我们的技术技术顾问,哈哈

@Hanggi
Copy link
Author

Hanggi commented Dec 16, 2015

哈哈,这样感觉好点。主要平时选模块只看下载量,有种被群众包围的快感。。。o(╯□╰)o

@i5ting
Copy link
Contributor

i5ting commented Dec 16, 2015

未必下载量大就好,哈哈,像star多也未必比star少得好一样

@zysam
Copy link
Contributor

zysam commented Dec 17, 2015

根据作者来判断吧。koa 里不少中间件都有国人不同程序的参与。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants