Monday, March 30, 2020

React vs Angular vs Vue

Angular:
Released in 2010 by Google. It is a typescript based javascript framework. It was released prior to the other two Javascript frameworks. Today it is called Angular but before 2016 there was a suffix ‘JS’ to its name. JS was dropped from its name after the release of Angular 2+. On 28 May’2019, its latest version, Angular 8.0.0 was released

Google and Wix are among the most popular companies using Angular.

React: - Flexibility
Released in 2013 by Facebook. It is mostly used in high traffic websites. It was developed when Facebook ads started gaining traffic and faced problems in their coding and maintenance which depicted certain issues. Its latest version, 16.8.6 was released on 6 May’2019.
They were resolved with the release of this library of Javascript. Whatsapp, Instagram Paypal, Glassdoor, BBC are some of the popular companies using React. It is highly dynamic and offers great support in creating interactive user interfaces.

Vue: - Open Source Community
A progressive Javascript framework released in 2014 and developed by no big name like React and Angular. In fact, it was created by an ex-engineer of Google, Evan You. It is gaining constant popularity. Its latest version; Version 2.6.10 was released on 20 March 2019.
It is the youngest member of the family of Javascript frameworks. It has
practically removed the drawbacks of the other frameworks to offer ease
of next level to software developers. Websites like GitLab and Alibaba
are using Vue.

Vue and React offers better performance and flexibility than Angular.
Vue and react are more suited for light-weight applications and angular is the best for large UI applications.
Angular is highly opinionated and unlike Vue and React, it offers everything
from routing, templates to testing utilities in its package.
Vue is the most popular, loved and growing framework of Javascript.







Thursday, March 26, 2020

Typescript vs Javascript

What is JavaScript?
JavaScript (JS) is a scripting language which is primarily used for creating web pages. It is used to enhance HTML pages and is generally embedded in HTML code. JavaScript doesn’t need to be compiled as its an interpreted language. It helps to create dynamic, creative and interactive web pages. JavaScript files are identified by the .js extension.
What is TypeScript
TypeScript is an open-source programming language that lets you write JavaScript the way you want to. TypeScript is a superset of JavaScript that compiles into simple JavaScript. TypeScript is purely object-oriented with classes and interfaces. It helps programmers to write object-oriented programs and have them compiled to JavaScript, both on the server-side and client-side.

Mocha and Chai


  • What is Mocha Framework?


Mocha is a JavaScript test framework for Node.js programs, featuring browser support, asynchronous testing, test coverage reports, and use of any assertion library.

describe('Foo', function(){
  describe('#bar()', function(){
    it('should work without error', function(done){
      var foo = new Foo(128);
      foo.bar(done);
    })
  })

})


describe():To group the tests
it(): Individual test case
context() is just an alias for describe(), and behaves the same way; it just provides a way to keep tests easier to read and organized. Similarly, specify() is an alias for it().

describe('Hooks', function() {
  before(function() {
    // runs once before all tests in the block
  })

  after(function() {
    // runs once after all tests in the block
  })

  beforeEach(function() {
    // runs before each test in the block
  })

  afterEach(function() {
    // runs after each test in the block
  })

})
  • Chai
Chai is a BDD / TDD assertion library for node and the browser that can be delightfully paired with any javascript testing framework. 

expect(), should(), assert() -style assertions







Friday, March 20, 2020

What is CRM and ERP

What is CRM?
Customer relationship management (CRM) is a technology for managing all your company’s relationships and interactions with customers and potential customers. The goal is simple: Improve business relationships. A CRM system helps companies stay connected to customers, streamline processes, and improve profitability.

What Is ERP?

Enterprise resource planning (ERP) refers to a type of software that organizations use to manage day-to-day business activities such as accountingprocurementproject managementrisk management and compliance, and supply chain operations. A complete ERP suite also includes enterprise performance management, software that helps plan, budget, predict, and report on an organization’s financial results.
ERP systems tie together a multitude of business processes and enable the flow of data between them. By collecting an organization’s shared transactional data from multiple sources, ERP systems eliminate data duplication and provide data integrity with a single source of truth.
Today, ERP systems are critical for managing thousands of businesses of all sizes and in all industries. To these companies, ERP is as indispensable as the electricity that keeps the lights on.



API interview questions

  https://www.katalon.com/resources-center/blog/web-api-testing-interview-questions/ Top 50+ Web API Testing Interview Questions [Ultimate l...