<?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 Lakshay Malhotra on Medium]]></title>
        <description><![CDATA[Stories by Lakshay Malhotra on Medium]]></description>
        <link>https://medium.com/@ihybrid11?source=rss-559bba76264------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*6YLynkMmxOwtcymLH9WsHQ.jpeg</url>
            <title>Stories by Lakshay Malhotra on Medium</title>
            <link>https://medium.com/@ihybrid11?source=rss-559bba76264------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 03:22:22 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ihybrid11/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[MEAN stack application [Part 3] — Setting up Routing in Angular]]></title>
            <link>https://medium.com/@ihybrid11/mean-stack-application-part-3-setting-up-routing-in-angular-d1e80b545e15?source=rss-559bba76264------2</link>
            <guid isPermaLink="false">https://medium.com/p/d1e80b545e15</guid>
            <category><![CDATA[angular]]></category>
            <category><![CDATA[development]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[typescript]]></category>
            <category><![CDATA[web-development]]></category>
            <dc:creator><![CDATA[Lakshay Malhotra]]></dc:creator>
            <pubDate>Wed, 05 Jun 2019 10:04:44 GMT</pubDate>
            <atom:updated>2019-06-05T10:04:44.180Z</atom:updated>
            <content:encoded><![CDATA[<h3>MEAN stack application [Part 3] — Setting up Routing in Angular</h3><p>So in PART 2 we have setup our home component and added some basic functionality. In this part, we will be setting up routing so that our app is up and running.</p><p>Head over to app.component.html and delete all the content except &lt;router-outlet&gt;&lt;/router-outlet&gt;</p><p>The tag router-outlet basically defines a definite space where all the views that are activated via a specific route, will be rendered. Head over to the file app-routing.module.ts</p><p>We have our usual import statements on the top. Here we will import all the components which will be activated via routes.</p><pre><em>import</em> { HomeComponent } <em>from</em> &#39;./home/home.component&#39;;</pre><p>Then you can see a const array with name ‘routes’ is defined and is of the type Routes. Right click on it and select ‘Go To definition’ and it will take you to the definition of interface Route. It is pretty simple to understand it as it has comments explaining all the parameters.</p><p>So in this array, is where we will define our routes. The first route that I will be adding will be to my home component as follows —</p><pre>{<em> path</em>:<em> </em>&#39;home&#39;,<em> component</em>:<em> HomeComponent </em>}</pre><p>All routes defined are in the JSON format. We have a path parameter and a component parameter. Path means, when this path is mentioned in the URL, please render the following component. For example, if my URL is <a href="http://localhost:4200/home">http://localhost:4200/home</a> it will find the path against ‘home’ and route the application to that component.</p><p>The second path that I will add is an empty path.</p><pre>{<em> path</em>:<em> </em>&#39;&#39;,<em> redirectTo</em>:<em> </em>&#39;home&#39;,<em> pathMatch</em>:<em> </em>&#39;full&#39;<em> </em>}</pre><p>The concept here is that <a href="http://localhost:4200/home">http://localhost:420</a>0 or <a href="http://localhost:4200/home">http://localhost:4200/</a> are considered empty paths. In simple words, you may understand it by saying that at the end of this URL, there is nothing mention so it is considered empty. But again it can be confused with the URL <a href="http://localhost:4200/home">http://localhost:4200/home</a> by saying that after ‘home’ there is nothing and can be considered as empty. That is correct which is why we use <em>pathMatch</em>:<em> </em>‘full’ — this means that only if the entire path is empty, then only the following component/function will be called. I suggest you to play with this a bit more and try using this path without adding the property pathMatch.</p><p>So when this route is visited, and it is completely empty, I want my application to automatically redirect to the home component.</p><p>This is all you need to know about routing initially. In future there will be many scenarios like lazy loading where we will be configuring the routes in a different way, but for now, that is it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/479/1*JJUN4RXN_A_mG-d0ubBT0w.png" /></figure><p>Let’s start our application. Open your terminal — if you are using VS Code on windows then you can hit Ctrl +` on your keyboard to open the console and type</p><pre>ng serve</pre><p>Once it is up and running, open your browser and go to the URL <a href="http://localhost:4200/">http://localhost:4200</a> and you will be automatically redirected to the home page.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/472/1*OHICBrIJWZfrX7CKgaJNhA.png" /></figure><p>Well, we have our app finally up and running. In the next part, we will add some bootstrap and basic styles.</p><p>Cheers!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d1e80b545e15" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[MEAN stack application [Part 2] — Starting with Frontend using Angular]]></title>
            <link>https://medium.com/@ihybrid11/mean-stack-application-part-2-starting-with-frontend-using-angular-960853d97e35?source=rss-559bba76264------2</link>
            <guid isPermaLink="false">https://medium.com/p/960853d97e35</guid>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[typescript]]></category>
            <category><![CDATA[development]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[angular]]></category>
            <dc:creator><![CDATA[Lakshay Malhotra]]></dc:creator>
            <pubDate>Wed, 05 Jun 2019 09:16:16 GMT</pubDate>
            <atom:updated>2019-06-05T09:32:56.839Z</atom:updated>
            <content:encoded><![CDATA[<h3>MEAN stack application [Part 2] — Starting with Frontend using Angular</h3><p>So here are we! Hope you have completed the application setup and are ready to move one. I will try to keep things as short as possible because there are tons of explanation available. Also I suggest you to follow the Angular documentation side by side.</p><p><strong>An intro may be?</strong></p><p>Angular is a typescript framework for web applications — by Google. Typescript compiles down to Javascript. In Angular, we implement functionality in a view-controller-service way. It is not an actual term, but my way of explaining it to you.</p><p>Once a route is visited (say ‘/’), a template — html file — will be rendered where the data and events of that template will be handled by a component which is basically class.</p><p>A component’s responsibility is to manage the data and events associated to its template and render it properly. Other than that, it is supposed to do minimum operations. For handling heavy tasks or tasks involving multiple operations, we use services.</p><p>On top of all the components and services, we have a module. Whatever you are creating in your application, you need to tell your module about it. If your module is not aware, then you won’t be able to use it in your application. Just for your own purpose, think of a module as a professor. Anytime a new student joins, our professor has to introduce that new student to everyone else and show him around, else the new student won’t be able to talk to anyone or do anything.</p><p>Router is like direction signs. Using router, you can define which component to load/which template to render when a specific route is visited.</p><p>So this is the project/project structure that we get after “ng new”. Do note, angular.json has all your angular configuration and package.json has all your package dependencies. Anything we create, will be created under src&gt;app.</p><p>You can also see we have two CSS files —</p><ol><li>style.css — global style sheet.</li><li>component specific css like app.component.css</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/355/1*iy3ZdJ_zmr1ARxzOeG8ayA.png" /></figure><p>Let’s get started! You can read as much as you want on the internet.</p><p><strong>Building the first Component</strong></p><p>Head over to your terminal in VS Code and type —</p><pre>ng g c home</pre><p>Execute this and you will see that a new component with the name ‘home’ has been created in the app folder.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/559/1*HvHl7VGrUBByUrXJ11n3Gg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/327/1*Cy9iO9q5Vl3NQRtG9WBfuQ.png" /></figure><p>Congratulations! You just created your first component. Now, let’s get started with it. You can see 4 files within your home folder. I’ll be working with .css, .html and .ts — which are your component specific css, view template and your component class respectively.</p><p>Now, my idea of home page for this application is to be able to show all available item. Since we do not have any external source do deliver this content, we will use a demo collection of items and we will display that. Head over to the file home.component.ts and let’s have a look. Keep in mind, this is not an Angular tutorial so I won’t deep dive into everything. In this file, you should see a structure like following —</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/543/1*EMDQEgosR8uI0R2BX5j-_g.png" /></figure><p>Here we have our import statement on top. You import all the features and functionality that you will be using in your class in this file. Then we have “@Component” which is a decorator that identifies the class just below it is a component class. It takes a few parameters</p><ol><li>selector — everything in your view has a selector like &lt;div&gt;&lt;/div&gt;, similarly each component has a selector for its view.</li><li>templateUrl — relative path to the template file of this component.</li><li>styleUrl — relative path to the style sheet of this component.</li></ol><p>Everything that we create in a file, either is used in some other file or at least has to be registered in the main module. Hence it needs to be exported — for which we use the word export.</p><p>Component have a life cycle and each stage in it has a event linked to it that you can use to perform a specific task. I will be using OnInit through the application. OnInit is basically the stage when your component is initialized. In Angular, it is defines/implemented via its interface which is why you can see “implements OnInit”.</p><p>Our component is a class, hence we need a constructor. How is it used, I will show that later. And since we are implementing an interface, we need to implement all the methods in it, hence the method ngOnInit.</p><p>Open up the template file — home.component.html and remove everything you see. In home.component.ts, lets define some demo data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NDX0qTkqUTZUxmaiCSDUag.png" /></figure><p>So I have some demo data — 5 games, 2 novels and 3 TV Shows — with properties name, category platform and completed. Now how to display this on the component view? This concept is call data binding.</p><p>Head over to your template and add the following code</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/302/1*rvnvg5zcFohTkLjJ36SSig.png" /></figure><p>Any expression between the curly braces is evaluated as per the template’s component. Here, the engine will look for an array in the component class with name products. It will iterate over each item and output those many list item tags.</p><p>But before you run this, we have one last important thing to do. During your app setup using ‘ng new’, I am hoping that you might have set up routing as well. So we’ll be discussing routing in the next part, post which you will be able to run this.</p><p>Cheers!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=960853d97e35" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[MEAN stack application [Part 1] — Setup]]></title>
            <link>https://medium.com/@ihybrid11/mean-stack-application-part-1-setup-3ff4aa0502b9?source=rss-559bba76264------2</link>
            <guid isPermaLink="false">https://medium.com/p/3ff4aa0502b9</guid>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[nodejs]]></category>
            <category><![CDATA[mean-stack]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[angular]]></category>
            <dc:creator><![CDATA[Lakshay Malhotra]]></dc:creator>
            <pubDate>Sun, 26 May 2019 12:13:38 GMT</pubDate>
            <atom:updated>2019-05-26T12:13:38.064Z</atom:updated>
            <content:encoded><![CDATA[<h3>MEAN stack application [Part 1] — Setup</h3><p>In this part 1 of this series, I will simply show how to setup the basic of your application. For front-end, I will be using Angular 6 and for back-end I am using Express. For database, I am using MongoDB.</p><p>Before starting, I am hoping that you know html, css, javascript — ES6 and you are familiar with some DB either SQL or Mongo or any of your choice, also I am hoping that you are familiar with CLI and terminals.</p><p>I already have angular installed. So for me it will be angular 6 but if you are going to do a fresh install, you might get a higher version. Anyway, head over to <a href="https://nodejs.org/en/download/">https://nodejs.org/en/download/</a> and download the LTS version of Node JS which will also give you NPM — Node Package Manager.</p><p>We will be using Angular CLI. So open your terminal and type —</p><pre>npm install -g @angular/cli </pre><p>to install Angular with its command line interface. You can read more about Angular and go through their awesome documentation on their site <a href="https://cli.angular.io/">https://cli.angular.io/</a></p><p>Now open you file explorer, and create a folder — mediaLibrary — in any drive where ever you want to store your project. For me, it will be in D drive (since I am using Windows 10). Navigate to that folder, and create two folders — frontend and backend.</p><p>Navigate to frontend and in your terminal, type</p><pre>ng new</pre><p>and it will ask you some default questions that you can answer and this is how I am using it —</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-XFGFz6sswfN0vukntwLsA.png" /></figure><p>Once done, navigate to the backend folder and type — “npm init” and it will ask you a few things.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/952/1*EMqBgfn-1X2bVFo52Uam7Q.png" /></figure><p>Doing this, will generate your package.json for your backend. You can open this using any editor. I will be using Visual Studio Code (VSC) and I will be using the integrated terminal of VSC. So open this project, and lets install express using the following command —</p><pre>npm install express</pre><p><strong>Setting up Visual Studio Code</strong></p><p>Not a setup, but basically what all extensions I am using to make it more productive —</p><ol><li>Angular v7 Snippets by John Papa</li><li>CSS Peek by Pranay Prakash — allows you to peek CSS ID and class</li><li>Import Cost by Wix — displays import/erequire package size in the editor</li><li>IntelliSense for CSS class names in HTML by Zignd — CSS class name completion</li><li>Material Icon Theme by Philipp Kief — makes your project directory’s icons look cool :P</li><li>Night Owl by Sarah.drasner — a VS Code theme which I personally feel is awesome</li><li>Path Intellisense by Christian Kohler</li></ol><p>I will also be using Postman to test my backend. You can download it from — <a href="https://www.getpostman.com/products">https://www.getpostman.com/products</a></p><p>Once everything is done, you can open your frontend folder in VS Code and run it by typing this in the terminal</p><pre>ng serve</pre><p>You won’t be able to run your backend as it has no code.</p><p>Take some time you see what all is there in both the folders, and in the next part, I’ll start with our backend.</p><p>Cheers!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3ff4aa0502b9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[MEAN stack application [Part 0]]]></title>
            <link>https://medium.com/@ihybrid11/mean-stack-application-part-0-64f5eb21834?source=rss-559bba76264------2</link>
            <guid isPermaLink="false">https://medium.com/p/64f5eb21834</guid>
            <category><![CDATA[nodejs]]></category>
            <category><![CDATA[mean-stack]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[development]]></category>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Lakshay Malhotra]]></dc:creator>
            <pubDate>Sun, 26 May 2019 08:19:28 GMT</pubDate>
            <atom:updated>2019-05-26T08:19:28.821Z</atom:updated>
            <content:encoded><![CDATA[<p>Hi! Thanks for taking out time to visit my page on medium and giving me a chance to help you and many new web developers.</p><p>Please don’t expect anything high end from this application series. This will just give you an overview and a skeleton of a MEAN stack web application INITIALLY. Basically this is a project that I want to do personally to manage and keep a track of all the media I have — games, movies, novels, etc — and whether I have completed it or not and what next I want to buy etc.</p><p>I’ll give you an outline of the end product of this series as in how it will work. So once up and running, if I visit the app —</p><ol><li>It will show all my media library — XBOX games, movies, tv shows, books, etc.</li><li>I will be able to add more items</li><li>I will be able to modify the items w.r.t whether I have completed that or not. For example, if I have completed my Dark souls 3, I will be able to mark it as finished and I will be able to add comments to it.</li><li>I will be able to add new items. For example — I want to buy Sekiro when it goes on sale, so I will be able to add it under something like “To play” or “Watching” or “Planned”</li><li>I will try to find some API like Google Books (for books) for games and movies so that user can select and add from all the available contents.</li><li>Will be adding a login so that one can customize it and have a personalized experience.</li></ol><p>Initially, it will be a basic skeleton only. Not much of validation or cool stuff. But as soon as I will keep on adding stuff to it for my personal purpose, I will keep on adding parts to this series. For example, I am not deploying it anywhere right now, but soon I will be learning docker and how to deploy it on Raspberry Pi 3b+, so once I do that, I’ll add a new part to this series.</p><p>Presently, I will be using MEAN — Mongo, Express, Angular6/7 and Node JS. I am not a professional, so anywhere you find that you can write that piece of code in a more better and efficient way, do comment below and I will definitely read it and try it. If that is better, I will definitely modify the post to add it.</p><p>Hope you enjoy this and learn something! All the best!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=64f5eb21834" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Being a weird human with a love for Coding]]></title>
            <link>https://medium.com/@ihybrid11/being-a-weird-human-with-a-love-for-coding-d9763001b8df?source=rss-559bba76264------2</link>
            <guid isPermaLink="false">https://medium.com/p/d9763001b8df</guid>
            <dc:creator><![CDATA[Lakshay Malhotra]]></dc:creator>
            <pubDate>Tue, 14 May 2019 13:00:03 GMT</pubDate>
            <atom:updated>2019-05-15T01:00:06.192Z</atom:updated>
            <content:encoded><![CDATA[<p>Being a weird human with a love for Coding</p><p>Hey all, Life has taken a huge curve since I published my first post on medium. But We’ll discuss that later. This post might be weirdly destructured but you’ll get the gist.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Jr76O-d6rNbi5UF2VAQCKQ.jpeg" /></figure><p>Recently, few people — college students, budding developers and some friends — reached out to me asking me for some advice. Outlining their idea, they wanted to know how they can be a good developer and how they can get into this culture, etc. So this is what this post is all about — indirectly my vision, my idea my mindset etc.</p><p>With this post, I not only target students or new developers, but everyone who has a dream, a dream of doing something creative or finding meaning for(?) their life.</p><ol><li>Be kind and humble. Everyone is fighting a battle that you don’t know about. Be kind to everyone. They might be studying something that you don’t like. They might be doing something that you don’t like. But that is no reason to be rude to anyone. It is their life and their choice. Yes, if that person is a good friend of yours and you know what you are saying is the right thing for him/her, you can discuss it out.</li><li>STOP running after money. Many have reached out to me asking what to do in life — what pays off the maximum (this is entirely in context of the programming world you know — web dev, mobile app, software engg, ML and AL, etc). What I feel is that if this is your mind set, if you want to do it just for money, it will never be sufficient and you’ll die with this greed. Look for happiness and satisfaction in teeny — tiny things.</li><li>START somewhere! If you are in your college days — STOP being worried about everything. College is a time to enjoy. You can learn so many things. Why do you want to restrict your horizon to just one thing without trying out the fun in everything else? Plan out your day, give yourself some time. There are so many things out there! Experiment! Play with them and enjoy them. You have plenty of time to choose. Why not play with every toy out there — C,C++ , Java, C#, PhP, Python, JavaScript (my favourite 😜)</li><li>The problem is that most of newbies dont want to think and work hard, they want a direct solution. Please don’t do this. You are missing out on most of the fun! Be honest to yourself and motivate yourself. Create and design interesting things. Everyone has a brain and everything is skill that you can learn. Please go and enjoy that power!</li></ol><p>When I was in school, I wanted to be an aeronautical engineer. Then somewhere in 2005/6 I suddenly wanted to be a physicist and by 2010, a chemical engineer! 😂 Later on during my high school days, even though I had taken up engineering subjects, I wanted to be a fashion designer 🤣 and then a mechanical engineer! But 2 years later, when I got into college, my major was Electronics and Communication. Throughout the entire course of 4 years, I didn’t know where I was going. I had good people around me, good friends around me — they were not into tech much, they didn’t share my dream — but they had the right mindset to drive me and during these 3–4 years of Engineering, I realised that my career should be something related to coding. So in my final year, I got an internship at a consumer electronics company’s R&amp;D as am embedded engineer. During my span of 10 months there, I realised that I loved coding and so I started doing web development. 3–4 years has been passed, I am working as a business analyst in domains like customer facing, service assurance and business processes. I still code a lot after my office hours because I love it. You see? You see how life turns out to be?!</p><p>Don’t be so tough on yourself. You are not the only one living a life. As I said in the starting of this post, everyone around is fighting a battle that you are not aware of! Everyone goes through imposter syndrome. But relaaaax. YOU CAN DO IT!</p><p>Well, right now I am traveling back to home from office. I am sitting in a train writing this on my mobile. Not sure if this is sufficient to my word out there or not, but I need to go right now! So to all the Student and new devs, please be humble and kind to everyone. Help everyone and share your knowledge. Stop worrying and start work the things you want to do and you want to make. Start somewhere. Spread positivity and happiness and encourage others to work for the things they love. Never settle and never give up!</p><p>Last thing I want to mention is that the developer community on Instagram has helped me a lot. You can check out my profile with username ilakshay14 and all the developers I am following. They all have been of a great help. All of them are good people.</p><p>Cheers! Keep that fire alive! 🥃✌️</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d9763001b8df" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A hobby coder and a gamer — I am usually very confused!]]></title>
            <link>https://medium.com/@ihybrid11/a-hobby-coder-and-a-gamer-i-am-usually-very-confused-c4da8e7e1151?source=rss-559bba76264------2</link>
            <guid isPermaLink="false">https://medium.com/p/c4da8e7e1151</guid>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[codin]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[tech]]></category>
            <dc:creator><![CDATA[Lakshay Malhotra]]></dc:creator>
            <pubDate>Mon, 17 Dec 2018 19:09:04 GMT</pubDate>
            <atom:updated>2018-12-17T19:09:04.101Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>A hobby coder and a gamer — I am usually very confused!</strong></p><p>Hi, I am a 25 year old guy, I love coding and gaming and I am usually very confused. This post is basically about what my life is like every day and what all the challenges I have faced during the year. From this, I am hoping to inspire not many, but at least a few people to get into tech.</p><p>3 years ago, I passed out from my Engineering course in which I literally was not interested. But anyway I am thankful to it for giving me something that I love to do, but I am not good at — Coding. Apparently, this did not get me a job; and trust me — in my geographical location, society creates a terrible mental pressure and also you need money for food and cool stuff. So I joined a 6-month course which was basically a Post Grad Diploma aiming to teach their students a lot of technologies in just 6 months — which, trust me, is not possible for almost all of us. I was expecting to learn something interesting, be surrounded by creative people, improve my coding skills at a collaborative stage and then earn a good job.</p><p>What actually happened was that those 6 months kind of went into the waste — I was not surrounded by creative people, I barely learned anything new because they taught basics which I had already done on my own, and I landed up with a job I don’t like but I am okay to do because of the conditions as per my geographical location (I may be wrong — LOL). So it has been 2 years almost, I am doing something which I don’t like but I have to do anyway because I have to pay my bills, buy stuff I like, eat shit I like and eventually support my family at some stage. Just to add to it, I do my best and people actually appreciate it — just because I don&#39;t like it, that doesn’t mean I won’t do it properly. :D</p><p>After my boring and tiring 9–6 job, I have 15 hours left in my hands. I try to make the best out of those 15 hours by doing things I like — and that’s where all the confusion starts — what to code or what to play. 30 mins from 24 hours I waste on deciding whether to play or not and if yes, the what to play. I know I’ll probably end up playing Dark Souls 3, but try to not as I want to put more time in coding. Anyway coming back to the original point, after office I prefer to invest the maximum of my time in coding, building websites and learning new technologies and improving existing projects. But somehow, I fail to do so most of the time.</p><p>Till date, I do not know the complete process of building and hosting a website. I sometimes wonder, why have I been so lazy to research it out. Trust me, when you are building something — website, mobile application, servers, software, game, etc — you need to have tons and tons of patience. The learning process is never easy. For me, it was never easy. The only resource I ever had to guide me through whatever I know, was the internet. You need to have some patience and the build the capability to research your problems on the internet. I have always struggled to find the correct path for the front end, back end, data management, designing my website and improving the performance. Sometimes you don’t get the gist at one go but practice makes your better with each iteration. One of the biggest challenges I face is decided what to build. It is extremely important to go through the things in a systematic way especially when you are at the learning stage. It is important to exercise — people say so and you should listen to them — even though I don’t 😂. It is much required to exercise, and maintain a good diet and sleep properly. By sleeping properly, I mean to say whatever your brain needs, reduce it by 1–2 hours. For me, sometimes 2 hours is enough and sometimes 10 hours feels like I haven’t slept at all.</p><p>I wake up and l sit down facing a wall for like next 30–40 minutes. In this time, I plan my day, I set my goals (which includes what I want to have during my meals :P) like what all I need to code and what all I need to learn. I don’t go out for a jog or a run and I don’t do any exercise; even though you should because it is good for your health, I don’t! So I get up, do the daily chores, check my emails; listen to a few song songs on YouTube — just to clear my mind and then I sit in front of my system to start working.</p><p>I jot down my goals either on a piece of paper or somewhere in word and I plan how to implement that. I am sure you might be one of the best coders or must be champ, but never forget your roots. Always start with a scratch. Understand the problem, analyze it properly and then implement it. If required, use a paper to write/draw what you are thinking. This will actually help and guide you. You will have a clear picture in your hand telling you that in which direction you are moving — And you can always turn back! I have a few friends — I mean no offense to anyone and I love them anyway — who would directly jump to the implementation of the first picture they will have in mind, without analyzing the problem and they will even use bootstrap. That is not how it works! If you have to climb 10 stairs, you cannot directly start from the 5th one; you always start from 0!</p><p>Once you are clear with your logic, then start defining a basic template. That template will provide you a structure to implement your logic and its design — and that would be like really helpful when you want to add new features or rebuild your stack. This is what I believe and this is what I have experienced.</p><p>Interaction with other techy people gives you a better view of how things are running in this world. You learn more, your horizon expands and you might even get better insights of different frameworks. There can be n different ways to implement what you are thinking and may none of them is wrong. It might just depend on their purpose that in which nth method you want to implement your idea. So don’t skip on interactions and try to socialize — I don’t because I have built this comfortable ecosystem, but it is important.</p><p>Last but not least, force yourself to step out of your comfort zone. It is damn important to do so. Be creative. Don’t think what others are thinking. Invest majority of your time in creative and logical things. Coding is an art. You have a blank canvas and it is up to you what you want to make. It is all about you! Your idea, your imagination and your thoughts.</p><p><strong>Be creative and always be ready to learn new things!</strong></p><p>Well, this was my first post. I hope it was not too much and it was not too less. Any suggestions, please let me know. Also, if anyone of you knows a good post/tutorial that I can follow to understand A-Z everything in web development, please let me know.</p><p>All the best! Cheers and I will continue this further soon!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c4da8e7e1151" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>