JS Comprehensive GuideJS Comprehensive Guide
" JS Comprehensive Guide
JavaScript is a cross-platform scripting language which powers the web. Its the thing that makes the web pages interactive (having complex animations, clickable buttons, popup menus, etc.).
History It was developed by Brendan Eich in 1995 with a goal of powering the Netscape browsers. Although it was developed under the name Mocha, the language was officially called LiveScript when it was first shipped in beta releases but later was renamed to JavaScript when it was deployed in the Netscape Navigator 2.
Simple Web Server using NodeJSSimple Web Sever using NodeJS
" Simple Web Server using NodeJS
NodeJS, is a JavaScript run-time based on Google’s Chrome V8 JavaScript engine.
Introduction To get started - Please make sure that your version of Node is at least v10.18.0 or later.
You can check your node version using: node -v . Or if you haven’t installed it yet, install the NodeJS from here- https://nodejs.org/en/
MockitoMockito
" Mockito
Mockito is a mocking framework. i.e it simulates the behavior of a real method/object.
Introduction Why do we need a mocking framework ? We want to test the functionality of a class in isolation in a controlled way. However, there are several obstacles
Real objects can be slow (like database connection). Objects contain lots of dependencies and these are often complex to configure and instantiate. Sometimes, the code may not be coded yet and only interface exists.
Stream connects to the source of collections data structure and can performs specific operations on it. It was added in Java 8 under the Package name java.util.stream.
Introduction What does it offers
It can Efficiently process large amounts of data. Supports Parallel operations, to leverage multi core processors. Lazy handling of pipeline operations & avoids unnecessary intermediate computations. It represents a sequence of elements and supports different kind of operations to perform computations upon those elements.