<?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 113 shubham patil on Medium]]></title>
        <description><![CDATA[Stories by 113 shubham patil on Medium]]></description>
        <link>https://medium.com/@patilshubham693?source=rss-778e04472f46------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*r_PRIn8FDKwg6BTN</url>
            <title>Stories by 113 shubham patil on Medium</title>
            <link>https://medium.com/@patilshubham693?source=rss-778e04472f46------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 20:40:19 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@patilshubham693/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[7 Powerful Uses of Angular ng-container and ng-template Every Developer Should Know]]></title>
            <link>https://medium.com/@patilshubham693/7-powerful-uses-of-angular-ng-container-and-ng-template-every-developer-should-know-898cedc3e572?source=rss-778e04472f46------2</link>
            <guid isPermaLink="false">https://medium.com/p/898cedc3e572</guid>
            <category><![CDATA[front-end-development]]></category>
            <category><![CDATA[angularjs]]></category>
            <category><![CDATA[ecommerce-web-development]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[angular]]></category>
            <dc:creator><![CDATA[113 shubham patil]]></dc:creator>
            <pubDate>Fri, 15 May 2026 09:15:24 GMT</pubDate>
            <atom:updated>2026-05-15T09:26:52.551Z</atom:updated>
            <content:encoded><![CDATA[<blockquote><strong><em>Learn the real difference between Angular </em></strong><strong><em>ng-container and </em></strong><strong><em>ng-template with practical examples, interview questions, and real-world use cases.</em></strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*pKmw-LcpPjUgVv0PegpBRw.jpeg" /></figure><p>Angular developers often use *ngIf and *ngFor daily, but many still get confused about when to use ng-container and ng-template.</p><p>At first glance, they look similar — but they solve completely different problems.</p><p>In this article, we’ll understand:</p><ul><li>What ng-container is</li><li>What ng-template is</li><li>The key difference between them</li><li>Real-world Angular examples</li><li>Best practices developers use in production apps</li></ul><h3>What is ng-container?</h3><p>ng-container is a logical container in Angular.</p><p>It does <strong>not create any extra HTML element</strong> in the DOM.</p><p>This is extremely useful when you want to apply structural directives like:</p><ul><li>*ngIf</li><li>*ngFor</li><li>*ngSwitch</li></ul><p>without adding unnecessary &lt;div&gt; tags.</p><h3>Example Without ng-container</h3><pre>&lt;div *ngIf=&quot;isLoggedIn&quot;&gt;<br>  &lt;h2&gt;Welcome User&lt;/h2&gt;<br>&lt;/div&gt;</pre><p>This creates an extra &lt;div&gt; in the DOM.</p><p>Sometimes extra elements break:</p><ul><li>CSS layouts</li><li>Flexbox alignment</li><li>Grid structure</li></ul><h3>Example With ng-container</h3><pre>&lt;ng-container *ngIf=&quot;isLoggedIn&quot;&gt;<br>  &lt;h2&gt;Welcome User&lt;/h2&gt;<br>&lt;/ng-container&gt;</pre><p>Now Angular applies the condition without creating extra DOM elements.</p><p>Cleaner DOM = Better structure.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Twm05JUEHQ-z34kaSBFUTg.jpeg" /></figure><h3>Real-World Use Case of ng-container</h3><p>Suppose you want both:</p><ul><li>*ngFor</li><li>*ngIf</li></ul><p>on the same block.</p><p>Angular does NOT allow multiple structural directives on one element.</p><p>This will throw an error:</p><pre>&lt;li *ngFor=&quot;let user of users&quot; *ngIf=&quot;user.active&quot;&gt;<br>  {{ user.name }}<br>&lt;/li&gt;</pre><h3>Correct Way Using ng-container</h3><pre>&lt;ng-container *ngFor=&quot;let user of users&quot;&gt;<br>  &lt;li *ngIf=&quot;user.active&quot;&gt;<br>    {{ user.name }}<br>  &lt;/li&gt;<br>&lt;/ng-container&gt;</pre><h3>What is ng-template?</h3><p>ng-template is used to define a template that Angular does NOT render immediately.</p><p>It stays hidden until Angular is told to display it.</p><h3>Basic ng-template Example</h3><pre>&lt;ng-template&gt;<br>  &lt;p&gt;This will not render directly&lt;/p&gt;<br>&lt;/ng-template&gt;</pre><p>Nothing appears on the screen because Angular keeps it as a template reference.</p><h3>Using ng-template with *ngIf</h3><p>This is where ng-template becomes powerful.</p><pre>&lt;div *ngIf=&quot;isLoggedIn; else loggedOut&quot;&gt;<br>  Welcome Back!<br>&lt;/div&gt;<br>&lt;ng-template #loggedOut&gt;<br>  &lt;p&gt;Please Login&lt;/p&gt;<br>&lt;/ng-template&gt;</pre><h3>How This Works</h3><p>If isLoggedIn is:</p><ul><li>true → show “Welcome Back!”</li><li>false → render the loggedOut template</li></ul><p>This pattern is heavily used in:</p><ul><li>Authentication pages</li><li>Loading states</li><li>Error handling</li><li>Empty screens</li></ul><h3>Example</h3><pre>&lt;ng-container *ngIf=&quot;users.length &gt; 0; else noUsers&quot;&gt;  <br>  &lt;div *ngFor=&quot;let user of users&quot;&gt;<br>    {{ user.name }}<br>  &lt;/div&gt;<br>&lt;/ng-container&gt;<br>&lt;ng-template #noUsers&gt;<br>  &lt;p&gt;No Users Found&lt;/p&gt;<br>&lt;/ng-template&gt;</pre><p>This creates:</p><ul><li>Cleaner HTML</li><li>Better readability</li><li>More maintainable Angular code</li></ul><h3>Imp Tip</h3><p>Many Angular developers overuse &lt;div&gt; tags.</p><p>Using ng-container properly can:</p><ul><li>Reduce DOM size</li><li>Improve readability</li><li>Prevent CSS issues</li><li>Make Angular templates cleaner</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OQHA38PFoDYMtDZPMw059g.jpeg" /></figure><h3>Interview Question:</h3><h3>Difference Between ng-container and ng-template?</h3><p>Simple answer:</p><ul><li>ng-container groups elements without adding DOM nodes.</li><li>ng-template stores template content for later rendering.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=898cedc3e572" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Angular Learning Series — Day 1: Introduction to Angular & First Project Setup]]></title>
            <link>https://medium.com/@patilshubham693/angular-learning-series-day-1-introduction-to-angular-first-project-setup-9455e2c3a129?source=rss-778e04472f46------2</link>
            <guid isPermaLink="false">https://medium.com/p/9455e2c3a129</guid>
            <category><![CDATA[angular]]></category>
            <category><![CDATA[angular-series]]></category>
            <category><![CDATA[frontend-development]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[web-development]]></category>
            <dc:creator><![CDATA[113 shubham patil]]></dc:creator>
            <pubDate>Fri, 15 May 2026 04:06:19 GMT</pubDate>
            <atom:updated>2026-05-15T04:06:19.997Z</atom:updated>
            <content:encoded><![CDATA[<p>Angular is one of the most powerful frontend frameworks used for building fast, scalable, and enterprise-level web applications.</p><p>In this series, we will learn Angular step by step in a simple and practical way — from beginner concepts to advanced real-world topics.</p><p>Today in <strong>Day 1</strong>, we will learn:</p><ul><li>What is Angular</li><li>Why Angular is popular</li><li>Angular Architecture basics</li><li>Install Angular</li><li>Create your first Angular project</li></ul><h3>What is Angular?</h3><p>Angular is a <strong>TypeScript-based frontend framework</strong> developed by Google.</p><p>It is mainly used to build:</p><ul><li>Single Page Applications (SPA)</li><li>Enterprise applications</li><li>Dynamic web applications</li></ul><p>Popular companies using Angular:</p><ul><li>Google</li><li>Microsoft</li><li>PayPal</li><li>Upwork</li></ul><h3>Why Angular is Popular</h3><h3>1. Component-Based Architecture</h3><p>Angular applications are divided into reusable components.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*BKj2MCDrR3Lxn_8Hvju6Eg.jpeg" /></figure><p>Example:</p><ul><li>Header component</li><li>Sidebar component</li><li>Login component</li></ul><p>This makes applications cleaner and easier to maintain.</p><h3>2. Two-Way Data Binding</h3><p>Angular automatically syncs data between UI and TypeScript.</p><p>Example:</p><pre>&lt;input [(ngModel)]=&quot;username&quot;&gt;</pre><p>When the input changes, the variable updates automatically.</p><h3>3. Built-in Features</h3><p>Angular already provides:</p><ul><li>Routing</li><li>Forms</li><li>HTTP API calls</li><li>Dependency Injection</li><li>Validation</li></ul><p>No need to install many external libraries.</p><h3>What is SPA (Single Page Application)?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/550/1*_8axBhF9sdwbpAmR5h9HxQ.jpeg" /></figure><p>In traditional websites:</p><ul><li>Entire page reloads on navigation.</li></ul><p>In Angular SPA:</p><ul><li>Only required content updates.</li><li>Page reload does not happen.</li></ul><p>Benefits:</p><ul><li>Faster applications</li><li>Better user experience</li><li>Smooth navigation</li></ul><h3>Install Angular</h3><h3>Step 1 — Install Node.js</h3><p>Download and install Node.js:</p><p><a href="https://nodejs.org/?utm_source=chatgpt.com">Node.js Official Website</a></p><p>Check installation:</p><pre>node -v<br>npm -v</pre><h3>Step 2 — Install Angular CLI</h3><p>Run this command:</p><pre>npm install -g @angular/cli</pre><p>Check Angular version:</p><pre>ng version</pre><h3>Create Your First Angular Project</h3><p>Run:</p><pre>ng new my-first-app</pre><p>Angular will ask some setup questions.</p><p>After project creation:</p><pre>cd my-first-app</pre><p>Run application:</p><pre>ng serve</pre><p>Open browser:</p><pre>http://localhost:4200</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/624/1*iWhVNu59a9BK9AXs6xBV9w.jpeg" /></figure><p>Your Angular application is now running successfully.</p><h3>Angular Project Structure</h3><p>Important folders:</p><p>FolderPurposesrc/appComponents and logicassetsImages/filesenvironmentsEnvironment configsangular.jsonAngular configuration</p><h3>First Component Example</h3><h3>app.component.ts</h3><pre>export class AppComponent {<br>  title = &#39;Angular Learning&#39;;<br>}</pre><h3>app.component.html</h3><pre>&lt;h1&gt;{{ title }}&lt;/h1&gt;</pre><p>Output:</p><pre>Angular Learning</pre><p>This is called <strong>Interpolation</strong> in Angular.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/617/1*qIpQKFq2hGALy2daPREMnA.jpeg" /></figure><h3>Common Beginner Mistakes</h3><h3>1. Forgetting to install Node.js</h3><p>Angular CLI requires Node.js.</p><h3>2. Using wrong Angular CLI version</h3><p>Always check:</p><pre>ng version</pre><h3>3. Running project outside project folder</h3><p>Always run:</p><pre>cd project-name<br>ng serve</pre><h3>Final Thoughts</h3><p>Today we learned:</p><ul><li>Angular basics</li><li>Why Angular is powerful</li><li>Angular installation</li><li>Creating first project</li></ul><p>This is the foundation of Angular development.</p><p>In <strong>Day 2</strong>, we will learn:</p><ul><li>Components in detail</li><li>How Angular components work</li><li>Component communication basics</li></ul><p>Stay tuned for the next part of the Angular Learning Series.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9455e2c3a129" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How I Switched from Civil Engineer to Software Developer (My Real Journey)]]></title>
            <link>https://medium.com/@patilshubham693/how-i-switched-from-civil-engineer-to-software-developer-my-real-journey-872ebaed5f91?source=rss-778e04472f46------2</link>
            <guid isPermaLink="false">https://medium.com/p/872ebaed5f91</guid>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[angular]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[career-change]]></category>
            <dc:creator><![CDATA[113 shubham patil]]></dc:creator>
            <pubDate>Tue, 05 May 2026 03:48:06 GMT</pubDate>
            <atom:updated>2026-05-05T03:48:06.011Z</atom:updated>
            <content:encoded><![CDATA[<h4>I Left Civil Engineering for Coding — Here’s What Actually Happened</h4><p>I was working as a civil engineer, managing road construction work and handling site responsibilities.<br>The job was stable. The salary was okay. From the outside, everything looked fine.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_9wgS2X0SiPXQcSE_rwrvA.png" /></figure><p>But inside, I wasn’t satisfied.</p><p>Long hours on-site, slow career growth, and the same routine every day made me question something important:<br><strong>“Do I really want to do this for the next 10–15 years?”</strong></p><p>That question changed everything.</p><h3>My Background</h3><p>I completed my degree in civil engineering and started working in road construction. Like most freshers, I didn’t question much in the beginning. I just followed the path.</p><p>But after some time, I realized I wasn’t excited about my work. I was doing it because I had to — not because I wanted to.</p><p>That’s when I started exploring other options.</p><h3>The Turning Point</h3><p>One day, after a long work shift, I came home tired and thought about my future.</p><p>The thought of continuing the same work for years honestly scared me.</p><p>I didn’t hate civil engineering — but I knew it wasn’t for me.</p><p>At that moment, I made a decision:<br><strong>I will switch my career to software development.</strong></p><p>No background. No experience. Just a decision.</p><h3>Starting From Zero</h3><p>I had no idea where to start.</p><p>I began with the basics:</p><ul><li>Core Java</li><li>HTML, CSS</li><li>JavaScript</li></ul><p>Later, I moved into:</p><ul><li>TypeScript</li><li>Ionic Framework(android and ios app)</li><li>Angular</li><li>Advance Java</li><li>Database (Oracle)</li></ul><p>At the same time, I was still working a full-time job from <strong>9 AM to 7 PM</strong>.</p><p>So my routine became:</p><ul><li>Work during the day</li><li>Study at night (2–3 hours minimum)</li></ul><p>Some days were productive.<br>Many days were not.</p><h3>The Struggles No One Talks About</h3><p>This phase was the hardest.</p><p>There were days when:</p><ul><li>I didn’t understand anything</li><li>I’m reading and forgetting this is happening every time. But i didn&#39;t lost my hope continuously I’m learning.</li><li>I felt completely stuck</li><li>I questioned my decision</li><li>I compared myself with others</li></ul><p>Sometimes I would spend hours on a simple bug and still not solve it.</p><p>But one thing I didn’t do was stop.</p><p>Even on bad days, I showed up.</p><h3>What Helped Me Move Forward</h3><p>Instead of just watching tutorials, I started:</p><ul><li>Practicing regularly</li><li>Building small projects</li><li>Revising concepts again and again</li></ul><p>I also took mentorship for guidance, which helped me understand how real projects work.</p><p>That was a turning point.</p><h3>My First Break</h3><p>After months of consistent effort and learning, I finally got an opportunity as a developer.</p><p>It wasn’t easy. It wasn’t quick.</p><p>But it happened.</p><p>That first chance changed everything. It gave me confidence that I was on the right path.</p><h3>Where I Am Today</h3><p>Today, I work as an <strong>Angular and Ionic Developer(web and mobile application developer) </strong>.</p><p>I build real applications, fix bugs, handle production issues, and continuously learn new things.</p><p>The journey is still ongoing — but I’m in a much better place than where I started.</p><h3>What I Learned From This Journey</h3><p>If you’re thinking of switching your career, here are a few honest lessons:</p><ul><li><strong>Consistency beats motivation</strong><br>You won’t feel motivated every day. Show up anyway.</li><li><strong>Don’t wait for perfect time</strong><br>Start with whatever time you have.</li><li><strong>Focus on practical skills</strong><br>Projects and real work matter more than theory.</li><li><strong>It’s okay to feel lost</strong><br>Everyone goes through that phase.</li><li><strong>Comparison will slow you down</strong><br>Focus on your own progress.</li></ul><h3>Final Thoughts</h3><p>Switching careers wasn’t easy.</p><p>There were doubts, struggles, and moments where quitting felt easier.</p><p>But looking back now, I’m glad I didn’t stop.</p><p>If you’re in a similar situation — confused, stuck, or thinking about a change — just start.</p><p>You don’t need to have everything figured out.</p><p>You just need to take the first step.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=872ebaed5f91" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>