原文 Node.js Interview Questions for 2017 什么是error-first callback? 如何避免无止境的callback? 什么是Promises? 用什么工具来保证代码的一致性风格? 为什么保持一致性风格很重要? When should you npm and when yarn? 什么是stub? 举个例子! 什么是test pyramid? 举个例子! 你喜欢哪个HTTP框架,为什么? 如何保护你的HTTP cookies 不遭受XSS攻击? 如何…
101+ Manual and Automation Software Testing Interview Questions and Answers http://www.softwaretestinghelp.com/software-testing-interview-questions/…
We are sharing 25 java interview questions , these questions are frequently asked by the recruiters.Java questions can be asked from any core java topic . So we try our best to provide you the java interview questions and answers for experienced whic…
介绍 在读这篇博客之前,我强列建议先阅读我的前两篇文章: Getting Started With Node.js Node.js - Modules 在这篇文章中,我们将学习 Node.js 中的事件循环(event loop).我们还将了解 Node.js 的代码执行过程.在我第一篇文章中我告诉大家 Node.js 是一个单线程的应用程序.因为 Node.js 运行的是 JavaScript,然而 JavaScript 是不支持多线程的,所以 Node.js 也不支持多线程.但是 Node.…
In this tutorial we will discuss about different types of questions that can be used in a Java interview, in order for the employer to test your skills in Java and object-oriented programming in general. In the following sections we will discuss abou…
This is a summary of some of the most important questions concerning the Spring Framework, that you may be asked to answer in an interview or in an interview test procedure! There is no need to worry for your next interview test, because Java Code Ge…
Node.js应用的持续部署 翻译前 翻译自:https://blog.risingstack.com/continuous-deployment-of-node-js-applications/ 正文 持续部署是... 不,让我们退一步来看持续集成.持续交付.持续部署的区别. 持续集成 持续集成是一天多次/持续地把开发的成果和主分支合并到一起的过程.有助于: 尽早捕获异常 防止「集成地狱」 大部分工作是靠自动测试完成的. 持续交付 持续交付是只将代码部署到一个可以被QA团队或者客户审查的环境.…
国庆后可能就要使用StrongLoop那套东西来做项目了 原文:http://www.javabeat.net/loopback-mysql/ Loopback是什么? Loopback是一个开源的Node.js API框架, 使用它你能很方便的创建REST API. 安装Loopback 可以直接使用npm安装Loopback 首先使用 npm install -g strongloop安装slc 命令行工具. slc命令行工具被用来创建. 接下来使用npm install -g loopba…
原文: https://blog.risingstack.com/node-js-best-practices-part-2/ 统一风格 在大团队开发JS应用, 创建一个风格指南是很有必要的. 推荐看看这个 Node.js Style Guide. JSCS是一个JS代码风格检查器. 安装命令如下: npm install jscs --save-dev 下一步在package.json文件中添加自定义脚本: scripts: { "jscs": "jscs index.js…
原文: http://blog.risingstack.com/node-js-interview-questions/ 什么是error-first callback? 如何避免无休止的callback嵌套? 如何监听80端口? 什么是事件循环? 使用什么工具保持一致的代码风格? operational和programmer错误的区别是什么? 为什么npm shrinkwrap非常有用? 什么是error-first callback? Error-first callback被用来传递错误和…