<?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>Forem: merufrancis</title>
    <description>The latest articles on Forem by merufrancis (@merufrancis).</description>
    <link>https://forem.com/merufrancis</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%2F749029%2F3e3d5709-d1b0-4fdc-8ec9-42a8c7c831ee.png</url>
      <title>Forem: merufrancis</title>
      <link>https://forem.com/merufrancis</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/merufrancis"/>
    <language>en</language>
    <item>
      <title>HTTP status codes</title>
      <dc:creator>merufrancis</dc:creator>
      <pubDate>Fri, 21 Oct 2022 09:39:59 +0000</pubDate>
      <link>https://forem.com/merufrancis/http-status-codes-139a</link>
      <guid>https://forem.com/merufrancis/http-status-codes-139a</guid>
      <description>&lt;p&gt;Hello everyone, am Francis a &lt;strong&gt;full-stack developer and a technical writer&lt;/strong&gt;. In today's article I will be writing about http status codes; _these are codes issued to a client by a server after the client sends a request to the server.&lt;br&gt;
_&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;The http status codes are divided into five categories:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Informational responses(100-199)&lt;/li&gt;
&lt;li&gt;Successful responses(200-299)&lt;/li&gt;
&lt;li&gt;Redirection messages(300-399)&lt;/li&gt;
&lt;li&gt;Client error responses(400-499)&lt;/li&gt;
&lt;li&gt;Server error responses(500-599)&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;In this article, I will get into details on some of the most used status codes.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;200(Ok)&lt;/strong&gt;&lt;br&gt;
This HTTP status code is the standard code for successful HTTP requests to the server from the client. the server responds with &lt;strong&gt;OK&lt;/strong&gt; to indicate to the client that the request was successful.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;201(Created)&lt;/strong&gt;&lt;br&gt;
This HTTP status code is sent from the server to the client to indicate that a new resource has been created after a successful request. This status code is often returned when a new directory or file has been uploaded to a web server.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;202(Accepted)&lt;/strong&gt;&lt;br&gt;
The &lt;strong&gt;Accepted&lt;/strong&gt; status code is used when the client does not need to wait for the processing time to finish before continuing. It means that the request sent by the client has been accepted but the processing of the request has not been completed.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;204(No content)&lt;/strong&gt;&lt;br&gt;
&lt;strong&gt;No content&lt;/strong&gt; status code is often used when a request to update an existing resource is made. The server indicates that the request has been processed and there is no content to return.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;301(Moved permanently)&lt;/strong&gt;&lt;br&gt;
This HTTP status code is usually the result of a change in URL or website redesign, it is returned from the server to the client to indicate that the resource trying to be accessed has been moved permanently.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;302(Found)&lt;/strong&gt;&lt;br&gt;
The HTTP 302 status code is similar to code 301, but unlike 301, 302 status code indicates that the redirect is temporary not permanent.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;304(Not Modified)&lt;/strong&gt;&lt;br&gt;
This HTTP status code improves performance, as the client does not need to download the resource again. It indicates that the requested resource has not been modified and so it can be reused.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;400(Bad request)&lt;/strong&gt;&lt;br&gt;
&lt;strong&gt;Bad request&lt;/strong&gt; status code is mostly caused by a client error such a malformed URL. It means that the request could not be understood by the server due to invalid syntax.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;401(Unauthorized)&lt;/strong&gt;&lt;br&gt;
As the term suggests this HTTP status code indicates that the client is not authorized to access the requested resource from the server, mostly due to missing or invalid authorization header.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;403(Forbidden)&lt;/strong&gt;&lt;br&gt;
Due to lack of permissions, the server returns this HTTP status code to indicate that the client is not permitted to the access the requested resource.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;404(Not found)&lt;/strong&gt; &lt;br&gt;
Errors such as a typo in the URL or the page being deleted or moved, causes this HTTP status code which is an error message that means that the page the client is looking for could not be found on the server.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;405(Method not allowed)&lt;/strong&gt;&lt;br&gt;
This HTTP status code is mostly due to a problem in the server configuration, it indicates that the request method from the client for the requested resource is not allowed.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;CONCLUSION&lt;/strong&gt;&lt;br&gt;
 The above HTTP status code are some of the most returned responses from the server to the client after a request. Keep in touch for more technical articles coming on the way.&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>beginners</category>
      <category>programming</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Blockchain development</title>
      <dc:creator>merufrancis</dc:creator>
      <pubDate>Fri, 18 Feb 2022 15:27:30 +0000</pubDate>
      <link>https://forem.com/merufrancis/blockchain-development-37m2</link>
      <guid>https://forem.com/merufrancis/blockchain-development-37m2</guid>
      <description>&lt;p&gt;The current expansion of Web 3 and Blockchain development has created several new oppoertunities. if you're interested in becoming a blockchain developer, this blog is for you:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;who is a Blockchain Developer?&lt;/strong&gt;&lt;br&gt;
Blockchain Devs are the ones who are incharge of optimizing and building blockchain-related applications like consensus protocols, dApps, smart contracts, design architecture systems.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Types of Blockchain Development&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Core Blockchain Developemnt&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Blockchain Software Development&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Core Blockchain Development&lt;/strong&gt;&lt;br&gt;
It involves directly working with protocols and improving consensus protocols to meet the needs of the needed applications.&lt;br&gt;
&lt;em&gt;Core Blockchain Developers build the architecture of the blockchain&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Blockchain Software Development&lt;/strong&gt;&lt;br&gt;
This is the development that most people think of when they hear the term &lt;strong&gt;Blockchain Development&lt;/strong&gt;&lt;br&gt;
They are the ones that create decentralized blockchain apps using protocols created by &lt;strong&gt;Core Blockchain Developers&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How to get started&lt;/strong&gt;&lt;br&gt;
First and foremost, learn the fundamentals. Make sure to understand the basics, just as you would with any other technology!&lt;br&gt;
Understand the process. it is critical to understand how things function behind the scenes. it helps while learning&lt;br&gt;
Before you dive into Web 3 and Blockchain, it is essential to understand basic web development concepts such as HTML and JavaScript or its framework like React.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;learn to write smart contracts&lt;/strong&gt;&lt;br&gt;
They are an essential component of any blockchain ecosystem, each blockchain has its own language that you can use to write smart contracts. &lt;br&gt;
Example:&lt;br&gt;
Ethereum -&amp;gt; Solidity&lt;br&gt;
Solana -&amp;gt; Rust&lt;/p&gt;

&lt;p&gt;Lastly join communities and build projects&lt;/p&gt;

</description>
      <category>blockchain</category>
      <category>web3</category>
    </item>
    <item>
      <title>Blockchain Technology </title>
      <dc:creator>merufrancis</dc:creator>
      <pubDate>Sat, 29 Jan 2022 10:12:55 +0000</pubDate>
      <link>https://forem.com/merufrancis/blockchain-technology-5f1b</link>
      <guid>https://forem.com/merufrancis/blockchain-technology-5f1b</guid>
      <description>&lt;p&gt;&lt;strong&gt;Blockchain developers are earning twice as much as normal developers.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;But what is blockchain?&lt;/p&gt;

&lt;p&gt;Here is a very basic explanation of Blockchain technology.&lt;/p&gt;

&lt;p&gt;Blockchain is a chian of blocks that are chained together. It is a decentralised system which means it is not controlled by a single organization. It is a shared and permanent database shared among nodes on a network. It stores data in a way that makes it almost impossible to hack.&lt;/p&gt;

&lt;h2&gt;
  
  
  Nodes
&lt;/h2&gt;

&lt;p&gt;Since we know that blockchain consists of numerous amount of data and this data is stored on these nodes. Every node keeps a copy of the previous node in the form of unique ID`s known as Hashes.&lt;/p&gt;

&lt;h2&gt;
  
  
  Hashes
&lt;/h2&gt;

&lt;p&gt;A hash itself is basically a numeric value that is used to validate the authenticity of different types of inputs. These hash values can be in different length sizes, from 160-512 bits.&lt;/p&gt;

&lt;p&gt;Before we dive into the concept of Decentralization. let`s look at a centralized system.&lt;/p&gt;

&lt;h2&gt;
  
  
  Centralized system
&lt;/h2&gt;

&lt;p&gt;In a centralized system, the database consists of a single server into which all the data is stored. So it`s safe to say that all the data resides at a single location and all the applications must retrieve data from that location.&lt;/p&gt;

&lt;h2&gt;
  
  
  Decentralized system
&lt;/h2&gt;

&lt;p&gt;If we were to compare the centralized way of storing data to decentralization in the blockchain. We could say that since the data is stored on a peer to peer network of nodes. The blockchain is a decentralized syestem.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is a peer to peer network?
&lt;/h2&gt;

&lt;p&gt;A peer to peer network(P2P) connects nodes directly without the need of a centralized server or a third party. Nodes on a P2P network are typically located near each other and run similar protocols.&lt;/p&gt;

</description>
      <category>writing</category>
      <category>nextjs</category>
      <category>blockchain</category>
      <category>react</category>
    </item>
  </channel>
</rss>
