<?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[10xDev.Blog - Medium]]></title>
        <description><![CDATA[Expect free resources, visuals, tutorials and tips to learn programming &amp; software/web development. - Medium]]></description>
        <link>https://medium.com/techiediaries-com?source=rss----48e1ac9454f8---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>10xDev.Blog - Medium</title>
            <link>https://medium.com/techiediaries-com?source=rss----48e1ac9454f8---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 16 Nov 2026 01:36:04 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/techiediaries-com" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Why Choosing Your First Programming Language Doesn’t Matter]]></title>
            <link>https://medium.com/techiediaries-com/why-choosing-your-first-programming-language-doesnt-matter-fb196298dbf0?source=rss----48e1ac9454f8---4</link>
            <guid isPermaLink="false">https://medium.com/p/fb196298dbf0</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[software-engineering]]></category>
            <dc:creator><![CDATA[Ahmed Bouchefra]]></dc:creator>
            <pubDate>Sun, 07 Sep 2025 15:26:41 GMT</pubDate>
            <atom:updated>2025-09-07T15:31:00.027Z</atom:updated>
            <content:encoded><![CDATA[<h4>Your first language choice is overrated.</h4><p>I’ve seen the arguments a million times online.</p><p>Some hopeful beginner posts a simple question like, “Hey, should I learn Python?” and suddenly it’s a cage match.</p><p>You’ve got the two usual suspects going at it in the comments.</p><p>One guy, let’s call him Captain C++, says, “Don’t learn Python, you’ll just be a script kiddie who relies on crutches and never understands the fundamentals. Learn C++ to actually understand programming from the ground up!”</p><p>Then someone else from Team Python chimes in: “C++ is a waste of time for most people. Python gets you building real stuff fast and is used everywhere, in every field imaginable.”</p><p>It’s an absolute mess, and it’s no wonder you’re confused.</p><h3>The Real Reason You’re So Confused</h3><p>That feeling of being totally lost isn’t just for people learning on their own. I see university students sitting in lecture halls with that same glazed-over look, wondering how any of their required classes actually connect to building something real.</p><p>Here’s the secret they don’t always tell you: you have to separate the science from the application.</p><p>When you hear people talk about web development, AI, mobile apps, or game development, they’re talking about applying computer science to solve a problem for people.</p><p>That’s the job, the final product.</p><p>Computer science is the foundation. It’s the physics of how a building stands up.</p><p>You wouldn’t try to be an architect without knowing a thing or two about gravity and load-bearing walls, right?</p><p>Same deal here.</p><p>You’ve got to learn some of the science first!</p><h3>Your First Language Is Just a Tool</h3><p>So, that first programming language? It’s just your ticket into this massive world.</p><p>Don’t treat it like a marriage proposal you can’t back out of.</p><p>Its only job is to teach you some core concepts.</p><p>It’s there to show you what you know and, more importantly, illuminate the vast landscape of what you don’t know yet.</p><p>You figure out the rest by staying curious and just keeping at it.</p><p>Stop wasting weeks watching YouTube comparison videos and reading Reddit threads.</p><p>Just pick a language and start. The most important skills you can build right now are asking a ton of questions and learning to rely on yourself to find the answers.</p><p>Thinking Beyond a Single Language<br>Deep down, all programming languages are trying to do the same thing: tell a computer what to do.</p><p>They all play by the same basic rules set by the computer’s hardware and operating system.</p><p>As you start, get into the habit of looking past the language itself and asking, &quot;What’s really going on here?&quot;</p><p>Let’s walk through a little journey.</p><p>Imagine you start with Python. You’re learning, building stuff, and it feels great.</p><p>You hear people talk about &quot;memory,&quot; but in Python, everything just works. It feels like magic.</p><p>But then your curiosity kicks in. You start wondering how it works.</p><p>You do a little digging and discover this thing called &quot;memory management.&quot;</p><p>You realize Python does all that for you automatically, but a language like C or C++ makes you handle it all by yourself.</p><p>So you peek at how C++ does it. Suddenly, concepts like pointers and manual memory allocation start to make a little more sense.</p><p>You might not use them, but you understand the problem they solve.</p><p>You keep digging and find out how a newer language like Rust handles memory in a totally different way that promises safety and speed.</p><p>Boom. In that little journey, you’ve banked some serious knowledge about how computers actually work, not just how to write a Python script. That is the real skill.</p><h3>So, What Now?</h3><p>Look, the language is a starting point, not the destination. Your curiosity is your most valuable asset.</p><p>But okay, let’s say I’ve convinced you. You’ve closed the 50 browser tabs and finally picked one. Now you’re staring at a blank screen.</p><p>The first question that hits you is, &quot;Okay, where do I actually learn this stuff?&quot;</p><p>That’s exactly what we’re going to cover in the next article.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fb196298dbf0" width="1" height="1" alt=""><hr><p><a href="https://medium.com/techiediaries-com/why-choosing-your-first-programming-language-doesnt-matter-fb196298dbf0">Why Choosing Your First Programming Language Doesn’t Matter</a> was originally published in <a href="https://medium.com/techiediaries-com">10xDev.Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The 5 Most Common Design Patterns Explained in 6 Minutes]]></title>
            <link>https://medium.com/techiediaries-com/the-5-most-common-design-patterns-explained-in-6-minutes-26e7ebb5dbb3?source=rss----48e1ac9454f8---4</link>
            <guid isPermaLink="false">https://medium.com/p/26e7ebb5dbb3</guid>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[Ahmed Bouchefra]]></dc:creator>
            <pubDate>Mon, 18 Aug 2025 18:10:46 GMT</pubDate>
            <atom:updated>2025-08-18T18:10:46.557Z</atom:updated>
            <content:encoded><![CDATA[<p><strong><em>In today’s article</em>, we’re going to talk about <em>design patterns.</em></strong></p><p><strong><em>High-level programming languages have been around since the 1950s, and since then, programmers have been using them to solve all sorts of different problems.</em></strong></p><p><em>Over time, programmers realized that even though the </em><strong><em>problems</em></strong><em> are </em><strong><em>unique</em></strong><em>, there are often </em><strong><em>similarities</em></strong><em> in the </em><strong><em>solutions</em></strong><em>.</em></p><p><em>They aren’t exactly the same, so </em><strong><em>you can’t create a library or use a standard algorithm to solve them</em></strong><em>.</em></p><p><em>Instead, developers would </em><strong><em>reuse the core ideas of a solution</em></strong><em> for the different problems they came across.</em></p><p><em>Eventually, names were given to these</em><strong> typical solutions, </strong><em>and that is how</em><strong> design patterns were born.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*4LqadlYnzyqmzgKz.png" /></figure><h3>What is a Design Pattern?</h3><p><strong>If you’re struggling to work out</strong> the <strong>difference</strong> between a <em>design pattern</em> and an <em>algorithm</em>, perhaps this <strong>analogy</strong> will help.</p><p>Let’s say you want to <strong>bake</strong> a <strong>birthday cake</strong>.</p><p>To do this, you might <strong>follow a recipe</strong>, which provides <strong>step-by-step instructions on how to bake that cake</strong>.</p><p>The recipe, in this case, is an <strong>algorithm</strong>. It gives you a repeatable set of instructions to produce the same result.</p><p><strong>Sure</strong>, <em>you might switch out some ingredients to produce different cakes, but these are just different input variables.</em></p><p>Now, let’s also say you <strong>want to have a birthday party</strong>.</p><p>If you think about a birthday party, you’re probably imagining balloons, banners, and a cake with candles.</p><p>However, <strong>everyone’s idea of a birthday party is different</strong>. There are no set steps to follow, <strong>no recipe like you have with a cake</strong>.</p><p><em>A birthday party will be different for every person, much like the problems we face in software engineering.</em></p><p>But if you could see what everyone else is thinking, even though their ideas of a party are very different,<strong> you would still recognize it as a “birthday party.”</strong></p><p>The birthday party, in this case, is a <strong>design pattern</strong>. It’s the concept of a <strong>solution</strong> that can be <strong>reused</strong>, <em>even if the implementation details are slightly different.</em></p><h3>The Gang of Four and the 23 Patterns</h3><p>In 1994, four authors wrote down 23 design patterns in the book <strong><em>Design Patterns: Elements of Reusable Object-Oriented Software</em></strong>.</p><p>That’s a bit of a mouthful, so most people call it the <strong>“Gang of Four”</strong> book.</p><p><em>If you’ve been programming for a while, chances are you’ve already used some of these design patterns without even realizing it.</em></p><p><strong>Most of them are common sense. These 23 design patterns are split into three main groups:</strong></p><ul><li><strong>Creational Patterns:</strong> These relate to creating objects in your code.</li><li><strong>Structural Patterns:</strong> These define how objects are structured, especially in large systems.</li><li><strong>Behavioral Patterns:</strong> These cover the interaction between objects and their responsibilities.</li></ul><p><strong>No one expects you to memorize all 23 patterns.</strong></p><p>However, it’s worth being familiar with them.</p><p>When you encounter a problem, you might think, <strong>“Ah, that sounds similar to this design pattern,”</strong> and then <em>you can look it up to see if it applies.</em></p><p><strong><em>Out of all these patterns, there are five that many developers find themselves using over and over again. Let’s have a look at those:</em></strong></p><h3>1. The Strategy Pattern</h3><p>Let’s go back to the cake-baking analogy.</p><p>Imagine you love cake so much that you decide to write an application that provides cake recipes.</p><p>You start with a birthday cake recipe, but later you want to add a red velvet cake, then a carrot cake, a coffee cake, and a lemon cake.</p><p>You could use if statements or switch statements to handle all the different cakes, but your code would quickly become messy spaghetti.</p><p>The code in your application shouldn’t need to care too much about which specific cake you pick.</p><p>This is where the <strong>Strategy Pattern</strong> comes in. You can split each cake recipe into its own class, with each class implementing the same methods, for example:</p><pre>getIngredients()<br>getMethod()</pre><p>This is incredibly useful if you have multiple ways of achieving the same thing.</p><p><em>For instance, in a maps application, you might want to provide navigation for walking, driving, or cycling.</em></p><p><strong>They all serve the same function (navigation), but the implementation is different for each. This is a pattern worth having in your toolbox.</strong></p><h3>2. The Decorator Pattern</h3><p>If you need to extend an object’s functionality without changing its original implementation, the <strong>Decorator Pattern</strong> is the way to go.</p><p>This pattern is a key way to make your code open to extension but closed for modification (<strong>the “O” in SOLID principles</strong>).</p><p>You’ve likely used this pattern without realizing it!</p><p><em>Whenever you wrap a class in another class, you’re effectively using the Decorator pattern.</em></p><p>The typical way to do this is to have the decorator implement the same interface as the component you want to extend.</p><p>Then, in the decorator’s constructor, you pass in the original component as an argument.</p><p>You can then implement the interface, call the original component’s method, and add your new functionality either before or after that call.</p><h3>3. The Observer Pattern</h3><p>You’re probably already familiar with the concept behind the <strong>Observer Pattern</strong>.</p><p>It’s used whenever you want to notify interested parties that something has happened.</p><p>Think of a newsletter subscription. Only those who have subscribed to the newsletter receive an email.</p><p>This is how the <strong>Observer pattern works.</strong> You have a <strong>Publisher</strong> that implements subscribe(), unsubscribe(), and notifySubscribers() methods.</p><p>You then have a <strong>Subscriber</strong> interface that all subscribers must implement.</p><p>When a subscriber subscribes to a publisher, they are added to a list (like an array). When the publisher has an update, it loops through that list and calls the update() method on each subscriber.</p><h3>4. The Singleton Pattern</h3><p><strong><em>When we think of singletons, we think of creating just one instance of something.</em></strong></p><p><em>While you can use </em><strong><em>global variables</em></strong><em>, they can be changed from anywhere, which can cause numerous problems.</em></p><p>However, there are cases where you genuinely need a <strong>single, globally accessible object</strong>, such as a <strong>database connection</strong>.</p><p>You don’t want a new connection every time something needs to access the database.</p><p>The typical way to implement a <strong>Singleton</strong> is to create a <strong><em>sealed class with a private constructor.</em></strong></p><p><strong>The private constructor means nothing outside the class can create a new instance of it.</strong></p><p>You then create a separate method or property that handles the instance creation.</p><p>Here is a basic implementation:</p><pre>// NOTE: This version is NOT thread-safe<br>public sealed class Singleton<br>{<br>    private static Singleton instance = null;</pre><pre>    private Singleton() { }</pre><pre>    public static Singleton Instance<br>    {<br>        get<br>        {<br>            if (instance == null)<br>            {<br>                instance = new Singleton();<br>            }<br>            return instance;<br>        }<br>    }<br>}</pre><p>The problem with the code above is that it’s not thread-safe!</p><p>Two threads could call the Instance property at the same time, both pass the null check, and end up creating two separate instances.</p><p>To get around this, we need a locking mechanism:</p><pre>// Thread-safe version<br>public sealed class Singleton<br>{<br>    private static Singleton instance = null;<br>    private static readonly object padlock = new object();</pre><pre>    private Singleton() { }</pre><pre>    public static Singleton Instance<br>    {<br>        get<br>        {<br>            if (instance == null) // Initial check<br>            {<br>                lock (padlock) // Lock the critical section<br>                {<br>                    if (instance == null) // Double-check<br>                    {<br>                        instance = new Singleton();<br>                    }<br>                }<br>            }<br>            return instance;<br>        }<br>    }<br>}</pre><p>Another, much simpler way to do this in C# (.NET 4 and later) is with the Lazy&lt;T&gt; type, which is thread-safe by default and uses less code:</p><pre>// Thread-safe version using Lazy&lt;T&gt;<br>public sealed class Singleton<br>{<br>    private static readonly Lazy&lt;Singleton&gt; lazy =<br>        new Lazy&lt;Singleton&gt;(() =&gt; new Singleton());</pre><pre>    public static Singleton Instance { get { return lazy.Value; } }</pre><pre>    private Singleton() { }<br>}</pre><h3>5. The Facade Pattern</h3><p>The <strong>Facade Pattern</strong> is essential in software development.</p><p>It’s all about simplicity. We constantly use different libraries and frameworks that, while saving us time, can make our code messy and complicated.</p><p>Often, these libraries do far more than we actually need.</p><p>Let’s say you’re using a fictional, poorly designed logging library.</p><p>This library can send logs to a file, the console, or even a Slack message.</p><p>The problem is, it only has one method, log(), and for every call, you have to specify the log type and destination.</p><p>Rather than cluttering your code with these implementation details, you can create your own logger interface (a “facade”) with simple methods like logInfo(), logError(), etc.</p><p>All the messy code from the bad library is then restricted to a single class that implements your clean interface.</p><p><strong><em>If you ever decide to change the logging library, you only have one place to make changes, and the rest of your code is unaffected.</em></strong></p><h3>Conclusion</h3><p><strong><em>These are five of the most common design patterns that many developers use, but there are over 18 other patterns from the original book.</em></strong></p><p>It’s worth looking at them to become familiar!</p><p><strong><em>Having them in the back of your mind will help you identify solutions when you come across complex problems in the future.</em></strong></p><p>There are many great online resources that cover all 23 design patterns with examples of when to use them.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=26e7ebb5dbb3" width="1" height="1" alt=""><hr><p><a href="https://medium.com/techiediaries-com/the-5-most-common-design-patterns-explained-in-6-minutes-26e7ebb5dbb3">The 5 Most Common Design Patterns Explained in 6 Minutes</a> was originally published in <a href="https://medium.com/techiediaries-com">10xDev.Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Python Roadmap for Free Courses/Certificates to High-Paying Jobs]]></title>
            <link>https://medium.com/techiediaries-com/python-roadmap-for-free-courses-certificates-to-high-paying-jobs-6a90ba7349ee?source=rss----48e1ac9454f8---4</link>
            <guid isPermaLink="false">https://medium.com/p/6a90ba7349ee</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[python]]></category>
            <dc:creator><![CDATA[Ahmed Bouchefra]]></dc:creator>
            <pubDate>Sun, 17 Aug 2025 22:06:41 GMT</pubDate>
            <atom:updated>2025-08-17T22:06:41.725Z</atom:updated>
            <content:encoded><![CDATA[<p><em>In 2025, the programming language that’s most linked to six-figure salaries (in dollars) is Python. This isn’t just a fluke; it’s a clear result of Python’s stronghold in the most lucrative areas of the tech industry: artificial intelligence, data science, cyber security, and automation.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*JWX-Pmhl60FLSHgR.png" /></figure><p><em>However, just learning Python doesn’t automatically mean you’ll land a high-paying job. The real trick is to learn and apply Python within one of these specialized and valuable fields.</em></p><p><strong><em>This article serves as a focused investment of your time. We’ll walk you through five free, targeted certifications, each crafted to prepare you for a specific role that ranks among the highest-paying in the market, all hinging on your Python skills.</em></strong></p><h3>Roadmap to High-Paying Jobs Using Python:</h3><p><em>Each certification on this list opens the door to a rewarding job opportunity:</em></p><h3>1. A strong foundation in software engineering (essential everywhere)</h3><p><em>Before you dive into a specialty, it’s crucial to have a solid base that showcases your understanding of programming principles. This certification will give you that essential groundwork:</em></p><ul><li><strong>Suggested Certification:</strong> <strong>Programming Essentials in Python</strong></li><li><strong>Why is it important?</strong> Because it’s offered by <strong>Cisco</strong> and directly qualifies you for globally recognized professional certifications (PCEP/PCAP). Having this certification on your resume signals that you’ve learned Python according to industry standards, not just on a whim.</li><li><strong>Presenter:</strong> Cisco Networking Academy</li><li><strong>Course language:</strong> English, with potential availability in other languages.</li><li><a href="https://www.netacad.com/courses/programming/pcap-programming-essentials-python"><strong>Start building your solid engineering foundation here.</strong></a><strong> 👈</strong></li></ul><h3>2. Stepping into the realm of data science (job: data scientist)</h3><p><em>Data scientists spend a significant amount of their time using Python to analyze data and create predictive models. This comprehensive program is your gateway into this exciting field:</em></p><ul><li><strong>Suggested Certification:</strong> <strong>Programming Essentials in Python</strong></li><li><strong>Why is it important?</strong> Because it’s offered by <strong>Cisco</strong> and directly qualifies you for globally recognized professional certifications (PCEP/PCAP). Having this certification on your resume shows that you learned Python according to industry standards, not randomly.</li><li><strong>Presenter:</strong> Cisco Networking Academy</li><li><strong>Course language:</strong> English, with possible availability in other languages.</li><li><a href="https://www.netacad.com/courses/programming/pcap-programming-essentials-python"><strong>Build your solid engineering foundation from here.</strong></a><strong> 👈</strong></li></ul><h3>2. Entering the world of data science (job: data scientist)</h3><p><em>Data scientists spend most of their time using Python to analyze data and build predictive models. This comprehensive program is your entry point into this field:</em></p><ul><li><strong>Suggested Certification:</strong> <strong>IBM Data Science Professional Certificate</strong></li><li><strong>Why is it important?</strong> Because it’s a comprehensive professional certification from tech giant <strong>IBM</strong> . It teaches you everything you need to know: from the basics of Python and SQL, to data analysis, to building machine learning models. It’s the most comprehensive path to becoming a data scientist.</li><li><strong>Presented by:</strong> IBM on Coursera</li><li><strong>Course language:</strong> English (with subtitles for other languages available).</li><li><a href="https://www.coursera.org/professional-certificates/ibm-data-science"><strong>Start your career as a data scientist here</strong></a><strong> 👈</strong></li></ul><h3>3. Specialization in Machine Learning Engineering (Job: Machine Learning Engineer)</h3><p><em>Machine learning engineers are among the highest-paid professionals in the world. Their job is to build and deploy complex AI models. This certification focuses on the practical side of this job:</em></p><ul><li><strong>Suggested Certification:</strong> <strong>Machine Learning with Python</strong></li><li><strong>Why is it important?</strong> Because it’s project-based and uses Google’s <strong>TensorFlow</strong> library . You’ll build five real-world machine learning models, which is the practical experience hiring managers look for in this advanced specialization.</li><li><strong>Presenter:</strong> freeCodeCamp</li><li><strong>Course Language:</strong> Main content in English.</li><li><a href="https://www.freecodecamp.org/learn/machine-learning-with-python/"><strong>Specialize in Artificial Intelligence Engineering from here</strong></a><strong> 👈</strong></li></ul><h3>4. Excellence in Cybersecurity (Job: Security Analyst Programmer)</h3><p><em>A cybersecurity expert who knows how to write code to solve problems and automate tasks will earn a much higher salary than one who only uses off-the-shelf tools:</em></p><ul><li><strong>Suggested Certification:</strong> <strong>Information Security</strong></li><li><strong>Why is it important?</strong> Because it’s the only certification that teaches you security by <strong>building security tools using Python</strong> . This dual skill (security + programming) is extremely rare and makes you an irresistible candidate for advanced security jobs.</li><li><strong>Presenter:</strong> freeCodeCamp</li><li><strong>Course Language:</strong> Main content in English.</li><li><a href="https://www.freecodecamp.org/learn/information-security/"><strong>Combine security and programming from here</strong></a><strong> 👈</strong></li></ul><h3>5. Master the most in-demand skill — data analysis with Pandas</h3><p><em>Almost every high-paying Python job requires a thorough mastery of the Pandas library, the primary tool for data processing and analysis in Python:</em></p><ul><li><strong>Suggested Certification:</strong> <strong>Data Analysis with Python: Zero to Pandas</strong></li><li><strong>Why is it important?</strong> Because it focuses comprehensively and intensively on the most important library in the data world. Mastering Pandas is a prerequisite for success in any data scientist or machine learning engineer interview.</li><li><strong>Presenter:</strong> Jovian</li><li><strong>Course language:</strong> English only.</li><li><a href="https://jovian.com/learn/data-analysis-with-python-zero-to-pandas"><strong>Master the most important tool in the world of Python data from here</strong></a></li></ul><h3>Conclusion: Don’t just learn the language, specialize in it.</h3><p><em>The approach is straightforward: Don’t try to learn Python in isolation. Instead, dive into it by focusing on a high-demand area like data science, machine learning, or cyber security.</em></p><p><em>Each of these certifications isn’t just a way to showcase your skills; it’s your gateway to a lucrative career. Getting a solid grip on Python within these fields is the quickest route to significantly boosting your market value as a tech professional.</em></p><p><em>Pick the area that excites you the most and start working towards a degree today. The choices you make now will shape your financial and professional future.</em></p><p><em>Thanks for reading </em><strong><em>10xdev.blog!</em></strong><em> Subscribe for free to receive new posts.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6a90ba7349ee" width="1" height="1" alt=""><hr><p><a href="https://medium.com/techiediaries-com/python-roadmap-for-free-courses-certificates-to-high-paying-jobs-6a90ba7349ee">Python Roadmap for Free Courses/Certificates to High-Paying Jobs</a> was originally published in <a href="https://medium.com/techiediaries-com">10xDev.Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[10xDev Newsletter #1: Vibe Coding, Clone UIs with AI; LynxJS — Tiktok New Framework; Python for…]]></title>
            <link>https://medium.com/techiediaries-com/10xdev-newsletter-1-vibe-coding-clone-uis-with-ai-lynxjs-tiktok-new-framework-python-for-fcb551f4908c?source=rss----48e1ac9454f8---4</link>
            <guid isPermaLink="false">https://medium.com/p/fcb551f4908c</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[devloper]]></category>
            <category><![CDATA[vibe-coding]]></category>
            <category><![CDATA[development]]></category>
            <category><![CDATA[webdev]]></category>
            <dc:creator><![CDATA[Ahmed Bouchefra]]></dc:creator>
            <pubDate>Fri, 21 Mar 2025 22:44:53 GMT</pubDate>
            <atom:updated>2025-03-21T22:44:53.258Z</atom:updated>
            <content:encoded><![CDATA[<h3>10xDev Newsletter #1: Vibe Coding, Clone UIs with AI; LynxJS — Tiktok New Framework; Python for Mobile Dev; New Angular 19, React 19, Laravel 12 Features; AI Fakers in Recruitment; Local-First Apps…</h3><p><strong>💬 Curious to know where the future of coding is really heading? Let’s dive into what’s shaping the next generation of developers.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EHo7Cra0DskR2-EAvMf5lQ.png" /></figure><p><strong>In this first issue, we’ll see:</strong></p><ul><li>AI tools that are helping devs <strong>clone any UI</strong> and <strong>build software</strong> almost <strong>autonomously</strong>.</li><li>The rise of <strong>vibe coding</strong> — what it means, how prompt engineering is changing everything, and how to ride the AI wave as a developer.</li><li>TikTok is releasing a high-performance cross-platform mobile framework for building apps with just markup and CSS.</li><li>A new <strong>Python</strong> framework inspired by Flutter is quietly redefining cross-platform development. <strong>You need to check if you are a pythonista!</strong></li><li><strong>Single Executable Apps</strong> with Node.js.</li><li>New features of Angular 19 and React 19 are here — what’s new and what matters.</li><li>Learn how to run Angular applications without a build step using ES modules and <strong>TypeScript in the browser.</strong></li><li>Laravel 12 introduces <strong>Custom Starter Kits</strong> — to build faster, cleaner, and in your way.</li><li>Windows 95, running in an Electron app with JavaScript.</li><li>EA released the source code of classic C&amp;C titles like Tiberian Dawn, Red Alert, Renegade, and Generals</li><li>Local-first apps is more than a trend — it’s the future.</li><li>A TypeScript version that’s <em>10x faster</em>.</li><li>And why the traditional “full-time dev” job might soon be a thing of the past…</li><li>AI fakers exposed in tech dev recruitment: <em>Candidate used an AI face filter to pass a video interview.</em></li><li>Roblox announced the launch of an AI tool to <strong>generate 3D models</strong> using simple text prompts.</li><li>Python Developer Tooling Handbook.</li></ul><blockquote>The entire history of software engineering is that of the rise in levels of abstraction.<em> </em><strong><em>Grady Booch.</em></strong></blockquote><p>💬 <strong><em>We hope you will enjoy these readings as we did!</em></strong></p><p>By <a href="https://substack.com/@naimacodes">Naima</a> and <a href="https://substack.com/@boucodes">Bou Codes</a>.</p><p>💬 Let’s dive in →</p><h3>Good to Read or Watch (Handpicked for Devs by Devs)</h3><h3><a href="https://levelup.gitconnected.com/the-5-paid-subscriptions-i-actually-use-in-2025-as-a-staff-software-engineer-98033c94566e">The 5 paid subscriptions I actually use in 2025 as a Staff Software Engineer</a></h3><p><strong>Author:</strong> <em>I care a lot about the tools I use. Especially when they aren’t free. Here’s what I’m paying for in 2025 to improve my performance and productivity as a software engineer.</em></p><blockquote><em>💬 Investing in the right tools is the fastest way to </em><strong><em>compound your efficiency</em></strong><em>. Think of these like leverage — if a tool saves you 30 minutes/day, it is going to pay for itself afterwards.</em></blockquote><h3>🎞️ <a href="https://www.youtube.com/watch?v=cBKHkm_rt4I&amp;ab_channel=ThrivingTechnologist">Helping a Dev Manager Focus on ACTION — Not Fear</a></h3><p>Jamie coaches Ben, an engineering manager debating solopreneurship. They explore how to navigate fear and take smart action without burning bridges.</p><blockquote><em>💬 If you’re thinking about making the jump from 9-to-5 to indie hacking, this is gold. Emotional agility is a core skill in </em><strong><em>devneurship</em></strong><em> — calm minds ship bold ideas.</em></blockquote><h4>More…</h4><ul><li><a href="https://rxdb.info/articles/local-first-future.html">Why Local-First Software Is the Future and what are its Limitations</a>: <em>Building with local-first in mind could future-proof your apps. Especially relevant for indie devs targeting emerging markets or privacy-first users.</em></li><li><a href="https://devblogs.microsoft.com/typescript/typescript-native-port/">A 10x Faster TypeScript</a>: <em>Today I’m excited to announce the next steps we’re taking to radically improve TypeScript performance. by Anders Hejlsberg.</em></li><li><a href="https://medium.com/gitconnected/why-full-time-developer-career-is-becoming-dead-and-what-s-replacing-it-1c661af09e57">Why ‘Full-Time Developer’ Career Is Becoming Dead — And What’s Replacing It</a>: <em>Being a full-time developer used to be the ultimate career goal. A stable job, fat paycheck, and a path paved with endless coding challenges — but that dream is dying.</em></li><li><a href="https://dev.to/this-is-learning/building-single-executable-applications-with-nodejs-16k3">Building Single Executable Applications with Node.js</a>: <em>In this article, I’m sharing what I’ve learned about</em> <strong><em>Single Executable Applications</em></strong><em>, a feature that fundamentally shifts how we package and distribute Node.js applications.</em></li></ul><h3><a href="https://2ality.com/2025/03/typescript-sales-pitch.html">My sales pitch for TypeScript</a></h3><blockquote><em>💬 Still debating TS? This might convert you. It’s about more than safety — it’s a tool for better collaboration and fewer bugs, aka </em><strong><em>faster shipping</em></strong><em>.</em></blockquote><h3><a href="https://dev.to/mnathani/two-lines-of-css-that-boosts-7x-rendering-performance-4mjd">Two lines of CSS that boosts 7x rendering performance!</a></h3><blockquote><em>💬 Tiny tweaks like this give your UI that buttery-smooth feel. </em><strong><em>Craftsmanship = growth</em></strong><em>, especially when you’re building solo.</em></blockquote><h3><a href="https://modernwebweekly.substack.com/p/modern-web-weekly-49">Finally, a customizable</a> &lt;select&gt;</h3><p><strong><em>Author:</em></strong> <em>After what seemed like an eternity, it looks like we’ll finally get a fully stylable and customizable</em> &lt;select&gt; <em>on the web. I know, we should have had this 20 years ago. Standards take time and this took a long time.</em></p><blockquote><strong><em>💬 User experience matters. Now there’s no excuse for clunky UI.</em></strong></blockquote><h3>What’s New in Dev World</h3><h3>🎧 Vibe Coding: The New Abstraction Layer</h3><blockquote><em>💬 A new concept called </em><strong><em>vibe coding (or programming by prompt)</em></strong><em> is trending in the developer community. The term was coined by Andrej Karpathy in early 2025 to describe “fully giving in to the vibes” and almost forgetting that the code exists​:</em></blockquote><p><strong>Andrej Karpathy on X:</strong> <em>There’s a new kind of coding I call “vibe coding”, where you fully give in to the vibes, embrace exponentials, and forget that the code even exists. I’m building a project or web app, but it’s not really coding — I just see stuff, say stuff, run stuff, and copy paste stuff, and it mostly works.</em> <strong>.</strong></p><blockquote><em>💬 From early programming languages to modern frameworks and AI-assisted coding, the history of software development has been a continuous march toward higher levels of abstraction. Vibe coding is simply the latest step in that progression.</em></blockquote><blockquote><em>💬 Just like GUIs abstracted terminals, vibe coding abstracts code. </em><strong><em>Indie devs who master this will out-ship teams.</em></strong></blockquote><ul><li><a href="https://creatoreconomy.so/p/12-rules-to-vibe-code-without-frustration">12 Rules to Vibe Code Without Frustration</a>: <em>I’ve spent 50+ hours building apps with AI (e.g., plane simulator, Star Wars run, zombie shooter) and collected 200+ tips.</em></li></ul><p>💬 Think of this like the <strong>Zen of AI Dev</strong>. If you want to vibe code without chaos, start here.</p><ul><li><a href="https://dev.to/vorniches/vibe-coding-yeah-ive-been-doing-it-for-two-years-ea2?ahoy_click=true&amp;t=VAL5H9ZgG7elyeCZHB9pfz7d47QLiYqc&amp;s=fRsl5Hgo2ymHFRXL0KHDa1gf4dHO1Ugt3DMoEisJX94&amp;u=https%253A%252F%252Fdev.to%252Fvorniches%252Fvibe-coding-yeah-ive-been-doing-it-for-two-years-ea2">Vibe Coding? Yeah, I’ve Been Doing it for Two Years</a>: <em>Not long ago, I stumbled across the term “vibe coding” and was kinda blown away. Turns out, the way I’ve been slapping together my apps for the last two years — with minimal hand-written code and maximum automation via neural networks — now has a trendy name. In this post, I’ll share my tools for pair programming with AI and some thoughts on where this whole thing is heading.</em></li></ul><h3>🎞️ <a href="https://x.com/i/broadcasts/1ZkKzYanozoxv">LynxJS: First Impressions, Live Coding &amp; What’s Under the Hood</a></h3><p><em>This talk discusses ByteDance’s new JavaScript framework, LynxJS, which is already in production for millions of users. It highlights Lynx’s performance, its framework-agnostic nature, and potential impact on the React Native ecosystem. The framework is polished for an early release, but questions remain about native module support. Early adopters have an opportunity to shape its development.</em></p><blockquote><em>💬 ByteDance, the company behind TikTok, has released </em><a href="https://lynxjs.org/index.html?ref=tuliocalil.com"><strong><em>Lynx</em></strong></a><em>, a new framework that has a goal to revolutionize mobile app development, positioning itself as a competitor to React Native. </em><strong><em>Worth keeping an eye on if you’re building mobile-first.</em></strong></blockquote><h3><a href="https://www.callstack.com/blog/were-building-a-new-react-native-framework">We’re Building a New React Native Framework</a></h3><p><em>This new React Native framework speeds up enterprise app development with smart native build caching on CI with ability to reuse these builds across workflows, end-to-end tests, and local developers environments thanks to integrated CLI — all while staying flexible and self-hosted.</em></p><blockquote><em>💬 This is a gift for startup founders and indie makers.</em></blockquote><h4>More…</h4><ul><li><a href="https://astro.build/blog/astro-550/">Astro 5.5 — Type-safe sessions, better Mermaid diagrams integration</a>: Astro 5.5 dives deep with better support for diagramming tools, improved Markdown compatibility, and type-safe sessions!</li><li><a href="https://nodejs.org/en/blog/announcements/official-discord-launch-announcement">Node.js Launches Official Community Space on Discord</a>: The OpenJS Foundation and Reactiflux have collaborated to bring forth an official Discord community for Node.js 🎉</li></ul><blockquote><em>💬 The dev world isn’t slowing down. Staying updated = staying </em><strong><em>relevant and hireable</em></strong><em>.</em></blockquote><h3>What’s New in Tech World</h3><blockquote><em>💬 An Adobe survey of 5,000 US consumers found that </em><strong><em>55%</em></strong><em> use AI for research, </em><strong><em>39%</em></strong><em> for shopping, and </em><strong><em>53%</em></strong><em> plan to start using it.</em></blockquote><ul><li>🎞️ <a href="https://www.youtube.com/watch?v=wrvWlFx1veY&amp;ab_channel=PromptEngineering">Google Gemini 2.0 Flash is insane</a> : <em>Edit images by prompt. Remove watermarks. Wild!</em></li></ul><p>💬 If you’re building content products, this is your new <strong>creative co-pilot</strong>.</p><ul><li><a href="https://newsletter.pragmaticengineer.com/p/ai-fakers">AI fakers exposed in tech dev recruitment: postmortem</a>: <em>Candidate used an AI face filter to pass a video interview. Wild!</em></li><li><a href="https://github.com/antiwork/helper">Helper.ai</a>: <em>Helper is an open-source AI-powered customer support automation platform. Manage all support from one place with AI help.</em></li></ul><p>💬 If you’re solo-building and dread support emails.</p><ul><li><a href="https://corp.roblox.com/newsroom/2025/03/introducing-roblox-cube">Roblox</a> has announced the launch of “Cube,” an AI tool that allows creators to <strong>generate 3D models</strong> using simple text prompts</li><li><a href="https://techcrunch.com/2025/03/16/photo-calorie-app-cal-ai-downloaded-over-a-million-times-was-built-by-two-teenagers/">Cal AI</a>, co-founded by teens Zach Yadegari and Henry Langmack, has gained 5 million downloads and <strong>$2 million in revenue</strong> since its May launch</li><li><a href="https://www.linkedin.com/posts/emollick_i-regret-to-announce-that-the-meme-turing-activity-7307199008630816769-uHdp/">Recent findings</a> indicate that large language models (LLMs) have surpassed the average human in <strong>creating humorous memes</strong></li><li><a href="https://github.com/felixrieseberg/windows95">Windows 95 in Electron</a>: Windows 95, running in an Electron app with JavaScript. V4.0 adds Office 95 and IE 5.5 for some (limited) browsing of the Web.</li><li><a href="https://github.com/electronicarts">Command &amp; Conquer Source Code Released</a>: EA released the source code of classic C&amp;C titles like Tiberian Dawn, Red Alert, Renegade, and Generals.</li></ul><h3>What’s New in Angular</h3><blockquote><em>💬 Angular’s community is growing! There’s been a noticeable increase in retention, usage, and positivity among developers, largely thanks to the introduction of standalone components and signals. This shift has made Angular more encouraging for new developers to dive into.</em></blockquote><h3><a href="https://blog.angular.dev/angular-19-2-is-now-available-673ec70aea12">Angular 19.2 Is Now Available</a></h3><p><em>And we’re back with Angular’s latest minor release, version 19.2, bringing new APIs and experimental features to empower developers on their next great app.</em></p><h3><a href="https://medium.com/@sparklewebhelp/angular-19-the-ultimate-guide-for-developers-in-2025-b5a3896452c9">Angular 19: The Ultimate Guide for Developers in 2025</a></h3><p><em>Angular 19 is packed with tools to make your applications faster and more efficient. Dive into our comprehensive overview to discover all the exciting updates and learn how they can elevate your projects to the next level.</em></p><h4>More…</h4><ul><li><a href="https://www.angulararchitects.io/en/blog/learning-httpresource-with-super-mario/">Angular’s new httpResource</a></li><li><a href="https://dev.to/oz/starting-a-modern-angular-application-34h6">Starting a Modern Angular Application</a></li><li><a href="https://edbzn.dev/nobuild-angular/">Running Angular without build tools, Node.js or npm</a>: <em>Learn how to run Angular applications without a build step using ES modules and TypeScript in the browser.</em></li><li><a href="https://dev.to/this-is-angular/two-way-bind-a-signal-input-object-value-with-ngmodel-1c2a">Two-way bind a Signal Input object value with [(ngModel)]</a></li></ul><h3>What’s New in React</h3><blockquote><em>💬 React continues to evolve fast. Knowing the latest is key to </em><strong><em>staying employable and building better</em></strong><em>.</em></blockquote><h3><a href="https://cyboxs.com/getting-started-with-react-19-and-vite/">Getting Started with React 19 and Vite</a></h3><p><em>React has long been a favorite among developers for building dynamic and high-performance user interfaces. With the release of React 19, the library introduces improved features, better performance, and new capabilities to streamline the development process. Pairing React with Vite, a fast and modern build tool, takes the experience to the next level.</em></p><h4>More…</h4><ul><li><a href="https://mui.com/blog/react-19-update/">How we migrated MUI X to React 19</a></li><li><a href="https://blog.carlosn.com.br/post/writing-static-websites-with-vite-and-react/">Writing static websites with Vite and React</a></li><li><a href="https://www.epicweb.dev/tips/upgrading-react-router">Epic Web Dev — Upgrading React Router</a></li><li><strong>🎞️</strong> <a href="https://www.youtube.com/watch?v=nHnw3pusFXw&amp;ab_channel=WebDevSimplified"><strong>Next.js Finally Fixed Caching</strong></a></li><li><a href="https://x.com/aleqsio/status/1902034184920584538">expo/ui will launch with Expo SDK 53</a></li><li><a href="https://www.callstack.com/ebook/the-ultimate-guide-to-react-native-optimization">Ultimate Guide to React Native Optimization 2025</a></li></ul><h3>What’s New in Vue</h3><p><a href="https://app.weekly-vue.news/link/45cb1ecf-5082-40c8-80c5-ba2d4230c106/1c5b921c-86c7-414c-a9fa-d66a06bdee63/e2ace563-07fe-4aff-ba6c-a650a0ed88e3">Nuxt UI v3 is out</a>: This major redesign brings improved accessibility, Tailwind CSS v4 support, and full Vue compatibility.</p><blockquote><em>💬 Nuxt UI v3 = Faster Dev for Vue Hackers.</em></blockquote><h3>What’s New in Laravel</h3><p><a href="https://www.youtube.com/watch?v=mjSwVWhgpGc&amp;ab_channel=LaravelDaily"><strong>Laravel 12.2 Introduces Custom Starter Kits</strong></a><strong>:</strong> Laravel 12 Starter Kits: What You Need To Know</p><blockquote><em>💬 Laravel’s batteries-included setup makes it ideal for shipping MVPs fast.</em></blockquote><h3>What’s New in Python</h3><blockquote><em>💬 Check these resources if you are a pythonista!</em></blockquote><h3><a href="https://www.youtube.com/watch?v=4aiNStwq8oU&amp;ab_channel=BugBytes">Flet — Desktop &amp; Mobile apps in Python!</a></h3><p><em>This video tutorial demonstrates how to use the Flet framework in Python to build cross-platform mobile and desktop apps, even without prior front-end development experience. It walks through creating a simple quiz application, explaining how to structure the UI with Flet controls and handle user interactions.</em></p><blockquote><em>💬 Python is sneaking into front-end web and mobile territory. If you’re a Pythonista, this is your golden ticket to fullstack web and mobile development.</em></blockquote><h4>More…</h4><ul><li><a href="https://www.youtube.com/watch?v=leir3xJ4Klo&amp;ab_channel=CitusData"><strong>Why Python developers just use Postgres with Dawn Wages</strong></a><strong>:</strong> <em>Why Python and Django developers favor PostgreSQL.</em></li><li><a href="https://www.youtube.com/watch?v=tc713anE3UY&amp;ab_channel=ArjanCodes"><strong>How to Make Your Python Docker Image 80% Smaller</strong></a> <em>A step-by-step guide to creating optimized and efficient Docker images for Python applications…</em></li><li><a href="https://marimo.io/blog/python-not-json"><strong>Reinventing notebooks as reusable Python programs</strong></a><strong>:</strong> <em>Marimo reinvents Python notebooks as reusable Python programs by storing them as plaintext .py files…</em></li><li><a href="https://www.djangoproject.com/weblog/2025/mar/19/django-52-rc1/"><strong>Django 5.2 release candidate 1 released</strong></a></li></ul><h3>AI for Developers</h3><blockquote><em>💬 AI won’t take your job, but a person using AI might. Don’t get left behind. Learn to </em><strong><em>leverage AI!</em></strong></blockquote><h3><a href="https://blog.sshh.io/p/how-cursor-ai-ide-works">How Cursor (AI IDE) Works</a></h3><p><em>Understanding how AI coding tools like Cursor, Windsurf, and Copilot function under the hood can greatly enhance your productivity, enabling these tools to work more consistently — especially in larger, complex code bases.</em></p><blockquote><em>💬 Knowing the engine helps you optimize the ride.</em></blockquote><h4>More…</h4><ul><li><a href="https://www.sitepoint.com/prompt-engineering-for-web-development/">Prompt Engineering for Web Development</a>: <em>Everyone should know how to prompt. by Kevin Leary.</em> Prompt fluency is the <strong>next dev literacy</strong>.</li><li><a href="https://refactoring.fm/p/how-engineering-teams-use-ai">How Engineering Teams are Using AI</a> : <em>Reporting on real-world use cases and stories.</em></li><li><a href="https://www.newline.co/@zaoyang/how-to-build-complete-fullstack-apps-in-less-than-an-afternoon-with-bolt-supabase--ab33ac05">How To Build Complete Fullstack Apps In Less Than An Afternoon With Bolt + Supabase</a></li></ul><p>💬 Time-to-ship is everything in early-stage devpreneurship. Tools like this give you unfair speed.</p><ul><li><a href="https://www.raymondcamden.com/2025/03/19/creating-images-with-generative-ai-via-conversation">Creating Images with Generative AI via Conversation</a>: <em>How to build a simple chat interface with Python and Gemini to edit images using prompts.</em></li></ul><h3>Interesting Tools, Projects and Libraries</h3><blockquote><em>💬 These are not just tools. They’re shortcuts. Every tool you master becomes a multiplier on your creative output.</em></blockquote><ul><li><a href="https://same.new/"><strong>Same.dev</strong></a><strong>:</strong> A fantastic web application that lets you clone any UI.</li><li><a href="https://github.com/ai-christianson/RA.Aid"><strong>RA.Aid</strong></a><strong>:</strong> RA.Aid helps you develop software autonomously.</li><li><a href="https://github.com/xataio/agent"><strong>Xata Agent, your AI expert in PostgreSQL</strong></a><strong>:</strong> An open source agent that monitors your database, finds root causes of issues, and suggests fixes and improvements.</li><li><a href="https://github.com/antfu/node-modules-inspector">Node Modules Inspector</a>: Interactive UI for local node modules inspection</li><li><a href="https://github.com/xpipe-io/xpipe"><strong>XPipe</strong></a><strong>:</strong> A new type of shell connection hub and remote file manager that allows you to access your entire server infrastructure from your local machine.</li><li><a href="https://www.jerpint.io/blog/python-shelve-as-cache/"><strong>Python’s ‘shelve’ is really useful for LLM debugging</strong></a><strong>:</strong> You can use the builtin Python’s shelve as a quick and easy, persistent key-value store for LLM workflows.</li></ul><h3>Books</h3><p><a href="https://pydevtools.com/handbook/"><strong>Python Developer Tooling Handbook</strong></a></p><p><em>This handbook help Python developers learn about the ecosystem of tools that enhance productivity, covering areas like packaging, linting, formatting, and dependency management.</em></p><blockquote><em>💬 Tooling = scaling. If you write Python, this is a must-read for shipping cleaner and faster.</em></blockquote><h3>Coming Soon!</h3><p><strong>10xDev.Blog:</strong> Our goal is to reorganize the free knowledge scattered across the internet for developers — connecting the dots between what truly helps you achieve multiple goals: boosting your productivity (and actually living your life), growing in your career, and exploring paths beyond the 9–5 — like freelancing, devneurship, and indie hacking — by leveraging AI and modern or trending technologies in the dev community.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fcb551f4908c" width="1" height="1" alt=""><hr><p><a href="https://medium.com/techiediaries-com/10xdev-newsletter-1-vibe-coding-clone-uis-with-ai-lynxjs-tiktok-new-framework-python-for-fcb551f4908c">10xDev Newsletter #1: Vibe Coding, Clone UIs with AI; LynxJS — Tiktok New Framework; Python for…</a> was originally published in <a href="https://medium.com/techiediaries-com">10xDev.Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ JavaScript Deep Dive #1: Mastering Closures Like a Pro]]></title>
            <link>https://medium.com/techiediaries-com/javascript-deep-dive-1-mastering-closures-like-a-pro-518bae0263f0?source=rss----48e1ac9454f8---4</link>
            <guid isPermaLink="false">https://medium.com/p/518bae0263f0</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Ahmed Bouchefra]]></dc:creator>
            <pubDate>Wed, 05 Feb 2025 22:38:38 GMT</pubDate>
            <atom:updated>2025-02-12T23:06:07.060Z</atom:updated>
            <content:encoded><![CDATA[<p>Ever wondered how some JavaScript functions seem to “remember” variables even after they’ve finished running? That’s referred to as <strong>closures</strong>— one of JavaScript’s most powerful (but little confusing) features.</p><p>In this guide, you’ll learn:<br>🔹 How closures <strong>preserve data</strong> in functions.<br>🔹 Why they’re essential for <strong>state management and encapsulation</strong>.<br>🔹 Common pitfalls <strong>(and how to avoid them)</strong>.<br>🔹 How closures power <strong>React Hooks, event handlers, and async code</strong>.<br>🔹 How they compare to similar features in <strong>Python, Java, and C++</strong>.</p><p>By the end of this article, we’ll make sure you understand closures correctly — with short examples, real-world analogy, and a quick challenge plus free and paid resources for more knowledge. Ready to dive in? 🚀</p><blockquote>“A fool thinks himself to be wise, but a wise man knows himself to be a fool.” — William Shakespeare</blockquote><p>Closures might seem simple, but they can confuse even experienced developers. Let’s break them down properly.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*QyxJUdixnkxIzPVsKBvb3Q.jpeg" /></figure><h4>🧠 Introduction: What Are Closures and Why Do They Matter?</h4><p>Simply put: In JavaScript closures are functions (called <strong>inner functions</strong>) defined inside other functions (<strong>referred to as outer functions</strong>) which give them a special power — the access to the outer variables and scope even after the outer function has finished executing!</p><p>Now before, continuing with the technical side, imagine you have a <strong>vault</strong>, and only a <strong>special key</strong> can open it. This key isn’t available to the world— instead only a trusted person can have it!</p><p>Even if the vault is locked and becomes inaccessible to others, the trusted person still holds the key and can access the vault’s contents whenever needed.</p><p>Let’s now map these concepts to closures!</p><p><strong>Closures</strong> work the same way as the previous analogy: the inner function (which is the trusted person) retains access to the variables (contents) of its outer function (vault), even after the outer function has finished executing (i.e not accessible to everyone); inner function can still have access the variables.</p><blockquote><strong><em>Analogy Breakdown 🔐</em></strong><em><br> 1️⃣ </em><strong><em>The vault is created</em></strong><em> → A function is defined.<br> 2️⃣ </em><strong><em>Contents</em></strong><em> </em><strong><em>are</em></strong><em> </em><strong><em>stored inside the vault</em></strong><em> → Variable are declared inside the defined function.<br> 3️⃣ </em><strong><em>Only a trusted person can access the vault </em></strong><em>→ Only an inner function; defined inside the outer function; has access to the variables, but the outside code doesn’t.</em></blockquote><p>If you have a better analogy, please leave it in the comments :)</p><h4>🔹 Why Are Closures Useful?</h4><p>Closures are useful because they make it very easy to implement:</p><p>✅ <strong>Data Privacy</strong> (Preventing Global Pollution)<br> ✅ <strong>State Persistence</strong> (Keeping Values Even After Execution)<br> ✅ <strong>Function Factories</strong> (Returning Customized Functions)<br> ✅ <strong>Event Listeners, Async Operations, and Module Patterns</strong></p><h4>💻 Example: Understanding Closures Step by Step</h4><p>Let’s now try to understand closures with an example!</p><h4>🔹 Without Closures: Variables Don’t Persist</h4><p>Let’s define a simple function in JavaScript with a variable and call it twice:</p><pre>function counter() {<br>  let count = 0;<br>  count++;<br>  return count;<br>}<br><br>console.log(counter()); // 1<br>console.log(counter()); // 1 (Resets every time)</pre><p>🔴 <strong>Behavior:</strong> Every time counter() is called, count is reset. This is an expected behavior and nothing is wrong about it, but what If we need some extra features without so much code! In our case, we need to implement the intended functionality of a counter!</p><h4>✅ Enter Closures: Keeping Values Across Calls</h4><p>Let’s suppose we need to create a counter; here is how we can do it very easily with closures:</p><pre>function createCounter() {<br>  let count = 0; // Private variable<br>  return function () {<br>    count++; <br>    return count;<br>  };<br>}<br>const myCounter = createCounter();<br>console.log(myCounter()); // 1<br>console.log(myCounter()); // 2<br>console.log(myCounter()); // 3</pre><p>✅ By simply defining a function inside another function; we get:</p><ul><li><strong>Data Persistence:</strong> count retains its value across calls.</li><li><strong>Encapsulation:</strong> count is protected; no direct access.</li><li><strong>Re-usability:</strong> Multiple independent counters can be created.</li></ul><h4>⚠️ Beginner Pitfalls &amp; How to Overcome Them</h4><p>🔴 <strong>1. Expecting closures to copy variables instead of reference them</strong><br> <strong>Issue:</strong> Many beginners think closures store a <strong>copy</strong> of the variable at the time of function creation. Instead, they keep a <strong>reference</strong> to the original variable.</p><p><strong>Example: Unexpected </strong><strong>setTimeout behavior</strong></p><pre>for (var i = 1; i &lt;= 3; i++) {<br>  setTimeout(() =&gt; console.log(i), 1000);<br>}<br>// Logs: 4, 4, 4 (instead of 1, 2, 3)</pre><p>✅ <strong>Fix:</strong> Use let to create a block-scoped variable.</p><pre>for (let i = 1; i &lt;= 3; i++) {<br>  setTimeout(() =&gt; console.log(i), 1000);<br>}<br>// Correctly logs: 1, 2, 3</pre><h4>🔎 Think Like a Compiler: How Closures Work Internally</h4><p>Closures are possible because of <strong>lexical scoping</strong>:</p><ul><li>When a function is created, it remembers the <strong>scope where it was declared</strong>.</li><li>Even after the outer function <strong>finishes execution</strong>, its variables are <strong>not destroyed</strong> if they are referenced inside a closure.</li></ul><p><strong>Example Visualization:</strong></p><pre>function outer() { <br>  let a = 10;<br>  return function inner() { console.log(a); }<br>}<br>const fn = outer();<br>fn(); // Logs 10 (Even though `outer()` has finished)</pre><p>📌 <strong>Memory is only freed when there are no references to the closure.</strong></p><h4>⚡ Closures in the Wild: Real-World Applications</h4><p>🔹 <strong>1. Avoiding Global Variables (Data Privacy)</strong></p><pre>function bankAccount(initialBalance) {<br>  let balance = initialBalance;<br>  return {<br>    deposit(amount) {<br>      balance += amount;<br>      console.log(`New Balance: ${balance}`);<br>    },<br>    withdraw(amount) {<br>      if (amount &gt; balance) {<br>        console.log(&quot;Insufficient funds!&quot;);<br>      } else {<br>        balance -= amount;<br>        console.log(`New Balance: ${balance}`);<br>      }<br>    },<br>    getBalance() {<br>      return balance;<br>    }<br>  };<br>}<br><br>const myAccount = bankAccount(100);<br>myAccount.deposit(50);  // New Balance: 150<br>myAccount.withdraw(30); // New Balance: 120<br>console.log(myAccount.getBalance()); // 120</pre><p>✅ <strong>Here, </strong><strong>balance is private and only accessible through methods!</strong></p><p>🔹 <strong>2. Closures in React’s </strong><strong>useState (Modern Web Development)</strong></p><pre>function Counter() {<br>  const [count, setCount] = React.useState(0);</pre><pre>  return (<br>    &lt;button onClick={() =&gt; setCount(count + 1)}&gt;<br>      Count: {count}<br>    &lt;/button&gt;<br>  );<br>}</pre><p>✅ <strong>Closures allow </strong><strong>setCount to remember the previous state.</strong></p><h4>🔄 Closures in Other Languages (If You Come From…)</h4><p>🔹 <strong>Python (Similar: Inner Functions &amp; </strong><strong>nonlocal)</strong><br> Closures in Python work similarly using <strong>inner functions and </strong><strong>nonlocal</strong>:</p><pre>def counter():<br>    count = 0<br>    def increment():<br>        nonlocal count<br>        count += 1<br>        return count<br>    return increment<br><br>my_counter = counter()<br>print(my_counter())  # 1<br>print(my_counter())  # 2</pre><p>🔹 <strong>Java (No Direct Equivalent, but Similar to Anonymous Classes)</strong><br> Java doesn’t have true closures, but anonymous classes with <strong>final variables</strong> behave similarly.</p><p>🔹 <strong>C++ (Lambdas Capture State)</strong></p><pre>std::function&lt;int()&gt; createCounter() {<br>    int count = 0;<br>    return [=]() mutable { return ++count; };<br>}</pre><p>✅ <strong>Closures in C++ are captured in lambdas, just like JavaScript functions.</strong></p><h4>🛠️ If You Understand This, Try… (Challenge Section)</h4><p>🔹 <strong>Challenge: Implement a function that only runs once using closures.</strong></p><pre>function once(fn) {<br>  let ran = false;<br>  return function (...args) {<br>    if (!ran) {<br>      ran = true;<br>      return fn(...args);<br>    }<br>  };<br>}<br><br>const init = once(() =&gt; console.log(&quot;This runs only once!&quot;));<br>init(); // Runs ✅<br>init(); // Doesn&#39;t run ❌</pre><p>✅ <strong>Used in JavaScript libraries like Lodash!</strong></p><h4>📖 Learn More: Best Books &amp; Resources on Closures</h4><h4>📚 Free Resources</h4><ul><li><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Closures"><strong>MDN Docs on Closures</strong></a> — Official Mozilla documentation.</li><li><a href="https://javascript.info/closure"><strong>JavaScript.info: Closures</strong></a> — A well-explained article with examples.</li></ul><h4>💰 Paid Books for Deep Understanding</h4><ul><li><strong>“You Don’t Know JS: Scope &amp; Closures”</strong> by Kyle Simpson — The ultimate guide to closures and scope.</li><li><strong>“JavaScript: The Good Parts”</strong> by Douglas Crockford — Covers closures as a fundamental JS feature.</li></ul><h4>🎯 Conclusion: Why Closures Are Essential</h4><p>Closures allow functions to <strong>“remember”</strong> data even after execution. They help in <strong>data privacy, function factories, and efficient state management</strong>.</p><p>Next time you use setTimeout, event listeners, or create custom counters, remember to leverage <strong>closures</strong>! These &quot;backpacks&quot; of data make your functions more powerful by letting them carry around the variables they need, even after the outer function is gone.</p><p>What JavaScript concept should we break down next? 🚀</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=518bae0263f0" width="1" height="1" alt=""><hr><p><a href="https://medium.com/techiediaries-com/javascript-deep-dive-1-mastering-closures-like-a-pro-518bae0263f0">📜 JavaScript Deep Dive #1: Mastering Closures Like a Pro</a> was originally published in <a href="https://medium.com/techiediaries-com">10xDev.Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ 7 Free Python Books That Will Make You a Better Developer ]]></title>
            <link>https://medium.com/techiediaries-com/7-free-python-books-that-will-make-you-a-better-developer-ac131dbe96e7?source=rss----48e1ac9454f8---4</link>
            <guid isPermaLink="false">https://medium.com/p/ac131dbe96e7</guid>
            <category><![CDATA[python3]]></category>
            <category><![CDATA[python-programming]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[python]]></category>
            <dc:creator><![CDATA[Ahmed Bouchefra]]></dc:creator>
            <pubDate>Mon, 03 Feb 2025 01:22:35 GMT</pubDate>
            <atom:updated>2025-05-19T12:28:12.962Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/768/1*_y5qflMHyka8ZudXvk-Zcg.png" /></figure><p>Python is one of the most <strong>powerful, versatile, and beginner-friendly</strong> programming languages. Whether you’re a <strong>complete beginner</strong>, an <strong>experienced developer</strong>, or someone looking to refine their coding style, the right book can <strong>accelerate your learning process</strong>.</p><blockquote>You can get more free books by joining this Telegram channel: <a href="https://t.me/programmerspace">https://t.me/programmerspace</a></blockquote><p>Here’s a <strong>handpicked collection</strong> of 7 free Python books that will help you <strong>master Python</strong> — from the <strong>basics</strong> to <strong>advanced techniques</strong> like <strong>clean code, automation, and project building</strong>.</p><h3>🟢 Beginner Level</h3><h3>1️⃣ Think Python — How to Think Like a Computer Scientist</h3><p>📖 <strong>Author:</strong> Allen B. Downey</p><p>If you’re new to programming, this book <strong>teaches you how to think like a programmer</strong>. It covers <strong>fundamental Python concepts</strong> while emphasizing <strong>problem-solving and algorithmic thinking</strong>.</p><p>🔹 <strong>Key Takeaways:</strong><br> ✅ Understanding <strong>fundamental programming concepts</strong><br> ✅ Learning <strong>recursion, object-oriented programming, and data structures</strong><br> ✅ Developing a <strong>problem-solving mindset</strong></p><p>💡 <strong>Who is this for?</strong> <strong>Beginners</strong> who want to <strong>develop strong problem-solving skills</strong>.</p><p>🔗 <strong>Download:</strong> <a href="https://greenteapress.com/wp/think-python/">Think Python</a></p><h3>2️⃣ Automate the Boring Stuff with Python</h3><p>📖 <strong>Author:</strong> Al Sweigart</p><p>One of the most popular Python books, <strong>Automate the Boring Stuff</strong> teaches you how to <strong>use Python to automate everyday tasks</strong>. If you want to <strong>save time</strong> by automating repetitive tasks (file management, data scraping, etc.), this is the book for you.</p><p>🔹 <strong>Key Takeaways:</strong><br> ✅ Automate <strong>file handling, emails, spreadsheets, and PDFs</strong><br> ✅ Learn <strong>web scraping</strong> to extract data from websites<br> ✅ Master <strong>regular expressions, APIs, and automation techniques</strong></p><p>💡 <strong>Who is this for?</strong> <strong>Beginners</strong> who want to <strong>use Python for real-world automation</strong>.</p><p>🔗 <strong>Read Online:</strong> <a href="https://automatetheboringstuff.com/">Automate the Boring Stuff</a></p><h3>3️⃣ Small Python Projects — 81 Easy Practice Programs</h3><p>📖 <strong>Author:</strong> Al Sweigart</p><p>The best way to <strong>learn Python</strong> is by <strong>building projects</strong>. This book provides <strong>81 simple yet fun projects</strong> to practice Python concepts. From <strong>games</strong> to <strong>automation scripts</strong>, each project is designed to teach you something <strong>new and practical</strong>.</p><p>🔹 <strong>Key Takeaways:</strong><br> ✅ Hands-on projects covering <strong>loops, functions, and algorithms</strong><br> ✅ A mix of <strong>game development, automation, and scripting</strong><br> ✅ Step-by-step explanations for every project</p><p>💡 <strong>Who is this for?</strong> <strong>Beginners</strong> who want <strong>real-world practice</strong> instead of just theory.</p><p>🔗 <strong>Read Online</strong>: <a href="https://inventwithpython.com/bigbookpython/">Small Python Projects</a>.</p><p>🔗 <strong>Download Source Code:</strong> <a href="https://inventwithpython.com/projects/">Small Python Projects</a></p><h3>🟡 Intermediate Level</h3><h3>4️⃣ Learn More Python 3 the Hard Way</h3><p>📖 <strong>Author:</strong> Zed Shaw</p><p>This book is a <strong>step-by-step</strong> guide designed to <strong>push your Python skills to the next level</strong>. The <strong>“Hard Way”</strong> approach forces you to <strong>practice by doing</strong>, making sure you <strong>truly understand</strong> each concept before moving forward.</p><p>🔹 <strong>Key Takeaways:</strong><br> ✅ A rigorous, structured approach to <strong>intermediate and advanced Python</strong><br> ✅ Covers <strong>data structures, algorithms, and OOP principles</strong><br> ✅ Helps you <strong>think like a programmer</strong> and write efficient code</p><p>💡 <strong>Who is this for?</strong> <strong>Anyone who wants to go beyond the basics</strong> and master Python <strong>the hard way</strong>.</p><p>🔗 <strong>Download:</strong> <a href="https://freecomputerbooks.com/Learn-Python-The-Hard-Way.html">Learn More Python 3 the Hard Way</a></p><h3>5️⃣ The Quick Python Book</h3><p>📖 <strong>Author:</strong> Naomi Ceder</p><p>If you need a <strong>concise yet powerful guide to Python</strong>, this book is perfect. It <strong>skips unnecessary details</strong> and gets straight to the <strong>important concepts</strong> that will help you <strong>start coding quickly</strong>.</p><p>🔹 <strong>Key Takeaways:</strong><br> ✅ Covers <strong>Python syntax, libraries, and best practices</strong><br> ✅ A well-structured book for <strong>quick reference and review</strong><br> ✅ Great for learning <strong>modern Python techniques</strong></p><p>💡 <strong>Who is this for?</strong> <strong>Developers</strong> who want a <strong>fast-track guide to Python</strong>.</p><p>🔗 <strong>Download:</strong> <a href="http://128.174.51.21/teaching/SP2019/ASTR414/The_Quick_Python_Book.pdf">The Quick Python Book</a></p><h3>🔴 Advanced Level</h3><h3>6️⃣ Python Beyond the Basics — Best Practices for Writing Clean Code</h3><p>📖 <strong>Author:</strong> Al Sweigart</p><p>If you’ve already got a <strong>good grasp of Python</strong> and want to <strong>write better, more efficient, and maintainable code</strong>, this book is for you. It focuses on <strong>best practices, advanced Python techniques</strong>, and <strong>clean coding standards</strong> that will make your programs more <strong>readable and professional</strong>.</p><p>🔹 <strong>Key Takeaways:</strong><br> ✅ Writing <strong>clean and professional</strong> Python code<br> ✅ Understanding <strong>design patterns</strong> and when to use them<br> ✅ Exploring <strong>advanced Python features</strong> (decorators, generators, etc.)</p><p>💡 <strong>Who is this for?</strong> <strong>Intermediate Python developers</strong> who want to <strong>refine their coding skills</strong>.</p><p>🔗 <strong>Read Online:</strong> <a href="https://inventwithpython.com/beyond/">Beyond the Basic Stuff with Python</a></p><h3>7️⃣ Clean Code in Python — Maintainable and Scalable Software</h3><p>📖 <strong>Author:</strong> Mariano Anaya</p><p>Writing code is easy. Writing <strong>clean, maintainable, and scalable</strong> code is <strong>hard</strong>. This book <strong>teaches you how to structure your Python code</strong> so it’s <strong>readable, reusable, and efficient</strong>.</p><p>🔹 <strong>Key Takeaways:</strong><br> ✅ Best practices for <strong>code readability and maintainability</strong><br> ✅ Writing <strong>scalable, reusable Python components</strong><br> ✅ Using <strong>SOLID principles</strong> and <strong>design patterns</strong></p><p>💡 <strong>Who is this for?</strong> <strong>Developers</strong> who <strong>want to write Python like a pro</strong>.</p><p>🔗 <strong>Download:</strong> <a href="https://www.packtpub.com/free-ebook/clean-code-in-python/9781788835831?srsltid=AfmBOorRNuqaJl1g3BEMM1AWgvrkMKH8G_hrP-946AON6n37Hq2gfpmx">Clean Code in Python</a></p><h3>🔥 Why These Books Are a Must-Read</h3><p>✅ <strong>They’re all FREE!</strong> No excuses — grab them and start learning.<br> ✅ <strong>Cover everything from basics to advanced Python topics</strong>.<br> ✅ <strong>Practical projects and exercises</strong> to solidify your understanding.<br> ✅ <strong>Written by experienced programmers and educators</strong>.</p><p>Whether you’re looking to <strong>automate tasks, write clean code, or build projects</strong>, these books will give you a <strong>solid foundation in Python</strong>.</p><p>👉 <strong>Which one will you read first? Have you already read any of them?</strong> Let me know in the comments!</p><p>🚀 <strong>Save this post</strong> so you can always come back when you need a Python resource.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ac131dbe96e7" width="1" height="1" alt=""><hr><p><a href="https://medium.com/techiediaries-com/7-free-python-books-that-will-make-you-a-better-developer-ac131dbe96e7">📚 7 Free Python Books That Will Make You a Better Developer 🚀</a> was originally published in <a href="https://medium.com/techiediaries-com">10xDev.Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Install PHP 8 on Ubuntu 20.04]]></title>
            <link>https://medium.com/techiediaries-com/install-php-8-on-ubuntu-20-04-b53f76ef1d62?source=rss----48e1ac9454f8---4</link>
            <guid isPermaLink="false">https://medium.com/p/b53f76ef1d62</guid>
            <dc:creator><![CDATA[Ahmed Bouchefra]]></dc:creator>
            <pubDate>Sat, 28 Nov 2020 20:06:29 GMT</pubDate>
            <atom:updated>2020-11-28T20:04:12.105Z</atom:updated>
            <content:encoded><![CDATA[<p>Let’s see how to install Install PHP 8 on Ubuntu 20.04</p><h3>Adding a PPA for PHP 8</h3><p>Next, you need to use a PPA for PHP 8. Head back to your terminal and add the ondrej/php which contains the latest PHP 8 package and compatible PHP extensions:</p><pre>sudo apt install software-properties-common<br>sudo add-apt-repository ppa:ondrej/php<br>sudo apt update</pre><p>Now you are ready to install PHP 8.</p><h3>Installing PHP 8 for Apache Server</h3><p>Let’s now see how to install PHP 8</p><p>Execute the following command to install PHP 8</p><pre>sudo apt install php8.0</pre><p>After the installation has completed, you can confirm the installation using the following command</p><pre>php -v</pre><h3>Installing PHP 8 FPM for Nginx</h3><p>For Nginx you need to install FPM, execute the following command to install PHP 8 FPM</p><pre>sudo apt install php8.0-fpm</pre><p>After the installation has completed, confirm that PHP 8 FPM has installed correctly with this command</p><pre>php-fpm8.0 -v</pre><h3>Install PHP 8 Extensions</h3><p>Installing PHP extensions are simple with the following syntax.</p><pre>sudo apt install php8.0-extension_name</pre><p>Now, install some commonly used php-extensions with the following command.</p><pre>sudo apt install php8.0-common php8.0-mysql php8.0-xml php8.0-curl php8.0-gd php8.0-imagick php8.0-cli php8.0-dev php8.0-imap php8.0-mbstring php8.0-opcache php8.0-soap php8.0-zip -y</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b53f76ef1d62" width="1" height="1" alt=""><hr><p><a href="https://medium.com/techiediaries-com/install-php-8-on-ubuntu-20-04-b53f76ef1d62">Install PHP 8 on Ubuntu 20.04</a> was originally published in <a href="https://medium.com/techiediaries-com">10xDev.Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Convert HTML to PDF with Python]]></title>
            <link>https://medium.com/techiediaries-com/convert-html-to-pdf-with-python-4187a4a445fb?source=rss----48e1ac9454f8---4</link>
            <guid isPermaLink="false">https://medium.com/p/4187a4a445fb</guid>
            <category><![CDATA[python]]></category>
            <category><![CDATA[html]]></category>
            <category><![CDATA[pdf]]></category>
            <dc:creator><![CDATA[Ahmed Bouchefra]]></dc:creator>
            <pubDate>Wed, 04 Nov 2020 17:48:52 GMT</pubDate>
            <atom:updated>2023-12-04T14:06:58.976Z</atom:updated>
            <content:encoded><![CDATA[<p>There is a wide variety of choices when it comes to creating a PDF from HTML in Python. In this article, we’ll look at some open-source and commercial tools that are available and share our recommendations to help you find the tool that works best for you.</p><p>According to this <a href="https://en.wikipedia.org/wiki/PDF">article</a>:</p><blockquote><em>The Portable Document Format (PDF) is a file format developed by Adobe in 1993 to present documents, including text formatting and images, in a manner independent of application software, hardware, and operating systems.</em></blockquote><p>Continue reading <a href="https://www.techiediaries.com/convert-html-pdf-python/">Convert HTML to PDF with Python</a> on Techiediaries.</p><h3>Why Converting HTML to PDF</h3><p>HTML is used to create layouts in web applications and sometimes you’ll need to provide the information that’s already presented to users in HTML to a PDF document. For instance, in eCommerce apps, you most likely need to provide documents such as statistical reports, tickets, and invoices to users as PDF documents so they can save them locally for records, have them emailed, or print them.</p><p>Let’s take the example of an invoice, the application may already display the information in the invoice with HTML and CSS, then provide a button that users can click to download the PDF document of the invoice for their records. That means the information is already formatted and available to the users. You only need to provide that in PDF format for download and printing. Therefore, a good solution to consider would be to check if it is possible to use that HTML and CSS to generate a PDF version.</p><p>PDF is a portable document format that’s good for printing. CSS also has a specification for print, referred to as the <a href="https://www.w3.org/TR/css-page-3/">Paged Media module</a>. This makes CSS convenient for formatting things like books, catalogs, and brochures which are not designed to be a web page in the first place.</p><blockquote><em>The biggest difference, and conceptual shift, is that printed documents refer to a page model that is of a fixed size. Whereas on the web we are constantly reminded that we have no idea of the size of the viewport, in print the fixed size of each page has a bearing on everything that we do. Due to this fixed page size, we have to consider our document as a collection of pages, paged media, rather than the continuous media that is a web page. </em><a href="https://www.smashingmagazine.com/2015/01/designing-for-print-with-css/"><em>Source</em></a></blockquote><p>You may also want to check out this <a href="https://www.smashingmagazine.com/2015/01/designing-for-print-with-css/">article</a> for more details about designing for print with CSS.</p><h3>Using <a href="https://ironpdf.com/">IronPDF</a> Python</h3><p>When working with Python, IronPDF emerges as a reliable solution for <a href="https://ironpdf.com/python/tutorials/html-to-pdf/">converting HTML into PDFs</a>. This powerful <a href="https://ironpdf.com/python/">PDF library</a> allows Python developers to effortlessly transform HTML content into high-quality PDF files, ensuring the formatting and layout remain consistent. Ideal for creating reports, invoices, or any document that needs to be in PDF format with precision, IronPDF stands out for its effectiveness. If you’re seeking a straightforward way to create <a href="https://ironpdf.com/python/how-to/python-create-pdf/">PDFs from HTML in Python</a>, I recommend exploring IronPDF. Their detailed tutorials offer a comprehensive guide to getting started.</p><h3><a href="https://ironpdf.com/python/docs/">Implementation:</a></h3><p>Implementing IronPDF to convert HTML to PDF is very easy. You’ve to follow some simple steps, and your HTML will be converted into the perfect PDF within a matter of seconds. Let’s go through the steps:</p><h3>Step 1: Install IronPDF</h3><p>First, ensure that IronPDF is installed in your Python environment. You can do it using the following command:</p><pre>pip install ironpdf</pre><h3>Step 2: Import IronPDF Library</h3><p>First, import the IronPDF modules in the Python Script. Use the following command to import it. Make sure that you use this statement at the top:</p><h3>Import statement for IronPDF Python</h3><pre>from ironpdf import *</pre><h3>Step 3: Add License Key</h3><p>Before starting the conversion, it’s important to add your IronPDF license key to work it at its full potential in the production stage. You can get your license key from the license page of IronPDF Python.</p><pre>License.LicenseKey = &quot;IRONPDF-LICENSE-KEY&quot;</pre><h3>Step 4: Convert HTML To PDF</h3><p>Here comes the main point of this guide. We’ll use the RenderHtmlAdPdf method to convert HTML to the PDF document. We’ll provide the HTML String as the parameter. This string can contain CSS and JavaScript, too, to beautify the generated PDF. Here is the sample code:</p><pre>import sys</pre><pre>from ironpdf import *</pre><pre>License.LicenseKey = &quot;IronPDF-License-Key&quot;</pre><pre>html_string = &quot;&quot;&quot;</pre><pre>&lt;!DOCTYPE html&gt;</pre><pre>&lt;html&gt;</pre><pre>&lt;head&gt;</pre><pre>&lt;title&gt;Bootstrap HTML to PDF Test Document&lt;/title&gt;</pre><pre>&lt;link rel=&quot;stylesheet&quot; href=&quot;https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css&quot;&gt;</pre><pre>&lt;/head&gt;</pre><pre>&lt;body&gt;</pre><pre>&lt;div class=&quot;container&quot;&gt;</pre><pre>&lt;h1 class=&quot;mt-5 mb-3&quot;&gt;Main Heading&lt;/h1&gt;</pre><pre>&lt;p&gt;This is a sample paragraph to test text rendering in PDF with Bootstrap styles.&lt;/p&gt;</pre><pre>&lt;h2&gt;Lists&lt;/h2&gt;</pre><pre>&lt;ol class=&quot;list-group mb-4&quot;&gt;</pre><pre>&lt;li class=&quot;list-group-item&quot;&gt;First Ordered Item&lt;/li&gt;</pre><pre>&lt;li class=&quot;list-group-item&quot;&gt;Second Ordered Item&lt;/li&gt;</pre><pre>&lt;/ol&gt;</pre><pre>&lt;h2&gt;Table&lt;/h2&gt;</pre><pre>&lt;table class=&quot;table table-bordered table-striped mb-4&quot;&gt;</pre><pre>&lt;thead&gt;</pre><pre>&lt;tr&gt;</pre><pre>&lt;th&gt;Header 1&lt;/th&gt;</pre><pre>&lt;th&gt;Header 2&lt;/th&gt;</pre><pre>&lt;/tr&gt;</pre><pre>&lt;/thead&gt;</pre><pre>&lt;tbody&gt;</pre><pre>&lt;tr&gt;</pre><pre>&lt;td&gt;Row 1, Cell 1&lt;/td&gt;</pre><pre>&lt;td&gt;Row 1, Cell 2&lt;/td&gt;</pre><pre>&lt;/tr&gt;</pre><pre>&lt;tr&gt;</pre><pre>&lt;td colspan=&quot;2&quot;&gt;Row 2, Single Cell spanning two columns&lt;/td&gt;</pre><pre>&lt;/tr&gt;</pre><pre>&lt;/tbody&gt;</pre><pre>&lt;/table&gt;</pre><pre>&lt;h2&gt;Images and Links&lt;/h2&gt;</pre><pre>&lt;img src=&quot;https://via.placeholder.com/150&quot; class=&quot;img-fluid mb-3&quot; alt=&quot;Placeholder Image&quot;&gt;</pre><pre>&lt;a href=&quot;https://www.example.com&quot; class=&quot;btn btn-primary mb-4&quot;&gt;External Link&lt;/a&gt;</pre><pre>&lt;/div&gt;</pre><pre>&lt;/body&gt;</pre><pre>&lt;/html&gt;</pre><pre>&quot;&quot;&quot;</pre><h3>Using IronPDF to convert HTML to PDF</h3><pre>renderer = ChromePdfRenderer()</pre><pre>pdf = renderer.RenderHtmlAsPdf(html_string)</pre><pre>pdf.SaveAs(&quot;HTML String To PDF.pdf&quot;)</pre><p>By executing this program, you’ll get the following output, which matches our HTML input.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/659/0*-hzmZIxMVAn4OH8X" /></figure><p>If you don’t want to mess up your code, have the code in an HTML file. Then, you can use the RenderHtmlFileAsPdf method to convert the HTML file to a PDF document.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4187a4a445fb" width="1" height="1" alt=""><hr><p><a href="https://medium.com/techiediaries-com/convert-html-to-pdf-with-python-4187a4a445fb">Convert HTML to PDF with Python</a> was originally published in <a href="https://medium.com/techiediaries-com">10xDev.Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Angular 11 Bootstrap Full Step-by-Step Tutorial]]></title>
            <link>https://medium.com/techiediaries-com/angular-11-bootstrap-full-step-by-step-tutorial-bf751cadad6?source=rss----48e1ac9454f8---4</link>
            <guid isPermaLink="false">https://medium.com/p/bf751cadad6</guid>
            <category><![CDATA[angular]]></category>
            <category><![CDATA[angular-11]]></category>
            <dc:creator><![CDATA[Ahmed Bouchefra]]></dc:creator>
            <pubDate>Fri, 30 Oct 2020 23:29:39 GMT</pubDate>
            <atom:updated>2022-07-16T21:06:41.178Z</atom:updated>
            <content:encoded><![CDATA[<h3>Angular 14 Bootstrap Full Step-by-Step Tutorial</h3><p>Throughout this tutorial, we’ll learn how to use bootstrap 4 with Angular 14 (and any previous versions such as Angular 10/9) to make your Angular app responsive.</p><p>We’ll learn how to install (and uninstall) bootstrap in Angular from <em>npm, cdn or using the ng add schematic</em>, and add bootstrap to the <em>styles/scripts</em> arrays of the <strong>angular.json</strong> file. Next, we’ll learn how to build user interfaces with various components such as navigation bars, grid, date and time pickers, tooltips, carousels, modals, tabs, dropdowns, and forms.</p><p>We’ll also see the advantages of Angular implementations for Bootstrap — ng-bootstrap vs ngx-bootstrap vs mdbootstrap. And see some popular Angular Bootstrap templates that you can use with Angular to quickly create your layouts.</p><h4>3+ Ways to Add Bootstrap 4 to Angular 14</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/709/0*GMHrZntl1PeW5W5O" /></figure><p>In this section, we will see how to use Bootstrap to style apps built using Angular 14.</p><p>We’ll see how to integrate Angular with Bootstrap, in various ways including using ng-bootstrap and ngx-bootstrap packages.</p><p>We’ll be using Angular CLI 14 for generating a brand new project.</p><h3>What is Bootstrap</h3><p><a href="https://www.techiediaries.com/bootstrap-tutorial/">Bootstrap</a> is the most popular HTML and CSS framework for building responsive layouts with ease and without having a deep knowledge of CSS (Still custom CSS is required to customize your design and make it different from the other Bootstrap-styled websites unless you are using a BS theme developed specifically for your requirements.</p><p>Bootstrap 4 is the latest version of Bootstrap which brings many new and powerful features to the framework most importantly Flexbox which is now the default display system for the Bootstrap grid layout (one of the most important features of Bootstrap).</p><h4>3+ Ways to Include Bootstrap 4 In Your Angular 14 Project</h4><p>You can include Bootstrap in your Angular 14 project in multiple ways:</p><ul><li>Including the Bootstrap CSS and JavaScript files in the &lt;head&gt; section of the index.html file of your Angular 14 project with a &lt;link&gt; and &lt;script&gt; tags,</li><li>Importing the Bootstrap CSS file in the global styles.css file of your Angular project with an @import keyword.</li><li>Adding the Bootstrap CSS and JavaScript files in the styles and scripts arrays of the angular.json file of your project</li></ul><blockquote>Read also:</blockquote><blockquote><a href="https://www.shabang.dev/angular-14-new-features">5 Angular 14 hottest new features</a></blockquote><blockquote>Angular 14 was released in June 2022 and includes various new features that will assist to reduce code complexity, make it more type-safe, decrease…</blockquote><h4>Step 1 — Installing Angular CLI v14</h4><p>Let’s get started by installing <a href="https://cli.angular.io/">Angular CLI v1</a>4 if it is not yet installed on your machine.</p><p>Head over to a new command-line interface and run the following command to install the latest version of the Angular CLI:</p><pre>$ npm install -g @angular/cli@next</pre><blockquote><strong>Note</strong>: This will <a href="https://www.ahmedbouchefra.com/angular/install-angular-9-cli-and-create-project-with-routing/">install the Angular 14 CLI</a> globally on your system so depending on your npm configuration you may need to add sudo (for superuser access) in macOS and Linux or use a command prompt with admin access in Windows.</blockquote><p>After the installation, you’ll have at your disposal the <em>ng</em> utility. Let’s use it to generate a new Angular 14 project as follows:</p><pre>$ ng new angular-bootstrap-examples</pre><p>You will be prompted for a couple of questions:</p><pre>? Would you like to add Angular routing? Yes<br>? Which stylesheet format would you like to use? (Use arrow keys)<br>&gt; CSS<br>  SCSS   [ https://sass-lang.com/documentation/syntax#scss                ]<br>  Sass   [ https://sass-lang.com/documentation/syntax#the-indented-syntax ]<br>  Less   [ http://lesscss.org                                             ]<br>  Stylus [ http://stylus-lang.com                                         ]</pre><p>Most importantly, choose CSS as the stylesheet format because we’ll use the CSS version of Bootstrap in our tutorial.</p><p>The command will generate the directory structure and necessary files for the project and will install the required dependencies.</p><p>Next, navigate inside the root folder of your project:</p><pre>$ cd angular-bootstrap-examples</pre><p>You can then serve your Angular 14 application using the ng serve command as follows:</p><pre>$ ng serve</pre><p>Your app will be served from <a href="http://localhost:4200/">http://localhost:4200/</a></p><h4>Step 2 — Installing Bootstrap 4 in Your Angular 14 Project</h4><p>In the next step, we’ll proceed to add Bootstrap 4 to our Angular 14 application.</p><p>You can read the full tutorial in <a href="https://www.techiediaries.com/angular-bootstrap/">Techiediaries</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bf751cadad6" width="1" height="1" alt=""><hr><p><a href="https://medium.com/techiediaries-com/angular-11-bootstrap-full-step-by-step-tutorial-bf751cadad6">Angular 11 Bootstrap Full Step-by-Step Tutorial</a> was originally published in <a href="https://medium.com/techiediaries-com">10xDev.Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Routing and Navigation with Angular 11 Router: Full-Guide & App by Example]]></title>
            <link>https://medium.com/techiediaries-com/routing-and-navigation-with-angular-11-router-full-guide-app-by-example-d5d7fd4d04dc?source=rss----48e1ac9454f8---4</link>
            <guid isPermaLink="false">https://medium.com/p/d5d7fd4d04dc</guid>
            <category><![CDATA[angular]]></category>
            <dc:creator><![CDATA[Ahmed Bouchefra]]></dc:creator>
            <pubDate>Fri, 30 Oct 2020 23:11:41 GMT</pubDate>
            <atom:updated>2020-10-30T23:11:41.134Z</atom:updated>
            <content:encoded><![CDATA[<p>In this tutorial, we’ll learn about the <a href="https://www.techiediaries.com/routing-angular-router/">Angular Router</a> by building an Angular 11 example and will teach you everything you need to start using routing to build Single Page Applications with navigation, guards, resolvers, and animations.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*PoczWBiOcUgWGf72.png" /></figure><p>We’ll learn how to use multiple outlets, redirect users from the empty path, use wild-card paths to implement 404 error pages and lazy load modules using the loadChildren() method.</p><blockquote><strong>Note</strong>: This tutorial works with all Angular 6,7,8,9,10 and the new Angular 11 version.</blockquote><h3>Learn Navigation and Routing Using the Angular 11 Router With Example</h3><p>You’ll learn about:</p><ul><li>How to import the necessary Angular built-in APIs to implement component routing and navigation,</li><li>How to create the routing module and import it in the main application module,</li><li>How to add routes to components,</li><li>How to use single and multiple router outlets,</li><li>How and when to use wild card routes,</li><li>How to use routerLink for navigation,</li><li>How to <a href="https://www.techiediaries.com/angular-course-child-routes/">use nested and child routes</a>,</li><li>How to get route parameters,</li><li>How to protect routes with guards,</li><li>How to use resolvers.</li><li>How to add animations,</li><li>How to lazy-load modules using the loadChildren() method, etc.</li></ul><p>These are the steps of first section:</p><ul><li>Step 1: Creating an Angular 11 Project</li><li>Step 2: Understanding what the CLI Automatically Did For You</li><li>Step 2.1: Adding &lt;base href&gt;</li><li>Step 2.2: Creating a Routing Module</li><li>Step 2.2: Importing the Router and Setting up Routing</li><li>Step 2.3: Adding the Router-Outlet</li><li>Step 2.4: Importing the Routing Module in the Main Application Module</li><li>Step 3: Setting up a Service for Getting Data</li><li>Step 4: Creating a Model</li><li>Step 5: Creating Components</li><li>Step 6: Implementing The Product List Component</li><li>Step 7: Implementing the Product Details Component</li><li>Step 8: Defining the Routes</li><li>Step 10: Adding Navigation Links</li></ul><p>Now let’s get started with Angular routing. In this section, we’ll learn the basic concepts behind routing in Angular 11. We’ll introduce the Angular Router and then we’ll proceed to create a simple single-page application with Angular 10 that demonstrates the commonly used features of the router.</p><p>In more details, you’ll learn about:</p><ul><li>How to create Angular projects using Angular CLI v11,</li><li>How to choose to have routing automatically setup and also how to manually add it in your project,</li><li>How to create Angular services and emulate a backend server that you can use to fetch data using HttpClient,</li><li>How to create Angular components,</li><li>How to add component routing in your application using the router.</li></ul><h3>Introducing the Angular 11 Router</h3><p>The Angular router is an essential element of the Angular platform. It allows developers to build <strong>Single Page Applications</strong> with multiple states and views using routes and components and allows client-side navigation and routing between the various components. It’s built and maintained by the core team behind Angular development and it’s contained in the @angular/router package.</p><p>You can use the browser’s URL to navigate between Angular components in the same way you can use the usual server-side navigation.</p><p>Angular Router has a plethora of features such as:</p><ul><li>The support for multiple Router outlets which helps you easily add complex routing scenario like nested routing,</li><li>Various path matching strategies ( prefix and full) to tell the Router how to match a specific path to a component,</li><li>Easy access to route parameters and query parameters,</li><li>Resolvers,</li><li>Lazy loading of modules,</li><li>Route guards for adding client-side protection and allow or disallow access to components or modules, etc.</li></ul><p>Angular 11 provides a powerful router that allows you to map browser routes to components. So let’s see how we can add routing to applications built using Angular 11.</p><p>In this section, you’ll learn about various concepts related to Angular 11 routing such as:</p><ul><li>The Components, routes, and paths,</li><li>The router outlet,</li><li>The route matching strategies,</li><li>Route parameters,</li><li>Query parameters,</li><li>Route guards,</li><li>Route resolvers,</li><li>The routerLink directive (replaces the href attribute),</li><li>Auxiliary routes,</li><li>Primary and secondary router outlets.</li></ul><p>Learn how to build step by step Angular 11 SPAs from this <a href="https://www.techiediaries.com/routing-angular-router/">tutorial</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d5d7fd4d04dc" width="1" height="1" alt=""><hr><p><a href="https://medium.com/techiediaries-com/routing-and-navigation-with-angular-11-router-full-guide-app-by-example-d5d7fd4d04dc">Routing and Navigation with Angular 11 Router: Full-Guide &amp; App by Example</a> was originally published in <a href="https://medium.com/techiediaries-com">10xDev.Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>