<?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 Naveen Gupta on Medium]]></title>
        <description><![CDATA[Stories by Naveen Gupta on Medium]]></description>
        <link>https://medium.com/@nvngpt888?source=rss-917815d2b953------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*xmshALyc3ur5uxlc6vieuA.jpeg</url>
            <title>Stories by Naveen Gupta on Medium</title>
            <link>https://medium.com/@nvngpt888?source=rss-917815d2b953------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 13:45:29 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@nvngpt888/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[Back-end. The unseen truth, the untold story.]]></title>
            <link>https://medium.com/@nvngpt888/back-end-the-unseen-truth-the-untold-story-3848751ada34?source=rss-917815d2b953------2</link>
            <guid isPermaLink="false">https://medium.com/p/3848751ada34</guid>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Naveen Gupta]]></dc:creator>
            <pubDate>Sat, 07 Jul 2018 16:41:58 GMT</pubDate>
            <atom:updated>2018-07-07T16:41:58.605Z</atom:updated>
            <content:encoded><![CDATA[<p>Back-end. The unseen truth, the untold story. In the old days, knowing PHP was enough to call yourself a back-end developer, then Microsoft introduced ASP.NET. They were fighting each other until Node.js came and put things in their best order. Some concepts of event-driven development are best applied at Node.js, so if you choose it, you are doing a good favor to your project.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/341/1*uN1th5IfOBaSB76reJNdPA.png" /></figure><p>The confusing part of the back-end is its language diversity, well, you can use any language you want at the back-end, the point is, “back-end” is a short name for “query database, process data, respond to client and do it as efficient as you can” and choosing the “right” language/technology/database is not an option. While some developers go with Relational Databases like MySQL or PostgreSQL, newcomers choose the dark side, NoSQL (like Cassandra or MongoDB). The choice is really yours, but I’ve got a simple formula. Do you have a strict schema for your data and it won’t change much in the near future? Choose Relational Database. Do you have more than million visits per minute? Change to NoSQL (painfully). Does your product change rapidly? Choose NoSQL. Let’s say you chose the side, now, what concrete technology should you choose? Do you like Microsoft and you have Windows Servers? Choose MsSQL. Do you like Oracle? Choose Oracle. Are you ok with Oracle, but you hate Microsoft at the same time? Choose MySQL. You just really don’t want to hurt anyone? Choose PostgreSQL.</p><p>NoSQL comes in tricky. It really depends on your service and data architecture. You’ve got just documents and some weak connections among them? Choose MongoDB. You need to store a huge bunch of key-value pairs? Choose Redis. You are working with a graph-like structure (Facebook friends graph, Google knowledge graph, etc.)? Choose Neo4j. Aren’t really sure what exactly you need, but you feel that you need all of them? Choose ArangoDB.</p><p>While database holds all the necessary data, you should define an API through which your clients can request and read/write to the database. The most useful option here is Node.js, though you can go with PHP or ASP.NET or Ruby or Python, my personal recommendation would be Node.js. Well, Facebook uses PHP at its backend, kind of. They rewrote a huge part of PHP in C++. Some use Python while others prefer Ruby. It’s true that you can use almost any language at the back-end, for instance, Google uses C++, Java and Python (along with Go). For low-level data processing, C++ fits the best, for background jobs like updating user’s friend recommendations, Java is a good option. For data analysis or natural language processing or for nowadays highly popular AI-related tasks you most probably will use Python.</p><p>Again, besides various languages, frameworks, databases at back-end, there are some core concepts that you have to master.</p><p>Caching. Starting from the CPU cache (with different levels) and ending with browser cache. Caching used everywhere, for high load services like Google Search or Facebook, caching is extremely necessary</p><p>Servers. While you might think this is related to the hardware (which will be great if you know how to setup several computers to work as one piece in storing and processing data), for the back-end developer server means the web server. Popular web server nowadays is Nginx and knowing how to setup and configure it will pay highly in your future endeavors.</p><p>Sockets. Cornerstone of the network programming. Everything you send/receive via network is done by sockets. Knowing low-level details of socket programming is a good bonus in your skills inventory (knowing difference between TCP sockets, UDP sockets and what are WebSockets is a huge plus).</p><p>Database Design. No matter what DBMS you choose or have to work with, operating with data will be one of your main tasks. Ability to see the complete picture, visualize data and connections between data units is a skill you will master during your whole programming career.</p><p>Security. As other concepts mentioned above, this one is very broad, too. You can’t master any of them completely, so you should at least be familiar with some best practices such as storing password hashes rather than as plain texts. Checking requests via API token, verifying user permissions for each request and so on.</p><p>Reference:</p><p>Read here complete article a wonderful read</p><p><a href="https://medium.com/sololearn/warning-your-programming-career-b9579b3a878b">https://medium.com/sololearn/warning-your-programming-career-b9579b3a878b</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3848751ada34" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Four Components of IoT]]></title>
            <link>https://medium.com/@nvngpt888/four-components-of-iot-5a8ade2db259?source=rss-917815d2b953------2</link>
            <guid isPermaLink="false">https://medium.com/p/5a8ade2db259</guid>
            <category><![CDATA[internet-of-things]]></category>
            <category><![CDATA[iot-component]]></category>
            <category><![CDATA[iot]]></category>
            <dc:creator><![CDATA[Naveen Gupta]]></dc:creator>
            <pubDate>Mon, 18 Jun 2018 16:45:03 GMT</pubDate>
            <atom:updated>2018-06-18T16:45:03.863Z</atom:updated>
            <content:encoded><![CDATA[<p><em>The Internet of Things (</em><strong><em>IoT</em></strong><em>) is a system of interrelated computing devices, mechanical and digital machines, objects, animals or people that are provided with unique identifiers and the ability to transfer data over a network without requiring human-to-human or human-to-computer interaction.</em></p><p>A complete IoT system integrates four distinct components:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/762/1*MKcZzx06YQB8ks7C5-4_Mg.jpeg" /><figcaption>Four Components of IoT</figcaption></figure><ol><li>Sensors/Devices:</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*L8lNPJT_hmsvF5ss67JGtQ.jpeg" /></figure><p>Sensors/Devices collect data from their environment. e.g. Our phone is a device that has multiple sensors like GPS, camera, Motion etc. where data is being collected based on surroundings</p><p>2. Connectivity to Cloud :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/415/1*ngBqNmgwE7dsbhWpdkwwyA.jpeg" /></figure><p>The sensors/devices can be connected to the cloud and store, through a variety of methods including: Bluetooth, WiFi, Cellular etc.</p><p>3. Data Processing :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/458/1*k5KhucRU9WXvypWReotcgA.jpeg" /></figure><p>Software perform data processing on cloud data to get a analyzed or computed data. e.g Computing the temperature within an acceptable range.</p><p>4. User Interface :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/576/1*u8rwgSbrb6Dbloq8qoDRLw.jpeg" /></figure><p>.</p><p>The analyzed or computed data is made useful to the end user via and alert(email, text, notification). e.g a alert message when temperature is beyond the acceptable range.</p><p>References :</p><p><a href="https://medium.com/iotforall/iot-explained-how-does-an-iot-system-actually-work-e90e2c435fe7">https://medium.com/iotforall/iot-explained-how-does-an-iot-system-actually-work-e90e2c435fe7</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5a8ade2db259" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>