<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Isaac Etor on Medium]]></title>
        <description><![CDATA[Stories by Isaac Etor on Medium]]></description>
        <link>https://medium.com/@isaacetor?source=rss-4f5ba35285d8------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*ZRPEs7aerJHRfEOEGhvO4A.jpeg</url>
            <title>Stories by Isaac Etor on Medium</title>
            <link>https://medium.com/@isaacetor?source=rss-4f5ba35285d8------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 17 Nov 2026 20:24:09 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@isaacetor/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Choosing Between Svelte and React: A Guide to Modern Frontend Development]]></title>
            <link>https://isaacetor.medium.com/choosing-between-svelte-and-react-a-guide-to-modern-frontend-development-3b85f32574f5?source=rss-4f5ba35285d8------2</link>
            <guid isPermaLink="false">https://medium.com/p/3b85f32574f5</guid>
            <category><![CDATA[frontend-development]]></category>
            <category><![CDATA[react]]></category>
            <category><![CDATA[svelte]]></category>
            <dc:creator><![CDATA[Isaac Etor]]></dc:creator>
            <pubDate>Tue, 02 Jul 2024 13:41:08 GMT</pubDate>
            <atom:updated>2024-07-02T13:41:08.048Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rSxqkI3w0mM9NS94I50DuA.png" /><figcaption><strong>Choosing Between Svelte and React: A Guide to Modern Frontend Development</strong></figcaption></figure><p>Hey there, tech enthusiasts! Today, we’re diving into the world of frontend development, where two technologies stand out: Svelte and React. <br>I’m excited to share my thoughts on these two technologies and what makes them unique.</p><h3>What is Svelte?</h3><p>Let’s start with Svelte. Launched in 2016 by Rich Harris, Svelte has revolutionized frontend frameworks with its innovative approach. Unlike traditional frameworks, Svelte shifts heavy lifting to the compilation step, producing highly optimized and efficient code. This unique method translates declarative code into vanilla JavaScript at build time, eliminating the need for a runtime library. The result? Smaller bundle sizes and faster load times, perfect for performance-sensitive applications. Svelte’s component-based architecture and reactive model simplify state management, speeding up development cycles and easing debugging.<br><a href="https://learn.svelte.dev/tutorial/welcome-to-svelte">Check out Svelte’s official tutorial to get started</a>.</p><h3>React: The Industry Standard</h3><p>On the other hand, React, developed by Facebook, has established itself as the industry standard for building user interfaces. React popularized the component-based architecture that many frameworks now adopt. It uses a virtual DOM to efficiently update the UI by only re-rendering the components that have changed. React’s ecosystem is vast, with a robust community and extensive documentation, making it an excellent choice for large-scale applications and teams.<br><a href="https://react.dev/learn">Check out React’s official tutorial to get started.</a></p><h3>Key Differences and Use Cases</h3><p>When it comes to performance and bundle size, Svelte’s compilation approach gives it an edge, ensuring efficient applications from the start. React, while powerful with its virtual DOM, may require additional optimizations for similar performance benchmarks. In terms of developer experience, Svelte’s simplicity leads to faster learning curves, while React’s extensive tools and JSX syntax offer flexibility and readability.</p><p>Ultimately, choosing between Svelte and React hinges on project needs, team expertise, and development philosophy. If you prioritize performance and simplicity, Svelte is a compelling choice. For scalability and a robust ecosystem, React remains unmatched.</p><p>Both frameworks offer unique strengths that cater to different developer preferences. Exploring both can provide valuable insights into modern frontend development paradigms and help you stay ahead in the dynamic digital landscape.</p><p>Whether you’re leaning towards Svelte or React, embracing these technologies equips you with powerful tools to craft responsive, efficient web applications.</p><p><em>For those interested in diving deeper into frontend development and gaining practical experience, consider checking out the </em><a href="https://hng.tech/internship"><em>HNG Internship program</em></a><em>. It’s a fantastic opportunity to enhance your skills and collaborate with industry professionals while building real-world projects and get </em><a href="https://hng.tech/premium"><em>certificate upon completion</em></a><em>.</em></p><p>Happy coding!</p><p><em>Disclaimer: This article is based on the author’s knowledge and opinions as of the publication date. Technologies and frameworks may have evolved since then.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3b85f32574f5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[React’s state management: When to use Redux, Recoil, and Hooks.]]></title>
            <link>https://isaacetor.medium.com/reacts-state-management-when-to-use-redux-recoil-and-hooks-55eb22ce3d15?source=rss-4f5ba35285d8------2</link>
            <guid isPermaLink="false">https://medium.com/p/55eb22ce3d15</guid>
            <category><![CDATA[state-management]]></category>
            <category><![CDATA[recoil]]></category>
            <category><![CDATA[redux]]></category>
            <category><![CDATA[react]]></category>
            <category><![CDATA[react-hook]]></category>
            <dc:creator><![CDATA[Isaac Etor]]></dc:creator>
            <pubDate>Sun, 12 Feb 2023 16:00:49 GMT</pubDate>
            <atom:updated>2023-02-12T21:47:31.419Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/739/1*4gYfnm96wMF9702YZV9Udg.jpeg" /></figure><p>The rapid growth of React over time. Has seen numerous state management libraries emerged as a result of ReactJS.<br>A significant factor in facilitating application development is knowing which state management library to select for a given project.<br>In this article, we will talk about the best uses of Redux, Hooks, and Recoil for managing state in a typical React application.</p><p><em>Note: Readers who are interested in creating a React application that calls for a state management library will find this tutorial helpful.<br>Introduction to state management in React is not covered in this article. It necessitates some familiarity with Redux, hooks, and React fundamentals; Therefore, before proceeding with the remainder of this article, please review the fundamentals if you are just starting out with React and state management in React.</em></p><h3>Brief Explanation of State</h3><p>The simplest way to describe State is as a JavaScript object that represents the part of a component that can change in response to a user action. You could also say that states are just a component’s memory.<br>In a typical React app, when a user does something, the state of the component changes. This isn’t bad, but if the app starts to grow, it quickly becomes a problem; As a result, keeping track of all dependencies is extremely challenging due to the app’s complexity.</p><p>Let&#39;s say we&#39;re making an application for online shopping; The shopping cart, buttons, view cart session, checkout, login bar, and so on can all be components in an app like this. In this app, a single user action of adding items to the cart can have a significant impact on a number of other parts by:</p><ol><li>adding the cart to the user’s cart history.</li><li>changing the state of the cart component itself,</li><li>and checking out products.</li></ol><p>This only scratches the surface of the many other features that we could incorporate into the online shopping app. In the long run, the engineers in charge may encounter numerous bugs and issues if they do not take scalability into account when developing the app.<br>An app like this could end up being a pain to constantly update and debug.</p><p>The preceding examples demonstrate the significance of the state in typical React applications.<br>In this application, we can use any library we want to manage the state; Regardless, they would still complete the task.</p><p>Typically, the state must be transferred to the next closest parent component before reaching an ancestor shared by both components that require it and being passed down. This procedure can be overwhelming and makes it difficult to maintain the state. It might sometimes allow you to send data to parts that don&#39;t even need it.</p><p>As the app grows in size, state management becomes disorganized. As a result, you need a state management tool like Redux or Recoil to make maintaining these states easier.<br>In the following sections, we will practically examine each of the state management libraries (Redux, Hooks, and Recoil), their distinctive characteristics, and the factors to take into consideration before selecting one.</p><h3>Redux</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*P785kIj7erPZ0MXJ0d9Eyw.png" /></figure><p>Redux is the first item on our list; It was the very first react-based state management library, and it has been around for some time.<br>To solve the issue in our online shopping app, the state management library Redux was developed. It gives you a JavaScript object called the store, which, once set up, includes all of your application’s states and updates them as needed. A simplified illustration of Redux’s operation can be found below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/752/1*UW4jdpkviBYYCbYkvqwiIg.png" /></figure><h3>When should you useRedux?</h3><p>At the time of writing, Redux is one of the most widely used React state management libraries.<br>When to use Redux in an application is the topic of this section.</p><p>First and foremost, Redux makes it possible to control the state of your app from a single location and to keep app changes more predictable and traceable. It makes it easier to see when your app is changing. Sadly, each of these advantages comes with specific restrictions and tradeoffs.</p><p>When using Redux, developers frequently feel that it adds additional boilerplate code, making small things appear to be overwhelming; However, that is entirely dependent on the architectural choice made by the app.</p><p>When managing state locally starts to look messy, this is one of the easiest ways to tell when you really need to use Redux.<br>State sharing among components becomes tedious as the app grows.<br>At that point, you would begin looking for ways to simplify the procedure.<br>We&#39;ll discuss the benefits of using Redux alongside React in the following section.</p><h3>Benefits of using Redux?</h3><p>When you use Redux with React, you don&#39;t have to worry about lifting upstate, making it easier to track which action causes any change and simplifying the app.<br>Let&#39;s examine some of the drawbacks of using Redux for state management.</p><h4>Support for the Community</h4><p>As the official binding library for React and Redux, React-Redux has a large user base. that makes it simpler to seek assistance, acquire knowledge of best practices, employ libraries based on React-Redux, and apply your knowledge to a variety of applications.<br>On Github, it is the most popular React state management library.</p><h4>Improves Performance</h4><p>By ensuring that only the connected component re-renders when it is required, React Redux ensures performance optimization; As a result, maintaining a global state for the app would not cause any issues.</p><h4>The state is always predictable</h4><p>In Redux, which makes the state predictable. Reducers are pure functions, so even if the same state and action move to a reducer, they will produce the same result. Also, the state never changes and is immutable. It makes difficult operations like infinite undo and redo possible. Time travel, or the ability to travel back and forth between previous states and view the outcomes in real time, is another possibility.</p><h4>State persistence on local storage</h4><p>It is possible to store some of the app&#39;s state and restore it after a refresh on local storage. It makes it really cool to store things like cart data on local storage.</p><h4>Rendering on the server</h4><p>We can also render on the server using redux. By sending the app&#39;s state and response to the server&#39;s request, you can manage the app&#39;s initial render with it.</p><h4>Redux is maintainable</h4><p>Because Redux is strict about how code should be designed, it is easy for someone who is familiar with the framework to comprehend any Redux application structure. In most cases, it makes maintenance simpler. You can also use it to separate your component tree and your business logic. It is essential to keep your app more predictable and easy to maintain for large-scale applications.</p><h4>Debugging made easy</h4><p>Redux facilitates application debugging in a straightforward manner. It is simple to comprehend coding errors, network errors, and other types of production-related bugs by logging actions and state.<br>It has excellent DevTools, which, in addition to logging, enable you to time-travel actions, persist actions upon page refresh, and other features. Debugging takes more time than actually developing features for medium- and large-scale apps.</p><p>Even though Redux has advantages, you shouldn&#39;t use it in all of your apps.<br>Without Redux, your application can function well.</p><h3>Recoil</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/701/1*8rDgFG7wx8GbHko8oM14xw.png" /></figure><p>Recoil appears to be the most recent tool in the state management community, which includes numerous excellent libraries such as Context, Mobx, and Redux, among others.</p><p>I&#39;d like to point out that this new state management library is not the &quot;official&quot; state management library for React before I go into specifics about Recoil.<br>However, the record demonstrates that it was developed and released by Facebook&#39;s team of React developers.<br>Recoil, on the other hand, is not an official state management library for React, just as Redux is not. However, if it proves useful to the React ecosystem as a whole, it may gain widespread adoption among React enthusiasts.</p><h3>Problem Recoil solves</h3><p>Although Recoil has a learning curve, it still solves the same problem as the majority of other state management libraries: global management of states.<br>Following a brief period of use, I believe these distinctions make Recoil very useful.</p><h4>React-like approach and simplicity</h4><p>Recoil&#39;s unparalleled simplicity is why it is on this list.<br>Recoil feels like using a global version of React&#39;s useState, but you can build any app you want with it, just like you can with Redux or MobX. It also supports Concurrent Mode, which is a huge plus (this is still being worked on at the time this article was written).</p><p>In contrast to Redux and Mobx, Recoil does not have a steep learning curve.<br>Except for Atom and Selectors, which are simple to comprehend, there is not much else to learn about them.</p><h4>App-wide observation</h4><p>Recoil does a good job of handling app-wide state observations, just like other state management libraries. Recoil has additional advantages, including;</p><p>Distributed and incremental state definition without boilerplate API Recoil&#39;s central core concepts are Atoms and Selectors; This section cannot be covered in this article. However, their documentation provides a comprehensive overview.</p><h3>When to use Recoil</h3><p>Recoil has grown so much in less than two years that it now has more than 15k stars on Github. In addition, it is gradually gaining popularity and widespread adoption among React enthusiasts and the entire React community.</p><p>Therefore, when to use Recoil may solely depend on the architecture decision made for your app; however, if you value simplicity, you may immediately begin using Recoil.</p><h3>Using React Hooks</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/430/1*_oLn-KPp0VSmkZyz339vmg.jpeg" /></figure><p>React hooks One of the best additions to the React library since its inception is the hooks feature. Hooks gave functional components &quot;state.&quot; Like class components, functional components can now independently create and manage local states.<br>UseState, useEffect, useReducer, and other React hooks should be familiar to anyone who is already using React.<br>In this section, we’ll talk about how useful it is to use React Hooks on their own without having to use any other state management library.</p><p>Without a library, you could use React Hooks as your primary state management tool; however, this will depend on your previous experience with and comprehension of React hooks.</p><p>They can do almost anything an external library could, and they are powerful on their own.</p><p>There are some benefits to using other state management tools to some extent. Still, starting is hard because of their procedures. Similar to Redux, our application requires some boilerplate code to function; As a result, it adds unnecessary complexity.<br>On the other hand, in order to get our app to work, we don&#39;t need to install any additional libraries because of the useContext API and React Hooks. It makes global state management in React applications much simpler and easier to manage.</p><p><em>Note: In the event that you are already familiar with useState, we will investigate two hooks that support the state management process in React.</em></p><h4>The useReducer Hook</h4><p>React 16.8 included the useReducer Hook. The useReducer Hook, like the JavaScript reduce() method, takes a reducer function and an initial state as arguments and returns a new state:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/718/1*7M0wJ9iRPCwriTCik64NdQ.png" /></figure><p>We have defined our state and the dispatch method that handles it in the snippet above. The useReducer() Hook will carry out an action based on the type that our method receives in its action argument when we call the dispatch method:</p><h4>useContext</h4><p>This hook is used to obtain a Provider’s current context. We make use of the React.createContext API to create and provide a context.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/854/1*Nbo7Rtlk_e4EQWwLJCBeqg.jpeg" /></figure><h3>Using useReducer and useContext</h3><p>Together Using useContext and useReducer raises the level of component co-located state management.</p><p>Out of nowhere we can pass the state compartment made by useReducer and its dispatch capability to any part from any high level part. It might also be the most important part of making the state &quot;global.&quot; React’s Context API makes your state and dispatch function available anywhere, even if you don’t explicitly pass everything down the component tree using React props.</p><h3>In conclusion,</h3><p>we discussed the most popular state management tools for React, their significance to React state management, and their application in particular projects.<br>I’d like to learn more about how you handle state in a typical React application.</p><p>Feel free to leave a clap 👏 or a comment.</p><p>You can follow me on Twitter <a href="https://twitter.com/IzickEtor?t=J_XyX97GghAz4KWvca1nHQ&amp;s=09">IzickEtor</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=55eb22ce3d15" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why Error handling in ExpressJs is Necessary in Your Application]]></title>
            <link>https://isaacetor.medium.com/why-error-handling-in-expressjs-is-necessary-in-your-application-672b1f9c4251?source=rss-4f5ba35285d8------2</link>
            <guid isPermaLink="false">https://medium.com/p/672b1f9c4251</guid>
            <category><![CDATA[nodejs]]></category>
            <category><![CDATA[security]]></category>
            <category><![CDATA[error-handling]]></category>
            <category><![CDATA[expressjs]]></category>
            <category><![CDATA[middleware]]></category>
            <dc:creator><![CDATA[Isaac Etor]]></dc:creator>
            <pubDate>Thu, 26 Jan 2023 20:24:22 GMT</pubDate>
            <atom:updated>2023-01-26T20:24:22.443Z</atom:updated>
            <content:encoded><![CDATA[<p>Any web application needs to have error handling, and Express.js is no exception. We will discuss error handling in an Express.js application in this article.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bkj1cTosp5h0pi_qg-HTKw.jpeg" /></figure><p>Middleware functions and error-handling routes are two of Express.js&#39;s error handling options.</p><h3>What are middlewares?</h3><p>Middleware is a function that is run before the final request handler in Express.js. It can alter or manipulate either the incoming request or the outgoing response by sitting in between them.</p><p>Middleware can log requests, authenticate users, parse data from incoming requests, and include custom headers in response messages. The order in which middleware is added to an application is crucial because middleware functions are executed in that order.</p><p>So, using middleware functions in an Express.js application is one way to deal with errors. Authentication, logging, and error handling are all examples of middleware functions that have access to the request and response objects and can be used to carry out a variety of tasks. You can create a middleware function that will be called when an error occurs to handle errors with middleware. The error can then be handled by this function, such as sending the client a specific status code or message.</p><p>Using error-handling routes in an Express.js application is yet another method for handling errors. When an application encounters an error, error-handling routes are called. You can use the app.use function to create an error-handling route. This function lets you specify a callback function that will be called when an error occurs. The error can then be appropriately handled by this callback function.</p><p>Express.js provides a built-in error handler that can be utilized to handle errors in addition to middleware and error-handling routes. A middleware function, this built-in error handler accepts the following four arguments: next, error, request, and response.</p><p>A third-party library like express-async-errors or http-errors can also be used to handle errors in a more elegant manner.</p><p>In general, it is essential to have a solid error handling strategy in place in order to guarantee that your Express.js application will be able to handle any errors that might occur and respond appropriately to them.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=672b1f9c4251" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Poem: Coding To Me]]></title>
            <link>https://isaacetor.medium.com/poem-coding-to-me-871146ac910b?source=rss-4f5ba35285d8------2</link>
            <guid isPermaLink="false">https://medium.com/p/871146ac910b</guid>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[poem]]></category>
            <category><![CDATA[creative-writing]]></category>
            <dc:creator><![CDATA[Isaac Etor]]></dc:creator>
            <pubDate>Thu, 29 Dec 2022 08:38:53 GMT</pubDate>
            <atom:updated>2023-06-15T20:59:38.713Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gD5l0uEtQu_XSyg5zstg8g.jpeg" /></figure><p>Coding to me is an intricate dance, A symphony of logic and chance. It’s like the rush of a soaring flight, Unveiling possibilities, endless and bright.</p><p>Coding is like sculpting with thought, Molding ideas that can’t be bought. Each line of code, a stroke of art, Crafting a world with a programmer’s heart.</p><p>It’s the thrill of solving a puzzling quest, When bugs are vanquished, and code is at its best. The satisfaction of seeing it all align, A masterpiece emerging, elegant and fine.</p><p>Coding feels like a language unspoken, Where creativity and logic are interwoven. A canvas where innovation takes flight, Empowering dreams with every byte.</p><p>It’s an endless journey, forever learning, An exploration where knowledge is earning. With each new challenge, we grow and evolve, Pushing boundaries, problems we’ll solve.</p><p>Coding is an expression, a digital song, A symphony of ideas, where minds belong. It’s a passion that burns, never ceasing, Fueling the fire of imagination releasing.</p><p>So let us code with purpose and pride, Harnessing technology’s boundless tide. For coding is more than lines on a screen, It’s a gateway to a future yet unseen.</p><p><em>I write poems like this for fun during my spare time when I’m not coding. If you have enjoyed this piece, please leave your likes and comments below! You can follow me on </em><a href="https://medium.com/@isaacetor"><em>Medium</em></a><em> and </em><a href="https://twitter.com/IzickEtor"><em>Twitter</em></a><em>. Thanks for the support!</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=871146ac910b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Comparing Binary and Logarithmic Search Algorithm]]></title>
            <link>https://isaacetor.medium.com/comparing-binary-and-logarithmic-search-algorithm-39eb0dfdb566?source=rss-4f5ba35285d8------2</link>
            <guid isPermaLink="false">https://medium.com/p/39eb0dfdb566</guid>
            <category><![CDATA[nodejs]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[algorithms]]></category>
            <category><![CDATA[binary-search]]></category>
            <category><![CDATA[web-development]]></category>
            <dc:creator><![CDATA[Isaac Etor]]></dc:creator>
            <pubDate>Mon, 24 Oct 2022 00:09:38 GMT</pubDate>
            <atom:updated>2022-10-24T00:09:38.043Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*4D5WgGiuZstxii5q5-Oncg.jpeg" /></figure><p><strong>Binary Search</strong> is a searching algorithm utilized in a sorted list or array by repeatedly dividing the search span in half . The goal of binary search is to utilize the data that the array/list is sorted and decrease the time complexity to O(Log n).</p><h3>Binary Search Algorithm:</h3><p>Binary search Algorithm as you might have heard, follows the divide and conquer approach in which the list item is partitioned into equal parts, and the item is out in comparison with the middle item/element in the list . In the event that the match is found, the middle element location is returned. In any case, we search into both of the parts relying on the outcome created through the match.</p><p>Binary Search Algorithm can be implemented in the following two ways:</p><ul><li>Iterative Method</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UAILbhiyOq4aseGB4MCbxQ.png" /></figure><ul><li>Recursive Method</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YYDSA5cMNNotSB26RXrm4Q.jpeg" /></figure><h3>Logarithmic search:</h3><p>Logarithmic search talks more on the o(log n) time complexity where n is the number of iterations. It is for the most part seen in recursive functions. Algorithms for which the running time is logarithmic are those where handling disposes of a huge amount of values in every cycles like in the binary search.</p><h3>Comparing The Logarithmic and Binary Search Algorithm:</h3><p>Assuming you Google logarithmic search Algorithm, you’d likely obtain results of Binary search Algorithm, this is so on the grounds that Binary search is likewise called logarithmic search. you can perform a binary search with a recursive function, and recursive functions make logarithmic time complexity.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=39eb0dfdb566" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[HTTPS additionally referred to as Hypertext Transfer Protocol Secure is an extension of the…]]></title>
            <link>https://isaacetor.medium.com/https-additionally-referred-to-as-hypertext-transfer-protocol-secure-is-an-extension-of-the-af0bba764185?source=rss-4f5ba35285d8------2</link>
            <guid isPermaLink="false">https://medium.com/p/af0bba764185</guid>
            <category><![CDATA[internet]]></category>
            <category><![CDATA[backend-development]]></category>
            <category><![CDATA[ssl]]></category>
            <category><![CDATA[https]]></category>
            <category><![CDATA[nodejs]]></category>
            <dc:creator><![CDATA[Isaac Etor]]></dc:creator>
            <pubDate>Fri, 21 Oct 2022 11:00:25 GMT</pubDate>
            <atom:updated>2022-10-21T11:00:25.939Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*T5OwX-kTZGE_HznD96D4-g.jpeg" /><figcaption>Image by rawpixel.com on Freepik</figcaption></figure><p><strong>HTTPS </strong>additionally referred to as Hypertext Transfer Protocol Secure is an extension of the Hypertext Transfer Protocol or HTTP, and is extra steady than the latter.<br>The HTTPS module in Node.js enables in shifting records securely through the HTTP TLS/SSL protocol.<br>It is used extensively at the internet, for steady verbal exchange over a laptop network.</p><h3>How it works:</h3><p><a href="http://www.semrush.com/">semrush </a>gave a quite fine example:<br> Let`s say that a person searches for “a way to do a internet site migration”. The request is dispatched to the server, which then sends some other request returned with the question effects. These effects are displayed at the SERP (search engine result page) which you see while you entire the seek.<br>All of this takes place in a way of milliseconds. But, that could be a very trendy review of ways hypertext switch protocol works.</p><p>very clear, right?</p><h3>The https basically work on two things:</h3><p>SSL (Secure Socket Layer)- This is what creates a steady, encrypted connection among a browser and a server, which protects the layer of verbal exchange among the 2.<br>This certificates encrypts a reference to a degree of safety this is particular at it slow of the acquisition of an SSL certificates.</p><p>TLS (Transport layer security)- TLS stands for transport layer security. It enables encrypt HTTPS and may be used to steady e-mail and different protocols. It makes use of cryptographic strategies that make sure records has now no longer been tampered with because it changed into dispatched, that communications are with the real character the verbal exchange got here from, and to save you personal records from being seen.<br>Things kick off with a TLS handshake , the system that kicks off a communication exchange consultation that makes use of TLS encryption. This is wherein authentication takes area, and consultation keys are created. Brand-new consultation keys are generated whilst gadgets communicate, from the 2 unique keys operating together. The end result of that is deeper, extra encrypted verbal exchange.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=af0bba764185" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What You Should Know About Streaming In Node Js]]></title>
            <link>https://isaacetor.medium.com/what-you-should-know-about-streaming-in-node-js-a7d9f4973572?source=rss-4f5ba35285d8------2</link>
            <guid isPermaLink="false">https://medium.com/p/a7d9f4973572</guid>
            <category><![CDATA[pipeline]]></category>
            <category><![CDATA[streaming]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[nodejs]]></category>
            <category><![CDATA[api]]></category>
            <dc:creator><![CDATA[Isaac Etor]]></dc:creator>
            <pubDate>Tue, 18 Oct 2022 22:46:53 GMT</pubDate>
            <atom:updated>2022-10-18T22:46:53.518Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8MgPB1K5X2iUCPFj68BrxQ.jpeg" /><figcaption>What You Should Know About Streaming In Node Js by Isaac Etor</figcaption></figure><p>This article will assist you with understanding streams and how to work with them.</p><h3><strong>What Are Streams?</strong></h3><p>Streams are one of the major ideas that power Node.js applications. They are information dealing with technique and are utilized to successively peruse or compose input into output.</p><p>Streams are a method for dealing with perusing/composing documents, network correspondences, or any sort of start to finish data trade in a productive manner.</p><p>What makes streams one of a kind, is that rather than a program adding a record to memory at the same time like in the conventional manner, streams read lumps of information piece by piece, handling its substance without keeping everything in memory.</p><p>This makes streams truly strong while working with a lot of information , for instance, a document size can be bigger than your free memory space, making it difficult to add the entire record to the memory to handle it. That is where streams act the hero!</p><p>Utilizing streams to handle more modest pieces of information, makes it conceivable to peruse bigger data or records.</p><p>We should take “streaming” services like YouTube or Netflix for instance: these services don’t cause you to download the video and audio at the same time. All things considered, your program gets the video as a persistent progression of pieces, permitting the users to begin watching or potentially listening very quickly.</p><h3><strong>Why Streams?</strong></h3><p>Streams fundamentally give two significant benefits contrasted with different information taking care of strategies:</p><p><strong>1. Memory effectiveness:</strong> you don’t have to stack a lot of information in memory before you can handle it</p><p><strong>2. Time proficiency:</strong> it requires essentially less investment to begin handling information when you have it, instead of holding up with handling until the whole payload has been sent</p><h3><strong>There are 4 kinds of streams in Node.js:</strong></h3><p><strong>1. Writable:</strong> Streams to which we can compose information. For instance, fs.createWriteStream() allows us to compose information to a record utilizing streams.</p><p><strong>2. Readable:</strong> Streams from which information can be perused. For instance: fs.createReadStream() allows us to peruse the items in a document.</p><p><strong>3. Duplex:</strong> Streams that are both Readable and Writable. For instance, net.Socket</p><p><strong>4. Transform:</strong> Streams that can alter or transform the information as it is written and read. For instance, in the case of file-compression, you can compose compressed data and read decompressed data to and from a file or record.</p><p>Each kind of Stream is an <strong><em>EventEmitter </em></strong>occurrence and tosses a few occasions at various examples of times. For instance, a portion of the regularly utilized occasions are −</p><p><strong>data — </strong>This occasion is terminated when there is data or information that is free to peruse.</p><p><strong>end — </strong>This occasion is terminated when there is no more data or information to peruse.</p><p><strong>error —<em> </em></strong>This occasion is terminated when there is any blunder getting or composing information/data.</p><p><strong>finish — </strong>This occasion is terminated when every one of the information/data has been flushed to a hidden framework.</p><p>In the event that you have proactively worked with Node.js, you might have run over streams. For instance, in a Node.js based HTTP server, request is a readable stream and response is a writable stream.</p><p>You could have utilized the fs module, which allows you to work with both Readable and Writable document streams. While you’re utilizing Express you are utilizing streams to interact with the client, likewise, streams are being utilized in each data set association driver that you can work with, on account of TCP sockets, TLS stack and other connections are completely based on Node.js streams.</p><h3><strong>Async iterator</strong></h3><p>It’s enthusiastically prescribed to utilize an <strong><em>async</em></strong> iterator while working with streams. As indicated by Dr. Axel Rauschmayer:</p><blockquote>Asynchronous iteration is a protocol for retrieving the contents of a data container asynchronously</blockquote><p>meaning, the current <strong><em>“task”</em></strong> might be stopped prior to recovering an item. Additionally, it’s vital to make reference to that the stream <strong><em>async</em></strong> iterator execution utilizes the ‘readable’ event inside.</p><p>You can utilize <strong><em>async</em></strong> iterator while perusing from readable streams:</p><h3><strong>Two Reading Modes:</strong></h3><p>As per Streams Programming interface, coherent streams successfully work in one of two modes: flowing and paused . A readable stream can be in object mode or not, whether or not it is in flowing mode or paused mode.</p><p><strong>In flowing mode — </strong>Information/data is perused from the underlying system automatically and given to an application as fast as possible utilizing events by means of the EventEmitter interface.</p><p><strong>In paused mode — </strong>The stream.read() technique should be called explicitly to peruse chunks of data from the stream.</p><p><strong><em>In a flowing mode</em></strong><em>,</em> to peruse data from a stream, it’s feasible to pay attention to data events and join a callback. At the point when a lump of data is free, the readable stream discharges a data event and your callback executes.</p><p><strong><em>In paused mode</em></strong><em>,</em> you simply have to call read() on the stream instance over and over until each lump of information/data has been perused.</p><h3><strong>pipeline()</strong></h3><p>piping is a mechanism where we give the result of one stream as the input to another stream. It is ordinarily used to get information from one stream and to pass the result of that stream to another stream. There is no restriction on piping tasks. All in all, piping is utilized to deal with streamed information/data in various advances.</p><p>In Node 10.x was presented stream.pipeline() . This is a module strategy to pipe between streams sending errors and appropriately tidying up and giving a callback when the pipeline is finished.</p><h3>The Stream Module</h3><p>The Node.js stream module gives the establishment whereupon all streaming APIs are assembled.</p><p>The Stream module is a native module that is by default in Node.js. The Stream is an instance of the <strong><em>EventEmitter </em></strong>class which handles events asynchronously in Node. Along these lines, streams are intrinsically event based.</p><h3>Conclusion</h3><p>This was about the fundamentals of streams and pipes which are impressive elements in Node.js. Streams can for sure assist you with writing slick and high performance code to perform I/O.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a7d9f4973572" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[My Journey Into Tech]]></title>
            <link>https://isaacetor.medium.com/my-journey-into-tech-e5c79bd05dfb?source=rss-4f5ba35285d8------2</link>
            <guid isPermaLink="false">https://medium.com/p/e5c79bd05dfb</guid>
            <category><![CDATA[journey]]></category>
            <category><![CDATA[webdev]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[beginner]]></category>
            <category><![CDATA[creative]]></category>
            <dc:creator><![CDATA[Isaac Etor]]></dc:creator>
            <pubDate>Sun, 02 Oct 2022 20:29:45 GMT</pubDate>
            <atom:updated>2022-10-02T20:29:45.863Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="My journey into tech" src="https://cdn-images-1.medium.com/max/880/1*QWbGyhT9vF0i1Uqo6OGfdA.jpeg" /></figure><p>While growing up I’ve generally envisioned myself as one who makes things, a little Divine force of some kind. So, I frequently considered ways of being that individual.</p><p>During the days of my high school, I joined a poetry club and as time passed by, I <a href="https://mypadies.wordpress.com/">composed wonderful sonnets </a>and performed at lovely spots and I was cheerful, however I wasn’t fulfilled.</p><p>I mean I wrote wonderful things of beauty right? that ought to qualify me to be some kind of god who makes lovely things with words, right? In any case, that fulfillment wasn’t there.</p><p>After my secondary school, I enlisted to GrenValue (a computer institute within my vicinity), to get a recognition in software engineering, I studied there for over 2 months and at a point I needed to end my studies since I was defaulting in my installments, I felt miserable and devastated, however what else was there to do? I wasn’t working.</p><p>Perhaps, in the event that I had some work I would proceed with my studies. Thus, I went in search of a job and a friend of mine took me to this seminar where he said they’d give us a job thereafter.</p><p>We went there and it was this marketing job where they’d give you an item to sell, and you’d need to refer individuals so your position would go up, the more individuals you allude to joining the program the more open doors you get.</p><p>Furthermore, I wasn’t great at marketing, talk more of alluding individuals to participate in something I wouldn’t appreciate doing.</p><p>So, throughout the seminar, the coordinators addressed us in turns, and when it was mine, he enlightened me on the work and asked for my thoughts, and I asked what issue they were tackling, I wasn’t happy with the response I got, and furthermore told them briefly about Mark Zuckerberg how he found an issue almost everyone is facing, settled it with tech and presently he’s one of the most richest and influential individuals on the planet.</p><p>By then the coordinator advised me to go, he realized my vision wasn’t there, my vision was in the tech industry, that was where the vision got clearer.<br>I was unable to return to GrenValue to proceed with my course since I got admission to the higher institution where I continued with studying computer science.</p><p>After my graduation I sought for further knowledge as the tech space is evolving and what we were taught in school appears to be a little obsolete.</p><p>Then, at that point, I found CodeLab, a computer institute that teaches you for near nothing to become a full stack software engineer. I applied to the school and was picked out of more than hundreds that applied.</p><p>Getting into the school we weren’t simply taught software engineering skills, we were additionally taught design thinking skills, project management skills and transformational leadership skills.</p><p>That is substantially more than I had anticipated.<br>Just quite a while back, I was unable to proceed with my studies at my past institute since I was unable to bear the cost and was taught very little.</p><p>Then, after a short while, I got into another institute that taught me and is teaching me still, what they would have taught me and considerably more for apparently nothing.</p><blockquote><strong><em>See how sometimes unfortunate things happen for something beautiful to sprout in one’s life?</em></strong></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e5c79bd05dfb" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>