<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Fernando De Jesus on Medium]]></title>
        <description><![CDATA[Stories by Fernando De Jesus on Medium]]></description>
        <link>https://medium.com/@fdejesus95?source=rss-054c1ae88c13------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*dmbNkD5D-u45r44go_cf0g.png</url>
            <title>Stories by Fernando De Jesus on Medium</title>
            <link>https://medium.com/@fdejesus95?source=rss-054c1ae88c13------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 21 Nov 2026 04:14:47 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@fdejesus95/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Mastering Full Stack Development: Tips and Insights]]></title>
            <link>https://medium.com/@fdejesus95/mastering-full-stack-development-tips-and-insights-c82f703cc025?source=rss-054c1ae88c13------2</link>
            <guid isPermaLink="false">https://medium.com/p/c82f703cc025</guid>
            <dc:creator><![CDATA[Fernando De Jesus]]></dc:creator>
            <pubDate>Wed, 10 Jul 2024 20:13:38 GMT</pubDate>
            <atom:updated>2024-07-10T22:46:28.241Z</atom:updated>
            <content:encoded><![CDATA[<p>When embarking on the journey of building a full stack application, whether it’s your first solo project or a seasoned endeavor, meticulous planning and a methodical approach are paramount. Let’s dive into some key insights and lessons learned from developing my own SPA (Single Page Application) called DevBook, highlighting the critical role of serialization rules in backend development.</p><h3>1. Embrace Methodical Planning</h3><p>The adage “measure twice, cut once” is particularly apt in software development. Before diving into code, take the time to thoroughly understand your wireframes and project requirements. Break down your tasks into manageable chunks, focusing on one feature or functionality at a time. This approach not only enhances clarity but also streamlines debugging efforts later on.</p><p>Early in my journey with DevBook, I fell into the trap of working on multiple features concurrently. This scattered approach resulted in fragmented code and compounded debugging challenges. Instead, dedicate focused sprints to individual components, ensuring each is robustly functional before moving on.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/398/1*irVREdQ-7AXKp1U0Jn3plw.png" /><figcaption>WIRE FRAMES HELP GIVE YOU A LOOK ON HOW THE SITE SHOULD BE</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tSSSzqzoqTP9jkgO94duiQ.png" /><figcaption>TO SEE HOW MY BACK END IS GOING TO WORK WITH ALL THE RELATIONSHIPS</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*F6jtKgmZLZnasMDJ1j9W8g.png" /><figcaption>TO SEE MY COMPONENT HIERARCHY</figcaption></figure><p>Having everything planned out in advance has streamlined my workflow, allowing me to clearly prioritize tasks and allocate my time effectively. While not everything always goes according to plan, for me, meticulous planning and adherence to a structured schedule inevitably lead to one outcome: SUCCESS!</p><h3>2. The Art of Debugging: Precision over Hastiness</h3><p>Debugging is an inevitable part of software development. However, the manner in which you approach debugging can significantly impact your productivity and efficiency. Rather than hastily jumping from one issue to the next, adopt a systematic approach to problem-solving.</p><p>For backend development using Flask, strategically placing breakpoint() or ipdb.set_trace() within your code can be invaluable. These tools allow you to pause execution at critical points and inspect variables, method outputs, and control flow. While initially cumbersome due to setup requirements, these debugging techniques provide deep insights into code behavior, enabling precise issue identification and resolution.</p><p>On the front end, console.log() serves a similar purpose, offering real-time visibility into JavaScript execution. It&#39;s not just about checking values; it&#39;s a lifeline for debugging, swiftly pinpointing issues that could otherwise devour hours of our time. As software engineers, the ability to see exactly what our code is doing and catch bugs early on is a game-changer. It streamlines the process, turning hours of puzzling over problems into moments of clarity and resolution.</p><h3>3. Serialization Rules: Ensuring Efficiency and Performance</h3><p>Serialization plays a pivotal role in transferring data between frontend and backend components of an application. In my experience, adhering to sound serialization practices proved essential in preventing recursive errors and optimizing performance.</p><p>Serialization rules dictate how objects are converted into formats suitable for transmission, typically JSON in RESTful APIs. It ensures that only necessary data is transferred, reducing overhead and improving response times. For instance, when loading user profiles with associated projects and posts, defining clear serialization rules prevents data overload and potential performance bottlenecks.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ba8oxzjCJELMM_Z8U2EXEw.png" /></figure><h3>4. Evolving as a Software Engineer</h3><p>Beyond technical skills, mastering full stack development requires continual learning and adaptation. Stay abreast of industry trends, leverage community resources, and engage in collaborative projects. Embrace tools and methodologies that align with your workflow, refining your debugging toolkit and serialization strategies over time. Utilize linkedin and facebook for all groups, constantly update previous projects and work on new projects that will imerge in the future!</p><h3>Conclusion</h3><p>Building a full stack application demands patience, foresight, and a methodical approach. By prioritizing meticulous planning, adopting precision in debugging, and mastering serialization rules, developers can create robust, efficient applications. Remember, the journey of mastering full stack development is as much about learning from challenges as it is about celebrating successes.</p><p>Whether you’re embarking on your first solo project or refining existing skills, embrace the process and the nuances of software engineering. By doing so, you’ll not only build functional applications but also cultivate a mindset of continual growth and innovation in the dynamic field of full stack development.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c82f703cc025" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Combining Flask and React with Formik and Yup: A Powerful Full-Stack Combination]]></title>
            <link>https://medium.com/@fdejesus95/combining-flask-and-react-with-formik-and-yup-a-powerful-full-stack-combination-7d1de9c5a83b?source=rss-054c1ae88c13------2</link>
            <guid isPermaLink="false">https://medium.com/p/7d1de9c5a83b</guid>
            <category><![CDATA[full-stack-development]]></category>
            <category><![CDATA[react]]></category>
            <category><![CDATA[flask]]></category>
            <dc:creator><![CDATA[Fernando De Jesus]]></dc:creator>
            <pubDate>Thu, 20 Jun 2024 21:33:28 GMT</pubDate>
            <atom:updated>2024-06-20T21:34:48.364Z</atom:updated>
            <content:encoded><![CDATA[<p>In modern web development, combining Flask ,a powerful Python web framework, and React , a popular JavaScript library for building user interfaces , offers a robust full-stack solution. When augmented with Formik for form management and Yup for form validation, this combination becomes even more effective for creating dynamic and interactive web applications. Let’s explore how these technologies work together seamlessly to enhance both frontend and backend development.</p><h3>Flask: Powering the Backend</h3><p><strong>Flask</strong> is a lightweight and flexible web framework for Python. It’s known for its simplicity yet extensibility, making it a preferred choice for developing web applications, APIs, and more. Here’s how Flask typically fits into a full-stack application architecture:</p><ol><li><strong>API Development</strong>: Flask excels at creating RESTful APIs that handle data manipulation, database interactions, and business logic.</li><li><strong>Routing and Views</strong>: Flask’s routing system allows developers to define URL routes and associated view functions, which handle incoming requests and return responses.</li><li><strong>Template Rendering</strong>: While not as common when paired with React, Flask’s Jinja2 templating engine can be used for server-side rendering of HTML pages with dynamic data.</li></ol><h3>React: Frontend Dynamism</h3><p><strong>React</strong> is a JavaScript library maintained by Facebook, designed for building user interfaces with a component-based architecture. It excels in creating interactive and responsive UIs by efficiently updating and rendering components:</p><ol><li><strong>Component-Based UI</strong>: React components are reusable, encapsulated building blocks that manage their own state and can be composed to build complex UIs.</li><li><strong>Virtual DOM</strong>: React’s virtual DOM efficiently updates the browser DOM by only re-rendering components that have changed, optimizing performance.</li><li><strong>State Management</strong>: React allows for local component state management as well as global state management using tools like Redux or Context API.</li></ol><h3>Integrating Flask with React</h3><p>To integrate Flask with React, typically you would set up Flask to serve the backend API and React to handle the frontend user interface. Here’s a basic overview of how they work together:</p><ol><li><strong>Backend API Development</strong>:</li></ol><ul><li>Define Flask routes (@app.route) to handle API endpoints (e.g., /api/login, /api/signup).</li><li>Use Flask to interact with databases (e.g., SQLAlchemy for ORM) and perform business logic (e.g., user authentication, data validation).</li></ul><p><strong>2. Frontend Development with React</strong>:</p><ul><li>Create React components to build the UI, including forms for user input and interaction.</li><li>Use Fetch API to make HTTP requests from React components to Flask API endpoints for data retrieval and manipulation.</li></ul><h3>Enhancing Forms with Formik and Yup</h3><p><strong>Formik</strong> and <strong>Yup</strong> are complementary tools that streamline form management and validation in React applications:</p><ol><li><strong>Formik</strong>:</li></ol><ul><li>Simplifies form state management, including handling form submission, validation, and error handling.</li><li>Provides utilities (&lt;Formik&gt;, &lt;Field&gt;, &lt;Form&gt;) to connect form elements with React state effortlessly.</li><li>Facilitates async form submission and integration with third-party validation libraries like Yup.</li></ul><p><strong>2. Yup</strong>:</p><ul><li>Provides a powerful schema-based validation library for JavaScript and TypeScript.</li><li>Defines validation rules for form fields (e.g., required fields, email format, custom validations).</li><li>Integrates seamlessly with Formik to validate form data before submission, ensuring data integrity.</li></ul><h3>Example Scenario: User Authentication</h3><p>Let’s illustrate how Flask, React, Formik, and Yup can work together in a typical user authentication scenario:</p><ol><li><strong>Frontend (React)</strong>:</li></ol><ul><li>Implement a login form using Formik to manage form state (username and password fields).</li><li>Define validation schema with Yup to ensure required fields are filled and validate email format for username.</li></ul><p><strong>2. Backend (Flask)</strong>:</p><ul><li>Create Flask routes (/api/login) to handle POST requests containing user credentials.</li><li>Use Flask to authenticate users against a database and generate JWT tokens for authenticated sessions.</li></ul><p><strong>3. Integration</strong>:</p><ul><li>Formik handles form submission (onSubmit) by sending a POST request to Flask API endpoint (/api/login).</li><li>Yup validates form data client-side before submission, reducing unnecessary API calls and improving user experience.</li><li>Flask verifies user credentials, generates JWT token upon successful authentication, and returns it to React for session management.</li></ul><h3>Conclusion</h3><p>By combining Flask and React with Formik and Yup, developers can leverage the strengths of each technology to build robust and scalable web applications. Flask provides a solid backend foundation for API development and business logic, while React enhances the frontend with dynamic user interfaces and state management. Formik and Yup further streamline form handling and validation, ensuring data integrity and a seamless user experience. This combination not only enhances productivity but also enables the creation of modern, responsive web applications that meet today’s demanding user expectations.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7d1de9c5a83b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Basics of Python — Novice POV]]></title>
            <link>https://medium.com/@fdejesus95/basics-of-python-novice-pov-36329203f8ed?source=rss-054c1ae88c13------2</link>
            <guid isPermaLink="false">https://medium.com/p/36329203f8ed</guid>
            <dc:creator><![CDATA[Fernando De Jesus]]></dc:creator>
            <pubDate>Thu, 30 May 2024 19:16:58 GMT</pubDate>
            <atom:updated>2024-05-30T20:43:36.164Z</atom:updated>
            <content:encoded><![CDATA[<h3>Basics of Python — Novice POV — Time Management &amp; Imposter Syndrome</h3><p><strong>Basic Syntax</strong>: Python syntax is designed to be readable and straightforward. It uses indentation to define blocks of code, unlike languages that use braces like {}. For example</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Bc3eOhrbogU3o4C3CJsGUA.png" /></figure><p><strong>Variables</strong>: Variables are used to store data. You don’t need to declare a variable’s type explicitly; Python infers it based on the value assigned.</p><p><strong>Data Types</strong>: Python has various data types including integers, floats, strings, lists, tuples, dictionaries, and more.</p><p><strong>Comments</strong>: Comments are lines ignored by Python interpreter. They are used to explain code and make it more readable.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*loj_7P2gQEIQr9mOJtamrQ.png" /><figcaption>As you can see we comment out lines in Python with ‘#’ syntax instead of ‘//’</figcaption></figure><p><strong>Control Flow</strong>: Python supports typical control flow statements like if-else, loops (for, while), and more.</p><p><strong>Functions</strong>: Functions are reusable blocks of code. You define a function using the def keyword.</p><p><strong>Object-Oriented Programming (OOP)</strong>: Python supports OOP principles. You can create classes and objects.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hkC0Bw-v70gKVMh4bDQyzQ.png" /></figure><p><strong>Modules and Libraries</strong>: Python has a vast standard library and supports external libraries/modules. You can import them using the ‘import’ statement.</p><p>Debugging has to be one of the toughest challenges i came across. Being that Python is a back-end program language you cant really see the problems you are coming across. The code will not work and from there thats when you have to use something called ipdb..</p><ol><li>You have to make sure it is installed with ‘pip install ipdb’</li><li>After you have to import ipdb into the file you want to debug</li><li>Then you can set breakpoints in your code where you want the debugger to pause and allow you to inspect the program state. Place the following line where you want to set a breakpoint: ipdb.set_trace()</li><li>From there you can run the debugger to start to figure out where you went wrong which can be difficult and time consuming</li></ol><p>Time management and imposter syndrome for me goes hand and hand. If i do not spend enough time on a subject , i begin to doubt myself and have a trickle affect that can bother me for a life time if I allow it. During this specific phase in my current bootcamp we began to learn Python and as eager as i was to learn it ,like every other phase I have passed so far, life was happening. Unfortunate for me that i was in a car accident and finally receiving the results from all the test i have , along side with physical therapy 3–4 times a week, i discovered I have nerve damages throughout my body and a few things out of place nothing crazy, or surgery like thank goodness. But that alone affected my thinking process to shifting my focus to my health and less on the computer.</p><p>What i did and luckily i had, a great friend who told me i will guide you and act as a teacher for you to get me back on track with the class and understanding this wonderful language that i can now say i have as a tool in my coding languages. Spent countless hours reviewing, arguing, and even building a project on that will most definitely need work on in the future but something i can say i am proud of because it’s something i thought would not be possible with the start i had.</p><p>As well, taking a break when feeling defeated. Go outside, walk, play a game or anything YOU do that HELPS YOU decompress. Come back to studying/coding with a fresh mind. <strong>REMEMBER you will get a lot farther taking small steps instead of trying to take a big leap. ROME WAS NOT BUILD IN ONE DAY! Build a strong foundation first, get some solid structure, then shoot for the stars.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=36329203f8ed" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Dive into React: A Simplier Solution For Building Websites!]]></title>
            <link>https://medium.com/@fdejesus95/dive-into-react-building-awesome-websites-made-easy-9d77b5acda57?source=rss-054c1ae88c13------2</link>
            <guid isPermaLink="false">https://medium.com/p/9d77b5acda57</guid>
            <dc:creator><![CDATA[Fernando De Jesus]]></dc:creator>
            <pubDate>Thu, 09 May 2024 15:14:22 GMT</pubDate>
            <atom:updated>2024-05-09T16:18:51.722Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>What’s React All About?</strong></h3><p>Think of React as a toolbox packed with everything you need to build awesome websites. At its heart, React is all about breaking down your website into smaller, reusable parts called components. Imagine building a car each piece (or component) serves a specific purpose and can be easily put together to create something amazing!</p><h3><strong>Why is React So Cool? One word: Simplicity (Declarative)</strong></h3><p>With React, you don’t have to worry about complicated code to make your website look and feel awesome. Instead of telling your website exactly what to do every step of the way, you simply tell React what you want, and it takes care of the rest. That is the beauty I have realized with react compared to vanilla.js</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/648/1*JvQV1IP9FvymGfFQqhhM9Q.png" /></figure><p>The code above returns a form to ‘ADD SNEAKERS FOR SALE’ allowing you to input the name, decription, image, and prices of the sneaker</p><p>The code above showcases something cool called “declarative state.” Instead of diving into the HTML file like you would with plain old JavaScript, React lets you simply describe what you want, like your header, form, and button, without touching the HTML directly. Then, like magic, React takes your descriptions and turns them into the actual stuff you see on the screen. It’s like giving React a wishlist, and it makes your website look exactly the way you want without you having to mess around with HTML code.</p><h3><strong>How Does React Work?</strong></h3><p>Picture a flow of water in a river it always moves in one direction. Well, that’s how React handles data flow too. Information flows from one part of your website to another in a smooth, predictable way. React promotes a unidirectional data flow, where data flows down from parent components to child components via props. This ensures that changes in the application state are predictable and easily traceable, simplifying debugging and enhancing code maintainability. This not only keeps things organized but also makes it easier to find and fix any issues that pop up along the way.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/426/1*8FJS8DimDi6HPgR--bSnPQ.png" /><figcaption>Sapling Tree of React</figcaption></figure><p>In the image above, you can easily spot who’s the parent and who’s the children. (The big component at the top is the parent, and the smaller ones underneath are the children.) Just like in a family, the parent shares things with the kids. In React, it’s called “passing props down.” So, the parent sends information down to the child, and then the child can play around with it and make changes if needed. It’s a neat way for different parts of your website to talk to each other and work together smoothly.</p><h3><strong>In Conclusion</strong></h3><p>React is like the superhero of web development! It’s changed the game by giving developers a super easy way to make really cool websites really fast. With React, you can break your website into small pieces and put them together like building blocks. It’s like building a car!</p><p>The best feature in my opinion, React does a lot of the hard work for you. Instead of telling your website exactly what to do, you just tell React what you want, and it figures out the rest.</p><p>As well React makes your website super fast and smooth. It’s like giving your website a turbo boost! Plus, if you ever run into any problems, React makes it really easy to not only find them but fix them as well.</p><p>So if you want to make awesome websites without all the headache, React is your go-to buddy!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9d77b5acda57" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How Math && Software Engineering are Alike: Novice POV]]></title>
            <link>https://medium.com/@fdejesus95/how-math-software-engineering-are-alike-novice-pov-7283aad4c4b1?source=rss-054c1ae88c13------2</link>
            <guid isPermaLink="false">https://medium.com/p/7283aad4c4b1</guid>
            <dc:creator><![CDATA[Fernando De Jesus]]></dc:creator>
            <pubDate>Mon, 15 Apr 2024 23:45:52 GMT</pubDate>
            <atom:updated>2024-04-16T16:14:50.495Z</atom:updated>
            <content:encoded><![CDATA[<p>In my time at the Flatiron software engineering bootcamp, I’ve noticed coding feels a lot like math! Everything in both fields has its own rules, kinda like math formulas. If you mess up even a tiny bit, you’ll get a bunch of errors or the wrong answer.</p><p>In math, you’ve got stuff like adding, multiplying, and subtracting, right? Each one means something specific. In coding, it’s similar every part of the code has a job to do, just like in math.</p><p>Think about solving for ‘x’ in math problems. In coding, we’ve got similar challenges where we use formulas (or algorithms) to get the right result.</p><p>Even when you’re declaring variables in code like using ‘const’ or ‘let’ it’s a bit like math. ‘const’ is like a number that never changes (kinda like a constant in math), while ‘let’ is more flexible, letting you change the value later on.</p><p>Math is all about being precise and sure of things. It gives us a solid way to think logically and prove stuff. Similarly, in coding, we need to be really careful about getting every little detail right. Our code has to work the same way no matter where it’s used. Math ideas like logic, sets, and discrete math are like the backbone of coding, making sure our programs do what they’re supposed to and meet high standards.</p><p>Although math and coding is about being on point and exact! Coding has the luxury of doing the same thing multiple different ways just depending on your knowledge. On the other hand with math you can try many different routes to find the solution but none the less there is a simple “formula” that everyone can follow to succeed. Like coding there is a simple way of doing things that will still get the job done but the syntax might not be as pretty!</p><p>So, whether it’s crunching numbers or coding a website, the similarities between math and coding are pretty cool. It’s all about following the rules and solving problems step by step!</p><h3>PARENTHESIS</h3><p>In math parenthesis are used to indicate the order of operation. Everything inside the parenthesis is calculated first and the results are used for the overall calculation. This helps clarify which operations should be performed together, overriding the default precedence of mathematical operations.</p><h3><strong>Example… 5* (5 + 5) = 5* 10= 50</strong></h3><h3><strong>SCOPE</strong></h3><p>Similarly, in coding, scoping defines the visibility and accessibility of variables and functions within a specific block of code. Variables declared inside a scope are only accessible within that scope, adhering to the principle of encapsulation.</p><p>Example below will demonstrate what is located in the scope</p><h3>function calculate() {</h3><h3>let x = 3; (defined globally in the function calculate scope)</h3><h3>{ let y = 4;</h3><h3>console.log(x + y);</h3><h3>// =&gt; prints 7</h3><h3>}</h3><h3>console.log(x);</h3><h3>// =&gt; prints 3 (because ‘let x = 3&#39; is defined globally of the function)</h3><h3>console.log(y);</h3><h3>// =&gt; Error (y is not defined because it is defined in the scope with the first curly brackets)</h3><h3>}</h3><h3>calculate();</h3><h3><strong>HOW SCOPE AND PARENTHESIS IN MATH ARE SIMILAR</strong></h3><p>Think of parentheses in math like putting things in a box to do them first before other stuff. In coding, scoping is like putting stuff in different boxes so they don’t mix up with other stuff.</p><p>When we use these ideas, it makes our code easier to read and fix. So, just like math helps us solve problems step by step, organizing code into boxes helps programmers keep things tidy and working smoothly. It’s like a secret sauce that makes coding easier and better!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7283aad4c4b1" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>