<?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 Pramodi Peshila on Medium]]></title>
        <description><![CDATA[Stories by Pramodi Peshila on Medium]]></description>
        <link>https://medium.com/@ppeshila7?source=rss-4fd3bdb526af------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*zDXqxgQQwrry_KuXyQz1Ig.jpeg</url>
            <title>Stories by Pramodi Peshila on Medium</title>
            <link>https://medium.com/@ppeshila7?source=rss-4fd3bdb526af------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 06:01:18 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ppeshila7/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[Docker for Beginners — From Zero to First Container]]></title>
            <link>https://medium.com/@ppeshila7/docker-for-beginners-from-zero-to-first-container-ba2bfd7eff28?source=rss-4fd3bdb526af------2</link>
            <guid isPermaLink="false">https://medium.com/p/ba2bfd7eff28</guid>
            <dc:creator><![CDATA[Pramodi Peshila]]></dc:creator>
            <pubDate>Tue, 13 Jan 2026 08:26:35 GMT</pubDate>
            <atom:updated>2026-01-13T08:26:35.360Z</atom:updated>
            <content:encoded><![CDATA[<h3>Docker for Beginners — From Zero to First Container</h3><p>A practical, beginner‑friendly guide to understanding Docker, containers, and real‑world usage</p><ol><li><strong>What is Docker ?</strong></li></ol><p>Docker is a platform that allows you to <strong>build, package, and run applications</strong> in small, lightweight units called <strong>containers</strong>.</p><p>What does a container include?</p><ul><li>Application source code</li><li>Runtime (Node.js, Java, Python, etc.)</li><li>Libraries and dependencies</li><li>Configuration files</li></ul><p>📦 <strong>Simple way to think about Docker</strong></p><p>“Pack the application and everything it needs into one box and run it anywhere.”</p><p>⚡ <strong>Example</strong><br>If your application works on your laptop but fails on another machine, Docker solves this by ensuring the <strong>same environment everywhere</strong>.</p><p><strong>2. Why Docker?</strong></p><p><strong>😵 Problems before Docker</strong></p><ul><li>“It works on my machine” issues</li><li>Different operating systems and dependency versions</li><li>Time‑consuming setup for new developers</li><li>Heavy server resource usage</li></ul><p><strong>✅ How Docker solves them</strong></p><ul><li>Provides <strong>consistent environments</strong></li><li>Makes applications <strong>portable</strong></li><li>Speeds up deployments</li><li>Uses fewer system resources</li></ul><p><strong>3. Docker vs Virtual Machines (VMs)</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/776/1*LhXRc7-sqNEdww35Dj6X6A.png" /></figure><p>👉 <strong>Conclusion:</strong> Containers are faster, lighter, and more efficient than virtual machines.</p><p><strong>4. Why Companies Use Docker ?</strong></p><p><strong>✅ Consistent Development Environment</strong></p><p>Same behavior on developer laptops, testing servers, and production</p><p><strong>✅ Microservices Architecture</strong></p><ul><li>Each service runs in its own container</li><li>Easier scaling and maintenance</li></ul><p><strong>✅ Faster Deployment</strong></p><ul><li>Containers start in seconds</li><li>Ideal for CI/CD pipelines</li></ul><p><strong>✅ Cloud &amp; DevOps Friendly</strong></p><ul><li>Works with AWS, Azure, and GCP</li><li>Integrates perfectly with Kubernetes</li></ul><p><strong>✅ Easy Scaling</strong></p><ul><li>Run multiple containers to handle high traffic</li></ul><p><strong>✅ Multi‑Technology Support</strong></p><p>Node.js, React, Java, Python, PHP, databases — all together</p><p><strong>5. Images vs Containers</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/857/1*SpHQ7GvlvP1GvmWNW9iSaQ.png" /></figure><p>🏠 <strong>Analogy</strong></p><ul><li>Image → Blueprint of a house</li><li>Container → The actual house built from the blueprint</li></ul><p><strong>6. Docker Hub</strong></p><p>Docker Hub is a <strong>cloud‑based image registry</strong> used to store and share Docker images.</p><ul><li>Pull official images (Ubuntu, Nginx, Node.js, etc.)</li><li>Push your own custom images</li><li>Share images across teams or systems</li></ul><p><strong>7. Essential Docker Commands</strong></p><p><strong>docker pull</strong> — Download an image from Docker Hub to your local machine.</p><p><strong>docker images</strong> — Once downloaded, can see the images stored in Docker’s local image repository.</p><p><strong>docker run </strong>— Create and start a container from an image</p><p><strong>docker ps</strong> — Show running containers</p><p><strong>docker ps -a</strong> — Show all containers including stopped ones.</p><p><strong>docker stop</strong> — Stop a running container( like shutting down a program)</p><p><strong>docker rm</strong> — Remove a stopped container from the system (Here you cannot remove a running container. First you have to stop it with docker stop)</p><p><strong>exit</strong> — Exit the container</p><p><strong>Summary</strong></p><p>Don’t try to run docker inside a container.</p><p>Always run docker commands on your host machine.</p><p>Container names must be one word or use -/_ instead of spaces.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/633/1*OSqAaqvHZwSgii2V7W7gVQ.png" /></figure><p><strong>8. Detached mode(-d) in Docker</strong></p><p>Detached mode (-d) runs a container in the background instead of attaching it to your terminal.</p><p>Terminal stays free.</p><p>The Container keeps running even after you close the terminal.</p><p>Commonly used for <strong>servers</strong> (Nginx, Node.js, databases).</p><ul><li>With Port Mapping — docker run -d -p 8080:80 nginx</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/777/1*vGQkJA5_XWu81oPT0ZF_7g.png" /></figure><p><strong>9. What is a Dockerfile ?</strong></p><p>A <strong>Dockerfile</strong> is a text file that contains instructions to build a Docker image.</p><p>It defines:</p><ul><li>Base image</li><li>Files to copy</li><li>Commands to run</li><li>How to start the application</li></ul><p>🍳 Think of it as a <strong>recipe</strong> for creating Docker images.</p><p><strong>10.Docker file Insructions</strong></p><p><strong>FROM</strong> — Defines the base image.(Every Docker file start with FROM)</p><p><strong>WORKDIR</strong> — Sets the working directory inside the container.</p><p><strong>COPY</strong> — Copies files from local machine to container</p><p><strong>RUN</strong> — Runs commands during image build.</p><p><strong>CMD</strong> — Defines the default command when container starts.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/537/1*K7y04HTM7_S7mr2HEqB10Q.png" /></figure><p><strong>11.Push Docker Image to Docker Hub</strong></p><p><strong>Step 1</strong> — Create Docker Hub account with a user name</p><p><strong>Step 2</strong> — Login from terminal(docker login)</p><p><strong>Step 3</strong> — Tag Docker image</p><p>Ex — docker tag react-app username/app:1.0</p><p><strong>Step 4</strong> — Push image</p><p>Ex — docker push username/app:1.0</p><p><strong>12.Run on Another Machine</strong></p><p>docker pull username/app:1.0</p><p>docker run -d -p 3000:80 username/app:1.0</p><p><strong>Final Thoughts</strong></p><p>Docker enables developers to build once and run anywhere. It simplifies development, speeds up deployment, and forms the foundation of modern DevOps and cloud‑native applications.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ba2bfd7eff28" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[React vs Angular]]></title>
            <link>https://medium.com/@ppeshila7/react-vs-angular-5ba4aa649a74?source=rss-4fd3bdb526af------2</link>
            <guid isPermaLink="false">https://medium.com/p/5ba4aa649a74</guid>
            <dc:creator><![CDATA[Pramodi Peshila]]></dc:creator>
            <pubDate>Sat, 22 Feb 2025 15:26:27 GMT</pubDate>
            <atom:updated>2025-02-22T15:32:30.115Z</atom:updated>
            <content:encoded><![CDATA[<p>React and Angular are two of the most popular front-end technologies used for building modern web applications, but they differ significantly in their architecture, features, and use cases. <strong>React</strong>, developed by Facebook (Meta), is a <strong>JavaScript library</strong> that primarily focuses on building user interfaces. It follows a <strong>component-based architecture</strong>, where applications are broken down into reusable UI elements. React’s most notable feature is its <strong>virtual DOM</strong>, which enhances performance by updating only the necessary parts of the UI instead of re-rendering the entire page. Additionally, React follows a <strong>one-way data binding</strong> model, ensuring better control over state management and improving performance. However, since React is primarily a <strong>view library</strong>, developers often need to rely on third-party libraries for functionalities like <strong>routing (React Router), state management (Redux, Zustand), and form handling (Formik, React Hook Form)</strong>.</p><p>On the other hand, <strong>Angular</strong>, developed by Google, is a <strong>full-fledged front-end framework</strong> that provides everything needed for large-scale web application development. Unlike React, Angular follows a structured <strong>Model-View-Controller (MVC) or Model-View-ViewModel (MVVM) pattern</strong>, ensuring a clear separation of concerns. Angular enforces strict use of <strong>TypeScript</strong>, which adds type safety and improves code maintainability, making it particularly well-suited for enterprise applications. A key feature of Angular is its <strong>two-way data binding</strong>,which automatically updates the UI when the underlying data changes. While this makes development easier, it can sometimes introduce performance overhead compared to React’s one-way data binding. Angular also comes with built-in support for <strong>dependency injection, RxJS for reactive programming, and an advanced CLI (Command Line Interface) for automation</strong>, making it a more structured and powerful solution for large-scale applications.</p><p>__|__<strong> Rendering __|__</strong></p><p>Angular executes applications in the browser and renders pages in the DOM by default. This default method of rendering in the client comes with disadvantages like poor performance and lack of visibility for search engine crawlers.</p><p>Similar to Angular, React also supports client-side rendering. The server sends a bare-bones HTML file to the client that includes a reference to a JavaScript bundle containing the React.js code. The client then fetches this bundle, which includes the necessary components and logic to render the page.</p><p>__|__<strong> State Management__|__</strong></p><p>This is another key difference between the two technologies. React itself does not include built-in state management, so developers often use external libraries like <strong>Redux, Recoil, or Zustand</strong> to manage global state. This modularity allows React developers to <strong>choose the best state management approach for their specific project</strong>.</p><p>In contrast, Angular provides a <strong>built-in state management system</strong> using <strong>RxJS (Reactive Extensions for JavaScript)</strong>, which allows developers to handle complex state management and asynchronous operations more efficiently. While this makes Angular more structured, it also increases complexity, requiring developers to understand reactive programming concepts.</p><p>__|__<strong> Community &amp; EcoSystem__|__</strong></p><p>Both <strong>Angular</strong> and <strong>React</strong> have strong community support and well-established ecosystems, but they differ in scale and flexibility.</p><p><strong>Angular</strong> benefits from <strong>regular updates</strong> and a <strong>well-maintained ecosystem</strong>, ensuring long-term stability, especially for enterprise applications. It also provides <strong>comprehensive official documentation</strong>, making it easier for developers to find structured guidance. Additionally, many <strong>third-party libraries and tools</strong> are specifically built for Angular, allowing developers to extend its capabilities seamlessly.</p><p><strong>React</strong> has a <strong>larger and more active community</strong>, contributing to an extensive collection of <strong>resources, tutorials, and libraries</strong>. With <strong>frequent updates</strong> and continuous contributions from developers worldwide, React remains a cutting-edge choice for front-end development. Its <strong>rich ecosystem</strong> offers a <strong>vast selection of third-party libraries</strong> for state management, routing, and other essential functionalities, making it highly flexible and adaptable for various project needs.</p><p>If You need fast,lightweight and flexibale solution for applications and if you prefer simple learning curve <strong>Use React</strong>.</p><p>If You want to built-in solution for routing,state management,dependency injection,and when you confortable with <strong>Typescript Use Angular.</strong></p><p>__|__<strong> Conclusion__|__</strong></p><p>React and Angular are both powerful technologies, but they cater to different types of projects. React’s <strong>lightweight, flexible nature</strong> makes it ideal for <strong>smaller applications, startups, and projects requiring high UI interactivity</strong>, while Angular’s <strong>full-fledged framework capabilities</strong> make it a great choice for <strong>large-scale, enterprise-grade applications</strong>. Choice should depend on factors like project complexity, team expertise, and long-term scalability needs.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*-PfkxX-3kV_tUMZm" /><figcaption>Photo by <a href="https://unsplash.com/@lautaroandreani?utm_source=medium&amp;utm_medium=referral">Lautaro Andreani</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5ba4aa649a74" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Structured Query Language (SQL)]]></title>
            <link>https://medium.com/@ppeshila7/structured-query-language-sql-e326f5c00c2c?source=rss-4fd3bdb526af------2</link>
            <guid isPermaLink="false">https://medium.com/p/e326f5c00c2c</guid>
            <dc:creator><![CDATA[Pramodi Peshila]]></dc:creator>
            <pubDate>Sat, 15 Feb 2025 17:22:24 GMT</pubDate>
            <atom:updated>2025-02-15T17:23:49.556Z</atom:updated>
            <content:encoded><![CDATA[<p><strong><em>—| — Introduction</em></strong></p><p>Structured Query Language (SQL) is a powerful and standardized programming language used for managing and manipulating relational databases. It provides a systematic way to store, retrieve, modify, and delete data efficiently. SQL is widely used in various domains, including web applications, data analytics, business intelligence, and cloud computing.</p><p>Relational Database Management Systems (RDBMS) like MySQL, PostgreSQL, Microsoft SQL Server, SQLite, and Oracle Database rely on SQL as their primary query language. With its structured approach and powerful querying capabilities, SQL remains a fundamental skill for database administrators, data analysts, and software developers.</p><p><strong><em>— | — Key Features of SQL</em></strong></p><ul><li><strong>Standardized Language</strong> — SQL is an ANSI (American National Standards Institute) and ISO (International Organization for Standardization) standardized language, making it universally accepted across different database platforms.</li><li><strong>Declarative Nature</strong> — SQL focuses on “what to do” rather than “how to do it,” making database operations intuitive and efficient.</li><li><strong>Scalability</strong> — SQL can handle vast amounts of data, from small-scale applications to enterprise-level solutions.</li><li><strong>Security</strong> — SQL supports authentication, authorization, and encryption to protect sensitive data.</li><li><strong>Data Integrity</strong> — SQL enforces constraints like Primary Keys, Foreign Keys, Unique, and Not Null to maintain data consistency.</li></ul><p><strong><em>— | — Types of SQL</em></strong></p><ol><li><strong>Data Definition Language (DDL)</strong></li></ol><ul><li>Defines and manages database structure.</li></ul><p><strong>Commands:</strong></p><ul><li>CREATE – Creates a new table or database.</li><li>ALTER – Modifies an existing table.</li><li>DROP – Deletes a table or database.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/495/1*rUH3_nJ1NfSQAvmANOZ_Iw.png" /></figure><p>2. <strong>Data Query Language (DQL)</strong></p><ul><li>Used to retrieving data from databases.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/536/1*N4VhkHCl3KPMxo-wKT0rgg.png" /></figure><p>3. <strong>Data Manipulation Language (DML)</strong></p><ul><li>Used for modifying data in tables.</li></ul><p><strong>Commands:</strong></p><ul><li>INSERT – Adds new records.</li><li>UPDATE – Modifies existing records.</li><li>DELETE – Removes records.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/522/1*MGfh2I0q9hnHQHAFXI0ukQ.png" /></figure><p>4. <strong>Data Control Language (DCL)</strong></p><ul><li>Manages access permissions in the database.</li></ul><p><strong>Commands:</strong></p><ul><li>GRANT – Gives user privileges.</li><li>REVOKE – Removes user privileges.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/520/1*_id15iufi-mK7NKr95ThIQ.png" /></figure><p>5. <strong>Transaction Control Language (TCL)</strong></p><ul><li>Ensures the reliability of database transactions.</li></ul><p><strong>Commands:</strong></p><ul><li>COMMIT – Saves changes permanently.</li><li>ROLLBACK – Undoes uncommitted changes.</li><li>SAVEPOINT – Creates checkpoints in transactions.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/612/1*b24zEp3qWRgahMhWF2ligQ.png" /></figure><p><strong><em>— | — SQL JOINS</em></strong></p><ul><li><strong>LEFT JOIN </strong>— Returns all records from the left table and matching records from the right table.</li><li><strong>RIGHT JOIN </strong>— Returns all records from the right table and matching records from the left table.</li><li><strong>INNER JOIN</strong> — Returns records with matching values in both tables.</li><li><strong>FULL JOIN </strong>— Returns all records from both tables, with nulls where no match exists.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/946/1*D5kTXxCOvHycOUyoNVmOgA.png" /></figure><p><strong><em>— | — Conclusion</em></strong></p><p>SQL remains a cornerstone of modern database management, providing powerful tools to manipulate and retrieve data efficiently. Its versatility, ease of use, and widespread adoption make it a fundamental skill for developers, database administrators, and analysts. As technology evolves, SQL continues to integrate with cloud computing, big data, and artificial intelligence, further solidifying its importance in the data-driven world.</p><p>By mastering SQL, professionals can enhance their data-handling capabilities, improve application performance, and contribute to efficient decision-making in various industries.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e326f5c00c2c" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>