<?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 Prashant Naikar on Medium]]></title>
        <description><![CDATA[Stories by Prashant Naikar on Medium]]></description>
        <link>https://medium.com/@prashantnaiker9?source=rss-f69d35cef12------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*DWoLc-5U_FvoiM3BltNCGQ.jpeg</url>
            <title>Stories by Prashant Naikar on Medium</title>
            <link>https://medium.com/@prashantnaiker9?source=rss-f69d35cef12------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 01:22:18 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@prashantnaiker9/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[I Interviewed for an 18 LPA Agentic AI Role — The Questions Had Nothing to Do With Code]]></title>
            <link>https://medium.com/@prashantnaiker9/i-interviewed-for-an-18-lpa-agentic-ai-role-the-questions-had-nothing-to-do-with-code-c924c3c4d93c?source=rss-f69d35cef12------2</link>
            <guid isPermaLink="false">https://medium.com/p/c924c3c4d93c</guid>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[ai-agent]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[careers]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <dc:creator><![CDATA[Prashant Naikar]]></dc:creator>
            <pubDate>Sun, 15 Mar 2026 16:38:29 GMT</pubDate>
            <atom:updated>2026-03-15T16:38:29.129Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*flc8zghdvRopV8Qx22y5sQ.png" /></figure><p>Recently, I gave an interview for an <strong>18 LPA role as an Agentic AI Solutions Engineer</strong> for a US-based business firm.</p><p>The interview lasted about <strong>30 minutes</strong>, but unlike many traditional software engineering interviews, this one wasn’t focused on algorithms, language syntax, or framework knowledge.</p><p>Instead, the entire discussion revolved around <strong>business problems and how agentic AI systems could solve them</strong>.</p><p>This company was planning to start their own startup around <strong>Agentic AI solutions</strong>, and they were looking for someone who could help design and implement AI-driven workflows for their clients.</p><p>What stood out to me during the interview was how <strong>different the conversation was from typical developer interviews</strong>.</p><p>It wasn’t about code.</p><p>It was about <strong>understanding real-world problems and thinking about how intelligent systems could solve them.</strong></p><h3>What the Company Was Actually Looking For</h3><p>One of the first things that became clear during the interview was that this company did <strong>not have a technical department of its own</strong>.</p><p>They were primarily a <strong>business firm</strong>, and their goal was to enter the AI space by building <strong>custom agentic AI solutions for their clients</strong>.</p><p>Because of that, they were not looking for someone who would simply write code or integrate APIs.</p><p>They wanted someone who could <strong>lead the technical direction of AI solutions inside their company</strong>.</p><p>That means:</p><ul><li>understanding client problems</li><li>designing intelligent workflows</li><li>choosing the right AI tools</li><li>building systems that actually solve real business challenges</li></ul><p>In other words, the role was not just about development — it was about <strong>bridging business problems with AI-driven solutions &amp; Semi-Lead Role</strong>.</p><h3>The Real Problems Their Clients Were Facing</h3><p>During the interview, a large part of the conversation focused on the kinds of <strong>clients they work with and the problems those clients are currently facing</strong>.</p><p>Many of their clients operate in the <strong>education domain</strong>, including organizations connected to institutions and programs in the United States. These organizations often run multiple operational processes but usually have <strong>very small internal teams and tight budgets</strong>.</p><p>One example they shared during the interview made this very clear.</p><p>They described a situation where one of their clients needed someone to manage certain <strong>administrative tasks</strong>, such as handling dashboards, updating operational data, and managing some internal workflow processes.</p><p>Normally, the solution would be simple: <strong>hire someone to manage those tasks</strong>.</p><p>But the client had <strong>budget constraints</strong> and could not afford to hire an additional employee just to handle those responsibilities.</p><p>So the question they asked during the interview was essentially this:</p><blockquote><strong>How could agentic AI help solve a problem like this?</strong></blockquote><p>Instead of hiring a new person, the idea would be to build <strong>AI-driven agents that could take care of parts of those administrative workflows &amp; can Intelligently handle them</strong>.</p><p>For example, agents could potentially:</p><ul><li>retrieve and update dashboard information</li><li>process incoming data or documents</li><li>automate routine reporting tasks</li><li>coordinate simple operational workflows</li></ul><p>The goal is not to completely replace human workers, but to <strong>reduce the amount of manual effort required for repetitive tasks</strong>, allowing small teams to operate more efficiently.</p><p>This was an interesting example because it showed that many companies are not necessarily looking for flashy AI products or advanced research systems.</p><p>Often, they simply want <strong>practical automation that helps them run their operations more efficiently within limited budgets</strong>.</p><p>And that is exactly where <strong>agentic AI workflows can create real value</strong>.</p><h3>What the Role of an Agentic AI Solutions Engineer Actually Means</h3><p>As the discussion continued, it became clearer what they expected from someone in the <strong>Agentic AI Solutions Engineer role</strong>.</p><p>This role was not simply about writing prompts or connecting APIs.</p><p>They were looking for someone who could:</p><ul><li>understand client problems</li><li>design AI-driven workflows</li><li>implement systems that integrate multiple tools and technologies</li></ul><p>That means thinking about things like:</p><ul><li>how different AI agents interact with each other</li><li>how workflows are triggered and controlled</li><li>how systems interact with APIs and data sources</li><li>how human oversight fits into automated processes</li></ul><p>In other words, the role sits somewhere between <strong>software engineering, system design, and applied AI solutions</strong>.</p><h3>What Actually Surprised Me During the Interview</h3><p>One thing that surprised me was that I initially assumed they were looking for someone who could simply <strong>integrate AI features into existing products</strong>.</p><p>But that wasn’t the case.</p><p>What they actually wanted was someone who could <strong>build independent agentic AI systems from scratch</strong>.</p><p>They were not interested in depending heavily on SaaS platforms or closed ecosystems.</p><p>Instead, they wanted someone who could:</p><ul><li>choose the right <strong>LLM for the use case</strong></li><li>design systems using <strong>RAG or other techniques</strong></li><li>build workflows using frameworks like <strong>LangChain</strong></li><li>store knowledge in <strong>vector databases and Azure services</strong></li></ul><p>The goal was to build systems where the company had <strong>full control over their AI infrastructure</strong>.</p><p>They wanted to create multiple <strong>agentic workflows</strong> where different agents handle different tasks such as document processing, reasoning, communication with external systems, and coordinating business workflows.</p><p>Another important requirement they emphasized was <strong>flexibility</strong>.</p><p>They wanted systems where the company could <strong>replace or switch LLMs whenever needed</strong>, without rebuilding everything.</p><p>This is very similar to how traditional developers build full-stack applications where the <strong>company owns the code and architecture</strong>.</p><h3>Questions About My Previous AI Work</h3><p>During the interview, they also asked several questions about the <strong>AI-related work I had done in the past</strong>, especially around hackathons and projects.</p><p>They asked questions like:</p><ul><li>Have you used <strong>LLMs in your previous projects</strong>?</li><li>Have you built <strong>multi-agent workflows</strong>?</li><li>How do you manage <strong>chat context with an LLM</strong>?</li><li>Have you implemented <strong>RAG pipelines</strong>?</li></ul><p>I answered honestly.</p><p>In my previous experience, I had used <strong>Azure AI Foundry</strong> while working on a project called <strong>FormPilot</strong>, and I had also used tools like <strong>Devin and n8n</strong> while building our <strong>Fixmate system</strong>.</p><p>However, I also told them openly that I had <strong>not yet implemented advanced session context management or full RAG pipelines</strong>, and I had not built complete <strong>multi-agent systems yet</strong>.</p><p>Instead of exaggerating my experience, I chose to explain <strong>exactly what I had done and what I was still learning</strong>.</p><h3>The Final Questions</h3><p>Toward the end of the interview, they asked two particularly interesting questions.</p><p>The first one was:</p><p><strong>What is the difference between Copilot Studio and Azure AI Foundry?</strong></p><p>I explained that <strong>Copilot Studio is a no-code platform</strong> designed for business users such as business analysts and non-technical teams who want to create AI agents without writing code.</p><p>It allows users to design agents through a <strong>visual interface</strong>, train them on workflows, test them, and deploy them easily.</p><p>It is useful for tasks like:</p><ul><li>document generation</li><li>automated emails</li><li>repetitive workflows</li></ul><p>However, customization is limited when it comes to complex workflows.</p><p>Azure AI Foundry, on the other hand, provides <strong>much more control for developers</strong>.</p><p>It allows engineers to build <strong>custom AI architectures</strong>, integrate different models, and create highly specialized AI systems tailored to specific problems.</p><p>After my explanation, the interviewer responded:</p><p><strong>“Great explanation.”</strong></p><h3>The Question About My Career Choice</h3><p>The final question they asked was:</p><p><strong>Why do you want to work with a business firm instead of a software firm or software company?</strong></p><p>I answered honestly.</p><p>For me, it’s not about the type of company.</p><p>What matters is <strong>the kind of problems I get to solve</strong>.</p><p>If I join another tech company but end up doing the same type of full-stack work again, solving the same problems repeatedly, my growth would be limited.</p><p>But the industry is clearly moving toward <strong>Agentic AI systems and intelligent workflows</strong>.</p><p>Being able to solve problems in that space will make a much bigger impact in the future.</p><p>And since their company was trying to solve those kinds of problems, it was exactly the type of challenge I wanted to work on.</p><p>After hearing my answer, the interviewer said:</p><p><strong>“Brilliant answer.”</strong></p><h3>The Final Feedback</h3><p>At the end of the interview, they shared their honest feedback.</p><p>They said I had a <strong>good understanding of the fundamentals</strong> and that I explained my thinking clearly &amp; understand businesses well.</p><p>However, they were currently looking for someone closer to a <strong>Level 2 engineer in the Agentic AI space</strong>, while they felt I was currently closer to <strong>Level 1</strong>.</p><p>That meant they wanted someone who had already built and deployed more advanced systems such as <strong>multi-agent workflows and deeper AI orchestration architectures</strong>.</p><p>However, they also said they would like to <strong>stay in touch</strong> and see how I grow in this space.</p><p>They told me they would be interested in reconsidering me in the future if I continued building <strong>agentic workflows and AI systems</strong>.</p><h3>The Realization I Had After This Interview</h3><p>Even though I did not get selected for the role, this interview revealed something very interesting.</p><p>Right now, there is a <strong>huge gap in the industry</strong>.</p><p>Many businesses want to integrate AI into their workflows, but they <strong>don’t know how to do it</strong>.</p><p>At the same time, many engineers know the technology but struggle to identify <strong>which real business problems need solving</strong>.</p><p>So we currently have two sides:</p><ul><li>businesses that understand their problems but don’t understand AI</li><li>engineers who understand AI but don’t fully understand business problems</li></ul><p>The real opportunity lies somewhere in the middle.</p><p>The engineers who understand <strong>both business context and AI systems</strong> will likely have a huge advantage in the coming years.</p><p>That is one of the reasons why I started learning and exploring <strong>Agentic AI systems more seriously</strong>.</p><p>Because in the end, technology is not about building impressive systems.</p><p>It’s about <strong>solving real problems that matter</strong>.</p><p>I will continue giving interviews as I aim for <strong>better roles and stronger opportunities as a software engineer</strong>, and I will keep sharing insights from these experiences.</p><p>If you enjoy reading about <strong>real interview experiences, AI engineering, and practical software development</strong>, feel free to follow me here on Medium.</p><p>You can also connect with me on <a href="https://x.com/heyPrashantt"><strong>X</strong></a><strong> and </strong><a href="https://www.linkedin.com/in/prashant-naiker-64655b239/?lipi=urn%3Ali%3Apage%3Ad_flagship3_profile_view_base_contact_details%3BA009KeXTTXqClhGtoInBsA%3D%3D"><strong>LinkedIn</strong></a>, where I regularly share thoughts, lessons, and experiences from my journey as a developer.</p><p>More insights coming soon.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c924c3c4d93c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[I Gave an Interview for a 10 LPA Software Engineer Role — Here’s My Interview Expirence]]></title>
            <link>https://medium.com/@prashantnaiker9/i-gave-an-interview-for-a-10-lpa-software-engineer-role-heres-my-interview-expirence-9ead1f55d90f?source=rss-f69d35cef12------2</link>
            <guid isPermaLink="false">https://medium.com/p/9ead1f55d90f</guid>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[tech]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[career-development]]></category>
            <category><![CDATA[programming]]></category>
            <dc:creator><![CDATA[Prashant Naikar]]></dc:creator>
            <pubDate>Sun, 22 Feb 2026 17:52:59 GMT</pubDate>
            <atom:updated>2026-02-22T17:52:59.315Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wj1t2DNAKJ6UEULXNjeZjA.png" /></figure><p>I’m a Full-Stack Engineer with around <strong>3 years of experience working with .NET and Angular</strong>. Recently, I started giving interviews to move into <strong>better roles and get higher Salary</strong>.</p><p>A few days ago, I interviewed with a <strong>small company offering a 10 LPA role</strong>. Going into the interview, I felt reasonably confident. I work daily on real projects, build features, fix bugs, and deal with production-grade systems.</p><p>But this interview turned out to be a strong reality check.</p><p>In this article, I want to share <strong>what they asked me</strong>, <strong>where I struggled</strong>, and <strong>what this interview revealed about my preparation and technical depth as a developer</strong>.</p><h3>How the Interview Started</h3><p>The interview began with a brief introduction.</p><p>I talked about my experience so far — the companies I had worked with, the projects I had been part of, and what my day-to-day responsibilities looked like in my team.</p><p>Very quickly, I realized that the interviewer wasn’t particularly interested in <em>what</em> I had worked on.</p><p>Instead, he was trying to evaluate <strong>how deep my understanding of my own tech stack actually was</strong>.</p><p>I had assumed the first round would be more of a general discussion about my experience, background, and whether I was a good fit for the role. But that assumption was wrong.</p><p>The interview went straight into <strong>technical questions</strong>, and it stayed there for almost the entire half hour.</p><h3>The First Question That Set the Tone</h3><p>The first question was on <strong>C#</strong>, which makes sense because in the .NET ecosystem, C# is the primary language you work with.</p><p>He asked:</p><p><strong>“What’s the difference between </strong><strong>var and </strong><strong>dynamic?”</strong></p><p>I did know that both are used when dealing with data where the type isn’t explicitly written. So I answered that both are used when you don’t know the type of data you’re getting back.</p><p>Then he followed up:</p><p><strong>“Okay, then which one would you use?<br> And when would you use </strong><strong>var versus </strong><strong>dynamic?”</strong></p><p>At that point, I answered based on what I had seen in my current codebase.</p><p>I said that we usually use dynamic when processing data in the form of lists or object collections, and that var is commonly used when fetching data from the database or working with database tables.</p><p>While that answer wasn’t entirely wrong, I could sense that it wasn’t the depth he was looking for.</p><p>That’s when I realized this interview was not testing familiarity — it was testing <strong>fundamentals and reasoning</strong>.</p><h3>Being Honest About My Preparation</h3><p>At that moment, it became clear to me that this interview was going to be <strong>technical-heavy</strong>, not a general discussion.</p><p>So I decided to be honest.</p><p>I told the interviewer that I had assumed the first round would be more about my overall experience — the companies I had worked with, the projects I had built, and what my daily responsibilities looked like.</p><p>I explained that I hadn’t come specifically prepared for a deep technical round right at the beginning, but that I would still try my best to answer whatever I could.</p><p>That honesty changed the tone of the interview.</p><p>The interviewer reduced the intensity of purely deep technical questions and started asking questions around <strong>things I had actually worked on</strong>.</p><p>In that moment, I realized something important:<br> interviews are not just about knowing everything — they’re also about <strong>how you communicate uncertainty and handle gaps</strong>.</p><h3>EF Core Questions and What I Knew</h3><p>After that, he asked what I had worked on most.</p><p>He asked whether I was familiar with <strong>LINQ</strong> and <strong>Entity Framework Core</strong>.</p><p>I told him honestly that most of my earlier work was with <strong>ADO.NET</strong>, and that for the past year I had been working with <strong>EF Core</strong> in my current project.</p><p>That led to more specific EF Core questions.</p><h3>AsNoTracking</h3><p>He asked whether I had used AsNoTracking and what it does.</p><p>I explained that AsNoTracking is used when we are fetching data for <strong>read-only operations</strong>. Since we’re not updating or writing that data back to the database, EF Core doesn’t need to track changes internally.</p><p>By default, EF Core tracks entities so it can detect changes and persist updates later. Using AsNoTracking avoids that overhead, reduces memory usage, and improves performance in read-heavy scenarios.</p><p>This was one of the questions I felt confident answering.</p><h3>Syntax I Had Never Used Before</h3><p>Then he asked me about this syntax:</p><pre>public required Price { get; init; }</pre><p>I was honest.</p><p>I said I had never seen this syntax before. I guessed that required probably meant the field was mandatory or related to validation, but I admitted that I didn’t know exactly how it worked.</p><p>He explained that:</p><ul><li>init allows the property to be set only during object initialization</li><li>required ensures that the property must be assigned when creating an instance</li></ul><p>This was a small moment, but it made me realize that <strong>modern language features can easily be missed</strong> if you don’t intentionally study them.</p><h3>Partial Classes</h3><p>Then came another question:</p><p><strong>“Do you know what a partial class is?”</strong></p><p>I said I had seen partial classes in the codebase, but I didn’t really know what they were used for or what problem they solved.</p><p>That answer felt uncomfortable — not because partial classes are complex, but because I had accepted something in the codebase without truly understanding it.</p><h3>Dependency Injection and Lifetimes</h3><p>Next, the interviewer asked about <strong>Dependency Injection in .NET</strong>.</p><p>I explained that Dependency Injection ensures that whenever an implementation or instance of a class is required at runtime, it is provided automatically. DI also manages the <strong>lifecycle</strong> of those instances.</p><p>I then explained the three lifetimes:</p><ul><li><strong>Singleton</strong>: one instance for the entire application lifetime, ideally stateless</li><li><strong>Scoped</strong>: one instance per HTTP request</li><li><strong>Transient</strong>: a new instance every time it’s requested</li></ul><p>Then came a follow-up:</p><p><strong>“Why do we usually register </strong><strong>DbContext as scoped?”</strong></p><p>I explained that EF Core tracks entity changes in memory. By registering DbContext as scoped, tracking is limited to a single request, which helps control memory usage and prevents state leakage across requests.</p><p>I also explained why:</p><ul><li>Singleton would cause long-lived tracking and memory issues</li><li>Transient could create multiple contexts within the same request</li></ul><p>This question made me realize that interviews care deeply about <strong>why</strong>, not just configuration.</p><h3>More Questions That Exposed Gaps</h3><p>Then he asked about <strong>soft delete</strong>.</p><p>I explained that we usually add an IsDeleted boolean column and filter records using WHERE IsDeleted = false In our SQL Queries.</p><p>He followed up with a practical question:</p><p><strong>“If you have many tables using soft delete columns and you don’t want to add this condition everywhere in your SQL Queries, How would you handle it in EF Core?”</strong></p><p>I thought for a moment.</p><p>I hadn’t faced this scenario before, and instead of bluffing, I said I didn’t know the exact EF Core solution.</p><p>That moment reinforced something important for me:<br> <strong>honesty is always better than pretending you know something you don’t.</strong></p><h3>Code First vs Database First</h3><p>Another question followed:</p><p><strong>“Do you use Code First or Database First?”</strong></p><p>I answered <strong>Code First</strong>, but I hadn’t prepared deeply for this topic.</p><p>So he asked:</p><p><strong>“If a table already has data and you need to change a column’s data type in a Code First approach, what would you do?”</strong></p><p>I tried to think through possible approaches, but I couldn’t give a confident answer.</p><p>That clearly highlighted a gap in my understanding of <strong>migrations and schema evolution</strong>.</p><h3>A Question I Could Answer Confidently</h3><p>The final question was more scenario-based:</p><p><strong>“If you want to store data coming from a third-party API into your database, how would you design it?”</strong></p><p>This was something I had worked on before.</p><p>I explained that it depends on how the third party sends data:</p><ul><li>If they push data, I would set up a <strong>webhook</strong></li><li>If we need to pull data, I would call their APIs as required</li></ul><p>I also explained the structure I usually follow:</p><ul><li>controller layer</li><li>service layer for business logic</li><li>repository layer for database operations</li></ul><p>This was one area where I felt confident again.</p><h3>The Feedback That Stuck With Me</h3><p>At the end of the interview, I asked for feedback.</p><p>The interviewer said:</p><blockquote><em>“Your communication skills are good.<br> You explain the things you’ve worked on very clearly.<br> You understand your own experience well.<br> But you need more technical depth.”</em></blockquote><p>He was right.</p><p>I hadn’t failed because I lacked experience.<br> I appeared underprepared because I hadn’t gone deep enough into fundamentals and edge cases.</p><h3>What This Interview Taught Me</h3><p>This interview wasn’t a failure.</p><p>It was a <strong>mirror</strong>.</p><p>It showed me that:</p><ul><li>daily development comfort ≠ interview readiness</li><li>abstractions can hide gaps</li><li>experience needs <strong>intentional reinforcement</strong></li></ul><p>It also showed me exactly <strong>where I need to go deeper next</strong> — especially in low-level design, language features, and core framework behavior.</p><p>I’ll be giving more interviews in the coming weeks — aiming for <strong>better packages and stronger software engineering roles</strong>.</p><p>I’m writing openly about these experiences because I know many developers are in the same phase:<br> working daily, building real things, but realizing interviews demand a different kind of preparation.</p><p>If you want to follow along:</p><ul><li><strong>Follow me on here</strong> — I write about real-world development, interviews, AI workflows, and growth as a software engineer</li><li><strong>Connect with me on </strong><a href="https://x.com/heyPrashantt"><strong>X (Twitter)</strong></a><strong> and </strong><a href="https://www.linkedin.com/in/prashant-naiker-64655b239/?lipi=urn%3Ali%3Apage%3Ad_flagship3_profile_view_base_contact_details%3Bdx6dOYIZTQG%2B%2FbeYdyZMBw%3D%3D"><strong>LinkedIn</strong></a> — I regularly share my experiences, learnings, and progress there</li></ul><p>If you’re interviewing right now, I hope this helped you reflect on your own preparation.</p><p>More to come.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9ead1f55d90f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Is Vibe Coding Actually Making You a Better Developer?]]></title>
            <link>https://medium.com/@prashantnaiker9/is-vibe-coding-actually-making-you-a-better-developer-88aadebc56ed?source=rss-f69d35cef12------2</link>
            <guid isPermaLink="false">https://medium.com/p/88aadebc56ed</guid>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[vibe-coding]]></category>
            <category><![CDATA[productivity]]></category>
            <category><![CDATA[programming]]></category>
            <dc:creator><![CDATA[Prashant Naikar]]></dc:creator>
            <pubDate>Sun, 15 Feb 2026 15:04:55 GMT</pubDate>
            <atom:updated>2026-02-15T15:04:55.126Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6AHg4Navcm2_tatK0c2fwg.png" /></figure><p>AI has become a default part of almost every developer’s workflow now.</p><p>From freshers to full-time developers, solopreneurs to startups, mid-sized companies to tech giants — everyone is using AI tools to write code faster. Cursor, Claude, ChatGPT, Gemini… the list keeps growing.</p><p>But there’s a more important question we don’t ask enough:</p><p><strong>Has AI actually improved your workflow — or are you just getting things done faster?</strong><br> And even more honestly: <strong>are you becoming a better developer, or just a faster one?</strong></p><h3>When Speed Didn’t Translate to Progress</h3><p>I was using AI every day for my development tasks.</p><p>On paper, I was faster. Code was getting generated instantly. Features looked “done.” But something felt off.</p><p>Even with AI, I wasn’t finishing tasks faster.</p><p>I couldn’t fully trust the code anymore — because I hadn’t written it.<br> And slowly, I became lazy about reviewing it.</p><p>Most of the time, my goal shifted to just <em>making the code work</em> and shipping it. I stopped thinking deeply about optimization, structure, or long-term impact.</p><p>That shortcut came back to bite me.</p><p>Whenever I tried to change something later, existing features would break. Now I had to build new features <strong>and</strong> protect old ones at the same time. Ironically, even with AI, the total time to ship actually increased.</p><p>That’s when I realized something was wrong.</p><h3>Stuck in the Prompting Loop</h3><p>I was constantly prompting, regenerating code, tweaking outputs — but not really moving forward.</p><p>A lot of code was being generated.<br> Very little was being <em>shipped</em>.</p><p>I even found myself paying for the latest AI tools — Cursor, Claude, everything — and still not shipping a single complete product. Meanwhile, there were people copy-pasting code from ChatGPT or Gemini and pushing things to production, getting real users.</p><p>That contrast forced an uncomfortable question:</p><p><strong>If better tools aren’t helping me ship faster, what’s actually going wrong?</strong></p><h3>The Real Problem I Discovered</h3><p>After a while, the pattern became clear.</p><p>I was vibe coding constantly — but my apps were still stuck in development. Weeks passed, speed increased, but end-to-end delivery slowed down.</p><p>So I stepped back and reviewed my workflow honestly.</p><p>Here’s what I was doing wrong.</p><h4>1. Starting Without Clarity</h4><p>I jumped straight into vibe coding without a clear picture of what I was actually building.</p><p>I didn’t clearly define what the end product should look like, what “done” really meant, or who the end user was supposed to be. I was prompting AI to generate code without first defining the end result myself.</p><p>Without that clarity, every prompt felt productive in isolation — but none of them moved the product meaningfully closer to completion. I was busy generating code, but I wasn’t progressing toward a finished product.</p><h4>2. Coding File by File Instead of Thinking in Modules</h4><p>I didn’t fully trust the AI, so I started building apps file by file.</p><p>First authentication.<br> Then database connection.<br> Then authorization logic.<br> Then APIs.<br> Then frontend components.</p><p>Instead of giving a clear, high-level prompt like:</p><p>“Add authentication and authorization end-to-end with proper APIs, database integration, UI, and tests,”</p><p>I fragmented the work into smaller and smaller pieces.</p><p>Ironically, this created <strong>more complexity, not less</strong>. By breaking things down too much, I lost the system-level view of how everything was supposed to work together. The AI was fast, but my workflow became disjointed and harder to reason about.</p><h4>3. Changing Code Without Business Understanding</h4><p>This became especially dangerous when working on existing or legacy codebases.</p><p>Vibe coding in parts of the system where I didn’t fully understand the business logic caused more problems than solutions. A change that looked correct from a technical perspective often broke assumptions embedded in the product’s behavior.</p><p>Without understanding <em>why</em> the code existed the way it did, AI-assisted changes introduced subtle bugs, rework, and confusion — all of which slowed development instead of accelerating it.</p><h4>4. Testing Too Narrowly</h4><p>I tested features one by one instead of validating the full flow early.</p><p>Each individual piece seemed fine on its own, but issues surfaced only when everything was connected together. By the time I discovered those problems, fixing them required revisiting multiple parts of the codebase.</p><p>What felt like “safe” incremental testing actually delayed feedback and increased the total time it took to stabilize the product.</p><h4>5. Obsessing Over UI Too Early</h4><p>I spent too much time perfecting the UI before the core functionality even worked.</p><p>Instead of building a working MVP first, I overthought layouts, styles, and visual polish. The result was a product that looked better on the surface but was fragile underneath.</p><p>Polish came before purpose — and the MVP suffered because of it.</p><h4>6. Not Defining an MVP Scope</h4><p>This was the biggest mistake of all.</p><p>Without a clear MVP definition, nothing ever felt truly “shippable.” Development dragged on due to perfectionism and an unspoken fear of rejection. I kept telling myself I’d ship once everything was complete — but that moment never arrived.</p><p>The truth is simple: most great products were not great at launch.</p><p>They improved because real users used them and gave feedback. Without shipping early, that feedback never comes. And without feedback, products don’t evolve — they just stay stuck in development.</p><h3>How I Fixed My Vibe Coding Workflow</h3><p>Once I identified the real issues, everything changed.</p><p>If you’re experiencing the same thing, here’s how to avoid or fix it and actually ship faster.</p><ol><li><strong>Have at least 60% clarity before you start</strong><br> Know what you’re building, who it’s for, and what the end result should be.</li><li><strong>Define a clear MVP you can ship within one month</strong><br> Don’t start development before this. Talk to users and pin down core features first.</li><li><strong>One-shot your app or think in modules, not files</strong><br> Design a strong prompt and let AI build the structure. Improve and refine afterward.</li><li><strong>Understand the business logic before vibe coding existing systems</strong><br> AI can help with implementation — judgment still has to be yours.</li><li><strong>Test the full app early</strong><br> Validate flows, not just features. Spend more time testing than regenerating code.</li><li><strong>Functionality first, UI later</strong><br> Your app should work before it looks beautiful.</li><li><strong>Never code without defining “shippable”</strong><br> Scope creates momentum. Without it, development never ends.</li></ol><p><strong>Bonus:</strong><br> If your app is already in production, review code heavily and test rigorously before shipping changes.</p><h3>The Real Takeaway</h3><p>Vibe coding isn’t the problem.</p><p><strong>Unclear thinking is.</strong></p><p>AI can dramatically improve your workflow — but only if you bring clarity, ownership, and judgment into the process. Otherwise, speed becomes noise, and productivity becomes an illusion.</p><p>If you fix the workflow, AI becomes leverage.<br> If you don’t, it quietly slows you down.</p><h3>Let’s Stay Connected</h3><p>If you found this useful, I regularly write about:</p><ul><li>real-world software development.</li><li>AI-assisted workflows.</li><li>Product thinking &amp; Product Building.</li><li>lessons from building and shipping.</li><li>Sharing My Journey As a Software Engineer.</li></ul><p>👉 <strong>Follow me on Medium</strong> for more articles like this<br> 👉 <strong>Connect with me on </strong><a href="https://x.com/heyPrashantt"><strong>X (Twitter)</strong></a><strong> and </strong><a href="https://www.linkedin.com/in/prashant-naiker-64655b239/"><strong>LinkedIn</strong></a> <strong>and </strong><a href="https://github.com/PrashantWritesCode"><strong>GitHub</strong></a>— I share my experiences, learnings, and experiments there as well</p><p>If you’ve faced similar issues with vibe coding — or found better ways to use it — drop a comment.<br> Let’s discuss and learn together.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=88aadebc56ed" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Using Devin AI Daily for 6 Months — What Actually Changed]]></title>
            <link>https://medium.com/@prashantnaiker9/using-devin-ai-daily-for-6-months-what-actually-changed-06535d9c67ab?source=rss-f69d35cef12------2</link>
            <guid isPermaLink="false">https://medium.com/p/06535d9c67ab</guid>
            <category><![CDATA[product-management]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[devin-ai]]></category>
            <dc:creator><![CDATA[Prashant Naikar]]></dc:creator>
            <pubDate>Fri, 06 Feb 2026 16:43:27 GMT</pubDate>
            <atom:updated>2026-02-06T16:43:27.342Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RtcUHmdt1EncoPvBV2MfJw.png" /></figure><p>When Devin was first introduced in our project, it didn’t feel like another tool being added to the stack. It felt like a shift in direction.</p><p>The startup I was working at had just been acquired by a mid-level UK company. Around the same time, the company made a bold decision: AI wouldn’t just assist development — it would be integrated into <em>every</em> workflow. Developers were given Devin and Copilot. Business analysts and sales teams used Claude and Microsoft Copilot for documentation, research, UI drafts, and story creation. This wasn’t experimentation at the edges. This was an organization-wide move.</p><p>A few weeks later, our manager called us into a meeting and showed us something that genuinely felt unreal.</p><p>She had just received access to Devin. Within two to three hours, it had generated a complete understanding of our product — workflows, features, outputs, and even how the system handled multi-tenancy. Things that would have taken months to document manually were laid out clearly in a matter of hours. And the accuracy was unsettlingly good.</p><p>That was my first real exposure to Devin. At that moment, I didn’t think about productivity or speed. I just knew this wasn’t “another AI assistant.”</p><h3><strong>Getting Early Access</strong></h3><p>Soon after that demo, our manager gave access to two developers. I was the first one to actively start experimenting with it.</p><p>For the first couple of months, I was the only one really pushing Devin — trying it on real tasks, seeing how it behaved with our codebase, and understanding where it helped and where it didn’t. There was no playbook. I learned purely by using it.</p><p>After about three to four months, something became very clear: the way I worked as a developer had fundamentally changed.</p><h3><strong>A Completely Different Daily Workflow</strong></h3><p>Before Devin, my workflow looked like most developers’ workflows: <strong>writing code manually, debugging line by line, using ChatGPT or GitHub Copilot for help, and constantly worrying about whether my implementation followed existing patterns.</strong></p><p>After Devin, that disappeared.</p><p>I was no longer coding in the traditional sense. <strong>My primary work became reviewing the code written by Devin and teaching it about the product or feature I was working on.</strong></p><p>What surprised me most was how much context Devin could handle.</p><p>If I told it the name of a feature, it could locate the relevant area in the codebase without me pointing to files or directories. <strong>It would ask clarifying questions, analyze existing behavior, and suggest an implementation plan</strong>. Once I approved the plan, it would create a new branch, implement the changes, and raise a <strong>pull request automatically.</strong></p><p>During development, if a change <strong>risked breaking an existing workflow or feature, Devin would warn me and explain what could go wrong</strong>. With <strong>additional guidance</strong>, it would adjust the solution to preserve existing functionality.</p><p>It could also test the changes in its <strong>own local environment</strong>, which significantly reduced the effort we normally put into unit testing. <strong>Features often reached QA in a much more stable state.</strong></p><p>What stood out further was its ability to work with the <strong>database</strong>. Devin could understand <strong>existing database scripts</strong>, follow <strong>established patterns</strong>, <strong>generate new scripts, and even make changes involving stored procedures.</strong> It could fix bugs with surprisingly <strong>high accuracy,</strong> often <strong>reproducing issues on its own after I explained the problem.</strong></p><p>At a product level, this changed everything. Architecture-level changes that would normally take <strong>weeks could be implemented in one or two days</strong>. Devin wasn’t just aware of the codebase — it was <strong>learning the product continuously through every prompt and session</strong>.</p><h3>Where Devin Falls Short</h3><p>But Devin is not <strong>perfect</strong> — and this is where the developer still matters deeply.</p><p>Devin cannot truly understand <strong><em>new</em> product requirements</strong>. It can’t debate whether a feature makes sense, whether a change aligns with business goals, or whether something <strong>should exist at all</strong>.</p><p>It also isn’t <strong>always right </strong>about its implementation. Sometimes it <strong>misses edge cases.</strong> Sometimes it doesn’t fully understand how tightly coupled certain parts of the codebase are. <strong>In real-world systems</strong>, one file often serves multiple features, and a change that <strong>satisfies one requirement can quietly break another</strong>. That kind of judgment has to come from a <strong>developer who knows the product deeply</strong>.</p><p>Devin also <strong>struggles with certain production realities</strong> — data-related issues, third-party API failures, and problems that only surface under real user conditions. In those cases, <strong>human intuition and experience are irreplaceable</strong>.</p><p>Using Devin effectively requires <strong>strong product and codebase knowledge</strong>. Without that, it’s easy to accept changes that <em>look</em> correct but aren’t.</p><h3>The Real Shift After Six Months</h3><p>The biggest change wasn’t speed. It was how I <strong>thought about development</strong>.</p><p>I stopped going line by line through code to understand behavior. Instead, I asked Devin to explain the workflow and how the system behaved. I focused my energy on <strong>validating outcomes, not implementations</strong>.</p><p>I no longer worried about whether my <strong>code followed existing patterns</strong> — Devin handled that consistently. Code quality became a given. Optimization stopped consuming my mental bandwidth most of the time. <strong>Senior developers’ code reviews passed more smoothly.</strong></p><p>My role moved up the stack.</p><p>Most of my time shifted toward understanding <strong>business requirements</strong>, <strong>aligning with QA, validating assumptions</strong> <strong>with product owners</strong>, and thinking about <strong>scalability and long-term vision.</strong> Feature demos happened in <strong>days instead of weeks</strong>. Feedback loops shortened dramatically. Sprints started moving epics consistently, and in some cases, quarterly goals began to feel like weekly execution.</p><h3>What Devin Actually Changed</h3><p>Devin didn’t replace development.</p><p><strong>It replaced <em>low-level cognitive load</em> and forced me into a higher-responsibility role. Speed was a side effect. Clarity was the real gain.</strong></p><p>After six months, I realized something important: the value of a developer isn’t in typing code faster. <strong>It’s in understanding systems, making judgment calls, and building the right thing for the long term.</strong></p><p>Devin didn’t take that away.</p><p>It made it unavoidable.</p><p><strong>Working with Devin didn’t replace development — it raised the bar for it.</strong></p><p>The real shift wasn’t speed or automation. It was moving my attention away from syntax and toward judgment, systems, and long-term thinking. And that’s where I believe developers will continue to matter most in the AI era.</p><p>If this resonated with you, you can follow Here &amp; on other Platforms also:</p><ul><li><a href="https://x.com/heyPrashantt"><strong>X (Twitter)</strong></a></li><li><a href="https://www.linkedin.com/in/prashant-naiker-64655b239"><strong>LinkedIn</strong></a></li><li><a href="https://github.com/PrashantWritesCode"><strong>GitHub</strong></a></li></ul><p>I write about real-world development, product thinking,building products and building in the age of AI.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=06535d9c67ab" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Mastering Cosmos DB Consistency Levels — Explained with Real Stories]]></title>
            <link>https://medium.com/@prashantnaiker9/mastering-cosmos-db-consistency-levels-explained-with-real-stories-f71675b9b20d?source=rss-f69d35cef12------2</link>
            <guid isPermaLink="false">https://medium.com/p/f71675b9b20d</guid>
            <category><![CDATA[cosmosdb]]></category>
            <category><![CDATA[azure-devops]]></category>
            <category><![CDATA[azure]]></category>
            <category><![CDATA[database]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <dc:creator><![CDATA[Prashant Naikar]]></dc:creator>
            <pubDate>Tue, 14 Oct 2025 18:37:29 GMT</pubDate>
            <atom:updated>2025-10-14T18:37:29.237Z</atom:updated>
            <content:encoded><![CDATA[<h3>Mastering Cosmos DB Consistency Levels — Explained with Real Stories</h3><p>“Every choice in distributed systems is a trade-off between truth and time.”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/850/1*8ApX76MmDUgE5EVXgVW3Tw.jpeg" /></figure><p>When I started learning Cosmos DB, I used to think <em>consistency levels</em> were just difficulty settings:<br> <strong>Strong = hard mode, Eventual = easy mode.</strong><br> But that’s not how they work. Each level is a deliberate balance between <strong>accuracy, speed, and cost</strong> — and once you understand the stories behind them, they start to make perfect sense.</p><h3>💎 Why Consistency Matters</h3><p>In a globally distributed database like <strong>Azure Cosmos DB</strong>, your data lives in multiple regions around the world.<br> When a user writes something in India, that change needs to appear in Europe, Japan, or the U.S. as well — but instant sync across continents is expensive and slow.</p><p>So Cosmos DB gives you <strong>five consistency models</strong>, each defining how <em>fresh</em> or <em>stale</em> your reads can be after a write.</p><p>Let’s explore them one by one — with stories you’ll actually relate to.</p><h3>🏦 1. Strong Consistency — “The Banker’s Choice”</h3><p>Imagine you just withdrew <strong>₹10,000</strong> from an ATM in Bengaluru.<br> At the same moment, you open your banking app in Mumbai.<br> If your balance doesn’t update instantly, you might think you still have money and accidentally transfer it again.</p><p>That’s unacceptable — accuracy matters more than speed.</p><p><strong>Strong consistency</strong> ensures every read, anywhere in the world, sees the <em>latest write</em>.<br> There’s no delay, no confusion.<br> Perfect truth — but slower, since it waits for all replicas to confirm the write before proceeding.</p><p>Use it for:</p><ul><li>Financial systems 💰</li><li>Inventory management 🏷️</li><li>Mission-critical transactions</li></ul><h3>💬 2. Bounded Staleness — “Almost Real-Time Truth”</h3><p>Imagine a <strong>stock trading app</strong> that updates share prices every 2 seconds.<br> Users don’t need nanosecond precision — they just need <em>ordered</em>, nearly fresh data.</p><p>That’s <strong>Bounded Staleness</strong> — it guarantees your reads will lag by <strong>no more than N versions or T seconds</strong>.<br> Order is always preserved, but you trade a bit of freshness for lower latency and global performance.</p><p>Use it for:</p><ul><li>Stock dashboards 📊</li><li>Live analytics where slight delay is okay</li></ul><h3>💬 3. Session Consistency — “My View, My Truth”</h3><p>You post a photo on a social app.<br> A second later, you refresh your profile — your photo should appear immediately.<br> But if someone else on another continent opens your profile, it’s fine if it shows up a few seconds later.</p><p>That’s <strong>Session consistency</strong> — each user always sees <em>their own writes immediately</em>, even if the rest of the world catches up later.</p><p>It’s the perfect balance between personal consistency and global scalability.</p><p>Use it for:</p><ul><li>Social networks 📱</li><li>Chat apps 💬</li><li>Personalized dashboards</li></ul><h3>🌍 4. Consistent Prefix — “In Order, Not Always Instant”</h3><p>Imagine you’re reading a group chat.<br> You see:</p><pre>A: Hi<br>B: How are you?<br>C: I&#39;m fine!</pre><p>You’d be confused if the messages came as:</p><pre>B: How are you?<br>A: Hi</pre><p><strong>Consistent Prefix</strong> ensures operations are read <em>in the same order they were written</em> — <br> but it doesn’t guarantee you’ll see <em>all</em> the latest updates yet.</p><p>It’s like reading a live stream slightly behind the live broadcast — never scrambled, just a little delayed.</p><p>Use it for:</p><ul><li>Messaging apps 💭</li><li>Feed systems 📰</li><li>Any workflow needing logical order</li></ul><h3>☁️ 5. Eventual Consistency — “The Optimist’s Model”</h3><p>Now picture <strong>Instagram likes</strong>.<br> You like a post, and it shows instantly on your screen.<br> Your friend in another country might see it a few seconds later.<br> No big deal — likes are low-priority and can sync later.</p><p>That’s <strong>Eventual consistency</strong> — blazing fast writes, minimal cost, and eventually all replicas will converge to the same truth.</p><p>Use it for:</p><ul><li>Likes, views, logs, or counters ❤️‍🔥</li><li>Large-scale, low-importance reads</li></ul><h3>⚖️ Choosing the Right Consistency Model</h3><p>Each consistency level in Cosmos DB represents a unique balance between <strong>accuracy, latency, and cost.</strong><br> Here’s how to think about them — in plain language:</p><p><strong>1️⃣ Strong Consistency</strong></p><ul><li>Guarantees every read returns the <em>latest committed write</em>.</li><li>Use when correctness is critical.<br> 🧭 <em>Example:</em> Banking, inventory, and payment systems.</li></ul><p><strong>2️⃣ Bounded Staleness</strong></p><ul><li>Ensures reads are only behind by a <em>known</em> number of versions or seconds.</li><li>Guarantees order is always preserved.<br> 🧭 <em>Example:</em> Stock dashboards or near real-time analytics.</li></ul><p><strong>3️⃣ Session Consistency</strong></p><ul><li>Each user always sees their own writes instantly.</li><li>Perfect for personal experiences that don’t require global sync.<br> 🧭 <em>Example:</em> Social feeds, chat messages, user dashboards.</li></ul><p><strong>4️⃣ Consistent Prefix</strong></p><ul><li>Guarantees you’ll never read operations out of order.</li><li>You may not see the latest updates yet, but the sequence is always correct.<br> 🧭 <em>Example:</em> Messaging or activity streams.</li></ul><p><strong>5️⃣ Eventual Consistency</strong></p><ul><li>Fastest and most cost-efficient.</li><li>Data eventually becomes consistent across all replicas.<br> 🧭 <em>Example:</em> Likes, views, counters, background logs.</li></ul><p>💫 <strong>How to choose wisely:</strong></p><blockquote><em>Ask yourself — “Can my users tolerate slightly old data?”<br> If yes, move down the list.<br> The further down you go, the faster and cheaper your system gets.</em></blockquote><h3>🌐 Real-World Analogy</h3><ul><li><strong>Strong</strong> → Banking 🏦 — must be exact.</li><li><strong>Bounded Staleness</strong> → Stocks 📊 — must be recent and ordered.</li><li><strong>Session</strong> → Instagram 📱 — my changes, my truth.</li><li><strong>Consistent Prefix</strong> → Chat 💬 — messages must make sense.</li><li><strong>Eventual</strong> → Likes &amp; views ❤️ — no one notices a tiny delay.</li></ul><h3>💭 Final Thoughts</h3><p>Mastering consistency isn’t about memorizing five names — <br> it’s about <strong>knowing which trade-offs your system can live with</strong>.</p><p>Each level represents a different kind of trust:</p><ul><li>Strong says “Trust me completely.”</li><li>Eventual says “I’ll catch up soon.”</li><li>Session says “I trust myself first.”</li></ul><p>Once you understand that, Cosmos DB stops being a database — <br> it becomes a <strong>living, distributed organism</strong> that adapts to what your app truly needs.</p><p>✨ <em>Written by Prashant Naikar</em><br> <em>A full-stack developer exploring the depth of Azure and sharing learnings one story at a time.</em></p><p>If this helped you understand Cosmos DB a little deeper, imagine what we can build together.</p><p>I’m sharing my journey as a full-stack developer mastering Azure, system design, and cloud architecture — one story at a time.</p><p>🟦 <strong>Follow me on </strong><a href="http://www.linkedin.com/in/prashant-naiker-64655b239"><strong>LinkedIn</strong></a> for more deep dives on cloud systems and real-world architecture.<br> 🐦 <strong>Join me on </strong><a href="https://x.com/heyPrashantt"><strong>Twitter</strong></a> where I share quick lessons, dev reflections, and progress updates.</p><p>Let’s keep learning, building, and sharing.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f71675b9b20d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[My First Agentic Hackathon Experience]]></title>
            <link>https://medium.com/@prashantnaiker9/my-first-agentic-hackathon-experience-1c168c4d7d3c?source=rss-f69d35cef12------2</link>
            <guid isPermaLink="false">https://medium.com/p/1c168c4d7d3c</guid>
            <category><![CDATA[hackathons]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[agentic-ai]]></category>
            <dc:creator><![CDATA[Prashant Naikar]]></dc:creator>
            <pubDate>Wed, 24 Sep 2025 19:44:01 GMT</pubDate>
            <atom:updated>2025-09-24T19:44:01.057Z</atom:updated>
            <content:encoded><![CDATA[<h3>My First Agentic AI Hackathon Experience</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*IZhyZKkZbRa04FFTzj2-Wg.png" /></figure><p>Last week, I participated in my very first hackathon — and what an unforgettable journey it turned out to be!</p><p>I went in with just an idea, unsure how far I could take it, and came out with a working <strong>proof of concept</strong> that got my team, our product owner, and even Microsoft experts genuinely excited.</p><h3>The Problem</h3><p>Recruiters often need to create <strong>custom forms</strong> for different hiring needs — for example, a <strong>blue-collar job</strong> vs. a <strong>white-collar job</strong> requires very different fields and validations.</p><p>Our product already had a <strong>dynamic form builder</strong> feature, but there was a challenge:</p><ul><li>Creating or customizing a form was still <strong>time-consuming</strong>.</li><li>Even small edits like adding a section or a field took minutes.</li><li>Building a complete form could take <strong>hours</strong>.</li></ul><p>This process often required the <strong>support team</strong> to step in, taking away valuable time they could have spent helping clients resolve issues.</p><h3>The Idea</h3><p>That’s where the idea for <strong>FormPilot</strong> was born.</p><p>What if recruiters could just <strong>describe their requirements in plain English</strong>, and an AI would:</p><ul><li>Build or modify the form automatically</li><li>Suggest fields, layouts, and validations</li><li>Return the ready-to-use form instantly</li></ul><p>Instead of hours, the process could take just <strong>minutes</strong>.</p><h3>How It Works</h3><p>We built <strong>FormPilot</strong> on top of our existing dynamic form feature.</p><ul><li>We used <strong>Azure AI Foundry</strong> to create and host our AI agent.</li><li>The agent used <strong>GPT-4.1 (chatbot model)</strong> to interpret recruiter prompts.</li><li>We gave the model strict instructions to always return structured JSON like this:</li></ul><pre>{<br>  &quot;previousFormData&quot;: {},<br>  &quot;updatedFormData&quot;: {},<br>  &quot;affectedData&quot;: {},<br>  &quot;summary&quot;: &quot;...&quot;<br>}</pre><ul><li>This JSON was fed directly into our <strong>dynamic form renderer</strong>, which updated the form UI in real-time.</li></ul><p>For example:<br> 👉 Recruiter says: <em>“Create an onboarding form for interns with personal info, internship details, and resume upload.”</em><br> 👉 FormPilot responds: <em>A ready JSON structure with all the sections and fields, instantly rendered as a usable form.</em></p><h3>The Impact</h3><p>When we demoed this:</p><ul><li>The <strong>Product Owner</strong> was very positive and said it could really help in speeding up form-related work.</li><li>The <strong>Project Lead</strong> appreciated that we could turn the idea into a working POC within the hackathon timeframe.</li><li>The <strong>Sales Team</strong> showed interest in trying it out for handling client form requests more easily.</li><li>Even the <strong>Microsoft Expert</strong> acknowledged the uniqueness of the use case and shared encouraging feedback.</li></ul><p>For me, it was a proud moment — seeing an idea I had take shape into something real that others found useful.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1c168c4d7d3c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Building a YouTube Thumbnail Renderer for Your Website Using Angular]]></title>
            <link>https://medium.com/@prashantnaiker9/building-a-youtube-thumbnail-renderer-for-your-website-using-angular-343d0d7d79b9?source=rss-f69d35cef12------2</link>
            <guid isPermaLink="false">https://medium.com/p/343d0d7d79b9</guid>
            <category><![CDATA[angular]]></category>
            <category><![CDATA[youtube]]></category>
            <category><![CDATA[smart-cities]]></category>
            <category><![CDATA[website-development]]></category>
            <category><![CDATA[frontend-development]]></category>
            <dc:creator><![CDATA[Prashant Naikar]]></dc:creator>
            <pubDate>Fri, 06 Dec 2024 09:30:59 GMT</pubDate>
            <atom:updated>2024-12-06T09:30:59.095Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Introduction</strong><br>In today’s digital world, video content is king. Displaying YouTube videos on your website can enhance user engagement, but loading the actual video can slow down your page. A smarter approach? Render YouTube thumbnails instead, offering users a preview before they decide to watch. Here’s how I built a <strong>YouTube Thumbnail Renderer</strong> using Angular to streamline video displays.</p><p><strong>The Problem</strong><br>Embedding YouTube videos directly on a webpage often leads to performance issues:</p><ul><li>Increases page load time.</li><li>Consumes unnecessary bandwidth.</li></ul><p>The solution? Use YouTube’s powerful feature: <strong>Thumbnail Previews</strong>. By extracting the video ID from a YouTube URL, you can dynamically generate a thumbnail without embedding the entire video.</p><h3>Step-by-Step Implementation</h3><h4>1. Extracting the Video ID from a URL</h4><p>YouTube video IDs are unique identifiers embedded in their links. For example:</p><ul><li><a href="https://www.youtube.com/watch?v=VIDEO_ID">https://www.youtube.com/watch?v=VIDEO_ID</a></li><li><a href="https://youtu.be/VIDEO_ID">https://youtu.be/VIDEO_ID</a></li></ul><p>Using a <strong>regular expression</strong>, we can extract the VIDEO_ID dynamically.</p><p><strong>Implementation:</strong><br>In the Angular component:</p><pre>getYouTubeVideoID(url: string): string | null {<br>  const regex = /(?:https?:\/\/)?(?:www\.)?youtube\.com\/.*v=([^&amp;]+)|youtu\.be\/([^?]+)/;<br>  const match = url.match(regex);<br>  return match ? match[1] || match[2] : null;<br>}</pre><h4>2. Generating the Thumbnail URL</h4><p>Once the video ID is extracted, YouTube provides various predefined thumbnail resolutions. For most cases, the <strong>high-quality thumbnail</strong> suffices:</p><p><strong>Thumbnail URL Format:</strong><br>https://img.youtube.com/vi/&lt;VIDEO_ID&gt;/hqdefault.jpg</p><p><strong>Implementation:</strong></p><pre>generateThumbnailURL(videoID: string): string {<br>  return `https://img.youtube.com/vi/${videoID}/hqdefault.jpg`;<br>}</pre><h4>3. Displaying the Thumbnails Dynamically</h4><p>Using Angular’s powerful data binding, dynamically render the thumbnail within your template.</p><p><strong>Template Code:</strong></p><pre>&lt;div *ngIf=&quot;videoID&quot;&gt;<br>  &lt;img [src]=&quot;generateThumbnailURL(videoID)&quot; alt=&quot;YouTube Thumbnail&quot; class=&quot;thumbnail&quot; /&gt;<br>&lt;/div&gt;</pre><h4>4. Making the Thumbnails Clickable</h4><p>To enhance user experience, wrap the thumbnail in an anchor tag that links directly to the video:</p><pre>&lt;a [href]=&quot;&#39;https://www.youtube.com/watch?v=&#39; + videoID&quot; target=&quot;_blank&quot;&gt;<br>  &lt;img [src]=&quot;generateThumbnailURL(videoID)&quot; alt=&quot;YouTube Thumbnail&quot; class=&quot;thumbnail&quot; /&gt;<br>&lt;/a&gt;</pre><h3>Real-World Use Case</h3><p>This feature was implemented on a <strong>government website</strong>, aiming to enhance accessibility and provide users with video previews. The target audience includes users with disabilities, ensuring the platform is user-friendly and performance-efficient.</p><p><strong>Final Thoughts</strong></p><p>This lightweight solution provides the best of both worlds:</p><ul><li><strong>Improved Page Load Speed</strong></li><li><strong>Engaging User Experience</strong></li></ul><p>Whether you’re building a content portal, e-learning platform, or a blog, implementing YouTube thumbnails is a fantastic way to showcase video content without compromising performance.</p><p>Got ideas or feedback? Let me know in the comments!</p><ul><li>Leveraged Angular’s built-in data binding to minimize DOM interactions.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=343d0d7d79b9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Implementing a Global Text-to-Speech Feature in Angular for an Accessible Government Website]]></title>
            <link>https://medium.com/@prashantnaiker9/implementing-a-global-text-to-speech-feature-in-angular-for-an-accessible-government-website-af78f187136c?source=rss-f69d35cef12------2</link>
            <guid isPermaLink="false">https://medium.com/p/af78f187136c</guid>
            <category><![CDATA[front-end-development]]></category>
            <category><![CDATA[smart-city-solutions]]></category>
            <category><![CDATA[problem-solving]]></category>
            <category><![CDATA[angular]]></category>
            <category><![CDATA[text-to-speech]]></category>
            <dc:creator><![CDATA[Prashant Naikar]]></dc:creator>
            <pubDate>Tue, 03 Dec 2024 13:18:40 GMT</pubDate>
            <atom:updated>2024-12-03T13:18:40.918Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/700/1*RAC7h1y89qu2H2Vry0VhGg.jpeg" /></figure><p>In this blog, I’ll share how we implemented a <strong>text-to-speech feature</strong> to enhance accessibility on a government website. This feature is tailored to assist users, especially those with disabilities, by reading out content dynamically as they navigate the site. The solution includes <strong>hover-to-speak functionality</strong>, a <strong>toggle button for enabling/disabling the feature</strong>, and a centralized approach to keep the implementation clean and maintainable.</p><h3>Why This Feature Matters</h3><p>Accessibility is crucial for creating inclusive digital experiences. By integrating this feature:</p><ul><li><strong>Users with visual impairments</strong> or <strong>reading difficulties</strong> can navigate the website effortlessly.</li><li>It empowers users by providing a voice-driven experience for consuming textual content.</li></ul><h3>Key Features</h3><ol><li><strong>Enable/Disable Toggle</strong>: A button at the top allows users to turn the feature on or off.</li><li><strong>Dynamic Content Reading</strong>: Automatically reads out the content of newly rendered components.</li><li><strong>Hover-to-Speak</strong>: Reads specific text when hovered over, allowing users to hear only the content they need.</li></ol><h3>Step 1: Setting Up Text-to-Speech</h3><p>We used the browser’s native speechSynthesis API for this feature. This API provides seamless text-to-speech functionality, supports multiple languages, and offers options to adjust the voice, pitch, and rate.</p><h3>Text-to-Speech Service</h3><p>To centralize the functionality, we created a TextToSpeechService:</p><pre>import { Injectable } from &#39;@angular/core&#39;;<br><br>@Injectable({<br>  providedIn: &#39;root&#39;,<br>})<br>export class TextToSpeechService {<br>  private isSpeechEnabled = false;<br><br>  toggleSpeech(enable: boolean): void {<br>    this.isSpeechEnabled = enable;<br>  }<br><br>  speak(text: string): void {<br>    if (this.isSpeechEnabled &amp;&amp; &#39;speechSynthesis&#39; in window) {<br>      const utterance = new SpeechSynthesisUtterance(text);<br>      utterance.lang = &#39;en-US&#39;; // Default language<br>      utterance.pitch = 1; // Default pitch<br>      utterance.rate = 1; // Default rate<br>      window.speechSynthesis.speak(utterance);<br>    }<br>  }<br>}</pre><h3>Step 2: Automatic Content Reading</h3><h3>The Challenge:</h3><p>When implementing this feature in the AppComponent, the entire page content (including the <strong>navbar</strong> and <strong>footer</strong>) was being read aloud whenever the route changed. This wasn’t ideal.</p><h3>The Solution:</h3><p>We moved the feature to <strong>module-level components</strong> instead of the AppComponent. This ensures that only the dynamically loaded component’s content is read out loud.</p><h4>Implementation:</h4><p>We wrapped the router-outlet in a container and targeted the content dynamically:</p><pre>&lt;div class=&quot;component-content&quot;&gt;<br>  &lt;router-outlet&gt;&lt;/router-outlet&gt;<br>&lt;/div&gt;</pre><p>In the ModuleComponent, we extracted and read the text content of the loaded component:</p><pre>import { Component, OnInit } from &#39;@angular/core&#39;;<br>import { TextToSpeechService } from &#39;../services/text-to-speech.service&#39;;<br><br>@Component({<br>  selector: &#39;app-module&#39;,<br>  templateUrl: &#39;./module.component.html&#39;,<br>  styleUrls: [&#39;./module.component.css&#39;]<br>})<br>export class ModuleComponent implements OnInit {<br>  constructor(private textToSpeechService: TextToSpeechService) {}<br><br>  ngOnInit(): void {<br>    this.readContent();<br>  }<br><br>  private readContent(): void {<br>    const componentContent = document.querySelector(&#39;.component-content&#39;);<br>    const text = componentContent?.textContent?.trim();<br>    if (text) {<br>      this.textToSpeechService.speak(text);<br>    }<br>  }<br>}</pre><p>This approach ensures the <strong>navbar and footer</strong> are ignored, as the logic only targets the current component’s content.</p><h3>Step 3: Hover-to-Speak Functionality</h3><p>The <strong>hover-to-speak</strong> feature was added to allow users to hear text dynamically when they hover over it. This functionality eliminates the need for additional markup or attributes in the HTML, making it highly intuitive and easy to maintain.</p><h3>The Challenge:</h3><p>We needed a centralized solution to listen to hover events and read the hovered text aloud, without adding specific markers to the HTML elements.</p><h3>The Solution:</h3><p>We used a <strong>global DOM event listener</strong> at the AppComponent level to capture hover events across the document. When the user hovers over any text element, the listener extracts the text content and passes it to the text-to-speech service.</p><h4>Implementation:</h4><p>In the AppComponent:</p><pre>ngOnInit(): void {<br>  this.listenForHoverEvents();<br>}<br><br>private listenForHoverEvents(): void {<br>  this.renderer.listen(&#39;document&#39;, &#39;mouseover&#39;, (event: MouseEvent) =&gt; {<br>    const target = event.target as HTMLElement;<br>    const text = target.textContent?.trim();<br>    if (text &amp;&amp; text.length &gt; 0) {<br>      this.textToSpeechService.speak(text);<br>    }<br>  });<br>}</pre><p>This approach listens globally for mouseover events. If the user hovers over any element containing text, it reads the content dynamically.</p><h3>Advantages:</h3><ol><li><strong>No Markup Needed</strong>: Developers don’t need to add attributes or modify HTML elements to enable hover-to-speak functionality.</li><li><strong>Dynamic and Intuitive</strong>: Works out of the box for any text content on the page, adapting to different components seamlessly.</li><li><strong>Lightweight</strong>: The centralized listener minimizes additional DOM manipulation or event bindings.</li></ol><h3>Step 4: Toggle Button for Accessibility</h3><p>A toggle button was added to enable/disable the feature globally:</p><pre>&lt;button (click)=&quot;toggleSpeech()&quot; [class.active]=&quot;speechEnabled&quot;&gt;<br>  &lt;i class=&quot;fa-solid fa-volume-high&quot;&gt;&lt;/i&gt; Toggle Speech<br>&lt;/button&gt;</pre><pre>speechEnabled = false;<br><br>toggleSpeech(): void {<br>  this.speechEnabled = !this.speechEnabled;<br>  this.textToSpeechService.toggleSpeech(this.speechEnabled);<br>}</pre><h3>Final Result</h3><p>The final implementation is scalable and accessible:</p><ol><li>Automatically reads content for the rendered component.</li><li>Allows users to selectively hear text by hovering over it.</li><li>Enables or disables the feature via a toggle button.</li></ol><h3>Key Challenges and Solutions</h3><h3>Challenge 1: Reading Unnecessary Content</h3><p><strong>Solution</strong>: Limited the scope to component-level content by targeting only the rendered component.</p><h3>Challenge 2: Scalability for Hover-to-Speak</h3><p><strong>Solution</strong>: Centralized hover event handling in the AppComponent using a global DOM event listener.</p><h3>Challenge 3: Managing Global State</h3><p><strong>Solution</strong>: Used a service to handle the global state of the text-to-speech feature, ensuring clean and maintainable code.</p><h3>Conclusion</h3><p>This feature aligns with the government’s vision of inclusivity, making the website accessible to users with disabilities. By leveraging modern web technologies like Angular and browser APIs, we implemented a seamless solution that prioritizes user needs.</p><p>I hope this blog inspires developers to consider accessibility in their projects and adopt innovative ways to deliver value. If you have questions or feedback, feel free to comment!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=af78f187136c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How I Used Angular Directives to Centralize Repetitive Form Validations]]></title>
            <link>https://medium.com/@prashantnaiker9/how-i-used-angular-directives-to-centralize-repetitive-form-validations-d8c31982ecc4?source=rss-f69d35cef12------2</link>
            <guid isPermaLink="false">https://medium.com/p/d8c31982ecc4</guid>
            <category><![CDATA[validation]]></category>
            <category><![CDATA[custom-directive]]></category>
            <category><![CDATA[angular]]></category>
            <category><![CDATA[front-end-development]]></category>
            <category><![CDATA[web-development]]></category>
            <dc:creator><![CDATA[Prashant Naikar]]></dc:creator>
            <pubDate>Thu, 28 Nov 2024 09:34:20 GMT</pubDate>
            <atom:updated>2024-11-28T09:34:20.685Z</atom:updated>
            <content:encoded><![CDATA[<p>A smarter way to simplify input validation and improve code reusability.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/655/1*bbtfm01Ulm97XJDc6kxyuQ.png" /></figure><h3>Introduction</h3><p>Form validation is a common yet often repetitive task in web development. Writing the same validation logic repeatedly for each form input can lead to cluttered code and decreased maintainability.</p><p>In this article, I’ll share how I used Angular directives to centralize input validations across my application. By creating reusable directives, I was able to simplify repetitive form validations, making them easier to manage and more consistent. These directives allowed me to restrict special characters, enforce alphanumeric inputs, and more — all by adding a simple property to input fields.</p><h3>The Problem: Repetitive Validation Logic</h3><p>In a large-scale application with many forms, restricting input (like disallowing special characters) often requires writing validation logic for each input field.</p><ul><li>This repetitive approach leads to bloated, hard-to-maintain code.</li><li>Any changes to the validation logic require manually updating multiple forms.</li></ul><p>The challenge was clear:<br><em>How can we enforce validations globally, without repeating code for every form?</em></p><h3>The Solution: Angular Directives for Reusability</h3><p>Instead of writing validation logic repeatedly, I created Angular directives to centralize this behavior. The idea was simple:</p><ol><li><strong>Encapsulation</strong>: Write the validation logic once inside a directive.</li><li><strong>Reusability</strong>: Apply the directive to any input field with a single property.</li><li><strong>Efficiency</strong>: Save time and reduce potential for bugs by eliminating duplication.</li></ol><p>Using directives, I could restrict special characters and allow alphanumeric inputs by simply adding an attribute to input elements. No more repetitive code!</p><h3>Implementation</h3><p>Let’s explore how I implemented this.</p><h4>1. Restrict Special Characters Directive</h4><p>This directive ensures that input fields do not accept special characters like @, #, or !.</p><pre>import { Directive, HostListener } from &#39;@angular/core&#39;;<br><br>@Directive({<br>  selector: &#39;[appNoSpecialChars]&#39;<br>})<br>export class NoSpecialCharsDirective {<br>  private regex: RegExp = /^[a-zA-Z0-9 ]*$/;<br><br>  @HostListener(&#39;input&#39;, [&#39;$event&#39;])<br>  onInput(event: KeyboardEvent) {<br>    const input = event.target as HTMLInputElement;<br>    if (!this.regex.test(input.value)) {<br>      input.value = input.value.replace(/[^a-zA-Z0-9 ]/g, &#39;&#39;);<br>    }<br>  }<br>}</pre><p>Usage:</p><pre>&lt;input type=&quot;text&quot; appNoSpecialChars /&gt;</pre><p>Instead of adding complex validation logic in every form, I simply added the appNoSpecialChars attribute to the input element. This approach handled all the validation automatically.</p><h4>2. Allow Only Alphabets and Numbers Directive</h4><p>Similarly, this directive restricts input to alphanumeric characters only, ensuring no special characters or spaces are entered.</p><pre>import { Directive, HostListener } from &#39;@angular/core&#39;;<br><br>@Directive({<br>  selector: &#39;[appAlphaNumericOnly]&#39;<br>})<br>export class AlphaNumericOnlyDirective {<br>  private regex: RegExp = /^[a-zA-Z0-9]*$/;<br><br>  @HostListener(&#39;input&#39;, [&#39;$event&#39;])<br>  onInput(event: KeyboardEvent) {<br>    const input = event.target as HTMLInputElement;<br>    if (!this.regex.test(input.value)) {<br>      input.value = input.value.replace(/[^a-zA-Z0-9]/g, &#39;&#39;);<br>    }<br>  }<br>}</pre><p>Usage:</p><pre>&lt;input type=&quot;text&quot; appAlphaNumericOnly /&gt;</pre><p>By simply adding this directive to any input field, I could enforce alphanumeric validation without adding custom logic in each form.</p><h3>Why Directives?</h3><p>Here’s why using directives was the perfect solution:</p><ol><li><strong>Reduced Repetition</strong>: Instead of writing custom validation logic repeatedly for every input field, I wrote it once in a directive.</li><li><strong>Ease of Use</strong>: By adding a single attribute (e.g., appNoSpecialChars), the behavior was implemented automatically.</li><li><strong>Consistency</strong>: Directives ensured the same validation rules were applied uniformly across the application.</li><li><strong>Maintainability</strong>: If I needed to change the validation logic, I could simply update the directive, and it would reflect everywhere.</li></ol><p>This approach solved my initial problem of managing repetitive validation code while ensuring scalability for future enhancements.</p><h3>Conclusion</h3><p>Using Angular directives for form validations helped me transform repetitive tasks into reusable, clean, and maintainable solutions. Whether you’re building a small application or a large-scale system, this approach can save time, reduce bugs, and ensure a consistent user experience.</p><p>If you’re facing challenges with form validations in Angular, give this a try! You’ll be amazed at how much easier it makes your development process.</p><h3>Let’s Connect</h3><p>If this article resonates with you or you have feedback, I’d love to connect!</p><ul><li><strong>LinkedIn</strong>: <a href="http://www.linkedin.com/in/prashant-naiker-64655b239">www.linkedin.com/in/prashant-naiker-64655b239</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d8c31982ecc4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Implementing Multi-Language PDF Export in Angular]]></title>
            <link>https://medium.com/@prashantnaiker9/implementing-multi-language-pdf-export-in-angular-34af2616d2d2?source=rss-f69d35cef12------2</link>
            <guid isPermaLink="false">https://medium.com/p/34af2616d2d2</guid>
            <category><![CDATA[angular]]></category>
            <category><![CDATA[translation]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[multilanguage]]></category>
            <dc:creator><![CDATA[Prashant Naikar]]></dc:creator>
            <pubDate>Fri, 12 Jul 2024 13:03:17 GMT</pubDate>
            <atom:updated>2024-07-12T13:03:17.088Z</atom:updated>
            <content:encoded><![CDATA[<p>In today’s globalized world, supporting multiple languages in your applications is crucial. This tutorial will guide you through implementing a multi-language PDF export functionality in Angular, complete with custom font handling.</p><h3>Prerequisites</h3><ul><li>Basic knowledge of Angular</li><li>Node.js and npm installed</li><li>Angular CLI installed</li></ul><h3>Step 1: Set Up Your Angular Project</h3><p>First, create a new Angular project if you don’t have one already.</p><pre>ng new multi-language-pdf<br>cd multi-language-pdf</pre><h3>Step 2: Install Required Libraries</h3><p>We’ll need jspdf for generating PDFs.</p><pre>npm install jspdf</pre><h3>Step 3: Create the PDF Service</h3><p>Create a service to handle PDF generation, font loading, and translation using a JSON key-value pair.</p><pre>import { Injectable } from &#39;@angular/core&#39;;<br>import { jsPDF } from &#39;jspdf&#39;;<br><br>@Injectable({<br>  providedIn: &#39;root&#39;<br>})<br>export class PdfService {<br><br>  constructor() { }<br><br>  private loadFont(doc: jsPDF, fontName: string, fontFile: string, fontType: &#39;ttf&#39; | &#39;base64&#39;): void {<br>    if (fontType === &#39;base64&#39;) {<br>      doc.addFileToVFS(`${fontName}.ttf`, fontFile);<br>    } else {<br>      const fontFilePath = `assets/fonts/${fontFile}`;<br>      fetch(fontFilePath).then(response =&gt; response.arrayBuffer()).then(buffer =&gt; {<br>        const base64String = btoa(String.fromCharCode(...new Uint8Array(buffer)));<br>        doc.addFileToVFS(`${fontName}.ttf`, base64String);<br>      });<br>    }<br>    doc.addFont(`${fontName}.ttf`, fontName, &#39;normal&#39;);<br>  }<br><br>  generatePdf(contentKey: string, language: string, translations: any, fontName: string, fontFile: string, fontType: &#39;ttf&#39; | &#39;base64&#39;): void {<br>    const doc = new jsPDF();<br>    this.loadFont(doc, fontName, fontFile, fontType);<br>    doc.setFont(fontName);<br><br>    const translatedContent = translations[language][contentKey];<br>    doc.text(translatedContent, 10, 10);<br>    doc.save(&#39;document.pdf&#39;);<br>  }<br>}</pre><h3>Step 4: Integrate the Service in a Component</h3><p>Integrate the PdfService in a component and add buttons to trigger PDF generation.</p><pre>import { Component, OnInit } from &#39;@angular/core&#39;;<br>import { PdfService } from &#39;./pdf.service&#39;;<br><br>@Component({<br>  selector: &#39;app-root&#39;,<br>  template: `<br>    &lt;button (click)=&quot;exportPdf(&#39;content&#39;, &#39;en&#39;)&quot;&gt;Export PDF (English)&lt;/button&gt;<br>    &lt;button (click)=&quot;exportPdf(&#39;content&#39;, &#39;fr&#39;)&quot;&gt;Export PDF (French)&lt;/button&gt;<br>  `<br>})<br>export class AppComponent implements OnInit {<br>  translations: any;<br><br>  constructor(private pdfService: PdfService) { }<br><br>  ngOnInit(): void {<br>    // Mock API response for translations<br>    this.translations = {<br>      en: { content: &#39;Your PDF content here&#39; },<br>      fr: { content: &#39;Votre contenu PDF ici&#39; }<br>    };<br>  }<br><br>  exportPdf(contentKey: string, language: string): void {<br>    const fontName = &#39;CustomFont&#39;;<br>    const fontFile = &#39;customFont.ttf&#39;;<br>    const fontType: &#39;ttf&#39; | &#39;base64&#39; = &#39;ttf&#39;;<br>    this.pdfService.generatePdf(contentKey, language, this.translations, fontName, fontFile, fontType);<br>  }<br>}</pre><h3>Step 5: Add Custom Fonts</h3><p>Place your .ttf font files in the assets/fonts directory. If you are using base64 fonts, provide the base64 string directly in the service.</p><h3>Final Thoughts</h3><p>By following these steps, you’ve successfully implemented a multi-language PDF export functionality in Angular using JSON-based translation. This setup allows for dynamic content translation and custom font handling, ensuring your PDFs are well-formatted and readable in different languages.</p><p>Feel free to customize and expand this functionality based on your application’s needs. Happy coding!</p><h3>Additional Tips</h3><ul><li><strong>Font Support</strong>: Ensure the fonts support the characters of the target languages.</li><li><strong>Styling</strong>: Use CSS styles for consistent PDF content formatting.</li><li><strong>Dynamic Content</strong>: Ensure dynamic data is correctly localized before generating the PDF.</li></ul><p>If you have any questions or run into issues, feel free to leave a comment below. I’ll be happy to help!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=34af2616d2d2" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>