Posts

HTTP Methods

Image
  What is HTTP Verb? HTTP verbs are technically correct terms of request, and it communicates the action a user intends to take on specific resources related to these verbs and methods. HTTP password processing is very common. GET, POST, PUT, PATCH, DELETE, OPTIONS, and HEAD are the key HTTP most commonly used verbs used with RESTful services. HTTP GET The GET request was used to obtain information on resources and is not subject to any other means. The GET API should be malicious. This simply means that every API that makes similar requests should return the same result until the resource status of the server is changed. GET requests are made securely because they do not change the status of the resource. Example URI - HTTP GET http://www.abc.com/users HTTP POST  The HTTP POST method is used to create relevant resources. POST request methods are insecure. In this case, when two similar post requests are made, there may be two different resources related to the same informatio...

What is React?

Image
What is React? React is a JavaScript library for building a fast and interactive user interface for the web as well as a mobile application. It is an open-source, reusable component-based front-end library. In a model view controller architecture, React is the "view" which is responsible for the how the app looks and feels.  A JavaScript library for building user interfaces Declarative Technology stack agnostic Component-based Architecture  Not a framework Focus on Ui Rich Ecosystem Why learn React? Created and maintained by Facebook  More than 100k starts on GitHub Huge community in-demand skillset React History Design  by  Jordan Walke First deployed on facebook's newsfeed  in 2011 Open-sourced at JSConf US in May 2013 Designed for speed, simplicity, and scalability React Vocabulary One-way data flow JSX Components State Props Virtual DOM Element Flux/Redux  Routing Create a New React App Create React App could be a comfortable environment for learni...

KoaJS in NodeJS

Image
What is KOA? Widely used server-side framework for Node.js. Koa was created by the same creators of express, another popular backend Jawa Script framework Koa provides a minimal interface for developing apps and APIs Accordingly, the creators sought to take into account all the shortcomings of the predecessor and make it more  modern and convenient  to use Extremely Lightweight Smaller footprint than any other Node.js framework including Express. Better and Thinner middleware. You have the option to extend the framework with an added module Modern Framework Koa is Built ES6+ and promotes modern JavaScript syntax Uses generators and async /await. Helps devs create apps that remain relevant over a long period of time Request and Response Koa uses a req and res object on top of the standard vanilla JS request and the response It accelerates HTTP server development by providing additional functionality Encapsulates req/res into a single object using context. This helps devs build ...

S.O.L.I.D Principles

Image
S.O.L.I.D  Principles  Introduction  SOLID principles are the look principle that allows us to manage most of the software design problems.  The principles are a subset of many principles by Robart C Martin S.O.L.I.D are 5 object-oriented principles that should be followed when design software   S-  Single Responsibility Principle (SRP) O- Open- Closed Principle (OCP) L- Liskov Substitution Principle (LSP) I - Interface Segregation Principle (ISP) D- Dependency Inversion Principle (DIP) Single Responsibility Principle (SRP) And that responsibility should be entirely encapsulated by the class every module or class should have responsibility for one part of the functionality provided by the software   Open-Closed Principle (OCP) Adding new classes, attributes, and methods, instead of changing the current ones or existing ones should implement any new functionality. Bertrand Meyer originated the term OCP.     Why OCP? if not followed  ...

Introduction to Git and Commands

Image
01. Introduction to Git Git is officially defined as a distributed (VCS) version Control System. It's a system that monitors changes in our project files over time. It allows us to record project changes at any time and return to a selected version of the tracked files. This method is often utilized by many to figure efficiently and collaborate on team projects, where each developer can distribute their own version of the project on their computer. Later, these individual versions of the project are also merged to suit the most version of the project. Basically, it's a hugely popular tool for coordinating parallel work and managing projects between individuals and groups. Needless to mention, knowing the way to use Git may be an important skill for any developer today - it's definitely an excellent addition to your resume! The version control system is the management of changes to document changes in computer programs, large websites, and other collections of information. T...