<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Mahir-Ahsef</title>
    <description>The latest articles on DEV Community by Mahir-Ahsef (@mahir).</description>
    <link>https://dev.to/mahir</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F778902%2Fa1016765-b7d1-4f80-bb75-efc22dfd29a7.jpeg</url>
      <title>DEV Community: Mahir-Ahsef</title>
      <link>https://dev.to/mahir</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/mahir"/>
    <language>en</language>
    <item>
      <title>Express.js</title>
      <dc:creator>Mahir-Ahsef</dc:creator>
      <pubDate>Thu, 23 Dec 2021 14:10:10 +0000</pubDate>
      <link>https://dev.to/mahir/expressjs-1663</link>
      <guid>https://dev.to/mahir/expressjs-1663</guid>
      <description>&lt;h2&gt;
  
  
  What is Express.js?
&lt;/h2&gt;

&lt;p&gt;Express is a fast, aggressive, required, and minimal Node.js web framework. You can think about express as a layer that sits on top of Node.js and helps with server and route management. It includes a full set of tools for developing web and mobile applications.&lt;/p&gt;

&lt;p&gt;Let's have a look at some of the most important aspects of the Express framework:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Single-page, multi-page, and hybrid web apps may all be 
created using it.

&lt;ol&gt;
&lt;li&gt;It enables middlewares to reply to HTTP requests to be 
configured.&lt;/li&gt;
&lt;li&gt;It creates a routing table that is used to do various tasks 4. 
based on the HTTP method and URL.&lt;/li&gt;
&lt;li&gt;It allows you to dynamically render HTML pages by providing 
variables to templates.&lt;/li&gt;
&lt;/ol&gt;


&lt;/li&gt;
&lt;/ol&gt;

</description>
    </item>
    <item>
      <title>Aggregation</title>
      <dc:creator>Mahir-Ahsef</dc:creator>
      <pubDate>Thu, 23 Dec 2021 13:46:17 +0000</pubDate>
      <link>https://dev.to/mahir/aggregation-11ap</link>
      <guid>https://dev.to/mahir/aggregation-11ap</guid>
      <description>&lt;p&gt;Aggregation is the process of combining many things into a single meaningful entity. Aggregation develops a link between various entities in order to form a single entity. Because it allows the system to work properly, the final entity makes sense.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>What is MySQL and its advantages?</title>
      <dc:creator>Mahir-Ahsef</dc:creator>
      <pubDate>Thu, 23 Dec 2021 13:37:32 +0000</pubDate>
      <link>https://dev.to/mahir/what-is-mysql-and-its-advantages-3o6a</link>
      <guid>https://dev.to/mahir/what-is-mysql-and-its-advantages-3o6a</guid>
      <description>&lt;p&gt;MySQL is at the top of the list of reliable transactional database engines on the market. It is the go-to solution for comprehensive data integrity, with capabilities including fully atomic, consistent, isolated, persistent transaction support, multi-version transaction support, and unlimited row-level locking.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Is Mongoose better than MongoDB?
</title>
      <dc:creator>Mahir-Ahsef</dc:creator>
      <pubDate>Thu, 23 Dec 2021 13:27:22 +0000</pubDate>
      <link>https://dev.to/mahir/is-mongoose-better-than-mongodb-4844</link>
      <guid>https://dev.to/mahir/is-mongoose-better-than-mongodb-4844</guid>
      <description>&lt;p&gt;A user may specify the schema for the documents in a collection using mongoose. It makes the process of creating and managing data in MongoDB a lot easier. On the flip side, learning mongoose takes time and has certain limits when dealing with complicated schemas.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>JWT (JSON Web Token)</title>
      <dc:creator>Mahir-Ahsef</dc:creator>
      <pubDate>Thu, 23 Dec 2021 13:26:45 +0000</pubDate>
      <link>https://dev.to/mahir/jwt-json-web-token-3oib</link>
      <guid>https://dev.to/mahir/jwt-json-web-token-3oib</guid>
      <description>&lt;p&gt;JWT (JSON Web Token) is an open standard that allows two parties — a client and a server to communicate security information. JSON items, containing a set of claims, are encoded in each JWT. JWTs are signed with a cryptographic technique to ensure that the claims can't be changed after they've been distributed.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>CRUD Operations</title>
      <dc:creator>Mahir-Ahsef</dc:creator>
      <pubDate>Thu, 23 Dec 2021 13:14:28 +0000</pubDate>
      <link>https://dev.to/mahir/crud-operations-4o9d</link>
      <guid>https://dev.to/mahir/crud-operations-4o9d</guid>
      <description>&lt;p&gt;Answer: CRUD operations are the mix of Create, Read, Update and Delete.&lt;/p&gt;

&lt;p&gt;Create: The Create operation is used to populate the MongoDB database with new documents.&lt;/p&gt;

&lt;p&gt;There is two way to create documentations in a collections:&lt;br&gt;
db.Userscollection.insertOne() &lt;br&gt;
db.Userscollection.insertMany() &lt;/p&gt;

&lt;p&gt;Read: The read operation is used to query a database document.&lt;/p&gt;

&lt;p&gt;There is two way to read documentations in a collections:&lt;br&gt;
 db.Userscollection.findOne()&lt;br&gt;
db.Userscollections.find()&lt;/p&gt;

&lt;p&gt;Update: The Update operation is used to make changes to existing database documents.&lt;/p&gt;

&lt;p&gt;To update documents in a collection, MongoDB supports the following methods:&lt;br&gt;
 db.Userscollection.updateOne()&lt;br&gt;
 db.Userscollection.updateMany()&lt;br&gt;
 db.Userscollection.replaceOne()&lt;br&gt;
Delete: To delete documents from the database, utilize the Delete operation.&lt;/p&gt;

&lt;p&gt;To delete documents from a collection, MongoDB supports the following methods:&lt;br&gt;
 db.Userscollection.deleteOne()&lt;br&gt;
 db.Userscollection.deleteMany()&lt;/p&gt;

</description>
    </item>
    <item>
      <title>diffing- algorithm</title>
      <dc:creator>Mahir-Ahsef</dc:creator>
      <pubDate>Wed, 22 Dec 2021 15:06:32 +0000</pubDate>
      <link>https://dev.to/mahir/diffing-algorithm-564b</link>
      <guid>https://dev.to/mahir/diffing-algorithm-564b</guid>
      <description>&lt;p&gt;The set of differences between two inputs is output by a diff algorithm. A number of widely used developer tools are based on these algorithms. A developer can view, commit, pull, and merge diffs without ever learning the underlying diff process in Git, for example.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>
Virtual DOM
</title>
      <dc:creator>Mahir-Ahsef</dc:creator>
      <pubDate>Wed, 22 Dec 2021 15:02:40 +0000</pubDate>
      <link>https://dev.to/mahir/virtual-dom-3lko</link>
      <guid>https://dev.to/mahir/virtual-dom-3lko</guid>
      <description>&lt;p&gt;The virtual DOM (VDOM) is a programming concept in which a library, such as ReactDOM, stores a "virtual" representation of a user interface in memory and syncs it with the "real" DOM. Reconciliation is the term for this. They might also be thought of as a part of React's "virtual DOM" implementation.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>context API in reactjs</title>
      <dc:creator>Mahir-Ahsef</dc:creator>
      <pubDate>Wed, 22 Dec 2021 14:58:19 +0000</pubDate>
      <link>https://dev.to/mahir/context-api-in-reactjs-2j46</link>
      <guid>https://dev.to/mahir/context-api-in-reactjs-2j46</guid>
      <description>&lt;p&gt;When numerous components at various nesting levels need access to the same data, context is employed. It should be used with caution because it makes component reuse more difficult. Component composition is typically a simpler approach than context if you merely want to avoid providing some props over several layers.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Hooks in reactJS</title>
      <dc:creator>Mahir-Ahsef</dc:creator>
      <pubDate>Wed, 22 Dec 2021 14:54:23 +0000</pubDate>
      <link>https://dev.to/mahir/hooks-in-reactjs-1il4</link>
      <guid>https://dev.to/mahir/hooks-in-reactjs-1il4</guid>
      <description>&lt;p&gt;Hooks make it possible to use React's state and other features without needing to create a class. Hooks are state and lifecycle aspects in React that function components "hook onto." It is ineffective in a school context. Hooks are backward-compatible, meaning they don't add any new functionality. It also doesn't substitute for your knowledge of React concepts.&lt;/p&gt;

&lt;h2&gt;
  
  
  When Should You Use Hooks?
&lt;/h2&gt;

&lt;p&gt;If you create a function component and later wish to add any state to it, you must first convert it to a class. However, you can now do so by incorporating a Hook into an existing function component.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Hooking Rules&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;Hooks are identical to JavaScript functions, but while utilizing them, you must obey these two rules. The hooks rule ensures that all of a component's stateful logic is visible in its source code. These are the rules:&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Only use Hooks at the highest level.
&lt;/h2&gt;

&lt;p&gt;Hooks aren't supposed to be called from loops, conditions, or nested functions. At all times, hooks should be utilized at the top level of React methods. When a component renders, this rule ensures that Hooks are called in the same order each time.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Hooks should only be called from React functions.
&lt;/h2&gt;

&lt;p&gt;Hooks can't be called from JavaScript functions. Hooks can be called from React function components instead. Custom Hooks can also be used to call Hooks.&lt;/p&gt;

&lt;h2&gt;
  
  
  custom Hooks in React
&lt;/h2&gt;

&lt;p&gt;Custom Hooks are a way to reuse stateful logic (such as setting up a subscription and remembering the current value), but each time you use one, all states and effects within it are completely isolated. What causes a custom Hook to become isolated? Each Hook call is given its own state.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Component Lifecycle in reactJS</title>
      <dc:creator>Mahir-Ahsef</dc:creator>
      <pubDate>Wed, 22 Dec 2021 14:21:09 +0000</pubDate>
      <link>https://dev.to/mahir/component-lifecycle-in-reactjs-35i4</link>
      <guid>https://dev.to/mahir/component-lifecycle-in-reactjs-35i4</guid>
      <description>&lt;p&gt;Components are generated (mounted on the DOM), updated, and subsequently decommissioned (unmount on DOM). A component lifespan is a term used to describe this process. At different stages of a component's life, React provides multiple lifecycle methods.... We understand what lifecycle methods are and why they are crucial at this time.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>JSX in reactJS</title>
      <dc:creator>Mahir-Ahsef</dc:creator>
      <pubDate>Wed, 22 Dec 2021 14:16:34 +0000</pubDate>
      <link>https://dev.to/mahir/jsx-in-reactjs-19ka</link>
      <guid>https://dev.to/mahir/jsx-in-reactjs-19ka</guid>
      <description>&lt;p&gt;JavaScript XML is abbreviated as JSX. It's just a JavaScript syntax extension. It allows us to write HTML directly in React (within JavaScript code). It is straightforward to generate a template in React using JSX, but it is not a simple template language; instead, it contains all of JavaScript's capability.&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
