<?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: Rakib Rahman</title>
    <description>The latest articles on DEV Community by Rakib Rahman (@rakib11).</description>
    <link>https://dev.to/rakib11</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%2F776843%2F7f7b880b-65a5-4c05-9db9-5ff37f25b969.jpeg</url>
      <title>DEV Community: Rakib Rahman</title>
      <link>https://dev.to/rakib11</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/rakib11"/>
    <language>en</language>
    <item>
      <title>Backend server</title>
      <dc:creator>Rakib Rahman</dc:creator>
      <pubDate>Fri, 24 Dec 2021 12:22:22 +0000</pubDate>
      <link>https://dev.to/rakib11/backend-server-113i</link>
      <guid>https://dev.to/rakib11/backend-server-113i</guid>
      <description>&lt;p&gt;Node.js is a non-blocking and single-threaded JS engine. It is used for back-end API services. With the use of Node.js, we can create dynamic page, access files by collecting data.&lt;/p&gt;

&lt;p&gt;I built a website which is an e-commerce platform. I need to store a lot of data for the products. MongoDB is an important database system for this type of data. I stored data in their database server and used it in my website.&lt;/p&gt;

&lt;p&gt;MongoDB is an open source NoSQL database management program. We need to store so much information on the website. MongoDB is a user-friendly, secured and flexible interface for the developers. I used their database for storing product’s details/information in my last ecommerce website. &lt;/p&gt;

&lt;p&gt;JSON Web Token (JWT) is a security system to hold information about a user. When a user login to a website, the website holds some basic information (UserID, Email and so on) to recognize a specific user. When he/she logged in or placed any request, the authority checked by the JWT token without sending private credentials on every request. It expires within 02 hours.&lt;/p&gt;

&lt;p&gt;It doesn’t require a database system because the data store in the JWT sent to the client is safe. This information can be verified and trusted because of authority authentication. &lt;/p&gt;

&lt;p&gt;There are some other token systems to verify users.&lt;br&gt;
OAuth2.&lt;br&gt;
Passport.&lt;br&gt;
Spring Security.&lt;br&gt;
Auth0.&lt;br&gt;
Amazon Cognito.&lt;br&gt;
Keycloak.&lt;br&gt;
Firebase Authentication.&lt;br&gt;
Devise.&lt;/p&gt;

&lt;p&gt;SQL stands for Structured Query Language. SQL is called a Relational Database Management System. SQL is vertically scalable. SQL is table-based. SQL is better for multi-row transactions.&lt;/p&gt;

&lt;p&gt;NoSQL stands for non-relational SQL. NoSQL is a Non-relational or distributed database system. NoSQL databases are horizontally scalable. NoSQL document based databases where we store large datasets. NoSQL is better for unstructured data.&lt;/p&gt;

&lt;p&gt;CRUD stands for Create (insert operation), Read (recover documents from collection), Update (modify documents in a collection), and Delete (remove documents from the collection) of database systems in the web application and primitive operations.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>React: JavaScript library</title>
      <dc:creator>Rakib Rahman</dc:creator>
      <pubDate>Tue, 21 Dec 2021 19:44:33 +0000</pubDate>
      <link>https://dev.to/rakib11/react-javascript-library-1oh6</link>
      <guid>https://dev.to/rakib11/react-javascript-library-1oh6</guid>
      <description>&lt;p&gt;React is an open-source frontend JavaScript library, we can use plain CSS as interactive of a webpage but this is so time consuming. We can use this build In library to create interactive UI, user interfaces and responsiveness of websites.&lt;br&gt;
We face some reloading problems on some websites. When you move to another address from the current page, it reloads automatically. But React solves the problem by using the react router and is the best practice for big web applications. React Router is a powerful routing library and simple API which keeps the URL.  We can get any webpage / link from the current page through React Router documentation.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;React JSX:&lt;/strong&gt; JavaScript XML is a syntax extension of JavaScript. Those who can’t use React properly, you can use tags like HTML in React through JSX. It is so useful for beginner developers. There is no inherent implementation for that reason, browsers can’t read JSX directly, so Babel and TypeScript compile JSX into JavaScript.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Redux:&lt;/strong&gt; Redux is an open-source JavaScript library, state management and container (Fetching and storing data, assigning data to UI elements and changing data) for JavaScript apps. The large amounts of application state updated frequently. It can be used with React, Angular, Vue, Ember, and vanilla JS. For unidirectional data flow makes it popular.&lt;br&gt;
Redux is application state management. It maintains the state and a new object is created for every little change. It is an application data-flow architecture not like the others library or a framework. The code is easy to maintain and organized. The smaller functions become reusable code. It is helpful for large amounts of files, components and frequently updated state.&lt;br&gt;
Redux has three building parts: actions, store, and reducers. Any component can access the stored data from the state as it has central store data. It follows a strict unidirectional data flow.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Redux Saga:&lt;/strong&gt; Redux Saga is a middleware library and an intuitive Redux side effect manager. It works asynchronously with multiple concepts. It is used in the Redux app to handle asynchronous operations by ES6 feature. It is easy to manage, simple to test and executes. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;DOM:&lt;/strong&gt; Document Object Model is the hierarchical representation of a web page. A virtual DOM is a JavaScript representation and memory representation of the DOM. React uses virtual DOM to enhance its performance. Virtual DOM is needed for the slow speed of DOM manipulation. For saving time and money, when you change something in the webpage, the virtual DOM acts as the copy of the DOM and does the same.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;React native:&lt;/strong&gt; React native is a framework which uses react components. It is used in the Android and iOS projects. We import {Text, View} from react-native.&lt;/p&gt;

&lt;p&gt;There are three main mobile apps, web, native and hybrid for development projects. You can choose any of the apps depending on business objectives and overall product goals. We get the best user experience and performance from Native apps. For multiple code bases, Native apps are very fast and responsive which is the most common type of app.&lt;/p&gt;

&lt;p&gt;The documentation of native apps is fruitful and extensive. It has better performance than other apps. Better device, external hardware integration and user interface. But it is a difficult programming language which requires experienced developers.&lt;/p&gt;

</description>
      <category>react</category>
      <category>router</category>
      <category>beginners</category>
      <category>native</category>
    </item>
    <item>
      <title>CSS (Cascading Style Sheets) of the website</title>
      <dc:creator>Rakib Rahman</dc:creator>
      <pubDate>Sat, 18 Dec 2021 21:15:18 +0000</pubDate>
      <link>https://dev.to/rakib11/css-cascading-style-sheets-of-the-website-2h3p</link>
      <guid>https://dev.to/rakib11/css-cascading-style-sheets-of-the-website-2h3p</guid>
      <description>&lt;p&gt;“There are three responses to a piece of design – yes, no, and WOW! Wow is the one to aim for.” – Milton Glaser&lt;/p&gt;

&lt;p&gt;Graphic design is one of the important parts of a website. When you, the landlord, step to build your own house. You need to coordinate with the architect, civil engineer, mechanic and so on, where the architect plans, designs and looks after the construction of buildings, same as a graphic designer.&lt;/p&gt;

&lt;p&gt;Website hosting is a massive combination of developers and designers. For building a secured and functional website like Daraz, Evaly, Foodpanda etc. you have to hire all the specialists. For an e-commerce website, all the users are searching products and storing the desired one in his/her profile is the work of a Back-end web developer. The visual of a website is the manipulation of a Front-end web developer. Web designers suggest design / illustration according to the website / organization. If you present a comfortable design and function, you can hold on to the customers more.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Plain CSS:&lt;/strong&gt; Plain CSS (Cascading Style Sheets) is the simplest and core concept of designing a website. Three types, internal, external, and inline styles in this function.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Internal CSS:
For internal CSS, you have to add your needed styles within the  tag. Id and class selector gives the written design to the exact content.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;body { background-color: gray } &lt;br&gt;
p {&lt;br&gt;&lt;br&gt;
color: red;&lt;br&gt;&lt;br&gt;
margin: 60px&lt;br&gt;
}&lt;br&gt;
.class1 {&lt;br&gt;
    color: orange&lt;br&gt;
}&lt;/p&gt;

&lt;p&gt;But these codes create the page longer and make the website slow.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;External CSS:
In the external css, the styles are coded into a css file which is more clean and decorated than internal CSS. The css file will attach with the  section.
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;h1 {&lt;br&gt;&lt;br&gt;
width: 50%;&lt;br&gt;&lt;br&gt;
background:#A3C4E5 &lt;br&gt;
}&lt;/p&gt;

&lt;p&gt;The css file can be applied to multiple pages but too many .css files will slow down the website.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Inline CSS: You can add CSS in every html tag attribute. For specific changes and updates, it is easy to implement. But this option is not recommended because of the structure. When you add the attribute to every element, the coded page becomes confused.&lt;/li&gt;
&lt;/ul&gt;

&lt;h1&gt;Welcome to the website&lt;/h1&gt;

&lt;p&gt;I recommend External CSS which is more smart than others. You can use any CSS to your webpage which is sharable and organized. Others one are lengthy processes.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;CSS Framework:&lt;/strong&gt; CSS framework is a library with setup code for UI developers. The plain CSS is time consuming. In this situation, we don’t need to code the basic CSS because the framework gives us ready-made CSS properties. For a small website, the developer uses other frameworks with the help of documentation. But the documentation will be possible to change / update with the situation, then the design will hampered shortly.&lt;/p&gt;

&lt;p&gt;14 Best CSS Frameworks for Front-End Developers:&lt;br&gt;
Bootstrap&lt;br&gt;
Foundation&lt;br&gt;
Bulma&lt;br&gt;
UIkit&lt;br&gt;
Semantic UI&lt;br&gt;
Susy&lt;br&gt;
Materialize&lt;br&gt;
Pure.&lt;br&gt;
( Source: &lt;a href="https://geekflare.com/best-css-frameworks/"&gt;https://geekflare.com/best-css-frameworks/&lt;/a&gt; )&lt;/p&gt;

&lt;p&gt;But the established farm will build a personal CSS Framework by developers. That is restricted for unauthorized people. They build / change it with their own favor.&lt;/p&gt;

</description>
      <category>beginners</category>
      <category>programming</category>
      <category>css</category>
      <category>design</category>
    </item>
  </channel>
</rss>
