Here are the steps to create an EC2(Amazon Elastic Compute Cloud), set up your Git remote repository in EC2 and connect to the remote repo from your local machine. Some explanations are provided for better understanding. AWS Elastic Compute Service(EC2) is IaaS(Infrastructure as a Service).   PART 1 – Creating and connecting to AWS EC2 Virtual Machine instance.   STEP 1  – Go to AWS console. STEP 2 – goto services, ...



Array map functions in Javascript
Javascript / June 1, 2018

Conside a Javascrpt Array of numbers.We need to make an array which contains squares of all these numbers.What we can do to achieve this is using a for loop. [crayon-5e7fe03011141400511569/] For doing these Javascript has another function called MAP function on array.Using the map function the above result can be achieved in the following way [crayon-5e7fe03011149875310018/] Array Map on Array of objects in Javascript [crayon-5e7fe03011...

OOPS and PHP
PHP / May 31, 2018

In this section we will look at OOP with PHP . Refering the below explanations prior to interviews will surely help you to answer some of the most common questions an rookie/intermediate level developer might face in interviews.Here is a diagram depicting object oriented programming concepts CLASSES In object-oriented programming , a class is a template definition of the method s and variables in a particular kind of object . Thu...

php and oops interview questions
interview questions / May 31, 2018

What is Object Oriented Programming? Object-oriented programming (OOP) is a programming language model organized around objects rather than functions as in procedural programming; Objects are instances of classes, are used to interact with one another. What are the advantages of OOPS concepts? Major advantages of OOPS programming are; Simplicity: OOPS programming models on  objects, so the complexity is reduced and the program structur...

js/nodejs/angularjs/ts interview questions
interview questions / May 31, 2018

1  What is data binding in angularjs Data binding in AngularJS is the synchronization between the model and the view.                                      2  What are the key features of angularjs    Modules.    Directives.    Expressions.    Controller.    Scope.    Data Binding.    Validations.    Filters.    Services.  Routing.  Dependency Injection.  Testing. 3  What are directives AngularJ...

js (ES6,ES7,ES8),OOPS js,Node.js
Javascript / May 31, 2018

ABOUT JAVASCRIPT JavaScript  is an interpreted language.A program such as C++ or Java needs to be compiled before it is run. The source code is passed through a program called a compiler, which translates it into bytecode that the machine understands and can execute. In the case of javascript  an interpreter  reads over the JavaScript code, interprets each line and runs it.Google’s V8 increases performance by compiling...

Angularjs and ts(Angular 5)
Javascript / May 31, 2018

WHAT IS ANGULAR JS AngularJS is a JavaScript framework. It is written in JavaScript.AngularJS extends HTML attributes with DIRECTIVES, and binds data to HTML with EXPRESSIONS.With AngularJS we can create single page applications(SPA) The following are the key features of AngularJs: Modules. Directives. Expressions. Controller. Scope. Data Binding. Validations. Filters. Services. Routing. Dependency Injection. Testing. [crayon-5e7fe0301...

Understanding ‘this’ in Javascript
interview questions , Javascript / March 20, 2018

This in Javascript refers to the object to which the function belongs. The value of this is determined by how a function is called.’This’ refers to the “owner” of the function.In the case of a normal function like below ‘this‘ refers to the global object (window object) [crayon-5e7fe03014ffb076600769/] In the above example, a function WrapAll() is being called from the global scope. The global scope ...

Fat arrow functions or arrow functions in Javascript
interview questions , Javascript / February 20, 2018

Arrow Functions primarly have two big advantages 1 They let us provide a shorter way to define functions 2  Arrow functions does not have their own  this, arguments(JavaScript functions have a built-in object called the arguments object), super, or new.target. These functions cannot be used as constructors.Arrow functions does not have their own this and it will have this value from their enclosing context .We can use this from th...