<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: adarvin14</title>
    <description>The latest articles on DEV Community by adarvin14 (@adarvin14).</description>
    <link>https://dev.to/adarvin14</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F601861%2Ff71e0efb-20b0-443b-86e5-35aa9dfd4b7c.png</url>
      <title>DEV Community: adarvin14</title>
      <link>https://dev.to/adarvin14</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/adarvin14"/>
    <language>en</language>
    <item>
      <title>How to Integrate a Rails Backend into a JavaScript Web Application</title>
      <dc:creator>adarvin14</dc:creator>
      <pubDate>Sun, 11 Jul 2021 02:24:06 +0000</pubDate>
      <link>https://dev.to/adarvin14/how-to-integrate-a-rails-backend-into-a-javascript-web-application-mmk</link>
      <guid>https://dev.to/adarvin14/how-to-integrate-a-rails-backend-into-a-javascript-web-application-mmk</guid>
      <description>&lt;p&gt;When it came to learning web development, JavaScript gave me the hardest time, despite being less complicated compared to other web frameworks like React.  Learning how to incorporate database information is incredibly important for making a website flow properly, especially if the website requires user data and any other information that is saved to a user or the web application overall.&lt;/p&gt;

&lt;p&gt;In contrast to React where the information pulled from an API is manipulated based on the code written directly in React, with a JS application, manipulating database information is determined by the Ruby code written within your controller files.  In React, the controller files in your Ruby-based backend are used for CRUD -that is Create Read Update and Delete - the essential actions for a web application.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>How State Works in React</title>
      <dc:creator>adarvin14</dc:creator>
      <pubDate>Sun, 04 Jul 2021 02:43:01 +0000</pubDate>
      <link>https://dev.to/adarvin14/how-state-works-in-react-1mg4</link>
      <guid>https://dev.to/adarvin14/how-state-works-in-react-1mg4</guid>
      <description>&lt;p&gt;React has become one of the most commonly used languages to code with in web development.  One unique aspect of it is the ability to have a state: a Javascript object that updates a component's dynamic data.  However, state can only work within a class component, which is why when functional components are used, they are usually designed for rendering static data like footers or a navigation bar.  In other words, data that is written into components that do not use state are not subject to change.  Since the data is not being manipulated in any way, state is not required for that component.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>The Difference Between Class Components and Functional Components</title>
      <dc:creator>adarvin14</dc:creator>
      <pubDate>Sun, 27 Jun 2021 01:17:45 +0000</pubDate>
      <link>https://dev.to/adarvin14/the-difference-between-class-components-and-functional-components-502m</link>
      <guid>https://dev.to/adarvin14/the-difference-between-class-components-and-functional-components-502m</guid>
      <description>&lt;p&gt;During my last 2 months at Flatiron, I was learning about React and its ability to easily create a template for creating a webpage.  When it came time to create my final project, I had chosen to design my components with class components as opposed to functional components.  While I was creating my project, I really did not know the difference between class and functional components.&lt;/p&gt;

&lt;p&gt;(&lt;a href="https://dev-to-uploads.s3.amazonaws.com/uploads/articles/py2q0594o6qf463l0rfr.png"&gt;https://dev-to-uploads.s3.amazonaws.com/uploads/articles/py2q0594o6qf463l0rfr.png&lt;/a&gt;)&lt;br&gt;
This is my project from Flatiron: as you can see the css is the default code written up when running &lt;code&gt;react-create-app&lt;/code&gt;. I'll be looking into making this application cleaner and more personalized.&lt;/p&gt;

&lt;p&gt;When I was making the project, I used a template that one of my instructors had posted that made use of class components.  I followed this template, but now that I am looking to polish and add to my projects I find it rather difficult to format and stylize my web application using CSS.  Class components are easy to use, but as I have been doing research on fleshing out web page applications, I realized that using a class component is good for functionality, but ends up having a very barebones design.  Every tutorial and blog post that I have looked at have functional components as their component template.&lt;/p&gt;

&lt;p&gt;In addition, since my React project was based in Redux, I never had a real chance to create a pure React app that incorporates a backend.  As a result, making changes to my project to add a navigation bar or sidebar has been difficult.  It may just be my lack of experience that has made me unable to see the solution to my problem, but I found that it would be better to begin a new project, and while I don't have a clear idea of what I want to do with it, I figured I'd use it to learn how to code strictly in React, especially since functional components are standard with regards to web development.  &lt;/p&gt;

&lt;p&gt;(&lt;a href="https://dev-to-uploads.s3.amazonaws.com/uploads/articles/wl2ygyrxofe49pkntej4.png"&gt;https://dev-to-uploads.s3.amazonaws.com/uploads/articles/wl2ygyrxofe49pkntej4.png&lt;/a&gt;)&lt;br&gt;
This is my new project that will strictly React and will not use Redux. It's much more visually appealing compared to the default css given by React.&lt;/p&gt;

&lt;p&gt;(&lt;a href="https://dev-to-uploads.s3.amazonaws.com/uploads/articles/plfqjx6ndfxz9f608aui.png"&gt;https://dev-to-uploads.s3.amazonaws.com/uploads/articles/plfqjx6ndfxz9f608aui.png&lt;/a&gt;)&lt;br&gt;
I managed to build in a navigation bar using react-icons which can be found here: &lt;a href="https://react-icons.github.io/react-icons/icons?name=io5"&gt;https://react-icons.github.io/react-icons/icons?name=io5&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;My idea for this project will either be a replication of my Flatiron project without the use of Redux, or (if I can change the format and styling of my original project) try to create one of my older Rails-based project using React.&lt;/p&gt;

</description>
      <category>react</category>
      <category>javascript</category>
    </item>
    <item>
      <title>My Time with the Flatiron School Program</title>
      <dc:creator>adarvin14</dc:creator>
      <pubDate>Wed, 28 Apr 2021 00:05:36 +0000</pubDate>
      <link>https://dev.to/adarvin14/my-time-with-the-flatiron-school-program-dfh</link>
      <guid>https://dev.to/adarvin14/my-time-with-the-flatiron-school-program-dfh</guid>
      <description>&lt;p&gt;Full Stack Web Development.  At the beginning of my program in September, I had no idea what that term meant when I was first learning how to code.  It wasn't even until I had started learning Rails that I understood the code we were learning was for the backend of web development.  These last 8 months have been a crazy journey for me.  It started with the idea for a career change.  I was furloughed in April last year as a result of the pandemic in what I believe to be a stroke of good fortune.  I really wasn't happy with my job; it wasn't very fulfilling and if it was any indicator of what it would be like working in the environmental sector of the working world, then I didn't really have any interest in staying.  Because of this, I saw it as an opportunity to learn something new and give myself more skillsets to become more versatile so that I have more opportunities.&lt;/p&gt;

&lt;p&gt;Coding had always interested me, but I didn't know where to start or what code I wanted to learn.  The Flatiron School gave me the opportunity to not only learn how to code, but also to show me what it can do and how it affects the way we use technology every day.  Originally, the program I enrolled in was intended to be a 6 month program.  Unfortunately, I hit some hurdles on my journey towards becoming a web developer and it set me back a bit.  But I had come so far, I was so close to finishing the program that I could not give up on myself, especially after learning so much.  I couldn't let myself give up knowing that I had another chance and my teacher had more faith in me than I had in myself.  So I didn't give in;  I managed to pull through, finishing my JavaScript lessons and moving on to complete my lessons in React/Redux, easily the 2 most difficult units in the program (for me at least).&lt;/p&gt;

&lt;p&gt;I managed to complete my learning of coding that many people spend 4 or more years learning in a very short amount of time.  For me, it didn't feel that short (the pandemic didn't help with my sense of time).  I spent many days and nights learning and coding.  Some weeks passed like it was nothing while some felt like they took forever to pass.  In the end, it was some of the most difficult work I've had to do.  Having all this information thrown at you so quickly, especially when learning what is essentially a new language, is very difficult to absorb.  Sometimes it didn't quite sink in and other times I felt like I understood it right away.  The curriculum was structured so that concepts from later units built off of previous concepts.  While understanding the connections of these concepts sometimes made sense, the incorporation of entirely new concepts (like props and state in React) threw me off and slowed me down in the learning process.  But the struggle, and overcoming that struggle to reach a new understanding is part of that learning process.&lt;/p&gt;

&lt;p&gt;Not only am I incredibly proud of the amount of coding I have learned and what I have created within the last 8 months, I am also looking forward to continuing my work in a professional work environment where the work I do has a real impact on how people interact with technology.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>React/Redux Project</title>
      <dc:creator>adarvin14</dc:creator>
      <pubDate>Mon, 12 Apr 2021 13:41:15 +0000</pubDate>
      <link>https://dev.to/adarvin14/react-redux-project-40d1</link>
      <guid>https://dev.to/adarvin14/react-redux-project-40d1</guid>
      <description>&lt;p&gt;The final project for the Flatiron School Full Stack Web Development program.  As the culmination of all of the work that I have done so far, not only requires the most work, but also the most knowledge to complete.  Like the JS project, I encountered many bumps in the road.  Thanks to my work for my JavaScript project, I have a much better understanding of how frontend applications work and how the backend via Rails API connects to the frontend.&lt;/p&gt;

&lt;p&gt;When I was working on my JavaScript project, it was incredibly annoying having to reload the application page every time I made a change in my code.  React has made this easier by automatically updating the web application.  It makes it so much easier to see any bugs that occur in my code as well as allowing me to see if the changes I make to debug the code actually work.  This was particularly helpful with my code for the forms for both the albums and reviews. The reviews form initially had trouble submitting the information from the form.  Until I solved the issue this bug typically arose from either incorrect code from my actions component, or simply misnaming components/variables when trying to import the components needed.&lt;/p&gt;

&lt;p&gt;The most difficult part of this project was definitely working with Redux.  Coding the frontend in React was not too complicated; at least, not until I had to start incorporating Redux into my code so that I could begin pulling data from the backend's API to display on the frontend.  Part of this struggle came from understanding state and props, differentiating between the 2, and how I can manipulate states in order to display the data in the way I want.&lt;/p&gt;

&lt;p&gt;While my project is complete in terms of its functionality, in terms of its presentation it is completely barebones and I am planning on working on it to make it much neater and appealing to look at for the user.  Other functions that I plan on implementing are   One of my next steps as well is the implementation of a user using JavaScript Web Tokens in order to make it a bit closer to a realistic web application that someone would want to use.&lt;/p&gt;

&lt;p&gt;This screenshot is before I added Albums as its own object that has a has_many - belongs_to relationship with Reviews.&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--AJlztOCJ--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/4510qr4w99w2jahfzf6r.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--AJlztOCJ--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/4510qr4w99w2jahfzf6r.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This screenshot is after adding all of the relevant files and code that incorporate Albums as its own class and has its own routing separate from Reviews.&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--ZN6LbtFb--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/rttrjnlzg5n02pum8n40.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--ZN6LbtFb--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/rttrjnlzg5n02pum8n40.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If you would like to view my repositories for this project:&lt;br&gt;
&lt;a href="https://github.com/adarvin14/music-reviewer-client"&gt;https://github.com/adarvin14/music-reviewer-client&lt;/a&gt;&lt;br&gt;
&lt;a href="https://github.com/adarvin14/music-reviewer-api"&gt;https://github.com/adarvin14/music-reviewer-api&lt;/a&gt;&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Javascript Project</title>
      <dc:creator>adarvin14</dc:creator>
      <pubDate>Mon, 22 Mar 2021 18:22:18 +0000</pubDate>
      <link>https://dev.to/adarvin14/javascript-project-32c9</link>
      <guid>https://dev.to/adarvin14/javascript-project-32c9</guid>
      <description>&lt;p&gt;So this is my second time trying to complete my Javascript project for the Flatiron School online curriculum.  Second time around, things have been a little easier in terms of completing the coursework.  The project has been the biggest concern for me, but with a better understanding of Javascript I am hopeful that this will be a successful project.  I still find that Javascript is the most difficult coding language that I have learned throughout my entire time learning at Flatiron.  While I understand the concepts and lines of code that go into creating a working front end web application, I still find difficulty in writing code to execute the proper functions that I intended to create.  It's very tricky, especially when you add in an API that you create yourself using a Rails backend.  Incorporating the database from the backend and translating that information into a format that is easily processable and compatible with the front end is rather difficult.   Creating functions that manipulate this information in complex ways is really difficult, but it's incredibly fascinating what these lines of code are capable of and how these complex lines of code show up on the page as easily digestible information.  I'm hoping that my experience going through this project will help me become a proficient web developer and I'm excited to see what more I can do with Javascript even after I finish this program.&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
