<?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: ABU BAKKAR SIDDIQUE</title>
    <description>The latest articles on DEV Community by ABU BAKKAR SIDDIQUE (@abs1).</description>
    <link>https://dev.to/abs1</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%2F778950%2Fc5fe001a-bd43-42c5-a054-3c32962aed04.jpg</url>
      <title>DEV Community: ABU BAKKAR SIDDIQUE</title>
      <link>https://dev.to/abs1</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/abs1"/>
    <language>en</language>
    <item>
      <title>Backend 5 Topics</title>
      <dc:creator>ABU BAKKAR SIDDIQUE</dc:creator>
      <pubDate>Thu, 23 Dec 2021 15:47:30 +0000</pubDate>
      <link>https://dev.to/abs1/backend-5-topics-26pm</link>
      <guid>https://dev.to/abs1/backend-5-topics-26pm</guid>
      <description>&lt;p&gt;&lt;strong&gt;CRUD Operations&lt;/strong&gt;&lt;br&gt;
CRUD means Create, Read, Update, Delete. Create is used to create posts in the Database. Read is used to Read posts in the Database. Update is used to update a post in the database. Delete method is used to delete a post from the database.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Mongoose&lt;/strong&gt;&lt;br&gt;
Mongoose is basically a package. Which serves as a mediator between the NodeJS application and MongoDB server. It is an Object Document Mapper(ODM) that allows us to define objects with strongly-typed-schema that are mapped to a MongoDB document. Mongoose supports all the CRUD operations – Creating, Retrieving, Updating, and Deleting.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;JWT&lt;/strong&gt;&lt;br&gt;
JSON Web Token (JWT) is an open standard. Which defines a compact and self-contained way for securely transmitting information between parties as a JSON object. This information can be verified and trusted because it is digitally signed. JWTs can be signed using a secret key.&lt;/p&gt;

&lt;p&gt;Although JWTs can be encrypted to also provide secrecy between parties, we will focus on signed tokens. Signed tokens can verify the integrity of the claims contained within it, while encrypted tokens hide those claims from other parties. When tokens are signed using public/private key pairs, the signature also certifies that only the party holding the private key is the one that signed it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Express.js&lt;/strong&gt;&lt;br&gt;
Express.js is a back end web application framework for Node.js. It is released as free and open-source software under the MIT License. It is designed for building web applications and APIs. It has been called the de facto standard server framework for Node.js.&lt;br&gt;
Express is a minimal and flexible Node.js web application framework that provides a robust set of features for web and mobile applications.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Relational Database&lt;/strong&gt;&lt;br&gt;
A relational database is a collection of data items with pre-defined relationships between them. These items are organized as a set of tables with columns and rows. Tables are used to hold information about the objects to be represented in the database. Each column in a table holds a certain kind of data and a field stores the actual value of an attribute. The rows in the table represent a collection of related values of one object or entity. Each row in a table could be marked with a unique identifier called a primary key, and rows among multiple tables can be made related using foreign keys. This data can be accessed in many different ways without reorganizing the database tables themselves.&lt;/p&gt;

</description>
      <category>node</category>
      <category>mongodb</category>
      <category>javascript</category>
      <category>programming</category>
    </item>
    <item>
      <title>Some react.js topic</title>
      <dc:creator>ABU BAKKAR SIDDIQUE</dc:creator>
      <pubDate>Wed, 22 Dec 2021 14:45:05 +0000</pubDate>
      <link>https://dev.to/abs1/some-reactjs-topic-51l7</link>
      <guid>https://dev.to/abs1/some-reactjs-topic-51l7</guid>
      <description>&lt;p&gt;&lt;strong&gt;JSX(JavaScript XML)&lt;/strong&gt;&lt;br&gt;
Generally we know JSX means JavaScript XML.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;const JSXDemo = () =&amp;gt; {
    return (
     &amp;lt;h1&amp;gt;I am a React.js Developer&amp;lt;/h1&amp;gt;
      )
}

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Here are &lt;code&gt;&amp;lt;h1&amp;gt;I am a React.js Developer&amp;lt;/h1&amp;gt;&lt;/code&gt; this syntax is not HTML or not a string. This is called JSX. In JSX we can use dynamic. Developers can keep javascript expressions in JSX. JSX is also a javascript expression. After the compilation, JSX expressions are converted into a javascript function call and then catalyzed into a javascript object. In this JSX we can use the CSS attribute as a string for styling elements.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Context API&lt;/strong&gt;&lt;br&gt;
React context is a method which allows developers to pass data from component to component without using props.&lt;br&gt;
Example:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;import React from ‘react’;

export const UserContext = React.createContext();

const App = () =&amp;gt; {
    return (
        &amp;lt;UserContext.Provider&amp;gt;
            &amp;lt;User&amp;gt;&amp;lt;/User&amp;gt;
        &amp;lt;/UserContext.Provider&amp;gt;
)
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Custom hooks in React&lt;/strong&gt;&lt;br&gt;
Developers can build their own hooks which are reusable functions. When we want to share logic between two JavaScript functions, we extract it to a third function. Both components and Hooks are functions, so this works for them too!&lt;br&gt;
Example: &lt;br&gt;
Create a custom hook:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;const useRainyStatus = (rainy) =&amp;gt; {
    const [isRaining, setIsRaining] = useState(null);

    return isRaining;
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Let’s now use this custom hook:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;const rainyStatus = (props) =&amp;gt; {
    const isRaining = useRainyStatus(props.raining.yes);

if(isRaining === null) {
        return ‘just wait a sec..’;
}
return isRaining ? ‘Raining’ : ‘Not Raining’;
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
      <category>react</category>
      <category>javacript</category>
      <category>programming</category>
    </item>
  </channel>
</rss>
