Node-PerfectAPI和Restify.js vs ExpressJS vs Node-APIServer [英] Node-PerfectAPI vs Restify.js vs ExpressJS vs Node-APIServer
问题描述
我是ExpressJS的新手。我想为我的服务创建API,这将由其他服务器直接使用,也可以由移动应用程序/浏览器部分使用。我刚刚发现Restify,Node-PerfectAPI,Node-APIServer,我不知道有什么区别。有人可以详细阐述每个框架的不同之处和优点/不足之处。
为什么选择Express / NodeJS与其他框架来创建API?
免责声明:我是 node-perfectapi 的作者。
perfectapi的重点是让开发人员从开始就绪到准备就绪的简单。它比节点重新定位更抽象。这样做的影响是您在API的设计上具有较少的灵活性,但与此同时,您应该能够以更少的专业知识获得更快的生产准备。
both restify和perfectapi具有可比性能。
此答案中的链接转到强调优势的页面每个解决方案。
I'm new to ExpressJS. I want to create API's for my service which will be consumed directly by other servers and also a part of it by mobile apps/browsers. I just discovered Restify, Node-PerfectAPI, Node-APIServer and I don't know what the differences are.
Can someone kindly elaborate on the differences of each framework and the advantages/disadvantages.
Why would one choose Express/NodeJS vs. Other Frameworks for creating API'S?
Disclaimer: I am the author of node-perfectapi.
The focus of perfectapi is to make it simple for the developer to go from start to production-ready. It is more abstracted than node-restify. The impact of that is you have less flexibility in the design of your API, but at the same time, you should be able to get something production-ready much quicker, with less expertise.
Both restify and perfectapi have comparable performance.
The links in this answer go to pages that highlight the benefits of each solution.
这篇关于Node-PerfectAPI和Restify.js vs ExpressJS vs Node-APIServer的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!