Posts

Git Basics

Source control or Version control is a system which keeps a record about changes that made for a file or many files along the time so that we can recall it when needed Version control is of two types as ·          Centralized version control (CVCS) §   Developers interact with a central VCS server §   Interaction is very slow §   Not supportive to GitHub, GitLab, BitBucket ·          Distributed version control(DVCS) §   Developers can have a local version database and interact with a server computer and each other §   Collaborative working is allowed §   Branching workflows for projects are supported Git is replacement of BitKeeper which is introduced by Linus Torvalds in 2005. Features of Git                        §   Speed is high...

Solid Principles in Java

Image
S.O.L.I.D principle is mainly used to write code in an efficient and effective way so that can be managed easily. Additionally it supports for agile software development. ü S: Single Responsibility Principle Key Idea: One class should have only one responsibility Simply define as one class should have one task to do This causes to create fewer functions Lesser functions lead for easy testing Powerful code organization  ü O: Open Closed Principle Key Idea: Software components should only opened to extend, but closed to modify This extending can be achieved by inheriting from a class or overwriting the required behaviors from a class or by extending certain behaviors of the class This principle recommends using interfaces ü L: Liskov Substitution Principle Key Idea: All derived types should be completely substitutable to the respective base types Every sub class or derived class should be substitutable for their parent or base class T...

How to create an emulator in Android Studio 3.6.2

Image
Select the AVD Manager from the tool bar in Android Studio 3.6.2. Click on the  Create Virtual Device  button. Select Phone as Category and select the device (I have used Pixel 2 ) which you want to use to make a Virtual Device. Then click on the  Next button. Select the System Image (if anything does not appear at the beginning, you have to download first suitable one Ex: x86) and click Next button. Now give a suitable AVD name and select start up orientation and then click on the Finish  button. Newly created Emulator appears in the list of available Android Virtual Devices. Now click on the green triangle to launch the Emulator. Now go to your Android Studio Home page and wait until the emulator name appears on the Select Device . Next  run your application then it will run in the Android Emulator.   I have included a demo video about emulator working below this. Spend a second for it as well.

Flutter for Mobile Application Development

Image
Flutter is a high performing and simple mobile application development framework based on Dart language. It renders the user interface directly in the operating system’s canvas so that the performance is high. Flutter itself can be defined as a widget and composed of in built widgets which are helpful for designing the application as simple as designing with HTML and also aids for creating animations and gestures. Each and every widget has a state and when a change is made, the Flutter analyzes the state change and renders the change only without re-render the entire application. Flutter is compatible for both Android and IOS operating systems. Let’s take a look into the features of Flutter, v   Application Performance is high v   Application development is fast v   Framework following reactive programming v   Based on Dart programming language v   Eye-catching and fluid user interfaces v   Wide widget catalog v   Same User Interfac...

AngularJS Web Application Framework

Image
AngularJS is a Java Script library that acts as a structural framework to develop dynamic web applications. AngularJS is licensed under the Apache version 2.0 license. It is open source and free which can be used by most of the developers around the world. AngularJS uses HTML as the template language and extends HTML's syntax to develop components of web application clearly and easily. AngularJS follows Model View Controller (MVC) architecture so that developers can write client side applications using JavaScript in a clean way. AngularJS is a helpful web framework to develop Rich Internet Applications (RIA). AngularJS automatically handles JavaScript code suitable for each browser; it means that it is a cross-browser compliant framework. AngularJS can be used to maintain web applications easily and build large scale web applications with high performance. Let’s take a look at the features of AngularJS, Feature Description Data binding Data binding...

React Web framework Introduction

Image
React is a web framework which is developed and maintained by Facebook and Instagram. React is a Java Script library used for creating composable user interfaces. React facilitates creation of reusable User Interface components to show data that change along with the time. React serves like the view of Model-View-Controller (MVC) architecture. Therefore most of people tend to use React. React is capable of abstracting the Document Object Model (DOM) from your application and provides a simple programming model to your application with better performance. React is mainly useful for web applications which deal with large amount of data that change with time without reloading the entire application. React render on the server by using Node. It aids for native/mobile applications by using React Native and React VR used to develop VR applications. React is developed focusing on Speed, Simplicity and Scalability. React has a component based life cycle for the development process. Rea...

JAVA OOP Concepts

Image
  Java is an object oriented programming language which is laid on basic OOP Concepts. Abstraction, Encapsulation, Inheritance, Polymorphism, Object and Class. Abstraction is using basic components to represent something complex. As an example we know how to turn on the TV, but we don’t know the inside mechanism. However it does not affect to enjoy it. Basically in Java, abstraction is the representation of complex code and data using simple components like variables ,  classes, and objects. In simple way abstraction is the representation of the big picture by hiding the inner workings. Abstraction helps to create reusable, useful tools. It means that can create several different types variables, functions, or data structures as well as different  classes  of objects. Suppose if a class of variable is an address, this class will specify each address object shall have a name, street, city, and zip code and the objects are employee addresses, customer ...