<?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 Obed Mbroh Amoasi on Medium]]></title>
        <description><![CDATA[Stories by Obed Mbroh Amoasi on Medium]]></description>
        <link>https://medium.com/@obedamoasi?source=rss-a6f7401920d------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/2*OH9LtIb_81LpNoqlaJibCw.jpeg</url>
            <title>Stories by Obed Mbroh Amoasi on Medium</title>
            <link>https://medium.com/@obedamoasi?source=rss-a6f7401920d------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 04:05:23 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@obedamoasi/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[When not to choose Node JS for dummies]]></title>
            <link>https://obedamoasi.medium.com/when-not-to-choose-node-js-for-dummies-f7cbfb421b15?source=rss-a6f7401920d------2</link>
            <guid isPermaLink="false">https://medium.com/p/f7cbfb421b15</guid>
            <category><![CDATA[npm]]></category>
            <category><![CDATA[optimization]]></category>
            <category><![CDATA[backend]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[nodejs]]></category>
            <dc:creator><![CDATA[Obed Mbroh Amoasi]]></dc:creator>
            <pubDate>Tue, 20 Sep 2022 18:33:05 GMT</pubDate>
            <atom:updated>2022-09-20T18:33:05.431Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*nx08XfytJCrKT-SX" /><figcaption>Photo by <a href="https://unsplash.com/@neonbrand?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">NeONBRAND</a> on <a href="https://unsplash.com/s/photos/choice?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p>Well, I am primarily a JavaScript developer. In my Frontend, backend and even mobile, I stick with JavaScript and typescript, and I cannot over emphasis why Node JS is awesome. Throughout the lifetime of a project, I usually do not have to table in any other languages, but JavaScript, this reduces the overhead that comes with switching context. And with tools like Feathers.js, React Native Web, we seem to be even getting close to write once ship everywhere. But as a tech lead, CTO, or CEO starting your awesome startup, you will have to make a decision which technologies to go with, and if you are like me, your default might be Node, React, Mongo. Though this might not always fit the project, I think some myths why node JS might not be a good fit are worth debunking</p><p><strong>Myth: Callback hell issue</strong></p><p>Well anytime you read of the callback hell issue in an article try and check the date. It might be probably some ancient article. These days we have a lot of awesome ways to handle asynchronous code and callbacks in general in JavaScript. You can declare the functions separately and call them in each callback, that way the functions are nicely arranged. You can convert them to promises, if they are not already, and then then them (pun intended). You can use the famous async await, and everything will look normal in the code. If you are fancy, you can even use <a href="https://rxjs.dev/">rsjx</a> to handle all your async stuff. Javascript can be clean and awesome</p><p><strong>Myth: Immaturity of Libraries</strong></p><p>Well, again, each language has it young days, and when node started out some frameworks were cool, but they were just not production ready. Even till this date, not all packages are worth using from the npm repository, but now NPM has some very matured industry and production ready libraries and frameworks to jumpstart and hold on your product from start to finish. And if you want some type safety, typescript got you sorted. Here are a few you can check out if you don’t know them already.</p><p><a href="https://expressjs.com/">Express JS</a><br><a href="https://hapi.dev/">Hapi</a><br><a href="https://feathersjs.com/">Feathers</a><br><a href="https://nextjs.org/">NextJS</a><br><a href="https://nestjs.com/">NestJS</a><br><a href="https://nuxtjs.org/">NuxtJS</a></p><p>¯\_(ツ)_/¯ why so many Next libraries? Well, The list goes on and on and on</p><p><strong>Myth: doesn’t pair nicely with Relational Databases</strong></p><p>Just because Node has a thing for no SQL doesn’t mean its not fit or good for SQL based databases. Node JS fits perfectly with most Relational databases out there. I have seen some pretty bad C# code with database queries littered everywhere. But usually in node things get passed around nicely with an ORM, and those tools interfaces nicely with the framework.</p><p><strong>Heavy-Computational tasks.</strong><br>We all admit C is faster than light, but my point is, the close you get to machine code, the faster the programming language get. And this is true for all languages, as a result, interpreted languages are usually slow. But when people talk about this myth, they are usually referring to how node js is single threaded and how you can’t do multiple things at once. Well maybe in the past. But the current version of nodejs exposes multi threading to the developer in multiple ways. Clusters, processes, workers. You can pass off heavy computations to other threads whiles freeing up the main thread to handle more requests. There are a lot of ways to design your node js backend to be robust for computation.</p><p><strong>Why you may truly not want to consider Node JS</strong></p><p>With that said, lets look at some cases where you may truly want to not go the node js route. Not because nodejs is not great, but because, it doesn’t fit your needs perfectly.</p><p><strong>You have a team of backend developers who specialize in another Language</strong></p><p>If you have an awesome team with expertise in another language, and from your performance benchmarks, you are not going to take a hit from designing your awesome backend in that, I would say, stick to it. Unless you too want to hang out with the cool node js guys. But seriously, If you have a great team good with python Django, and it performs well for your backend after your research. No need to force your team to use node js</p><p><strong>You want lightening speed applications and You want drop low</strong><br>Again, the lower you go the faster you get. Though node js has some c++ low level internal implementation of some of it modules, you may want to go lo yourself in your application. In such cases, there is no point using node. Find yourself a low level language developer, C++? C? Assembly language? Machine code? Well how low you want to go depends on you, but I guess you get my point.</p><p>Do have a lovely day, and lets deploy some great apps. If you want to learn about frontend optimization, check out my articles here.</p><p><a href="https://betterprogramming.pub/avoid-unnecessary-renders-in-react-14e9dfeaf090">Avoiding Unnecessary Renders in React</a><br><a href="https://betterprogramming.pub/5-ways-to-lazy-load-react-components-4ffebf1c2088">5 Ways to Lazy Load React Components</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f7cbfb421b15" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[5 Ways to Lazy Load React Components]]></title>
            <link>https://medium.com/better-programming/5-ways-to-lazy-load-react-components-4ffebf1c2088?source=rss-a6f7401920d------2</link>
            <guid isPermaLink="false">https://medium.com/p/4ffebf1c2088</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[react]]></category>
            <category><![CDATA[front-end-development]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Obed Mbroh Amoasi]]></dc:creator>
            <pubDate>Wed, 02 Feb 2022 16:04:03 GMT</pubDate>
            <atom:updated>2022-02-11T11:26:04.145Z</atom:updated>
            <content:encoded><![CDATA[<h4>Optimise your React frontend for a better user experience</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*sS8kvIjcGoXhZmaF" /><figcaption>Photo by <a href="https://unsplash.com/@kstonematheson?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Kate Stone Matheson</a> on <a href="https://unsplash.com/s/photos/lazy?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p>Usually, when I look at Figma and XD designs they look longer than its wide, oh I mean they are mostly portrait.</p><p>But that’s fine, we all do not expect the whole design to appear on the screen at the same time, we understand that, part of the design will be on the screen and part of the design will be available as the user scrolls.</p><p>Awesome. So we wear our goggles and start implementing the designs pixel by pixel. The question is: If we fundamentally are aware that the design will not be visible on the screen at the same time, why then do we bother the browser to render it all at once? Can’t we find a nice way of telling the browser to render only the upcoming component.</p><p>How dare the footer, compete for resources with the header when the page is loaded, chances are if you look at your website stats, or usage heat map, there aren’t as many hits to the footer anyway.</p><p>The goal here is to give priority to components and elements that are critical to the UX at a particular time. And thankfully React has some awesome API and pointers for us to optimize just that.</p><h3>Let’s start with images.</h3><p>Images are just resource intensive, usually, they make a huge portion go the resources that is being served too a page. The problem is, not all images are actually needed. Take for example a slide show, the most important image is the one currently available.</p><p>Why then should all the images be given the same priority when requesting the resource from the server?</p><p>Let&#39;s consider another case where the image isn’t available in the viewport, again, these images shouldn’t be given as many priorities as the images in the viewport.</p><p>Lastly, if we take a step back, you may realize, sometimes, even the images in the view port shouldn’t block, nor prevent the site from loading other content, such as the CSS, and some core JavaScript.</p><p>My go-to is to defer all images as long as the page can be fine without the image, I say, let’s defer the loading of the image till other components are loaded. You can then load the images in the background or when they come into the viewport.</p><p>Let&#39;s look at a few ways we can do this.</p><h3>1. Native support loading=‘lazy’</h3><blockquote>From MDN docs</blockquote><blockquote>Lazy loading is a strategy to identify resources as non-blocking (non-critical) and load these only when needed. It’s a way to shorten the length of the critical rendering path, which translates into reduced page load times.</blockquote><blockquote>Very often, webpages contain many images that contribute to data-usage and how fast a page can load. Most of those images are off-screen (non-critical), requiring user interaction (an example being scroll) in order to view them.</blockquote><p>All we have to do is to add loading=“lazy” to the image as such</p><pre><br>&lt;img src=”image.jpg” alt=”…” loading=”lazy”&gt;</pre><p>This works amazingly, it will load and render the image as it comes into view and not treat it as a critical resources. Unfortunately, its not supported by all browsers as a result, its recommended to add <a href="https://github.com/mfranzke/loading-attribute-polyfill">polypill</a>.</p><h3>2. Intersection Observer API</h3><p>Another way to do this is to use the intersection observer API.</p><p>Mozilla web documentation describes the intersection observer API as:</p><blockquote>The Intersection Observer API provides a way to asynchronously observe changes in the intersection of a target element with an ancestor element or with a top-level document’s <a href="https://developer.mozilla.org/en-US/docs/Glossary/Viewport">viewport</a>.</blockquote><blockquote>The Intersection Observer API lets code register a callback function that is executed whenever an element they wish to monitor enters or exits another element (or the <a href="https://developer.mozilla.org/en-US/docs/Glossary/Viewport">viewport</a>), or when the amount by which the two intersect changes by a requested amount. This way, sites no longer need to do anything on the main thread to watch for this kind of element intersection, and the browser is free to optimize the management of intersections as it sees fit.</blockquote><p>We will first attach an empty src to our image, and when it is in view we will attach our src, the browser will then fetch the src, and it will be a win win for all.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/4ff1711b8b799b3cacdeb70d98c3eda9/href">https://medium.com/media/4ff1711b8b799b3cacdeb70d98c3eda9/href</a></iframe><h3>3. Using Libraries</h3><p>There are other libraries out there that can help with this in the JavaScript ecosystem, and some specific to react.<br>I will list them here but not go into details of how to use them, as they all have a similar concept of what we have discussed here.</p><ul><li><a href="https://www.npmjs.com/package/react-lazy-load-image-component">React Lazy Load Image</a></li><li><a href="https://www.npmjs.com/package/lozad">Lozad</a></li><li><a href="https://www.npmjs.com/package/yall-js">Yall-js</a></li><li><a href="https://www.npmjs.com/package/lazysizes">Lazy Sizes</a></li></ul><p>Unfortunately the non-react-based might change the DOM directly so you may want to avoid them.</p><p>Actually, you can create an image component, and lazy load it using React.lazy() and React.suspense(). Let&#39;s look at these two next.</p><h3>4. Lazy loading components</h3><p>Now with the concept of lazy loading images out of the way, we can extend it to other components, again, why do some computations and animations when the element hasn’t appeared in the view. You should again defer loading non critical components. You can achieve this with the inbuilt React.Lazy, React.Suspense and dynamic imports.</p><p>This is react’s approach to easily code split your code. According to the docs</p><blockquote>Code-splitting your app can help you “lazy-load” just the things that are currently needed by the user, which can dramatically improve the performance of your app. While you haven’t reduced the overall amount of code in your app, you’ve avoided loading code that the user may never need, and reduced the amount of code needed during the initial load.</blockquote><p>Let’s consider an About page, we may want to show some articles and a newsletter beneath the actual about content.</p><p>The about page may be huge with some images, but as we learned from above, e managed to defer the images, but we are still not super cool with the size of the page.</p><p>We can decide to split the newsletter, and the articles from the about page to reduce the size of the initial load. Let&#39;s see how we can achieve that here:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/43f4bf002297532e9a3452b218f6b377/href">https://medium.com/media/43f4bf002297532e9a3452b218f6b377/href</a></iframe><p>Let&#39;s go through what’s happening here.</p><p>import(“./NewPost”) — This tells the bundler we want to code split here and not add it to the bundle.</p><p>const Posts = React.lazy(() =&gt; import(“./Posts”)); — This creates a usable component, which we can add to our Jsx as if its a component. But to add it, we will wrap it in the Suspense component, so we can specify a fallback, which should be rendered as long as our component hasn’t completed fetching. You can show your awesome loader here. And just like that, and we will be good to go.</p><h3>5. Virtualize huge tables</h3><p>We all understand that it&#39;s a bad user experience to show a user a huge list so we agree to paginate or load them infinitely.</p><p>Pagination is great, as it means we will only load a sizeable amount of data from the server to show the user at a particular time. But whatever we do, there might be times even the paginated list might not fit on the screen. This is where I believe virtualized list shines.</p><p>I first found the concept of virtual lists from Android. On mobile we do not have much resources, so we cant be using memory anyhow The RecyclerView only had a few containers that the data could be rendered in. And when the view gets into the screen, it uses one of the existing containers to render the element, when it is scrolled out of the screen, the container is recycled back, and the data detached, to be reused again.</p><p>So if the list can show only 9 things at a time, no matter how many elements you give it to show on the screen, it will use just 9 containers, and be looping through it. We can use a similar concept in React with the help of react-window.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/d8baf4c1a98ca0f321407a4478cc3aee/href">https://medium.com/media/d8baf4c1a98ca0f321407a4478cc3aee/href</a></iframe><p>Lemme explain a few props here:</p><ul><li>The itemKey is a function that gets the required key for your item to be rendered. It will use the index if not passed.</li><li>The height and width are the dimensions of the container (Table).</li><li>ItemSize is the height if vertical and width if horizontal of the item to be rendered</li></ul><p>You can check out the react window docs <a href="https://react-window.vercel.app/#/examples/list/fixed-size">here</a>. There are other ways of implementing this, but I find the react-window library a bit easy and straightforward to start with. You can check out this post by <a href="https://developers.google.com/web/updates/2016/07/infinite-scroller">Google</a> or Check out how @moshe_31114 built <a href="https://medium.com/@moshe_31114/building-our-recycle-list-solution-in-react-17a21a9605a0">his</a>.</p><p>If you want to check out how you can prevent multiple rendering in react, check out my article <a href="https://betterprogramming.pub/avoid-unnecessary-renders-in-react-14e9dfeaf090">here</a>. This is part of my series of articles focusing on optimizing the React front end.</p><p>Thanks for reading.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4ffebf1c2088" width="1" height="1" alt=""><hr><p><a href="https://medium.com/better-programming/5-ways-to-lazy-load-react-components-4ffebf1c2088">5 Ways to Lazy Load React Components</a> was originally published in <a href="https://betterprogramming.pub/">Better Programming</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Avoiding Unnecessary Renders in React]]></title>
            <link>https://medium.com/better-programming/avoid-unnecessary-renders-in-react-14e9dfeaf090?source=rss-a6f7401920d------2</link>
            <guid isPermaLink="false">https://medium.com/p/14e9dfeaf090</guid>
            <category><![CDATA[front-end-development]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[react]]></category>
            <category><![CDATA[programming]]></category>
            <dc:creator><![CDATA[Obed Mbroh Amoasi]]></dc:creator>
            <pubDate>Sun, 30 Jan 2022 06:14:10 GMT</pubDate>
            <atom:updated>2022-01-31T15:23:28.817Z</atom:updated>
            <content:encoded><![CDATA[<h4>Optimize your React front end</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*Q-rM-FUo1EoehnDT" /></figure><p>The promise of React is, it will render a component, when its props or state changes.</p><p>Whiles this is great, we may not want all changes to actually trigger re-rendering. As a result, we need to handle these well. We will go through some cases in which we can and should prevent re-rendering from happening.</p><h3><strong>Pass Only needed Props</strong></h3><p>Do not pass unnecessary props to components, only pass what is needed. <br>Take 2 sibling components, a circle component, which is animated across the screen, and a text component, that just outputs the radius of the circle,</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/6126d6c76fb44d3412f2b1072bef196f/href">https://medium.com/media/6126d6c76fb44d3412f2b1072bef196f/href</a></iframe><p>The problem with this is, even though Info does not depend on xCenter and yCenter, changes to it as the circle moves on the screen will be rerendered again, thereby causing it to re-render.</p><p>To fix this, we should explicitly pass only components needed to the child components. The Screen component should be modified like below.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/e906d0230107887730fdcfc36ab352e3/href">https://medium.com/media/e906d0230107887730fdcfc36ab352e3/href</a></iframe><p>This way, we can ensure that only the needed props are passed down to the component. This is why I love TypeScript, it would have flagged the initial code without blinking twice.</p><h3><strong>Use React.Memo to avoid Rerendering</strong></h3><p>Anyway, even with these improvements, we are still not done.</p><p>The problem is, if the parent component is re-rendered because of a change in prop or state, the child component, might also be rerendered even though it doesn’t depend on the prop.</p><p>We can fix this with memoization, this ensures that the component is re-rendered only when its props and state are changed. Follow <a href="https://dmitripavlutin.com/use-react-memo-wisely/">this</a> pattern to use React.memo wisely.</p><p>The memoized components will look like this:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/cb995bf6ad8d6d2ed396a2b0555806c8/href">https://medium.com/media/cb995bf6ad8d6d2ed396a2b0555806c8/href</a></iframe><p>Now to use it, we import the memoized versions instead. And we should even memoize the parent to avoid any rerenders there too, this way, if the parent of the parent changes, the Screen will not be redrawn. Though depending on your usecase, this might not happen.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/3684a3acd372a72786e61852177bef7c/href">https://medium.com/media/3684a3acd372a72786e61852177bef7c/href</a></iframe><h3><strong>Use Callbacks to Prevent Passing Functions Multiple times</strong></h3><p>Let&#39;s introduce another component a button in the screen which just sits ad handle some clicks to do some awesomely cool stuff. Let&#39;s also not forget to memoize it so we get the cool feature we just discussed.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/d6316b07b79e6e144e043f44906af24c/href">https://medium.com/media/d6316b07b79e6e144e043f44906af24c/href</a></iframe><p>Now, there is a gotcha here. Change detection used for components is a shallow one, it usually compares only reference changes.</p><p>For example, consider:</p><pre>const object1 = {a:1}<br>const object2 = {a:1}<br>object1 == object2</pre><p>This will give you false. This is because the two objects point to different references and as a result, are different even when passed as props.</p><pre>&lt;MemoizedButton handleClick={() =&gt; {superClick(radius)}}/&gt;</pre><p>What is happening here is anytime the Screen component is rendered, the Button will still be re-rendered just because a new handleClick will be reassigned.</p><p>To fix this, we need to wrap the function in a useCallback hook:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/063a8de82410c910af28996d0c9b9b8e/href">https://medium.com/media/063a8de82410c910af28996d0c9b9b8e/href</a></iframe><blockquote>The official React docs explain this nicely:</blockquote><blockquote>useCallback will return a memoized version of the callback that only changes if one of the dependencies has changed. This is useful when passing callbacks to optimized child components that rely on reference equality to prevent unnecessary renders<br><a href="https://reactjs.org/docs/hooks-reference.html#usecallback">https://reactjs.org/docs/hooks-reference.html#usecallback</a></blockquote><h3><strong>Now let&#39;s move on to lists</strong></h3><p>Always use Unique Keys to avoid re-rendering large lists. Not having a key is bad, but using a key that has the potential to change between render cyles is also bad, if not “badder”. The goal here is to use a key that will not change even when the component is re-rendered.</p><p>For example, rendering a list of Article cards, this can be the slug of the article, the URL of the article, the database ID of the article if available. If it&#39;s a list of strings, the string itself can be considered to be the key if they are unique.</p><p>Once the keys are unique, React will know to only render items in the list that change and not to the whole list if something changes in the list. Now I know this is a lot, I will explain further in another article.</p><p>User resources are hard to come by, so do not use is unnecessary. This is the first part of my series of articles focusing on Optimizing the React front end. Thanks for reading.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=14e9dfeaf090" width="1" height="1" alt=""><hr><p><a href="https://medium.com/better-programming/avoid-unnecessary-renders-in-react-14e9dfeaf090">Avoiding Unnecessary Renders in React</a> was originally published in <a href="https://betterprogramming.pub/">Better Programming</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Conflict of interest | Physician-owned Health facilities in Ghana]]></title>
            <link>https://obedamoasi.medium.com/conflict-of-interest-physician-owned-health-facilities-in-ghana-1fe3347f4351?source=rss-a6f7401920d------2</link>
            <guid isPermaLink="false">https://medium.com/p/1fe3347f4351</guid>
            <category><![CDATA[health]]></category>
            <category><![CDATA[ghana]]></category>
            <category><![CDATA[hospital]]></category>
            <dc:creator><![CDATA[Obed Mbroh Amoasi]]></dc:creator>
            <pubDate>Thu, 27 Jan 2022 19:43:31 GMT</pubDate>
            <atom:updated>2022-01-27T19:43:31.582Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*V2ukpkwdmfOLhudu" /></figure><p>The health sector is critical to the success of any economy. It also promotes national progress. In developing countries, healthcare and life expectancy are becoming increasingly essential in determining economic success. Increased life expectancy leads to increased economic growth, (M. Cervellati and U. Sunde (2011). Unfortunately, in underdeveloped countries, the health sector is not always at its best. In Ghana, the government administers around 78 per cent of the health industry (Oxford Business Group, 2021), while the private sector handles the remainder. Nevertheless, some of these private health sectors are physician-owned, and this paper will discuss the conflict of interests in the management of physician-owned health centres. We will explore the laws, if any exist, that address these conflicts of interest. We will discuss proposed policies that can be put in place to curb and manage these conflicts of interest as well</p><p>Due to the low capacity of facilities compared to the volume of people needing them, almost all hospitals are always overburdened. The scarcity of healthcare drives up its demand and the private hospitals charge a premium for people needing their services. The conflict of interest that arises here is the redirection of patients from state-owned hospitals to physician-owned private hospitals. The thing is, the government still employ these physicians even though these physicians own their private clinics, There is no policy or law to check and bar these physicians from ending up in the public sector, and this is largely due to the insufficient physicians available. Moreover, almost all sought-after specialists have established their private practices. Therefore, refusing to employ them would mean refusing to employ the best in the workforce.</p><p>Unfortunately, the referral procedure by the Ministry of Health doesn’t have the policy to check for conflict of interest when a patient is being referred. Though referral records are taken and kept, the policy itself doesn’t have anything written on referrals to clinics for conflict of interest. This means doctors can refer patients to themselves in their private hospitals with ease without facing any hindrance or the law afterwards. Sometimes, these doctors do not refer the patients through the proper procedure. They sometimes refer a patient to their practice by word of mouth. If a doctor is off duty on a specific date, he or she can request that the patient meet him or her at his or her private hospital for further examination.</p><p>I believe policies should be put in place, and referrals should only be done if necessary. Also, any doctor with a conflict of interest should not be allowed to authorise referrals to his facility. These should be frowned on and punished. That said, the government should either improve the public health sector to ensure that it can accommodate a large number of people or try and regulate the private health sector to prevent unethical referrals and competition.</p><p><strong>References</strong></p><p>Cervellati, M., &amp; Sunde, U. (2011). Life expectancy and economic growth: the role of the demographic transition. Journal of Economic Growth, 16(2), 99–133. <a href="http://www.jstor.org/stable/41486924">http://www.jstor.org/stable/41486924</a></p><p>Ghana’s Growing Middle Class Presents Opportunities In Private Health Care | Ghana 2019 | Oxford Business Group. (2019, March 1). Oxford Business Group. <a href="https://oxfordbusinessgroup.com/overview/finger-pulse-improvements-made-universal-coverage-growth-middle-class-boosts-opportunities-private">https://oxfordbusinessgroup.com/overview/finger-pulse-improvements-made-universal-coverage-growth-middle-class-boosts-opportunities-private</a>.</p><p>Ministry of Health (n.d) Retrieved from <a href="https://www.moh.gov.gh/wp-content/uploads/2016/03/Referral-Policy-Guidelines.pdf">https://www.moh.gov.gh/wp-content/uploads/2016/03/Referral-Policy-Guidelines.pdf</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1fe3347f4351" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What does Ethical purchasing mean to you?]]></title>
            <link>https://obedamoasi.medium.com/what-does-ethical-purchasing-mean-to-you-e09b2037ce3e?source=rss-a6f7401920d------2</link>
            <guid isPermaLink="false">https://medium.com/p/e09b2037ce3e</guid>
            <category><![CDATA[sustainability]]></category>
            <category><![CDATA[ethics]]></category>
            <category><![CDATA[purchasing]]></category>
            <dc:creator><![CDATA[Obed Mbroh Amoasi]]></dc:creator>
            <pubDate>Thu, 27 Jan 2022 19:38:35 GMT</pubDate>
            <atom:updated>2022-01-27T19:44:59.822Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*BiGIJ_3cgiUO7lTJ" /></figure><p>I wouldn’t want to buy anything from someone who harasses their workers, much less work for them. Consumption has always had an ethical dimension to it. I am not alone in this. According to a study by Bucic et al, people in different socio-economic groups and countries react differently to business ethics and a significant number of them consider purchasing ethically (2012). What does this mean to business owners? It means not only do ethical practices help them steer clear of the clutches of the law but they win over customers. Here, will discuss how effective ethical management provides a better business environment that benefits all parties, including employees, employers, and customers. We will also discuss how this may play out in the case of a self-employed person.</p><p>First, there is a generalisation that ethics in business isn’t profitable. The patience for the ethical treatment of employees and even the environment is lost in the pursuit of easy and big profits. They find the shortest possible path to accrue revenue without direct legal repercussions. In my county, Ghana, most furniture companies will rather obtain wood from legal and sanctioned sources instead of the informal black market. But the reason for choosing the legal route is merely a fear of legal consequences and the risk of loss, not an ethical reason. To them, illegal timber is cheap until they are apprehended by the authorities. But when the unethical choices are not outrightly illegal, they consider those unethical choices. How much time do they lose? How much money do they spend? How much more employees should they get and protect? How will their performance improve overall if they do everything ethically? Oftentimes, but not always, unethical things are technically legal. And once the law is out of the way, companies focusing on profits will make certain fast changes.</p><p>Business ethics create a good mental environment for employees to work in. This is because, first of all, the well-being of the employees are considered. The law does not obligate most businesses to take care of the personal well-being of their employees, however, if employers did so, it would improve employee commitment, establish trust in the workplace and ultimately improve performance. Employees themselves become ethical if they see their companies demonstrating so, (University of Redlands, 2019). It increases employee loyalty and morale, (Horton, 2021). This will provide stability to not only the employees by giving them a stable work and a career path, but it may also reduce employee turnover and Employers can retain their most skilled workers. <br> <br>Consumers adjust their purchasing behaviour due to unethical behaviour seen from employers of certain establishments because of their moral stance. When, for instance, unethical behaviour affects the consumer, more than their purchasing behaviour changes. A large scale boycotting of the company could ensue. The consumers could sue the employers and so on.</p><p>Building effective ethical management can start by having a laid down framework for ethics, to abolish confusion. They can take it a step further by training their employees in ethics as well as having periodic auditing and being unbiased with implementing the already laid down framework. unfortunately, these processes are not always available in cases of self-employment, where the ethics of the company usually lies on the ethics of an individual, with no one to correct or audit on day-to-day. (IPAG, n.d)</p><p>Nevertheless, effective and ethical management benefits all stakeholders of an organization. The question I ask you now is, will you adjust your consumption</p><p><strong>References</strong></p><p>Bucic, T., Harris, J., &amp; Arli, D. (2012). Ethical Consumers Among the Millennials: A Cross-National Study. Journal of Business Ethics, 110(1), 113–131. <a href="http://www.jstor.org/stable/41684017">http://www.jstor.org/stable/41684017</a></p><p>Horton, M. (2021, November 17). Why are business ethics important? Investopedia. Retrieved 2021, from <a href="https://www.investopedia.com/ask/answers/040815/why-are-business-ethics-important.asp">https://www.investopedia.com/ask/answers/040815/why-are-business-ethics-important.asp</a>.</p><p>3 reasons why business ethics is important: University of Redlands. Redlands. (2019, May 9). Retrieved November 18, 2021, from <a href="https://www.redlands.edu/study/schools-and-centers/business/sbblog/2019/may-2019/3-reasons-why-business-ethics-important/">https://www.redlands.edu/study/schools-and-centers/business/sbblog/2019/may-2019/3-reasons-why-business-ethics-important/</a>.</p><p>Creyer, E.H. (1997), “The influence of firm behaviour on purchase intention: do consumers really care about business ethics?”, Journal of Consumer Marketing, Vol. 14 №6, pp. 421–432. <a href="https://doi.org/10.1108/07363769710185999">https://doi.org/10.1108/07363769710185999</a></p><p>What is Ethical Management and why is it an important issue for companies? IPAG. (n.d.). Retrieved November 18, 2021, from <a href="https://www.ipag.edu/en/blog/ethical-management">https://www.ipag.edu/en/blog/ethical-management</a>.</p><p>This or a modified version of this was first submitted to <a href="https://uopeople.edu/">uopeople</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e09b2037ce3e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Digital Marketing Todos for your website]]></title>
            <link>https://obedamoasi.medium.com/digital-marketing-todos-for-your-website-e3628c1097f2?source=rss-a6f7401920d------2</link>
            <guid isPermaLink="false">https://medium.com/p/e3628c1097f2</guid>
            <category><![CDATA[seo]]></category>
            <category><![CDATA[analytics]]></category>
            <category><![CDATA[digital-marketing]]></category>
            <dc:creator><![CDATA[Obed Mbroh Amoasi]]></dc:creator>
            <pubDate>Thu, 27 Jan 2022 19:24:35 GMT</pubDate>
            <atom:updated>2022-01-28T05:53:13.042Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*PoL2wbA3JrcSPbSU" /></figure><p>So you are done with your awesome website. Well done! But there is more from this point onward. You have a long way to go if you want your website to be profitable. And this doesn’t just go for only E-commerce websites. All websites are created to be seen and visited. You have something to tell the world, which is why you created your website. Unfortunately, there are over 1 billion websites out there, and unlike the initial days of the internet where every website looked kinda amazing, it isn’t so anymore. If your website is going to stand out, it will need some extra work. You need more visitors, you need more visibility — you need traffic! Sit tight while I walk you through free things you can do to increase your traffic and show your website to the world.</p><p><strong>1. Fix up your SEO</strong><br> Out of the billion websites in the world, some are search engines. These are lifesavers. How does one find what they need in a sea of websites? Search engines solve this problem. Now we do not have to remember the exact name of the website. We can search for exactly what we need and the websites that contain those things pop up almost immediately. The search engine is important because of this. Take advantage of it. You want to position your website so that whenever the user searches for something relevant to or contained in your website, you appear. This is where SEO (search engine optimization) comes in. Now I know, you hear about SEO every day but optimizing your website for search engines grow your website’s visibility. Here are a few pointers on how to make your website optimized for user searches, so that your website, out of the others, appear on the first page of a search engine result.</p><p>Get a few phrases of what you stand for. Let’s say you sell pretty flowers in your locality. Your shop is Awesome flowers. Phrases such as flower bouquets and the scented floor in Ghana are keywords that prospective buyers may type in search engines. <br>Search engines use what we call meta tags and the content of the website to determine which search should appear first. Popular standards are the <a href="https://ogp.me/">Open Graph Protocol</a> and the <a href="https://json-ld.org/">JSON-LD</a> Go through these and make sure you have them on all your pages. Also, Provide a sitemap and robot.txt, for easy crawling of your site.</p><p>Make sure to keep your website up to date with relevant information and be sure to add an FAQ, Terms and Privacy Policy to your website.</p><p><strong>2. Create a Newsletter</strong><br>So now you have people coming to your website. Congratulations! But you are still not done, just like the subscribe and follow buttons on social media, you will need a way to alert the visitors of your website that you have new and amazing content. This is where the newsletter comes in. Your goal here is to collect emails of visitors and, using your exciting newsletters, turn them into fans. Do it right and these visitors will always be refreshing their emails to get your content. There are a few free services to start with, which include <a href="https://mailchimp.com/">Mailchimp</a>, <a href="https://www.mailerlite.com/">MailerLite</a> and <a href="https://www.sender.net/">Sender</a>. Your goal here is to only send your subscribers relevant information, and only what they subscribed for. Do not bombard them with irrelevant emails lest you go to their spam, or risk being unsubscribed.</p><p><strong>3. Collect and analyze your traffic insights</strong><br>Probably this should even be the first, but I am assuming you will have all these before you launch so I saved the best for the last. You will have to record and keep track of the users that visit your website and the actions they do on your site. This is invaluable as over time you can measure your performance against some benchmarks and you can also note when a new introduction to the site affects usage and other metrics you are tracking. I cannot emphasize this enough. Even if you do not plan to look at your analytics, I say it’s worth collecting the data, it will become valuable in the future. Collect all info which you can; clicks, scrolls, heat-map, bounce rate, navigation etc. A few services you can rely on include <a href="https://analytics.google.com/analytics/web/">Google Analytics</a>, <a href="https://tagmanager.google.com/">Google Tag Manager</a> and <a href="https://segment.com/">Segment</a>, <a href="https://mixpanel.com/">Mix Panel</a>.</p><p><strong>4. Make informed decisions</strong><br>Once you have your analytics and data in place, you can make an informed decision about your audience by analyzing how changes in your website affect your audience, and with this, you should approach it scientifically. I suggest you can use A/B split testing to test out new features before launching. In AB Split testing, you test one and only one thing at a time, and you always keep a control group so you can measure performance.</p><p>There is always more but I will expand on them in another article. Stay tuned! All the best and have a successful launch of your product.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e3628c1097f2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Eureka!!! The Joy Of Teaching.]]></title>
            <link>https://medium.com/bee-and-bloom/eureka-the-joy-of-teaching-9cbfac21fb44?source=rss-a6f7401920d------2</link>
            <guid isPermaLink="false">https://medium.com/p/9cbfac21fb44</guid>
            <category><![CDATA[volunteering]]></category>
            <category><![CDATA[africa]]></category>
            <category><![CDATA[teaching]]></category>
            <category><![CDATA[learning]]></category>
            <category><![CDATA[happiness]]></category>
            <dc:creator><![CDATA[Obed Mbroh Amoasi]]></dc:creator>
            <pubDate>Fri, 17 May 2019 12:07:40 GMT</pubDate>
            <atom:updated>2019-05-17T12:29:39.862Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nEfcx3IFfpJCuXMjdP-w4w.jpeg" /></figure><p>Everyone has his or her thing, that one thing that makes you feel in sync with the Universe; a monk cross-sitting and chanting “Kumbaya” , a scuba diver spending time underwater, admiring nature, indulging in art- the list is as endless as the billions of human beings on earth. As I write this, my lips stretch in a silly smile thinking of my thing and the thing of many like minded people, the joy of learning and teaching. Ha! The mind activating task of finding out new things and pointing them out. Whether it is sitting my nephews and nieces down to confuse their brilliant brains about the mysteries of numbers or indulging my rather disinterested friends in the adventure of studying other cultures.</p><p>Don’t let it scare you, I am not a bore. I really don’t think I can be- not with the interesting things this vast world has to teach. Learning is a fun thing and teaching is even more exciting. There is no doubt that these two phenomena go hand in hand, I feel it is some sort of treachery to have knowledge and keep it away from someone. Ah! The thought of it- that will never have a place in my brain. It is a criminal act as the Good book rightly espouses that the lack of knowledge leads to perishing. My epistemological tendencies got me reaching out in numerous volunteering teaching, an activity most of my friends can’t seem to comprehend. After all in this our ‘moneyverse’ it makes no sense to indulge in an activity that does not count in dollars. Oh but it counts- it truly does and this article is to show you how.</p><p>Learning and teaching is rewarding in itself. It is like soul food. It lends meaning to our life, if you think about it you’d find that this phenomenon is characteristic of our lives. And if it is, why not enjoy it to its fullest. We never stop learning; not from when we learnt to crawl, walk and eat without painting our area with food to the point where we are old and staring into a beautiful night sky. And we never stop teaching too- we can’t be that selfish😏. These two are so related that in learning we teach and in teaching we learn. Now that you know that this is a life long process like breathing, why not relish it.</p><p>The light bulb experience. Before you lift your questioning eyebrows let me fix a light bulb on your head. I am fascinated that finding an answer or getting a brilliant idea is symbolized by a bright bulb over our heads. It brilliantly portrays the illuminating experience of learning and teaching which is so very much necessary in this our dark world. The joy of learning something new can make you go fully naked running the streets crying, “Eureka! Eureka!”. If you don’t believe me you can go ask Archimedes. Anyway, I find it a great pleasure to go around fixing light bulbs on the heads of many and sometimes their hearts too, when I teach them something beautiful about themselves. Oh yes. I am grinning.</p><blockquote>“There are no foolish questions, and no man becomes a fool until he has stopped asking questions.”<br> — Charles Proteus Steinmetz.</blockquote><p>A great service to the Universe. Is this not naturally right? The universe teaches us so much, some life instances almost look as if the universe is nudging at our curiosity,calling on us to, “Ask”, “Knock” and “Seek”. It is only right that when we answer to this call we should move on to partner with it and help others relish this beautiful joy. Depopulate the number of people perishing from lack of knowledge. Teach them how to purify water, why they should wash their hands, engage in family planning, why love others and why learn as much as they can. Teach For Joy.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9cbfac21fb44" width="1" height="1" alt=""><hr><p><a href="https://medium.com/bee-and-bloom/eureka-the-joy-of-teaching-9cbfac21fb44">Eureka!!! The Joy Of Teaching.</a> was originally published in <a href="https://medium.com/bee-and-bloom">Bee and Bloom</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>