<?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 Ricardo Cerqueira on Medium]]></title>
        <description><![CDATA[Stories by Ricardo Cerqueira on Medium]]></description>
        <link>https://medium.com/@ricardocerkeira0?source=rss-57d8fa915e8d------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*-NFfTlDO1o1N2Q__R_p1RA.jpeg</url>
            <title>Stories by Ricardo Cerqueira on Medium</title>
            <link>https://medium.com/@ricardocerkeira0?source=rss-57d8fa915e8d------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 13:56:03 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ricardocerkeira0/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[React, Svelte and Solid: The differences and advantages]]></title>
            <link>https://medium.com/mctw-tdw/react-svelte-and-solid-the-differences-and-advantages-13cf1bd94d72?source=rss-57d8fa915e8d------2</link>
            <guid isPermaLink="false">https://medium.com/p/13cf1bd94d72</guid>
            <category><![CDATA[front-end-development]]></category>
            <category><![CDATA[svelte]]></category>
            <category><![CDATA[solid]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[react]]></category>
            <dc:creator><![CDATA[Ricardo Cerqueira]]></dc:creator>
            <pubDate>Fri, 23 Feb 2024 12:02:53 GMT</pubDate>
            <atom:updated>2024-02-23T12:02:53.416Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*jWQQAGg3WabbC9qc" /></figure><p>What is the best JavaScript framework for each project? React, Svelte and SolidJS are three of the best-known frameworks in this scenario, and in this article they will be tested and compared in every respect.</p><p>The world of front-end development has been flooded with a series of new JavaScript frameworks, each with different functionalities and purposes. Among these frameworks, React, Svelte and SolidJS are some of the most widely used, each captivating a different audience with different ambitions.</p><p>This article aims to analyze the differences between these frameworks and question the need for so many options in the front-end development market. I intend to approach this subject from the point of view of the developer, who is looking to choose the most suitable framework for the development of future projects.</p><p><strong>The test</strong></p><p>Therefore, I considered it appropriate to develop a small project, a chat window (Figure 1), to test each framework in a real development environment.</p><p>To do this, I considered the following requirements:</p><ul><li>the reception of information sent by the user;</li><li>dynamic content updating;</li><li>the passing of information between components.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/542/1*9tvb8843TLcalqCAldjp9Q.png" /><figcaption>Figure 1 — Final version of the test</figcaption></figure><p>As far as the page’s styles are concerned, they were all implemented using a <a href="https://codepen.io/robstinson/pen/oNLaLMN">Tailwind CSS template</a> created by Rob Stinson.</p><p>The <a href="https://github.com/cerkeira/react_svelte_solid">project’s GitHub repository</a> is available, showing the implementation on each of the frameworks.</p><p><strong>React</strong></p><p>React revolutionized the web development space when it was launched, becoming the most widely used JavaScript front-end framework in the world.</p><p>One of the most important features of React is its use of the virtual DOM, which is able to update the different elements of the interface individually as a way of improving the application’s performance. React also uses the .jsx file extension, which is synonymous with a junction between HTML and JavaScript that is both accessible and easy to understand.</p><p>React is also characterized by the use of React hooks. These hooks are used to make it easier to use, update and manipulate states within each project. In this case, the useState hook (Figure 2) was used to define the values relating to: the content of the message sent, the sender of the message and the value of the text field.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/465/0*-oOXsLWA3vBfcFI0" /><figcaption>Figure 2 — UseState declaration.</figcaption></figure><p>The inputValue (Figure 3) is assigned the value of the application’s text field each time it is changed, via setInputValue. Then, when the user submits the message, the sendMessage function (Figure 4) is executed.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/692/0*v_0YG1jdNxtnyCSJ" /><figcaption>Figure 3 — Message sending form</figcaption></figure><p>This function, in turn, inverts the value of the subject, identifying the author of the message. It also sets the value of the message to be equal to the current value of the input and, finally, deletes the value of the input.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/375/0*6NTGf04RqP5ccRdi" /><figcaption>Figure 4 — sendMessage function</figcaption></figure><p>After all this information has been collected, the Message component receives these values via props, one of the ways of sharing data between components within a React application, which sends information from the parent component to the child using parameters.</p><p>Through another React hook, useEffect, it is possible to declare functions that will be executed as secondary effects whenever there is a change or update to the values defined as dependencies.</p><p>This effect hook (Figure 5) is triggered whenever the values of the props sent to the component are updated, and its function is to add the values of the message just sent by the user to the array (messages). To do this, I use setMessages, to change the value of the array, and spread operators, to copy all or part of an array or object into another.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/450/0*XyUB17DvGnt2PuG2" /><figcaption>Figure 5 — useEffect</figcaption></figure><p>At the end of all this, a map is made through the messages array that returns each message, assigning the corresponding values and styles to each one.</p><p><strong>Svelte</strong></p><p>Svelte stands out for offering an innovative approach to front-end development, presenting itself as an effective alternative to React. The absence of a virtual DOM and compilation during the build process guarantee Svelte’s efficiency in creating optimized web applications.</p><p>Svelte also differentiates itself by not using .jsx, opting instead for the .svelte extension. The structure of a Svelte document differs significantly from the conventional .jsx format, with the HTML written directly in the body of the document, while the JavaScript logic is contained in a &lt;script&gt; tag.</p><p>Another major difference between Svelte and React is the absence of hooks such as useState. Since this hook is used in React to update a variable in real time, it is no longer necessary in Svelte, since in this framework the state control within the application is done automatically.</p><p>Thanks to optimizations like these, in Svelte it is no longer necessary to declare a function or reference to collect the value of an input in real time, and the bind:value parameter (Figure 6) is responsible for simplifying this task.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/647/0*_mZkIq4icTABAR7v" /><figcaption>Figure 6 — The same input, in Svelte and React</figcaption></figure><p>In the Message component, the useEffect hook is replaced by the afterUpdate function (Figure 7) which is triggered whenever any of the component’s states are updated.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/420/0*9tzYNeKDq7856iRG" /><figcaption>Figure 7 — AfterUpdate function</figcaption></figure><p><strong>SolidJS</strong></p><p>SolidJS introduced yet another paradigm shift in JavaScript front-end development, through its direct manipulation of the DOM and its reactive structure, which is responsible for making each Template be rendered in its entirety at once, unlike React’s approach which renders each component from “top to bottom” in an abstract way.</p><p>During the development of the test in SolidJS, the differences with React, in terms of syntax and structure, were not very noticeable, as both frameworks are very similar in these respects.</p><p>The only relevant differences between the syntax of React and SolidJS are the use of Signals instead of states, for the real-time updating of states, and the replacement of React hooks with standard functions, such as the createEffect function, which has the same role as useEffect in React.</p><p>That being said, SolidJS was the only framework that required the implementation of logic (Figure 8) to prevent the same message from being displayed more than once, given that it was the only version of the project that manifested this problem.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/609/0*l9-DIbsSm_stp04m" /><figcaption>Figure 8 — Logic to avoid repeating messages</figcaption></figure><p><strong>Intangible differences</strong></p><p>This section of the article is reserved for understanding the less apparent differences between each of these frameworks.</p><p>The first major difference is the performance of each framework. To compare them, I’m going to use the JS Framework Benchmark developed by a member of the community and which can be consulted via<a href="https://github.com/krausest/js-framework-benchmark"> its GitHub repository</a>.</p><p>In this respect, React stands out as the slowest competitor, taking longer to complete tasks in all scenarios than Svelte and SolidJS. However, it’s important to note that the difference in time taken per task between React and the others is quite large, with React being up to 8 times slower than the competition.</p><p>On the other hand, the difference in performance between SolidJS and Svelte is minimal, with most tests running faster in Svelte, but by margins of between 2 and 20 milliseconds per task.</p><p>Despite React’s clear disadvantage compared to other frameworks when it comes to performance, this is countered by its huge community and community library that has modules for any scenario, need and project.</p><p>Svelte and SolidJS also have an extensive library, however, these are still small compared to React’s, as is its developers’ community, as illustrated by the <a href="https://survey.stackoverflow.co/2023/">Stack Overflow Survey 2023</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/532/0*0MoBJ5FilCOWk5UH" /><figcaption>Figure 9 — Popularity of each framework according to the Stack Overflow Survey 2023</figcaption></figure><p><strong>Conclusion</strong></p><p>In short, the discussion about JavaScript frameworks and their position in the market has no definitive answer, as they continue to innovate in this area in unexpected ways.</p><p>For those looking for a framework with extensive community support and a vast library of modules, React remains the market standard. Svelte, on the other hand, offers a unique experience, with its own syntax, and is an alternative for those who don’t feel confident developing projects with a syntax like that of React. Solid, on the other hand, is ideal for those who want an environment similar to React, but focused on performance, even if this means less support from the developer community.</p><p>In conclusion, each framework has its own target audience and it is crucial to understand their differences before making a definitive choice between them.</p><p><strong>References</strong></p><ul><li><a href="https://tailwindcss.com/docs/guides/solidjs">Install Tailwind CSS with SolidJS - Tailwind CSS</a></li><li><a href="https://tailwindcss.com/docs/guides/sveltekit">Install Tailwind CSS with SvelteKit - Tailwind CSS</a></li><li><a href="https://tailwindcss.com/docs/guides/create-react-app">Install Tailwind CSS with Create React App - Tailwind CSS</a></li></ul><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fcodepen.io%2Frobstinson%2Fembed%2Fpreview%2FoNLaLMN%3Fdefault-tabs%3Dhtml%252Cresult%26height%3D600%26host%3Dhttps%253A%252F%252Fcodepen.io%26slug-hash%3DoNLaLMN&amp;display_name=CodePen&amp;url=https%3A%2F%2Fcodepen.io%2Frobstinson%2Fpen%2FoNLaLMN&amp;image=https%3A%2F%2Fshots.codepen.io%2Fusername%2Fpen%2FoNLaLMN-512.jpg%3Fversion%3D1604888981&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=codepen" width="800" height="600" frameborder="0" scrolling="no"><a href="https://medium.com/media/7b2abd54f0933722526f3f527a3694b3/href">https://medium.com/media/7b2abd54f0933722526f3f527a3694b3/href</a></iframe><ul><li><a href="https://www.solidjs.com/">Solid: Fine-grained reactive UI</a></li><li><a href="https://www.solidjs.com/guides/comparison">SolidJS</a></li><li><a href="https://svelte.dev/docs/introduction">Introduction</a></li><li><a href="https://www.toptal.com/react/solidjs-vs-react">SolidJS vs. React: The Go-to Guide | Toptal®</a></li><li><a href="https://github.com/krausest/js-framework-benchmark">GitHub - krausest/js-framework-benchmark: A comparison of the performance of a few popular javascript frameworks</a></li><li><a href="https://survey.stackoverflow.co/2023/">Stack Overflow Developer Survey 2023</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=13cf1bd94d72" width="1" height="1" alt=""><hr><p><a href="https://medium.com/mctw-tdw/react-svelte-and-solid-the-differences-and-advantages-13cf1bd94d72">React, Svelte and Solid: The differences and advantages</a> was originally published in <a href="https://medium.com/mctw-tdw">MCTW_TDW</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Micro-interactions are crucial to User Experience Design]]></title>
            <link>https://medium.com/@ricardocerkeira0/micro-interactions-are-crucial-to-user-experience-design-57326f4217e6?source=rss-57d8fa915e8d------2</link>
            <guid isPermaLink="false">https://medium.com/p/57326f4217e6</guid>
            <category><![CDATA[ux-design]]></category>
            <category><![CDATA[ux]]></category>
            <category><![CDATA[ui]]></category>
            <category><![CDATA[design]]></category>
            <category><![CDATA[web-design]]></category>
            <dc:creator><![CDATA[Ricardo Cerqueira]]></dc:creator>
            <pubDate>Sat, 12 Aug 2023 17:58:52 GMT</pubDate>
            <atom:updated>2023-08-12T17:58:52.086Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/512/1*iJWOf2npQ1BnhzPRkTjoAw.png" /></figure><h4>Introduction</h4><p>When it comes to User Experience Design details are important to guide those using the product, which is the reason why micro-interactions are a common characteristic of all the best-designed products in the world.</p><p>Be it the sound of a notification, or the swipe motion to send an e-mail to the trash, micro-interactions are small actions or pieces of feedback given to the users that enhance their overall experience.</p><h4>Micro-interactions around the world</h4><p>Even before they turned into a crucial part of web design, micro-interactions were already important in the realm of product design.</p><p>From the sound that a car door makes as it closes to the feeling of turning a knob, micro-interactions are essential to make sure that the experience of using a product is satisfactory instead of frustrating.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FMJesIniGVjM%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DMJesIniGVjM&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FMJesIniGVjM%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/5faf46c5b36ec30f57e05ba7113eaebd/href">https://medium.com/media/5faf46c5b36ec30f57e05ba7113eaebd/href</a></iframe><p>The importance of these details quickly became apparent once the design process turned into a clearly defined step in the software development process. Some of the more basic micro-interactions that can be found in most designs of digital products today are hover effects, which identify buttons, or the change of color of a link after being visited.</p><h4>How to implement these details?</h4><p><strong>Find the right places to use them</strong></p><p>Even though micro-interactions are extremely important, keep their purpose in mind, they’re supposed to guide the user, if you use them too much, the user might end up getting lost.</p><p>Keep that in mind, you need to identify the moments and actions that should be complemented (Figure 1) with these micro-interactions, using them to clarify the navigation of the product.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*liodGqZ2O1EAaUEQh9bBYQ.gif" /><figcaption>Figure 1 — Figma’s gradual loading screen turns a boring loading into an engaging process for the user</figcaption></figure><p><strong>Provide feedback</strong></p><p>Not all micro-interactions need to be an extremely relevant feature, some of them can be purely aesthetical, but those aesthetical interactions shouldn’t be the norm in your design. Most micro-interactions have the primary goal of giving some extra information to the user (Figure 2), and that’s what you should use micro-interactions for.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FenibgH0v5K1woggU5-AkA.gif" /><figcaption>Figure 2 — Google Assistant’s animation gives feedback to the user</figcaption></figure><p><strong>Consistency</strong></p><p>It doesn’t matter the purpose or functionality of your micro-interactions if they are not consistent with your design work.</p><p>As in any other component of user experience design, micro-interactions need to follow a cohesive design language (Figure 3) to make sure they behave predictably and don’t distract the user.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*sb_Upp_Fqm9esblyAoXqHw.gif" /><figcaption>Figure 3 — Reactions to Facebook posts follow the same design pattern as their emojis across different apps</figcaption></figure><p><strong>Performance</strong></p><p>As in the development process of any other feature, designers must make sure the implementation of the features designed is possible given the resources available and the target audience of the product.</p><p>Micro-interactions such as complex animations can quickly bottleneck the performance of an app (Figure 4) if not applied cautiously, so use them carefully.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*Wp7TKmGvYM2v3dxoMbqzNA.png" /><figcaption>Figure 4 — Reactions in the Facebook Lite app lack fancy animations, preventing performance issues</figcaption></figure><p><strong>Test</strong></p><p>Test your designs. This is one of the most important lessons for a UX/UI designer which firmly applies to features like micro-interactions. Even when you respect all the other lessons you have learned about micro-interactions and design, no design is perfect, and a design is never complete if it hasn’t been tested by real users.</p><p>Make sure your design is tested with your micro-interactions implemented, to guarantee that these are not prejudicial to the design.</p><h4>Conclusion</h4><p>Micro-interactions are a powerful tool for elevating your UX/UI design work. Following some key concepts you can create a user experience that is not only functional but also delightful and engaging.</p><p>Through thoughtful implementation, your designs can take the next step from “good enough” to “excellent”.</p><p>Smart designs are good designs.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=57326f4217e6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Battle of the Local Development Titans: XAMPP vs Laragon]]></title>
            <link>https://medium.com/@ricardocerkeira0/battle-of-the-local-development-titans-xampp-vs-laragon-fe3ef3d6f358?source=rss-57d8fa915e8d------2</link>
            <guid isPermaLink="false">https://medium.com/p/fe3ef3d6f358</guid>
            <category><![CDATA[php]]></category>
            <category><![CDATA[laragon]]></category>
            <category><![CDATA[local-development]]></category>
            <category><![CDATA[mysql]]></category>
            <category><![CDATA[xampp]]></category>
            <dc:creator><![CDATA[Ricardo Cerqueira]]></dc:creator>
            <pubDate>Sun, 30 Jul 2023 01:36:33 GMT</pubDate>
            <atom:updated>2023-07-30T09:34:08.439Z</atom:updated>
            <content:encoded><![CDATA[<h3>Battle of the Local Development Titans: Laragon vs. XAMPP</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XDIrX3hwZV7nzjMp517yAg.jpeg" /></figure><h4>TL;DR</h4><p>Both XAMPP and Laragon offer valuable solutions for local server environments, but I believe the choice between these two programs boils down to if you are not a Windows user or if you need specific features only compatible with XAMPP, you should stick to XAMPP. For all other developers though, I recommend giving Laragon a try.</p><h4>Note that:</h4><p>This article and comparison are exclusively aimed at Windows users since that’s the only operating system supported by Laragon, while XAMPP can be used in the three major operating systems, those being Windows, MacOS (both Intel and ARM CPUs), and Linux. This ultimately means that if you are not a Windows user, Laragon is not an option for you.</p><h4>The Contenders</h4><p>Local server solutions are pivotal in facilitating development processes. Such technologies enable developers to develop and test their projects locally, meaning these software packages must be highly stable and practical.</p><p>Two of the biggest contenders in this field are XAMPP, a 20-year-old open-source project widely used by developers, and Laragon, a relatively young project developed by Leo Khoa with a single goal: “to make web development fast, fun &amp; enjoyable”.</p><p>This article aims to explore the key features of Laragon and XAMPP, dissecting their respective strengths and weaknesses. It will take an in-depth look at their installation processes, community support and documentation, interface usability, compatibility with different technologies and operating systems, and extra features.</p><p>So, without further ado, let’s determine which local server reigns supreme!</p><h4><strong>Installation process</strong></h4><p><strong>XAMPP</strong></p><p>The installation process for XAMPP is not bad, apart from a few quirks.</p><p>First of all, it’s typical for developers installing XAMPP to find this pop-up (Figure 1) before the installation wizard shows up. But your mileage may vary since I have never encountered this warning in the 5–6 times I have had to install XAMPP, and it seems to only be an issue in older versions of the software.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*WBN4Cm5WiNYPJ4fbXqSStg.jpeg" /><figcaption>Figure 1 — Antivirus Question</figcaption></figure><p>This window informs the user that the presence of an antivirus might slow down or interfere with the installation, then asks if the user pretends to continue with the installation. This is nothing more than a friendly indication to the user, and assuming he wishes to continue, the installation typically proceeds without major issues.</p><p>After that, you get another pop-up (Figure 2), which I have encountered plenty of times, warning you that XAMPP should not be installed in the <em>Program Files(x86) </em>folder if UAC is enabled.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*r_Or5YkA417wnqEGinKKTA.jpeg" /><figcaption>Figure 2 — UAC Warning</figcaption></figure><p>The last important stage of the installation process is the “Select Components” tab (Figure 3) which we’ll talk about later.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/499/1*P8YT_Xsgfu8wAuz6tPHr0w.jpeg" /><figcaption>Figure 3 — Select Components</figcaption></figure><p>Apart from these, the rest of the installation process sums up to choosing the destination folder and waiting for the installation to finish.</p><p><strong>Laragon</strong></p><p>Laragon’s installation is much simpler, there are no pop-ups or warnings and the whole installation can be done from start to finish with 3–4 clicks.</p><p>Apart from the “Select Destination Location” tab, the only other moment of decision is the “Auto start, Auto detect and create virtual hosts” tab (Figure 4).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/507/0*8NNmcCPaTaKG7WVC.png" /><figcaption>Figure 4 — The only moment of decision</figcaption></figure><p>Here, I recommend checking the “Auto virtual hosts” checkbox, since this is a very handy feature. The other 2 options are up to personal preference.</p><p>As far as the installation process goes, Laragon is the simpler and faster option.</p><h4><strong>Community support and documentation</strong></h4><p><strong>XAMPP</strong></p><p>When it comes to the official documentation, XAMPP has nothing other than the release notes and 4 <em>pdfs </em>about hosting and migrating your application to different cloud services.</p><p>But that’s one of the biggest pros of XAMPP, even though it barely has any official documentation, the amount of users is so large that the community works as all the documentation you need. There will always be someone out there that had the same problem as you and can now pass on the knowledge of how to fix it.</p><p><strong>Laragon</strong></p><p>Laragon is exactly the opposite, having most of the features of the software carefully detailed and described in the documentation present on the official website.</p><p>But official documentation can only do so much and it’s likely we will end up running into a problem that isn’t described in the website, and that’s when the community comes in. Laragon’s community is smaller than XAMPP’s, meaning it might be harder for you to find the solution to your problems, but you will probably be able to find it anyway, you might just need to dig a bit deeper than normal.</p><p>As a tip for all developers having issues while working with Laragon, the “Discussions” tab (<a href="https://github.com/leokhoa/laragon/discussions">https://github.com/leokhoa/laragon/discussions</a>) in Laragon’s GitHub repository seems to be very active, with tutorials and questions being posted regularly by members of the community.</p><p>With that being said, I believe the enormous size of XAMPP’s community is a big reason enough to give it the win in this regard. But it’s worth pointing out that the Laragon community keeps growing, meaning this scenario will probably change in the future.</p><h4>Interface Usability</h4><p><strong>XAMPP</strong></p><p>When it comes to the user experience and interface, XAMPP’s approach is pretty simple, a control panel (Figure 5) with one row for each component a user might need and 4 buttons to control each of those components. There are also some extra buttons to configure the settings directly related to XAMPP’s functionality in a column on the right of the control panel.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/750/1*z2hHtvuS6Qexsstg1AHJ1A.png" /><figcaption>Figure 5 — XAMPP’s Control Panel</figcaption></figure><p>The 2 main buttons for each component are the “Start” button, which, for example in the case of Apache, will start a local Apache server, and the “Config” button, which gives the user easy access to the folders where the configuration files of each component are present.</p><p><strong>Laragon</strong></p><p>Laragon’s approach (Figure 6) to user experience is very similar to XAMPP’s, with the big difference being in the way each function is accessed since most of the navigation in Laragon is made through the right-click menu.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/668/1*QmJQOnGj-O4myOVZM1yFow.png" /><figcaption>Figure 6 — Laragon’s UI before starting any component + right-click button</figcaption></figure><p>That being said, I don’t think we can claim a clear winner in this category.</p><h4>Compatibility</h4><p>If we are talking about compatibility with operating systems, we need to address the elephant in the room. As we have pointed out already, XAMPP is compatible with all three major OS options, while Laragon is limited to Windows.</p><p>But, assuming everyone reading this article uses Windows as their main OS, I don’t think XAMPP’s array of compatible technologies is comparable with Laragon’s list.</p><p><strong>XAMPP</strong></p><p>Going back to the “Select Components” (Figure 7) tab during XAMPP’s installation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*P8YT_Xsgfu8wAuz6tPHr0w.jpeg" /><figcaption>Figure 7 — List of Xampp’s available Components</figcaption></figure><p>Looking closely we see that, when it comes to widely used technologies, XAMPP is limited to:</p><ul><li>HTTP servers: Apache</li><li>Database management: MySQL/MariaDB</li><li>Database administration: phpMyAdmin</li><li>Programming Languages: PHP and Perl</li><li>Extra: FileZilla (FTP), Mercury (Mail)</li></ul><p><strong>Laragon</strong></p><p>Here’s the same list but for technologies compatible with Laragon:</p><ul><li>HTTP servers: Apache and Nginx;</li><li>Database management: MySQL/MariaDB, MongoDB, and Postgres</li><li>Database administration: phpMyAdmin and HeidiSQL</li><li>Programming Languages “out of the box”: PHP, Node.JS, and Python</li><li>Programming Languages that can be added afterward: Ruby on Rails, Java, and GO</li><li>Extra: “Mail Catcher” and “Mail Sender” (Laragon’s features to test emails from a local server), Wildcard DNS, and Ngrok</li></ul><p>In some specific use cases, like the need for FileZilla or Mercury compatibility, XAMPP comes out on top. But if those technologies are not a “deal-breaker” for you, I think Laragon represents a much more complete developer toolkit.</p><h4><strong>Extra features</strong></h4><p>Until this point in the article, Laragon seems to be on par with XAMPP’s features and it seems that, apart from some very specific features, the decision is mostly up to personal preference.</p><p>That being said, at this point, we have covered most of the major features of XAMPP, but we are not done with Laragon, which has many interesting features that aim to make the life of a developer a little bit easier, the most relevant ones being:</p><ul><li>Isolated Environment, which allows features like easily switching between versions (PHP, Apache, NodeJS, etc.) to exist;</li><li>Quick WordPress, Laravel, and Symfony app creation;</li><li>“Quick add”, which lets you add support for various languages with just a few clicks;</li><li>“Quick share” by QR Code with Ngrok;</li><li>Portability, allowing you to move the Laragon folders without worrying about losing databases;</li><li>“Pretty URLs”, a feature that configures virtual hosts automatically!</li></ul><h4>Final Thoughts</h4><p>XAMPP’s long-standing presence in the field has granted it a massive user base, resulting in extensive community support.</p><p>On the other hand, Laragon’s official documentation is comprehensive, detailing the software’s features and functionalities, but its smaller community might pose slight challenges in finding specific solutions.</p><p>When it comes to interface usability, both XAMPP and Laragon offer user-friendly UIs, each with its unique approach.</p><p>Compatibility is a significant factor to consider since XAMPP’s compatibility across various operating systems gives it a distinct advantage, but for Windows users, Laragon offers a more extensive list of compatible technologies, making it a more comprehensive developer toolkit.</p><p>Furthermore, Laragon stands out with its range of extra features, such as version switching, quick app creation, and convenient tools like “Quick add” for language support and “Quick share” with Ngrok.</p><p>Ultimately, I believe the choice between these two programs boils down to if you are not a Windows user or if you need the FileZilla or Mercury functionality, go with XAMPP. For all other developers, I recommend giving Laragon a try.</p><p>Keep in mind that this article aims to be a detailed comparison between both software packages, and all conclusions taken here about which one of these is the “Winner” is merely a question of personal opinion.</p><p>To conclude, I recommend everyone willing to give Laragon a try to read this small article written by Leo Khoa (Developer of Laragon) about the future of the project:</p><p><a href="https://medium.com/@leovn/how-i-created-laragon-and-the-current-status-of-laragons-development-bc927c5ce1d6">How I Created Laragon and the Current Status of Laragon’s Development</a></p><p>Happy Coding!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fe3ef3d6f358" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Reevaluating the Necessity of CI/CD Pipelines for Small Side Projects]]></title>
            <link>https://medium.com/@ricardocerkeira0/reevaluating-the-necessity-of-ci-cd-pipelines-for-small-side-projects-566d419f40ef?source=rss-57d8fa915e8d------2</link>
            <guid isPermaLink="false">https://medium.com/p/566d419f40ef</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[ci-cd-pipeline]]></category>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[git]]></category>
            <category><![CDATA[devops]]></category>
            <dc:creator><![CDATA[Ricardo Cerqueira]]></dc:creator>
            <pubDate>Thu, 27 Jul 2023 16:42:38 GMT</pubDate>
            <atom:updated>2023-07-27T17:21:36.065Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="What does DevOps mean" src="https://cdn-images-1.medium.com/max/1024/1*6x7gT5mCslZarr0XpMgZhQ.jpeg" /></figure><h4><strong>TL;DR</strong></h4><p>Continuous Integration and Continuous Deployment (CI/CD) pipelines are valuable for large-scale projects but may not be necessary for small-side projects. Implementing a CI/CD pipeline is worth considering if the project requires long-term maintenance, frequent updates, or demands high stability. However, for short-term projects, projects focused on learning, or those with smaller teams, the complexity and cost of implementing CI/CD Pipelines may outweigh the benefits.</p><p>Properly evaluating project goals, development complexity, and the team’s experience with CI/CD is crucial in making the right decision. Ultimately, there is no objective answer, but thoughtful consideration can lead to more efficient and enjoyable development experiences.</p><h4><strong>Object of study</strong></h4><p>In the fast-paced world of software development, with the existence of tools like Docker and GitLab, Continuous Integration and Continuous Deployment (CI/CD) Pipelines have become synonymous with streamlined, efficient workflows.</p><p>Such pipelines offer automation, scalability, and faster development cycles, which can be incredibly valuable for large-scale projects made by big teams.</p><figure><img alt="CI/CD Pipeline" src="https://cdn-images-1.medium.com/max/1024/0*qYyPyRKZw6SQRlhk" /></figure><p>However, when it comes to side projects, where scope, scale, and team sizes differ significantly from enterprise-level development, an important question arises:<strong> is implementing a CI/CD pipeline worth it for these smaller projects?</strong></p><p>While CI/CD undoubtedly brings an array of benefits, I believe a lot of developers forget to properly weigh the costs of implementing such complex technologies, especially for projects which might have short development times or no continuous support after release.</p><figure><img alt="DevOps" src="https://cdn-images-1.medium.com/max/1024/0*CAgDt8_IFWZ81Ewa.png" /></figure><h4><strong>Why answer this question?</strong></h4><p>Every project in the programming world needs to be prepared with extreme caution to make sure the developers are focusing their efforts on the right features and technologies during the development process. That’s why we need to make sure we are taking into consideration all of the pros and cons of spending large amounts of time and resources to develop and use complex technologies, as is the case for the implementation of CI/CD Pipelines.</p><p>With that said, there’s a handful of topics that will be talked about in this article, these make up a list of important things to take into consideration when deciding if you should or shouldn’t implement a CI/CD Pipeline for the development of a small project, these being:</p><ul><li>Long-term maintenance;</li><li>Development process complexity;</li><li>Project goals;</li><li>Learning curve (if applicable).</li></ul><h4>When is it worth it?</h4><p><strong>Long-term maintenance</strong></p><p>Again, CI/CD Pipelines can greatly improve the development process for developers, and there are some cases where it is worth it to implement it, even in small projects. For example, if such a project has the ambition of becoming a greater affair, or if it’s expected that the project will have long-term support and updates, a CI/CD Pipeline is essential to guarantee the stability of the project down the line.</p><p>That being said, for short-term focused projects, a CI/CD Pipeline might just create an unnecessary burden for the developers, given the limited amount of versions of the software released.</p><p><strong>Development process complexity</strong></p><p>The complexity and frequency of updates of the project being developed should be taken into consideration when taking such decisions about the priorities of the development team. If the team in question is small and doesn’t update the development codebase frequently, developers will be able to find and fix any bugs or problems (that would, otherwise, be brought to attention by Continuos Integration) during the development process.</p><p><strong>Project goals</strong></p><p>When it comes to the characteristics of a project, some projects are almost required to have a functional and well-implemented CI/CD Pipeline, like those that need to guarantee the stability of a service thoroughly used by customers.</p><p>On the other hand, most small projects don’t require such “bullet-proof” stability and if the focus of a project is to learn or get more experience in a determined technology, there is an argument to be had about the possibility of a CI/CD Pipeline becoming disadvantageous for the learning path of a developer.</p><p><strong>Learning curve</strong></p><p>And as the most obvious topic, the learning curve necessary to implement a CI/CD Pipeline should influence the decision of implementing it. If the team as a developer is extremely experienced with these kinda of technologies the time and effort required to implement such technologies will decrease while the quality and usability of the implemented solution will, most likely, increase. Taking that into consideration, if the team doesn’t have such a developer, the time and effort of implementing a CI/CD Pipeline will add up to the time and effort required to learn and refine their implementation.</p><p><a href="https://www.freecodecamp.org/news/devops-engineering-course-for-beginners/">DevOps Engineering Course for Beginners</a></p><h4>Conclusion</h4><p>CI/CD Pipelines are great! They help developers identify bugs and problems as quickly as possible before the faulty code is even merged with the rest of the codebase. After making sure there are no issues with the updates being committed, they help developers again by facilitating the process of deploying such updates.</p><p>But when it comes to small side projects, they, most likely, don’t need and will not beneficiate from a CI/CD Pipeline. These projects don’t frequently have such tragic bugs, they are developed by smaller teams and have slower update cycles, meaning that the burden of implementing complex technologies to help find bugs or deploy faster might not be worth it. Bugs are much easier to be found quickly in small projects and the deployment can, most of the time, be made manually without worrying too much about downtime of the service.</p><p>As always, there is no right or wrong answer to this kind of question, but even then I hope this article works as a reminder that there is more to programming than writing code, thinking ahead of the development is a big part of it, and will, for sure, make your life as a developer much easier and enjoyable.</p><p>Is also important to note that I purposely decided to leave points about the possible monetary cost of implementing CI/CD Pipelines aside, given that, nowadays, is possible to spend large amounts of money to implement such technologies, but is also possible to do it for basically free.</p><p>Any platform or service-specific (GitHub, GitLab, Jenkins, etc.) topics were also left behind given that, even though I researched the topic thoroughly, my real-world experience with the implementation process of CI/CD Pipelines is very limited, especially when it comes to comparing different solutions and services.</p><p>There is a large number of articles and posts about why it’s worth it to implement a CI/CD Pipeline on almost all of your projects, but the idea to write this article came mainly from this very well-documented post I recently read:</p><p><a href="https://betterprogramming.pub/even-the-smallest-side-project-deserves-its-ci-cd-pipeline-281f80f39fdf">Even the Smallest Side Project Deserves its CI/CD Pipeline</a></p><p>Happy coding!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=566d419f40ef" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>