<?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 Dimitri Chenet on Medium]]></title>
        <description><![CDATA[Stories by Dimitri Chenet on Medium]]></description>
        <link>https://medium.com/@dchenet1017?source=rss-3c308c38696------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*ppUGzlSXTEqauKSyFvITJQ.jpeg</url>
            <title>Stories by Dimitri Chenet on Medium</title>
            <link>https://medium.com/@dchenet1017?source=rss-3c308c38696------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 11:06:50 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@dchenet1017/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[Ruby Software]]></title>
            <link>https://medium.com/@dchenet1017/ruby-software-c5f9fc7be213?source=rss-3c308c38696------2</link>
            <guid isPermaLink="false">https://medium.com/p/c5f9fc7be213</guid>
            <dc:creator><![CDATA[Dimitri Chenet]]></dc:creator>
            <pubDate>Mon, 13 Dec 2021 18:11:10 GMT</pubDate>
            <atom:updated>2021-12-13T18:11:10.310Z</atom:updated>
            <content:encoded><![CDATA[<p>Pros and Cons of Ruby Software</p><p>During my time at Flatiron we spent the first two phases learning about front end development and backend is where were finishing. It took some time to get use to Ruby software that encompasses both Ruby and Ruby on Rails but out of the two I prefer Ruby on Rails much better. First Ruby is a high-level, interpreted language, designed by Yukihiro Matsumoto in the mid-1990s. It has the ability to run on various platforms like Mac OS, versions of UNIX, and Windows. Rails was an open source framework developed by Heinemeir Hansson in 2003. It was written in Ruby and can run on different platforms. There are several pros and cons about the software it self that I will be further discussing in this blog piece, hopefully this can lure you to using Ruby software for your backend programming needs .</p><p>There are several pros to using Ruby Software such as time efficiency if you use either Ruby or Rails framework it allows you to create backend programs pretty quickly by programming standards. Especially if you’re in the startup scene and need to build a MVP, using Ruby can defintetly deliver what you need. Another pro is the community on GitHub there are plenty of developers that focus solely on Ruby software so getting any help is fairly easy. Especially when you need to start a project they have lists of gems that can be used as a basis for a project especially if you’re in a crunch for time <strong>use the snippets</strong>. The third pro of using this software is that it has beneficial tools and libraries that come in hand. Ruby on Rails being an open-source framework that’s based on databases is the primary use of the software that I use. The community raves about the simplicity of the program once it’s being used daily. Rails also promotes the use of web standards, community standards of good engineering practices and design patterns. The process of linking this program with the front-end is nearly flawless. Using testing techniques like mocking and stubbing are ways that developers can test their code prior to launching. You can also combine those techniques with Test-driven development and behavior- driven development to make sure there are no bugs in the project. Safety is another pro that makes developers feel confident using this technology. Ruby software has built-in protections against XSS, CSRF and SQL Injection attacks which are the usual attacks that are used.</p><p>The Cons of Ruby Software</p><p>Runtime for the application is a concern with developers especially when they want to scale, there are other technologies that are better but they have their flaws too. This problem is for large companies so for the smaller company Ruby is still viable. Another issue with Ruby even though it has a rich community on Github is the popularity of the program used by developers as a whole is pretty low. The most common backend program language to write code in is Javascript and Ruby and Rails are near the bottom of popularity.</p><p>Conclusion</p><p>Ruby software at the end of the day is a programming language and will have more pros than cons depending on what you need it for. Every case is different from large projects to small. It’s up to the dev to make the decision and see what programming language to use. Ruby software is constantly going through changes so we never know if with a few updates if the software will become the most used backend language or will go away, there’s a good chance that it will continue to grow into the positive even though currently it’s not as popular.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c5f9fc7be213" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Ruby With Active Record]]></title>
            <link>https://medium.com/@dchenet1017/ruby-with-active-record-32120df77380?source=rss-3c308c38696------2</link>
            <guid isPermaLink="false">https://medium.com/p/32120df77380</guid>
            <dc:creator><![CDATA[Dimitri Chenet]]></dc:creator>
            <pubDate>Wed, 17 Nov 2021 13:03:55 GMT</pubDate>
            <atom:updated>2021-11-17T13:03:55.200Z</atom:updated>
            <content:encoded><![CDATA[<p>ActiveRecord is a library that provides an Object-Relational Mapper (ORM) for Ruby. It is very useful when we talk about managing data and relationships between models.</p><p>This blog post will explore Ruby with and without ActiveRecord with models, as well as the advantages of foregoing its use in certain circumstances.</p><p>What is ActiveRecord?</p><p>ActiveRecord is a Ruby library that sits between the database and logic code.</p><p>Benefits of using Ruby with ActiveRecords</p><ul><li>Flexible</li><li>Consistent</li><li>Productive</li><li>Easy to manage changes</li><li>High performance</li></ul><p>Ruby with ActiveRecord</p><p>The ActiveRecord gem is the backbone of most Ruby applications. It was created to help the developers speed up their production time and not have to excessively code things that can be handled dynamically by active record.</p><p>Active record will Represent models and their data, represent associations between these models, Represent hierarchies through related models, Validate models before they get persisted to the database, and perform database operations in an object-oriented fashion.</p><p>Being conscience about the way we name our data in Active record is highly apparent while working with it in ruby, we must make sure to make certain items in our data plural vs singular if not we will get several error messages.</p><p>We create migrations and this is where we create the format for our tables with Active Record. There are several data types that we can include in our table such as strings, integers, booleans, timestamps and foreign keys.</p><p>The Schema is a section where the format for our table will be presented separate from the migration page. It creates a clear way to look at our foreign keys and the primary keys, foreign keys are sections in our table that keeps track of id names from other tables that correlate with the table that is connected to all other tables.</p><p>The Seeds section is where we can hardcode information or have them dynamically made up with an app gem called faker that will create whatever information we need such as names, dates, etc at scale.</p><p>Active record in our models section is where we define methods to manipulate the data that has been imported from our seeds file.</p><p>Active Record also uses C.R.U.D= Create, Read, Update, Delete</p><p>Create-Active Record objects can be created from a hash, a block, or have their attributes manually set after creation. The new method will return a new object while create will return the object and save it to the database.</p><p>Read- Active Record provides an expansive API for accessing data within a database.</p><p>Update- Once Active Record object has been retrieved, its attributes can be changed and it can be saved to the database.</p><p>Delete- Once retrieved an Active Record object can be destroyed which removes it from the database.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=32120df77380" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What is React JS? What are its benefits vs. Vanilla Js?]]></title>
            <link>https://medium.com/@dchenet1017/what-is-react-js-what-are-its-benefits-vs-vanilla-js-b18972a0033c?source=rss-3c308c38696------2</link>
            <guid isPermaLink="false">https://medium.com/p/b18972a0033c</guid>
            <dc:creator><![CDATA[Dimitri Chenet]]></dc:creator>
            <pubDate>Thu, 28 Oct 2021 17:57:21 GMT</pubDate>
            <atom:updated>2021-10-28T18:18:14.465Z</atom:updated>
            <content:encoded><![CDATA[<p>React is a library of JavaScript that is used for structuring the user interface. It is specifically created to implement the look and format of web and mobile applications. It is a reusable UI component that can be shared across different projects or platforms.</p><p>React is a JavaScript library that Facebook developed to make it easier for developers of large web applications. It can change data without reloading the page, and its primary purpose, in this case, would be being fast and scalable.</p><p>React keeping up with demand from users on the website or application. React works only with user interfaces. This enables the use of a JavaScript library or framework in your MVP template.</p><p><strong>Features of React:</strong></p><ul><li>Easy to learn</li><li>Declarative</li><li>Simple</li><li>Component-based</li><li>Fast</li><li>Extensive</li><li>Supports server-side</li></ul><p><strong>How React is declarative, not imperative like JS</strong></p><p>The directions we give to the computer is done with imperative code. Imperative codes direct JavaScript on how it should perform each step, for example, the If-else statement.</p><p>Declarative does not require such control as everything has already been specified beforehand.</p><p>React is declarative. You tell React what you want, and then it takes care of everything else for you, including the DOM manipulations.</p><p><strong>Benefits of React vs. vanilla JavaScript</strong></p><p>JavaScript frameworks are one of the most popular ways to build complex web apps. One can choose vanilla JS, but it could be messy and take longer to complete a task. However, using React which provides more structure in terms of flexibility through their architecture-like designs</p><p>Here are some of the critical differences between React and vanilla JS that show why I choose React over Vanilla JS.</p><ol><li><strong>React JS files are reusable</strong></li></ol><p>You can see the extensive use of React JS in social media sites or apps . Within alot of social media platforms there is usually a “Like” button for example. All these like buttons are doing the same thing, however, with different data sets. But instead of coding each like button for every post, React JS creates only one “Like” button component and we can drop that anywhere we want to.So having to re write the code for it is unneccesary.</p><p><strong>2. React JS is good for code organization</strong></p><p>One of the best things about React is that there are components that all have different task that they complete to give us a full webpage. Understanding that gives us a better way to think about formulating a site.</p><p><strong>3. Vanilla JS requires a lot of typing</strong></p><p>JavaScript requires a lot of coding it could be messy to work with after a while in my experince than react. For example if there was code with 1000 lines or more adding a click event on a piece of data could become a big issue because there are many steps involved in JS. This isn’t the issue when using react technologies.</p><p><strong>Conclusion</strong></p><p>React is a declarative, one-way data flow UI library. It is easy to learn, and it makes building large apps with complex states seem effortless. Even if you do not know much about front-end development or programming languages in general, there are plenty of tutorials available that can teach you how to build your first simple app using React.</p><p>With its focus on simplicity and readability, developing for the web has never been easier. If you are new to React but want to see what all the fuss is about before diving in “How To Create Your First Simple App Using React” via Youtube is a good start.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b18972a0033c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Fetch Me Some Info]]></title>
            <link>https://medium.com/@dchenet1017/fetch-me-some-info-f58ed0b12bdb?source=rss-3c308c38696------2</link>
            <guid isPermaLink="false">https://medium.com/p/f58ed0b12bdb</guid>
            <dc:creator><![CDATA[Dimitri Chenet]]></dc:creator>
            <pubDate>Wed, 06 Oct 2021 20:01:21 GMT</pubDate>
            <atom:updated>2021-10-07T14:55:28.462Z</atom:updated>
            <content:encoded><![CDATA[<p>I enrolled myself in Flatiron School for Coding as a prospective HTML Full Stack Developer. I had an interesting story on how I even got here, which was attending a discussion about getting more African Americans and other races into tech. Seeing the percentages really opened up my eyes, for some reason the people I identify as do not try to venture into tech and in my experience even thinking about anything “tech” was a cloudy space that I didn’t know anything about. So I said why not take the leap in and see what it’s all about.</p><p>One thing that has been a thorn in heel has been GITHUB but after loading a few labs in the early pre-work days I’m slowly getting better with maneuvering through it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/225/1*n4dBEMAML2FX8pgZIFEZug.png" /></figure><p>While studying programming, these three concepts amaze me on how one can use them and how they are a major part of how data is stored and retrieved.</p><p><strong>Arrays</strong> are a type of data structure that allows you to store multiple items at once. An array is useful because when working with data in an array, you can select certain values in them with a few keyboard commands and manipulate them. It could be inefficient and slow going if we had to repeat our same operation for each item.</p><p>An O<strong>bject</strong> is a data container that stores information in key-value pair format between the curly brackets. The key is at the left side of the colon and the value is at the right side. Also manurving and retrieving information through this data container is pretty straightforward with a few keyboard commands.</p><p>The <strong>Fetch API</strong> is a method to make HTTP requests in web browsers to grab API information from other data sources online. Basically making Client to Server request and getting a response’s back with the data we requested.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/353/1*r3ccqTqNb44-JKdAzH3QVw.png" /></figure><p>Within the Fetch API there are 5 HTTP methods called Get, Post,Put,Patch and Delete. All of these methods have their own actions they can execute .</p><p><strong>Get</strong>- This is the method that we use to retrieve all the data from the server once we make a call to it. When you retrieve this information it comes in the form of JSON. For example: getting the user’s address from the database.</p><p><strong>Post- </strong>Method used to send the data to the server. For example: adding a user’s address in the database.</p><p><strong>Put</strong>- Method is a way to update data to a server. If there is information already resourcesd and we want to make a big change to a value that already exists, we can do it with the Put Method . For example, updating the address because you moved to a new location.</p><p><strong>Patch</strong>- This method sends in a part of the resource which needs to be updated. So, basically — the resource exists but we want to update a part of it. For example, your address is already stored in the database but you want to update just the apartment number. In this case, there’s no need to send in the whole address object again. You can just send the updated data (the apartment number) to the server.</p><p><strong>Delete</strong>- This method is used to delete a certain resource. For example, deleting the user’s address.</p><p>Fetch also uses <strong>Promises</strong>, which allow for more straightforward requests on the server which are asynchronous functions that guarantees that data will reach us at some point. For example a receipt when you order a meal at a fast food restaurant, we’ll wait knowing our food is being prepared.</p><p>The URL of the resource to be fetched will be passed as a parameter in your request.</p><h3><strong>let response = fetch(url);</strong></h3><p>The two .<strong>then()</strong> methods can be used to interpret the request once <strong>fetch()</strong> returns Promise’s. While we wait for the promises the two .then methods aren’t executed, it will wait for the promise to be fulfilled then they will run.</p><p><strong>Fetch(url)</strong></p><p><strong>.then.(response =&gt; response.json())</strong></p><p><strong>.then( data =&gt; Function(data))</strong></p><p>As soon as the request is fulfilled, a Response object (API wrapper) will be available. This ensures that information about your resource can always be found with one single call to fetch it from any location on our website.</p><p>The <strong>json()</strong> method converts the Response Object and parses the JSON to a JavaScript Object . At that time we can now use the information and make certain reference points to data included in the promises.</p><p><strong>fetch(‘/readme.txt’)</strong></p><p><strong>.then(response =&gt; response.json())</strong></p><p><strong>.then(data =&gt; console.log(data));</strong></p><p>The API has many more methods for handling different types of responses, such as <strong>json().</strong></p><p>I found this really interesting how we control the asynchronous actions and use APIs for our projects.</p><p>We can use APIs for our business growth because it provides us (a straightforward way to get information needed for our projects and it is very valuable because having information that is coming directly from the companies that are legit makes the information we use very reliable.</p><p>APIs are developer’s best friends as they provide automation, application, data, efficiency, personalization, and adaptation.</p><p>I believe there is a mental switch a person with no experience must make to become a software engineer. Your mind must become one with your machine, having to think differently and more logically to complete tasks can be overwhelming. With understanding of all the tools you have at your disposal and mixing that with logic you could be successful in this field and create amazing projects.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f58ed0b12bdb" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>