<?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 Alixonroman on Medium]]></title>
        <description><![CDATA[Stories by Alixonroman on Medium]]></description>
        <link>https://medium.com/@alixonroman?source=rss-768be3bca511------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*xkl_hW7kRepYD2JZ</url>
            <title>Stories by Alixonroman on Medium</title>
            <link>https://medium.com/@alixonroman?source=rss-768be3bca511------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 21 Nov 2026 06:29:51 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@alixonroman/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[Tailwind CSS]]></title>
            <link>https://medium.com/@alixonroman/tailwind-css-e424c131d843?source=rss-768be3bca511------2</link>
            <guid isPermaLink="false">https://medium.com/p/e424c131d843</guid>
            <dc:creator><![CDATA[Alixonroman]]></dc:creator>
            <pubDate>Wed, 16 Nov 2022 18:44:27 GMT</pubDate>
            <atom:updated>2022-11-16T18:44:27.717Z</atom:updated>
            <content:encoded><![CDATA[<h4>What is Tailwind CSS?</h4><p>In order to make it quicker and simpler for users to construct applications, Tailwind CSS is a utility-first CSS framework. Without leaving your HTML or creating a single line of new CSS, you can use utility classes to adjust the layout, color, spacing, font, shadows, and more to create a completely unique component design.</p><blockquote>Right now you might be asking yourself, “But why tho??”. Here is why.</blockquote><h4>Less custom CSS is written.</h4><p>By directly applying pre-existing classes to items in your HTML, Tailwind allows you to style them. This method of employing utility classes allows you to create customized designs without coding CSS.</p><h4>CSS files are kept small.</h4><p>You would have to continue coding CSS as you added more features and components if there wasn’t a framework like Tailwind. As a result, your CSS files keep expanding and getting bigger. The majority of styles are reusable thanks to tools like Tailwind’s flex-box and padding utilities, so you barely ever need to create new CSS.</p><h4>No need to come up with fresh class names.</h4><p>You choose classes in Tailwind from a pre-established design structure. This removes the need for you to stress over selecting the “correct” class names for particular styles and components or to remember difficult ones like sidebar-inner-wrapper.</p><p>Tailwind is a low-level framework. Meaning that Tailwind doesn’t provide fully styled elements like buttons, dropdowns, and navbars as other CSS frameworks like Bootstrap and Materialize do. Instead, it provides utility classes that let you design your own reusable components.</p><p>Given this, compared to other CSS frameworks, it allows far more flexibility and control over the appearance of your application. As a result, your website could be more unique.</p><p><strong>Thats it.</strong></p><h3>Thanks</h3><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e424c131d843" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to close out your open ports]]></title>
            <link>https://medium.com/@alixonroman/how-to-close-out-your-open-ports-4ca34ad76af1?source=rss-768be3bca511------2</link>
            <guid isPermaLink="false">https://medium.com/p/4ca34ad76af1</guid>
            <dc:creator><![CDATA[Alixonroman]]></dc:creator>
            <pubDate>Fri, 28 Oct 2022 15:37:38 GMT</pubDate>
            <atom:updated>2022-10-28T20:07:44.574Z</atom:updated>
            <content:encoded><![CDATA[<p>I was trying to create a new Rails app and got this error:</p><p>Address already in use — bind(2) for “127.0.0.1” port 3000 (Errno::EADDRINUSE)</p><p>To fix it I first check which process used my port 3000:</p><p>1</p><p>lsof -wni tcp:3000</p><p>And I got this output:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/741/0*LQdU6mOIvx_TlTEV.png" /></figure><p>So now I can stopped it using its pid:</p><p>1</p><p>kill -9 13901</p><p>I checked again if something was running in my port 3000 and I didn’t get any output so I run my <strong>rails s</strong> command and everything worked fine!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/532/0*otEOEEXMMaVN9zId.png" /></figure><p>Posted on</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4ca34ad76af1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Active Record]]></title>
            <link>https://medium.com/@alixonroman/active-record-891411be9e00?source=rss-768be3bca511------2</link>
            <guid isPermaLink="false">https://medium.com/p/891411be9e00</guid>
            <dc:creator><![CDATA[Alixonroman]]></dc:creator>
            <pubDate>Fri, 07 Oct 2022 13:38:57 GMT</pubDate>
            <atom:updated>2022-10-07T13:38:57.248Z</atom:updated>
            <content:encoded><![CDATA[<p>[What is an Active Record?]<br>The layer of the system that is in charge of representing business data and logic is the Active Record, which is the M in MVC, which stands for model. Active Record makes it easier to create and use business objects whose data need to be kept in a database for a long time. It is a way to put the Active Record pattern into action, which is a description of an Object Relational Mapping system in and of itself.<br> Hibernate is utilized for object relational mapping in Grails, the Groovy/Java alternative to Ruby on Rails. Hibernate can generate extremely quick access when used as a backend with a database like Postgres. Even in the degenerate case of a full table scan, which is not required with proper key design, accessing data with 100K to 200K rows should be very quick.</p><p>In addition to Grails, I keep thinking that I should learn Rails.After that, I came across something along the lines of this, and it made me glad that I am utilizing Grails and the Java ecosystem.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=891411be9e00" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Props]]></title>
            <link>https://medium.com/@alixonroman/props-5a91bda8bf07?source=rss-768be3bca511------2</link>
            <guid isPermaLink="false">https://medium.com/p/5a91bda8bf07</guid>
            <dc:creator><![CDATA[Alixonroman]]></dc:creator>
            <pubDate>Wed, 14 Sep 2022 14:45:46 GMT</pubDate>
            <atom:updated>2022-09-14T14:45:46.581Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>U</strong>nderstanding props is a piece of cake if you’re already familiar with how arguments and functions work in JavaScript. Props are the primary mechanism for component communication in React and are used to pass data from a parent component to a child component.</p><p>I thought I understood how to set and access props in React really well. I would always get stuck when trying to transfer props from one component to another and as we learned more powerful and dynamic React functionalities, I spent a lot of time clicking through the various component files, adding props all over the place trying to make it work, and failing to complete one straightforward task.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/614/0*tZl98suMpcFbKZqF.png" /><figcaption>Literally me on the plantsy code challenge</figcaption></figure><p>For the past 2 weeks or so Flatiron school has been making me deal with situations in which we must pass data from a top-level component to a deeply nested component (<em>So annoying Btw</em>). Prop drilling is the process of transporting this data as props to the desired destination via intermediate components. We almost always have to manually transfer data through components that don’t need, which complicates code debugging and makes it way to cluttered. In fact, when we are “drilling,” we can unintentionally rename some of the objects and encounter even more bugs. This process is impractical due to the piling of these challenges in large-scale applications.</p><h4>Imagine trying to keep track of something like this</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/494/0*69NBWJmbnjpxjMZ5.png" /></figure><h4>How to use Props</h4><ol><li>First, define an attribute and its value(data).</li><li>Then pass it to child component(s) by using Props.</li><li>Finally, render the Props Data.</li></ol><p>Props are arguments passed into React components. Props are passed to components via HTML attributes. props stands for properties. You can pass a component as props in React by using the built-in children prop. All elements you pass between the opening and closing tags of a component get assigned to the children prop.</p><h4>&lt;ChildComponent props={props} /&gt;</h4><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5a91bda8bf07" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Learn about the ForEach( ) Method.]]></title>
            <link>https://medium.com/@alixonroman/learn-about-the-foreach-method-e1359a2d0025?source=rss-768be3bca511------2</link>
            <guid isPermaLink="false">https://medium.com/p/e1359a2d0025</guid>
            <dc:creator><![CDATA[Alixonroman]]></dc:creator>
            <pubDate>Wed, 24 Aug 2022 14:30:20 GMT</pubDate>
            <atom:updated>2022-08-24T14:33:55.945Z</atom:updated>
            <content:encoded><![CDATA[<p>You will learn about the forEach() method in this post, including what it performs and the potential implications for you and your website. Additionally, you will see a code sample showing the syntax, and a practical application.</p><h3>“What does forEach( ) actually mean?”</h3><p>The forEach( ) method <strong>calls a function for each element in a data Collection. </strong>The method is chained to a variable with collection objects and iterates over each item in the array until it ends. Data collections like arrays, sets, and object collections can be modified with the forEach method. However, it can also be employed for a variety of other tasks, including information display, and even the development of fresh data sets.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/476/0*s9CAdngnzVHHenbq.png" /><figcaption>How a basic loop functions. ^</figcaption></figure><h3>“How do i use this though?”<br><br>//Use forEach method to iterate over and and create new array with modified data</h3><pre>movies.forEach(movies =&gt; {</pre><pre>let nav = document.getElementById(&#39;movie-list&#39;)</pre><pre>let img = document.createElement(&#39;img&#39;)</pre><pre>img.src = moviess.image</pre><pre>nav.append(img)</pre><p>The important part of data management in any software is made simpler by using the forEach method to loop through collections of data. Displaying user data and gathering data are two instances of employing a forEach method to loop over information. Given this, it could be difficult to decide when to choose the forEach method over other looping techniques.</p><p>JavaScript’s built-in conventional loops allow for conditional exit or termination. Using the break and return keywords, which indicate when the loop should finish, are two excellent examples of this. In contrast a forEach loop , does not permit the early termination of its execution. Instead, the loop will always continue running until it is finished after it has begun, with the exception of a breaking error.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e1359a2d0025" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>