Posts

Showing posts from August, 2022

Saga Design pattern

Image
  https://www.youtube.com/watch?v=C0rGwyJkDTU https://www.youtube.com/watch?v=Z6y_b-zbM7c https://www.simform.com/blog/microservice-design-patterns/ The Saga design pattern is  a way to manage data consistency across microservices in distributed transaction scenarios . A saga is a sequence of transactions that updates each service and publishes a message or event to trigger the next transaction step.

MySQL Indexing

Image
 

Introduction to the DOM

Image
Introduction to the DOM This article was originally written for  DigitalOcean . Introduction The  Document Object Model , usually referred to as the  DOM , is an essential part of making websites interactive. It is an interface that allows a programming language to manipulate the content, structure, and style of a website. JavaScript is the client-side scripting language that connects to the DOM in an internet browser. Almost any time a website performs an action, such as rotating between a slideshow of images, displaying an error when a user attempts to submit an incomplete form, or toggling a navigation menu, it is the result of JavaScript accessing and manipulating the DOM. In this article, we will learn what the DOM is, how to work with the  document  object, and the difference between HTML source code and the DOM. Note:  Although the DOM is language agnostic, or created to be independent from a particular programming language, throughout this resource ...