<?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 Abiel Asimiea on Medium]]></title>
        <description><![CDATA[Stories by Abiel Asimiea on Medium]]></description>
        <link>https://medium.com/@dbestabi28?source=rss-4a6dfa437f16------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*bTeJ2U2OCw2ohGIR</url>
            <title>Stories by Abiel Asimiea on Medium</title>
            <link>https://medium.com/@dbestabi28?source=rss-4a6dfa437f16------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 15:30:23 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@dbestabi28/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[Unlocking the secrets to becoming a top-notch developer in 2024 through a journey of continuous…]]></title>
            <link>https://medium.com/@dbestabi28/unlocking-the-secrets-to-becoming-a-top-notch-developer-in-2024-through-a-journey-of-continuous-88bcf1db884e?source=rss-4a6dfa437f16------2</link>
            <guid isPermaLink="false">https://medium.com/p/88bcf1db884e</guid>
            <dc:creator><![CDATA[Abiel Asimiea]]></dc:creator>
            <pubDate>Wed, 06 Dec 2023 11:27:49 GMT</pubDate>
            <atom:updated>2023-12-06T11:27:49.388Z</atom:updated>
            <content:encoded><![CDATA[<h3>Unlocking the secrets to becoming a top-notch developer in 2024 through a journey of continuous learning! Explore the captivating techniques that will elevate your skills and make you a standout in the world of development. 🚀✨</h3><p>In the fast-paced realm of technology, change is the only constant. As developers, staying relevant is the key to job market success. Adaptation is not just a choice; it’s a necessity to preserve our professional value.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/713/1*qUQa3Xe09TH2oLjvhe0jKw.jpeg" /></figure><p>In this blog post I’m about to spill the beans on tried-and-true techniques that let you level up your skills while balancing the demands of your day job. Stay in the loop with the latest tech trends without breaking a sweat. 🚀📚 .</p><p><strong>Stay current with the tech you use and the hottest in-demand technologies. 🚀</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/626/1*14sMNHRUl-yhrxR-IV9IUA.jpeg" /></figure><p>Before we jump into the world of continuous learning, let’s recognize the simple truth: knowing what to learn starts with understanding what’s changing around us. 🌟📚</p><p>Stay in the know by following individuals who consistently discuss specific technologies. Even better, keep tabs on the companies that provide those technologies. For instance, following Vercel is a smart move if you want to stay current with all things related to Next.js. 🚀🔍</p><p>Discover a time that feels comfortable for your study sessions. Whether it’s the tranquility of the morning or the peacefulness of the evening, find your ideal study zone. 📚⏰</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/736/1*YlBuQ58nFMKp4PmOcWwntQ.jpeg" /></figure><p>Turn it into a routine and stay disciplined. Commit to your tech studies at the designated time without any excuses. Consistency is the key to mastering your craft! 🚀📆</p><p>Embrace the renowned Pomodoro Technique to keep your study sessions lively. Breaks are your secret weapon against boredom; use them for enjoyable activities. If you’re burning the midnight oil, these breaks not only combat fatigue but also help you stay alert. My personal twist is two hours of study followed by a 25-minute break, but feel free to adjust to your comfort level! 🍅⏰ #PomodoroMagic</p><p>Acknowledge that mastery takes time and practice. You won’t become a tech guru after one study session — remember, you’re human, not a deity. Achieving excellence requires consistent effort and a journey of continuous learning. 🌟🚀</p><p>Hold onto your dreams and aspirations when the going gets tough. Before throwing in the towel, remember why you started in the first place. Don’t give up, because the only difference between dreams and reality is the time and hard work you’re willing to invest. 💪 #DreamBig</p><p><strong><em>That’s my twenty cents for today! Until next time, don’t forget to live, give a clap, and hit that follow button. Stay awesome, folks! 👏🌟</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/675/1*NEc2nEOcOhIib5So9ptOow.jpeg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=88bcf1db884e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Vercel’s new release Nextjs14.0 Good or Bad]]></title>
            <link>https://medium.com/@dbestabi28/vercels-new-release-nextjs14-0-good-or-bad-9d533cd06062?source=rss-4a6dfa437f16------2</link>
            <guid isPermaLink="false">https://medium.com/p/9d533cd06062</guid>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[sql]]></category>
            <category><![CDATA[vercel]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[nextjs]]></category>
            <dc:creator><![CDATA[Abiel Asimiea]]></dc:creator>
            <pubDate>Sun, 29 Oct 2023 14:32:54 GMT</pubDate>
            <atom:updated>2023-10-29T15:05:40.475Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/300/1*Wfz7DT45L3vlx8ipBm5roQ.jpeg" /></figure><p>Vercel has just unveiled the most recent iteration of Next.js, the React framework that has garnered widespread affection. This release has generated considerable buzz, primarily stemming from the discussion surrounding the presentation of the new Server Action feature and its susceptibility to SQL injections. In this blog post, we aim to clear up any misconceptions surrounding these concerns and delve into the exciting new features introduced.</p><h3><strong>The TurboPack feature,</strong></h3><p>At its current stage, lacks stability as only 90% of the tests have been successfully passed. This feature will attain stability once 100% of the tests are passed. Its primary function is to accelerate the startup of the local server and enhance the speed of refreshing. To get started with TurboPack, you can easily use the command “next dev -turbo.”</p><h3><strong>Partial Prerendering (PPR)</strong></h3><p>Partial Prerendering (PPR). PPR is an experimental feature that allows you to render a route statically, while keeping some parts dynamic. In other words, you can isolate the dynamic parts of a route. so when a user visit a routes the static html shell is served immediately while holes or spaces are left for dynamic content that load asynchronously . and its filled in the moment the data comes in . this helps reduce the overall load time of the web app.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/637/1*m6iIAq5Tlp6E3vh9huZJnQ.jpeg" /></figure><h3><strong>SERVER ACTIONS NOW STABLE!!!!</strong></h3><p>Server actions have been the reason for most of the controversies and clowning nextjs14.0 is getting .</p><p>Basically isn&#39;t the code presented above vulnerable to sql injections lets dive straight into it and find out .</p><pre>function Bookmark ({slug}) {<br>return( <br>&lt;button<br>formAction={async () =&gt; {<br>&quot;use server&quot;<br>await sql `INSERT INTO Bookmarks (slug) VALUES (${slug});`<br>}}<br>&gt;<br>&lt;BookMarkIcon /&gt;<br>&lt;/button&gt;<br>)<br>}</pre><p><strong>await sql `INSERT INTO Bookmarks (slug) VALUES (${slug});`</strong></p><p>this above line is what is causing all the controversy basically isn’t this unsafe and vulnerable to sql injection well lets see how sql injection works so we can decide .</p><p>An SQL INJECTION EXAMPLE</p><pre>// https://abiel-sql-test/?{cateory}=category-id<br>const category-id = &quot;1&quot;<br><br>//now lets use this in a sql request<br>db.query(`SELECT * from Category where category-id =&#39;${category-id}&#39;`);<br>// now the above code is an sql injection vulnerability cause<br>//assumig  a user changes the url to<br>// https://abiel-sql-test/?{category}=&quot;&#39;; DROP TABLE Category ; -- &quot;;<br>// which is a valid sql command that delete the user table and the -- <br>//ignores  commands before it <br>//what this does in our database is create two command <br>//1. db.query(`SELECT * from Category where category-id =&#39;&#39;;`) <br>// a select command that does nothing <br>// 2. db.query(DROP TABLE Category --)<br>//  a drop table commands that deletes the category tables </pre><p><strong><em>So What’s A Safer Approach ?</em></strong></p><p>A safer approach would be to use parametrized function .</p><pre> db.query(&quot;SELECT * from Category where category-id=$1&quot; , [categoryId])</pre><p>In the above the categoryId is passed in a parameter and isn’t interpolated as the first.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/637/1*m6iIAq5Tlp6E3vh9huZJnQ.jpeg" /></figure><p>I know your wondering why isn’t the code presentation using the safe one shown above instead an sql command that is never invoked well , lets talk about how to invoke a function using template strings .</p><pre>//lets take a function that adds hi to a name<br> function greetuser (name:string) {<br>return `hi ${name}&#39;`;<br>}  <br>console.log(greetuser(abiel));<br>// this simply returns hi abiel<br></pre><p>So now lets turn this to a tag function</p><pre>function greetuser (strings :TemplateStringArray , name:string) {<br>return `hi ${name}&#39;`;<br>}  <br>console.log(greetuser(abiel));<br>// this simply will send an error <br><br>// to call the function we do this<br>greetuser`wassup abiel ${&#39;asimiea&#39;}`<br>// this will return wassup abiel asimiea<br>//hi abiel now the diffrence is the strings is an array containg<br>// [&#39;wassup abiel &#39;] and [&#39;asimiea ]<br>// so this can be used within our function as a parameter </pre><p>With that being said vercel’s new release is completely safe although i would prefer to separate my backend from frontend for better flexibility and cause i feel its more maintainable that way but never the less nextjs14.0 is completely safe you should try it out.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/736/1*1TalonP2anyZaCx1pbcyjQ.jpeg" /></figure><p>please like if found this helpful and follow for more content be sure to let me know what you think in the comments .</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9d533cd06062" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Database Relationships]]></title>
            <link>https://medium.com/@dbestabi28/database-relationships-e55c21891223?source=rss-4a6dfa437f16------2</link>
            <guid isPermaLink="false">https://medium.com/p/e55c21891223</guid>
            <category><![CDATA[database]]></category>
            <category><![CDATA[backend-development]]></category>
            <category><![CDATA[backend]]></category>
            <category><![CDATA[mongodb]]></category>
            <category><![CDATA[database-relationships]]></category>
            <dc:creator><![CDATA[Abiel Asimiea]]></dc:creator>
            <pubDate>Fri, 27 Oct 2023 12:33:01 GMT</pubDate>
            <atom:updated>2023-10-29T16:07:52.078Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/736/1*X8zbVMM1CCOjajDJbSdm7A.jpeg" /></figure><p>Database relationships can be challenging to grasp due to their abstract nature. In this blog post, I will do my best to simplify the concept, allowing you to create effective and meaningful relationships in your databases quickly and effortlessly.</p><h3><strong>ONE TO ONE RELATIONSHIPS</strong></h3><p>A “one-to-one” relationship is when each instance of one model is related to exactly one instance of another model. A good example of a “one-to-one” relationship is a user and a profile. Each user will have exactly one profile, and each profile is owned by exactly one user.</p><h3><strong>ONE TO MANY RELATIONSHIPS</strong></h3><p>A “one-to-many” relationship is when each instance of one model is related to many instances of another model. A good example of a “one-to-many” relationship is a user and a list of posts. Each user can have many posts, and each post is owned by exactly one user.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/735/1*w2Gg7Rd66HSdOHVyeXsFHQ.jpeg" /></figure><h3><strong>MANY TO MANY RELATIONSHIP</strong></h3><p>In a “many-to-many” relationship each instance of one model is related to many instances of another model, and each instance of the second model is related to many instances of the first model. This can be a bit more confusing, so let’s use an example. A “many-to-many” relationship could be between users and tags. Each user can have many tags, and each tag can be applied to many users. Another example of a “many-to-many” relationship could be between users and friends. Each user can have many friends, and each friend can be friends with many users. So each user and each friend is related to many other instances of the other model.</p><p>Another example would be Each post can belong to many categories, and each category can contain many posts.</p><h3><strong>AN ORPHAN DOCUMENT</strong></h3><p>An “orphan document” is a document in a “one to many relationship” that is related to another document, but that other document does not have a “back link”. In other words, the “orphan document” is related to another document, but that other document is not related to the “orphan document”. an example of that would be a post on your Instagram and its hashtag now a post has a reference to a hashtag but the hashtag has no reference to the post.</p><h3><strong>DELETE CASCADE</strong></h3><p>The “delete cascade” method is simply a way to trigger the “delete” action on related documents when we delete the parent document. It’s a way to make sure that all related documents are deleted when the parent document is deleted. This is useful for keeping our database clean and organized. We don’t want to have a bunch of orphaned documents floating around in the database!. an example of this would be when we delete a post we would want to delete all the comments that are related to that post so we don’t have a bunch of comments that aren’t related to any post.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/736/1*5n-RRnj_9oXuSgoD_1KUbA.jpeg" /></figure><p><strong>HOPE THIS HELPED WOULD LOVE TO SEE WHAT YOU COME UP WITH .</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e55c21891223" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>