<?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 Karrim J on Medium]]></title>
        <description><![CDATA[Stories by Karrim J on Medium]]></description>
        <link>https://medium.com/@mcmillank30?source=rss-aa929f9d4172------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*zjUY7x4WQ3OG3BnA</url>
            <title>Stories by Karrim J on Medium</title>
            <link>https://medium.com/@mcmillank30?source=rss-aa929f9d4172------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 03:06:45 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@mcmillank30/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[Databases: SQL vs NoSQL]]></title>
            <link>https://medium.com/@mcmillank30/databases-sql-vs-nosql-ffcb4d9f3f61?source=rss-aa929f9d4172------2</link>
            <guid isPermaLink="false">https://medium.com/p/ffcb4d9f3f61</guid>
            <category><![CDATA[beginner]]></category>
            <category><![CDATA[database]]></category>
            <dc:creator><![CDATA[Karrim J]]></dc:creator>
            <pubDate>Mon, 14 Sep 2020 12:55:06 GMT</pubDate>
            <atom:updated>2020-09-14T13:19:15.095Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Database</strong></p><p>Let’s talk about Databases. Databases are programs that store data and allow for efficient retrieval, insertion, and deletion of that data.</p><p>Companies like Amazon store information about their users, their purchase history, and buying habits. Apps like Facebook and Instagram store data about your interest, who you follow, and who your friends are. Video websites like Youtube store data about subscribers, your watch history, and what you like and dislike. The former are just a few simplified examples of how companies make use of databases.</p><p><strong>What is SQL?</strong></p><p>SQL pronounce (si-kwel) or (es-kju-el) stands for Structured Query Language. SQL was created in the early 1970s by IBM, and was originally called SEQUEL(Structured English Query Language), but was later changed due to trademark reasons.</p><p>SQL is a declarative programming language. SQL is used in conjunction with Relational Database Management Systems (RDBMS) like MySQL, Oracle, Microsoft SQL Server, and PostgreSQL to organize data into tables(made up of columns and rows) with each row containing a unique identifier called a Key.</p><p>Each table is organized by a specified layout, indicating the name of the table, the name of each column, and the type of data that it takes; this layout is referred to as the tables Schema.</p><p>Tables can be linked in relationship to other tables (hints the name: Relational Database Management Systems )by including a table column called Foreign Key. The Foreign Key is used to express the relationship between data contained in a row of a particular table and its relationship to data in the row of another table.</p><p><strong>What is NoSQL?</strong></p><p>Compared to SQL databases that have been around since 1970, NoSQL databases are rather new.</p><p>NoSQL also referred to “non SQL” are essentially non-relational database systems. NoSQL database store and retrieve data by methods other than that of tables linked by relationship.</p><p>NoSQL databases don’t store data according to a predetermined Schema; this means that data can be added and altered in a manner that is much more flexible. The flexibility that NoSQL provides can be of significant benefit, but also causes a challenge when it comes to ensuring data integrity.</p><p><strong>Comparison</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/610/1*l3EkbJl-tdMbbocZ8dmWYQ.jpeg" /><figcaption><a href="https://www.accionlabs.com/articles/2018/4/6/horizontal-versus-vertical-scaling-which-is-right-for-you">https://www.accionlabs.com/articles/2018/4/6/horizontal-versus-vertical-scaling-which-is-right-for-you</a></figcaption></figure><p><em>SQL DataBases :</em></p><ul><li>Easier to manage a single server</li><li>Can perform relational queries</li><li>Data is organized by Schema(predetermined structure), promoting data integrity</li><li>Vertically scalable(scale by adding more CPU, RAM, SSD to server that host the database)</li><li>There is an upper limit on vertical scaling (what do you do when server gets too big?)</li><li>Can have difficulty handling lots of simultaneous queries</li></ul><p><em>NoSQL DataBases:</em></p><ul><li>Data can be store in many ways without needing to outline a predetermined structure</li><li>Horizontal scaling(add more instances of the database, so data is shared across many database servers)</li><li>Can be scaled infinitely(in theory)</li><li>management of infrastructure can become more complex the more you scale</li></ul><p><strong>Conclusion</strong></p><p>SQL and NoSQL differ greatly in how they structure and store data. Deciding which type of database to choose is essentially based on the particular type of projects you are working on.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ffcb4d9f3f61" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Getting to know React JS]]></title>
            <link>https://medium.com/@mcmillank30/getting-to-know-react-js-c0fa9a0b2d59?source=rss-aa929f9d4172------2</link>
            <guid isPermaLink="false">https://medium.com/p/c0fa9a0b2d59</guid>
            <dc:creator><![CDATA[Karrim J]]></dc:creator>
            <pubDate>Mon, 07 Sep 2020 11:05:06 GMT</pubDate>
            <atom:updated>2020-09-07T13:56:39.666Z</atom:updated>
            <content:encoded><![CDATA[<p>This is an introductory guide to help those new to React become familiar with it, and understand why its currently one of the most popular libraries for front-end development.</p><p><em>npm trends download comparison over the last 5 years</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UvaNwSbmy9LSAoo2sDWB1w.png" /><figcaption><a href="https://www.npmtrends.com/react-vs-vue-vs-@angular/core">https://www.npmtrends.com/react-vs-vue-vs-@angular/core</a></figcaption></figure><p>Reacts popularity has skyrocketed over recent years. The graph above illustrates its increase in downloads of the last 5 years(according to npm trends)compared to other popular libraries and frameworks. Theirs quite a few reasons why, which we will get into a bit later, but first…</p><p><strong>What is React JS?</strong></p><p>React JS is a JavaScript library that is used to build data-intensive, single-page user interfaces. React was developed at Facebook in 2011, and was initially used as an in house library until it was open-sourced in 2013. It’s been used to develop the interface for many popular applications such as Netflix, New York Times, WhatsApp, DropBox, Codecademy, in addition to Facebook and Instagram.</p><p>React has a component based architecture. A component is a portion of the user interface. For example; the photo being viewed(center), the number of hours since posted(top right), the likes on the image, the comments section, the navigation toolbar(bottom), which includes multiple other components.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/409/1*I2OaIa2REC0o5o0ozDK1ng.png" /></figure><p>When building an app using React we are building independent components that can be reused.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/836/1*HOtMC17pjEazRuKU5dzDlw.png" /><figcaption><a href="https://hackernoon.com/everything-you-need-to-know-about-reacts-context-api-e5c8c32ef202">https://hackernoon.com/everything-you-need-to-know-about-reacts-context-api-e5c8c32ef202</a></figcaption></figure><p>The components are organized in a tree-like structure beginning with the root component which may have other child components which may have additional child components and so on and so forth.</p><p>All components are combined at the root component to create a single complex user interface.</p><p><strong>Using React in different environments</strong></p><p>One of the reasons React is so popular is its an agnostic user interface library, meaning it can work in different environments. It just needs to be used with the proper companion library for where we want the user interface to be displayed. ReactDOM is a separate React Library used for displaying React interface within the web browser. React 360 is a companion library for VR environment. React Native is React’s companion library for creating native mobile applications.</p><p><em>Example of Hello World function component with React Native</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rfuiu8qxRjlYT4gAjXMn4w.png" /><figcaption><a href="https://reactnative.dev/docs/getting-started">https://reactnative.dev/docs/getting-started</a></figcaption></figure><p>Conclusion</p><p>I hope this article has helped you to become a bit more familiar with React, and you have a greater understanding of why the React library is powerful. Happy coding!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c0fa9a0b2d59" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A Beginners Guide to Node JS]]></title>
            <link>https://medium.com/@mcmillank30/a-beginners-guide-to-node-js-3bc4b702a889?source=rss-aa929f9d4172------2</link>
            <guid isPermaLink="false">https://medium.com/p/3bc4b702a889</guid>
            <category><![CDATA[beginner]]></category>
            <category><![CDATA[nodejs]]></category>
            <dc:creator><![CDATA[Karrim J]]></dc:creator>
            <pubDate>Mon, 31 Aug 2020 13:52:03 GMT</pubDate>
            <atom:updated>2020-08-31T15:05:53.058Z</atom:updated>
            <content:encoded><![CDATA[<p>Executing JavaScript code outside of the browser.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/300/1*W8VlhHtoSH8za0BTreKM4g.png" /></figure><p>What we will cover:</p><ul><li>The begin of Node JS</li><li>What is Node JS</li><li>What is Node ideal for</li><li>Working with Node</li></ul><p><strong>The Begin of Node</strong></p><p>Before Node JS, JavaScript was used only to build applications that ran in a web browsers.<br>All web browsers have a JavaScript Engine, which takes JavaScript code and converts it to Machine Code ( code that computers can understand; also know as Binary Code).<br>In 2009 Ryan Dahl took Google Chromes open-source V8 JavaScript engine and embedded it within a C++ program creating Node JS.</p><p><strong>What is Node JS?</strong></p><p>Node JS is essentially Google’s Chromes V8 JavaScript engine, enriched by extra API’s, enabling JavaScript Developers to write and execute JavaScript code in a <a href="https://www.techopedia.com/definition/5466/runtime-environment-rte#:~:text=The%20runtime%20environment%20is%20the,particular%20codebase%20in%20real%20time.">runtime environment</a> outside of a Web Browser(on any computer).</p><p>Often Node is used to build back-end services which are the services(or servers) that support client-side applications.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*G_rZq94c2uRSBrtV_KLuQQ.png" /><figcaption><a href="https://en.wikipedia.org/wiki/Client%E2%80%93server_model#:~:text=A%20client%20does%20not%20share,and%20the%20World%20Wide%20Web.">https://en.wikipedia.org/wiki/Client%E2%80%93server_model#:~:text=A%20client%20does%20not%20share,and%20the%20World%20Wide%20Web.</a></figcaption></figure><p><strong>What is Node ideal for?</strong></p><p>Node is ideal for data-intensive real-time applications.<br>Node apps are highly scalable due to their non-blocking nature(meaning they run asynchronously). Asynchronous I/O is a type of input/output processing that allows for other processing to happen at the same time.</p><p>This makes Node ideal for building applications that requires a lot of disk or network access.</p><p><em>Note:</em></p><p><em>Node is not idea for CPU- intensive applications(for example Video encoding or image editing software).</em></p><p><strong>Working in Node</strong></p><p><em>Modules</em></p><p>Every file in a node application is considered a module.<br>In order to create a module, simply create a new file within your program and you have a new module.</p><p>The variables and functions we define in a particular module are scoped to that module(and are considered Private).<br>In order to use a function or variable outside that module(make it Public), they must be properly exported.</p><p><em>Exporting</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/976/1*dcqn8iEImhmwXMI04yf6og.png" /><figcaption><a href="https://stackoverflow.com/questions/7137397/module-exports-vs-exports-in-node-js">https://stackoverflow.com/questions/7137397/module-exports-vs-exports-in-node-js</a></figcaption></figure><p>The above image is an example of a module object in Node JS logged to the terminal.</p><p>On line 5 you can see that the module object has an ‘exports’ property which is an empty object. Anything that is added to this object will be exported from the module and will then be made public within the program.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/808/1*qHph6x5v9gOuZILf_KbgKg.png" /><figcaption>Exporting myFunc from Module</figcaption></figure><p><em>Importing Values into modules with require( )</em></p><p>To load a module we use the require function (native to Node JS) and passing in the relative file pass as a string.</p><p>require( ‘./file_name’)</p><p>Note: If module is located in parent folder require(‘../file_name’)</p><p>This require function returns the export object from the passed in module. This export object can now be loaded and accessed in the new module by saving the return value of require function to a variable.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3bc4b702a889" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A Brief Introduction to API’s]]></title>
            <link>https://medium.com/@mcmillank30/a-brief-introduction-to-apis-3bc582cc7e97?source=rss-aa929f9d4172------2</link>
            <guid isPermaLink="false">https://medium.com/p/3bc582cc7e97</guid>
            <category><![CDATA[beginners-guide]]></category>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Karrim J]]></dc:creator>
            <pubDate>Mon, 24 Aug 2020 13:58:44 GMT</pubDate>
            <atom:updated>2020-08-24T19:00:28.772Z</atom:updated>
            <content:encoded><![CDATA[<p>API stands for Application Programming Interface.</p><p><strong>Interface</strong></p><p>Before expanding on what exactly an Application Programming Interface is; it’s useful to clarify our understanding of whats an Interface is.</p><p>A SmartPhone is a device that you are likely familiar with; which has an interface (in this case, a User-interface). The interface is what allows a user to use the device ( or other technology or software) without needing to be concerned with how everything works on the inside. All that is required to make use of the device is for the user to be familiar with how to interact with the interface.</p><p>A user can unlock their device by pressing their finger on the fingerprint scanner or get directions to a destination by inputting the address into the navigation search bar or initiate an outbound call by inputting a valid area code and phone number then tapping the green dot with the phone icon.</p><p>In the above example, the interface(more specifically the user interface) is a medium that has defined protocols on how to interact with it, and what functionality to expect by doing so. Simply put, the interface enables the communication between the user and the device.</p><p><strong>API’s</strong></p><p>Similarly, Application Programming Interface are mediums that enable communication; but are used by Developers to enable communication(or sending and receiving data) between different machines, software websites, and services.</p><p>With API’s a Developers can expand the functionality of their application by making use of third-party resources that have already been implemented. Like in the Smart Phone example the Developer does not need to understand how everything functions under the hood, but only needs to adhere to defined interfacing protocols(or technical contract) to extend their software via communicating with third-party software. This saves time while abstracting major implementation complexity from the development process; leading to more efficient development and the creation of much more complex applications.</p><p>Note: There are a variety of subcategories of API’s including those used with libraries, frameworks, and operating systems; but nowadays the term API is almost exclusively used to describe web-based API’s.</p><p><strong>Third Party API Example:</strong></p><p>Joe the Developer is creating an application called “Some Day Vay Kay”. Its an app for storing, tracking, and discovering destinations, events, and activities that the user finds interesting.</p><p>Joe builds out his application and decides that it would be useful to include some map functionality in the app. Instead of implementing this code from scratch, Joe decides it would best to use Google’s Map Javascript API.</p><p>Below are a few code snippets from <a href="https://developers.google.com/maps/documentation/javascript/overview?_ga=2.33044476.359225255.1598269506-514655777.1598269506#maps_map_simple-javascript">Google</a> to help illustrate how Joe might include this functionality in his application.</p><p><em>Note:</em></p><ul><li>The &lt;div&gt; with id “map” contains the actual map</li><li>The initMap( ) function creates a map in the &lt;div&gt;</li><li>The Maps JavaScript API is loaded by using a script tag</li></ul><p><em>Joe’s map image</em></p><figure><img alt="https://developers.google.com/maps/documentation/javascript/overview?_ga=2.33044476.359225255.1598269506-514655777.1598269506" src="https://cdn-images-1.medium.com/max/1024/1*NCMxrok_nThyAojVbQB6dQ.png" /><figcaption><a href="https://developers.google.com/maps/documentation/javascript/overview?_ga=2.33044476.359225255.1598269506-514655777.1598269506#maps_map_simple-javascript">https://developers.google.com/maps/documentation/javascript/overview?_ga=2.33044476.359225255.1598269506-514655777.1598269506#maps_map_simple-javascript</a></figcaption></figure><p><em>Loading the Maps JavaScript API</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yTlBFjd0MQEqyUMlP9Kbmw.png" /><figcaption><a href="https://developers.google.com/maps/documentation/javascript/overview?_ga=2.33044476.359225255.1598269506-514655777.1598269506#maps_map_simple-javascript">https://developers.google.com/maps/documentation/javascript/overview?_ga=2.33044476.359225255.1598269506-514655777.1598269506#maps_map_simple-javascript</a></figcaption></figure><p><em>Map Function</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BPUXQZafLiKFWaE-8GUtDQ.png" /><figcaption><a href="https://developers.google.com/maps/documentation/javascript/overview?_ga=2.33044476.359225255.1598269506-514655777.1598269506#maps_map_simple-javascript">https://developers.google.com/maps/documentation/javascript/overview?_ga=2.33044476.359225255.1598269506-514655777.1598269506#maps_map_simple-javascript</a></figcaption></figure><p><em>HTML</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TL5osl9j8isU0MtMGemvRw.png" /></figure><p><strong>API Summary:</strong></p><ul><li>APi’s are tools that help Developers(or a team of developers) build complex applications without needing to implement all the code by them self</li><li>They provide Developers with access to data extending the functionality of apps by enabling communicating with different machines, software websites, and services</li><li>They provide some abstraction of implementation (no need to know how it’s doing what it is doing) which helps to simplify the development process</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3bc582cc7e97" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>