<?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 MagmaLabs on Medium]]></title>
        <description><![CDATA[Stories by MagmaLabs on Medium]]></description>
        <link>https://medium.com/@MagmaLabs?source=rss-220799879097------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*QzD1a_NsR0uePrxBseozBw.png</url>
            <title>Stories by MagmaLabs on Medium</title>
            <link>https://medium.com/@MagmaLabs?source=rss-220799879097------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 14:11:01 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@MagmaLabs/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[PDF and XLSX reports with Ruby on Rails]]></title>
            <link>https://medium.com/@MagmaLabs/pdf-and-xlsx-reports-with-ruby-on-rails-b00b84aa7ccf?source=rss-220799879097------2</link>
            <guid isPermaLink="false">https://medium.com/p/b00b84aa7ccf</guid>
            <category><![CDATA[engineering]]></category>
            <category><![CDATA[pdf]]></category>
            <category><![CDATA[excel]]></category>
            <category><![CDATA[ruby-on-rails]]></category>
            <category><![CDATA[development]]></category>
            <dc:creator><![CDATA[MagmaLabs]]></dc:creator>
            <pubDate>Fri, 17 Apr 2020 15:21:46 GMT</pubDate>
            <atom:updated>2020-04-17T15:21:46.361Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*_WfHerHFnVNz9b1ikb518w.png" /></figure><p>How to generate PDF and Excel reports on Rails using Wicked PDF and AXLSX.</p><p>Wicked_PDF</p><p>If you are involved in the web development world, you might notice your clients ask you for a way to export information from the web app to a file in a format that they are more familiar with, for instance, Excel or PDF. This is very common in web development, so common that there are in fact several libraries or gems whose only purpose is to make this process easier.</p><p>For this tutorial, we will be using Ruby as our programming language, and Ruby On Rails. On top of this, we will use Heroku to store our web application.</p><p>For the libraries, we will use axlsx_rails gem to export to excel and wicked_pdf for PDF exporting. First, I will show you how to use the Wicked PDF. For this, you would need to have a working application in Ruby on Rails.</p><p>Not only we will get into how to install and start while using these libraries, but we will also mention some issues or problems we encounter when first using these gems and how we can be able to solve these issues and continue using the gems with no more problems. Some of those issues are mainly about compatibility between the computer being used in the project, and the server which is storing our web application (Heroku).</p><p>Before we go into any further details, let’s get some context from the official documentation: “Wicked PDF uses the shell utility wkhtmltopdf to serve a PDF file to a user from HTML. In other words, rather than dealing with a PDF generation DSL of some sort, you simply write an HTML view as you would normally, then let Wicked PDF take care of the hard stuff.”</p><p>The first step to include Wicked PDF in your project is to have the gem and all its dependencies declared in the Gemfile of our project. So go ahead and open the Gemfile in your project and add the following lines.</p><pre><strong>gem</strong> ‘wicked_pdf’<br><strong>gem</strong> ‘wkhtmltopdf<strong>-</strong>binary</pre><p>The first one is the Gem itself, and the second gem being declared is a binary file or dependency which the gem needs to install so the main gem can work properly.</p><p>Now we need to install the gem; do a bundle install. The next step now is to declare a new MIME-Type in our project. For that go to config/initializers/mime_types.rb</p><pre><strong>Mime</strong>::<strong>Type</strong>.register “application<strong>/</strong>pdf”, :pdf</pre><p>MIME Type is a method that you call on the block object format or the symbols that you pass to respond_to in your controllers. It Is basically adding a new format to the application so you can pass it to the respond_to method.</p><p>Like most gems, once everything is set up we need to load or install the initial configurations, which are often done by using the rails command and the generated statement along with the name of the gem to install; something like this…</p><pre>rails generate wicked_pdf</pre><p>This will create a new file under the config/initializers path with the name wicked_pdf.rb, we might actually use this file later, feel free to take a look at it.</p><p>Now we have pretty much everything we needed for the gem to work. Let’s start using it then. Keeping in mind the definition of Wicked PDF previously saw on the official documentation, we know that Wicked PDF works with a template or view that includes HTML content and then transforms that content to pdf format.</p><p>So the first thing to do now it’s to determine which controller is the one that handles the date that you need for the PDF, once you know this, you can make a specific action of that controller to respond to a new format, in our case PDF.</p><p>Let me give you an example of this. Let’s say you have an application that stores the information of a series of car dealerships. Naturally, your application would have to show the action that displays the information for a given dealer, so what a better way to send this information to someone who does not have access to this web application than exporting that information to a PDF, and then send it to that person.</p><p>Following the previous example, we can then modify the show action to respond to the desired format (as long as this format exists in the application).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/658/0*k__a26dAJFe4eGbg" /></figure><p>With the previous statement, we are letting Rails know that from now on, the show action will respond to both HTML and pdf formats; for the first one, it will look for the html.erb view and for the second one, it will look for a show view under reports_results directory that has a pdf.erb format. If you do not specify anything in the template tag, then it will look by default in the views that belong to the controller, the action’s view and in the specified format.</p><p>The second helper :pdf helps us define the name of the generated file, for instance, if the user hits generate pdf Rails, this will load the view specified in the controller and it will set the name of that file to individuals_reports so when the user downloads the pdf, its name will be individual_reports by default. This is actually very helpful since you can implement a naming convention, including filters or some other information that you want the user to be aware of.</p><p>Always remember to name your pdf views as follows pdf.erb, or if you are using html then use the following extension html.haml.</p><p>These two helpers used in the previous examples are just a few of the ones available with wicked pdf. So far, those are pretty much the only ones that I have needed in order to work with the gem. I will leave you a brief list of some other helpers that are included with the gem which you might actually find useful.</p><p>disposition: the disposition helper allows you to either downland directly the pdf as a file, or just open it in a different tab without downloading the file.</p><p>Now that we already told our controller and its action to respond to the pdf format, we need to create a new view file with the right extension, which is the pdf.erb extension. For our example and in order to keep it consistent, we will create a new file named ‘show.pdf.erb’ since we told the controller that the view or template that we want to use was in the views/reports_results/ path under the name of ‘show’ and with the pdf object or helper, Rails assumes that the file will have a pdf.erb extension.</p><p>If you want to try if the setup is actually working, what you can do is add maybe an h1 or a simple HTML tag to see if the view is actually being called by the controller and the action. If it is, it will open a new tab with the pdf file and show you the HTML tag you used. You can test this by adding the URL directly with the right extension which for this test would be (.pdf) so it can be something more or less like this ‘localhost/reports_results/1.pdf’, this way it will know the controller that we are referring to the action and the format that we need.</p><p>Another way to test this would be to create a simple button_to or link_to and then specify the route and the format that you want to access.</p><pre>link_to ‘Export to PDF’, reports_result_path(format: ‘pdf’, dealer)</pre><p>Here we are declaring a link to the reports_results controller, but because we are using singular word instead of the plural one, and because of the Rails routes the framework, it assumes that we are referring to the show action and it asks us for a reference to look the right information. In our case we want to obtain the report for a specific dealer, so we pass the dealer object which contains the dealer’s information, that way the controller will only return the information for the report of that specific dealer that we want.</p><p>Now that we know how to obtain the data from the database by using the controller and the rails conventions, we can start declaring some styles for our pdf template, for that we need to use some of the wicked pdf helpers to include CSS stylesheets in our view. The necessary helper is the:</p><pre>wicked_pdf_stylesheet_link_tag</pre><p>This helper allows us to specify a stylesheet file in which we want to include the styles for our pdf template, the easiest way is to declare the application file, that way the wicked pdf will look in the assets path for all the files and styles that belong to the pdf template.</p><p>Like this:</p><pre>wicked_pdf_stylesheet_link_tag ‘application’</pre><p>Or you can also include the absolute path of specific files you want to use.</p><pre>wicked_pdf_stylesheet_link_tag &#39;assets/styles/reports/reports.scss&#39;</pre><p>It is also possible to use CSS libraries like Bootstrap. The only thing you need to consider is that you need to include all the necessary dependencies. It would look something like this:</p><pre><strong>=</strong> stylesheet_link_tag &quot;https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css&quot;<br><strong>=</strong> wicked_pdf_stylesheet_link_tag &#39;dashboard&#39;, media: &#39;all&#39;, &#39;data-turbolinks-track&#39; <strong>=&gt;</strong> true<br><strong>=</strong> wicked_pdf_stylesheet_link_tag(&#39;bootstrap&#39;)</pre><p>The example above is only for Bootstrap. In case you want to use different libraries, you would need to do a little research but in essence, it is very similar to the bootstrap example.</p><p>In here I would like to do a brief parenthesis to tell you some problems that I have faced while using the gem in a project for a big client. It turns out that the default binary that wicked pdf uses (in this case the latest binary) is not fully compatible with all computers. There are some computers that have different binaries for pdf, and there the functionality in those devices (like my MacBook Air) is not as it should be. The main issue that I experimented is that when I was showing some content in the pdf file, it looked good on my computer, but when that same view rendered on a different computer it was not the same model as mine. The content looked completely different from mine. After looking around and doing some research I found an additional gem that extends the binary compatibility with more computers or devices and makes it more ‘stable’ for all of them.</p><pre><strong>gem</strong> ‘wkhtmltopdf<strong>-</strong>binary<strong>-</strong>edge’</pre><p>Adding additionally this gem in my gem file to the initial ones solved my issues with the way that the content was rendered locally and in my colleague’s computers.</p><p>Another issue that I encountered while developing the reports for our client is that when we did the staging deployment, we realized that the content was actually not being displayed in the way it should, or in the way that it looked locally. For that, we needed to include a different binary that was compatible with the Ubuntu version being used in Heroku (ubuntu 16.0). Basically, this gem takes care of making Heroku fully compatible with the Wicked PDF gem. The gem in question is:</p><pre><strong>gem</strong> ‘wkhtmltopdf<strong>-</strong>heroku&#39;</pre><p>This helped us to make the content generated by Heroku in the pdf’s consistent with the ones that we had locally. Just keep in mind that this gem will only help you if you are also using Heroku as your server. If you are using a different one and you encounter similar issues, then do some research on whether you need a special binary for your server or if there is a specific way to fix the issue you are facing.</p><p>In the end, these are the only tips that might be helpful to you in case you happen to deal with similar issues when using these gems.</p><p>Another tip I want to give you for this gem refers to when you want to use a flex box in your pdf view. Unfortunately, the gem does not include flex box styles by default, you need to import them in the stylesheet you are using for the pdf view. Something like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/431/0*qex-6tiMo6365P6V" /></figure><p>Flexbox is a very convenient way of applying styles to our website, it is also very helpful when creating reports; it makes the process easier and more reliable. In the last example, we wanted to be able to use the display: flex; statement, this way all the elements that belong to this parent will be displayed in a horizontal line one after the other. As you noticed we needed to import some WebKit elements, this already gave us a lot from flex-box, but if you encounter something that we do not mention in here, such as a specific tag from flex box that does not seem to work even after exporting the WebKit tags, then you might need to google it, and I am pretty confident you will be able to solve it.</p><p>AXLSX_RAILS</p><p>Now let’s talk a little bit about the Excel reports. In order to use the xlsx format in our web app, the procedure is very similar to the one explained for the wicked pdf gem. Basically, we need to declare the libraries along with all its dependencies, and also declare the mime type and make the controller and action also respond to this format.</p><p>The gem that we will use for this is the AXLSX gem, but the one that is specific for Rails is axlsx_rails. This gem has a couple of dependencies. This is what we will need:</p><pre><strong>gem</strong> &#39;axlsx&#39;, git: &#39;https://github.com/randym/axlsx.git&#39;, ref: &#39;c8ac844&#39;<br><strong>gem</strong> &#39;axlsx_rails&#39;, &#39;&gt;= 0.5.1&#39;<br><strong>gem</strong> &#39;rubyzip&#39;, &#39;&gt;= 1.2.1&#39;</pre><p>If you noticed, we are requesting a specific version of the axlsx gem, this is because the axlsx_rails gem requires this specific version of the axlsx gem. Feel free to try different options for the axlsx gem. I am just letting you know which one was the one that worked for me.</p><p>Ok, now we have all the gems and dependencies that we need to use the gem. The next step is to declare the new Mime Type. It Is going to be exactly as it was with the PDF mime type, just add the next line under config/initializers/mime_types.rb</p><pre><strong>Mime</strong>::<strong>Type</strong>.register &#39;application/xlsx&#39;, :xlsx</pre><p>This will allow Rails to respond to a new format, in this case, it will be for Excel (xlsx). So, having this in mind I guess you already have an idea of what the next step is.</p><p>Respond to the new format in the controller that you require, you can do something similar as we did with the pdf format. At the end it will look something like this (if we leave the other formats as well):</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/712/0*_3T3m3BkgoMxKIaf" /></figure><p>It pretty much follows the same principles or logic as the wicked pdf gem, if you do not declare any templates Rails, it will look for one in the views folder and it will select the one that matches the action’s name and the format. So let’s pretend that the response to the declaration was in a show action or method, in that scenario, Rails would look for a template in the views folder with the name ‘show’ and the extension .pdf.erb (show.pdf.erb).</p><p>It is also possible to change the name of the generated file, you only need to use the xlsx: tag instead of pdf: this way we are telling Rails to generate an xlsx file with the specified name as a string.</p><pre>render xlsx: ‘name_you_want_to_use_for_generated_file’</pre><p>And if you want to change the default template you can use the template helper:</p><pre>template: ‘folder<strong>/</strong>template_name’</pre><p>No need to pass the format, Rails already knows which format to look for with the response to the method.</p><p>Now that we have the necessary structure, let’s talk about how to print information in the excel sheet.</p><p>In the template that you created for your action whether it was the actions name or a different name for the template, be sure to include the following lines…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/648/0*Mb4u4qzLvMTWQLZt" /></figure><p>:</p><p>These are the libraries from the gems that we need to use in order to display the content in the workbook or spreadsheet (however you want to see it). The add_worksheet method includes a lot of actions that we can use in order to show information in the cells.</p><p>There are several methods you are going to use when working with this gem.</p><p>To print or display a row, there is a method called add_row that accepts an array as a parameter; each element of the array will be displayed in each horizontal cell in the order that the array has. For example, if you use the following statement:</p><pre>sheet.add_row [1, 2, 3, 4, 5]</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/354/0*GopyJkLJmT3eZ6L-" /></figure><p>Let’s say that you have a database table named ‘products’ and you want to print all the products you have along with the prices and the quantity for each one, in this case, you would need to have a controller action that retrieves the data for you from the right place, like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/432/0*Ml3X9WSp6_HcM8nb" /></figure><p>This will give us all the products we have in that table with all its attributes. So in order to print them, you would need to first construct the array for each row and then pass the array with all the data to the add_row [] method. Here is a quick example:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/997/0*lS9WneZeFI1jLPNn" /></figure><p>In here we are iterating on every product that we obtained from the controller and creating an array so the add_rowmethod can use it. When we pass the object to this method, the gem will take care of printing each value in each cell according to the order you already gave to the object.</p><p>There are a lot of methods you can use for multiple purposes, for example. if you need to include an image in the excel or multiple images, you can use this other method:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/962/0*CSg8xOx2JUfb43Ic" /></figure><p>Another thing you might use is styles. The styles need to be declared first, and whenever you want to apply them to a specific row or to the whole sheet, you just need to ‘call them’.</p><p>Here you have an example of how to declare the styles:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/892/0*kstw1dISv88fvheY" /></figure><p>And here is how you apply it to a row:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/770/0*hTlTFukQjMBre9rI" /></figure><p>With all this in mind, we come to the conclusion that the process of generating reports with Ruby on Rails ends up being a very simple process. It is just a matter of obtaining the right data, sort it in the way that you need to display it, and finally start using the existing methods from the gem to do what you need to do. Remember, the best way to use a new gem is always to read its official documentation, and explore its code to see the available methods which compose it. I hope you have an easy time using these gems and find this blog post helpful.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b00b84aa7ccf" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[PDF and XLSX reports with Ruby on Rails]]></title>
            <link>https://medium.com/magmalabs-blog/pdf-and-xlsx-reports-with-ruby-on-rails-84fcf68786a6?source=rss-220799879097------2</link>
            <guid isPermaLink="false">https://medium.com/p/84fcf68786a6</guid>
            <category><![CDATA[engineering]]></category>
            <category><![CDATA[development]]></category>
            <category><![CDATA[pdf]]></category>
            <category><![CDATA[excel]]></category>
            <category><![CDATA[ruby-on-rails]]></category>
            <dc:creator><![CDATA[MagmaLabs]]></dc:creator>
            <pubDate>Fri, 17 Apr 2020 15:21:44 GMT</pubDate>
            <atom:updated>2020-04-17T15:21:44.370Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*_WfHerHFnVNz9b1ikb518w.png" /></figure><p>How to generate PDF and Excel reports on Rails using Wicked PDF and AXLSX.</p><p>Wicked_PDF</p><p>If you are involved in the web development world, you might notice your clients ask you for a way to export information from the web app to a file in a format that they are more familiar with, for instance, Excel or PDF. This is very common in web development, so common that there are in fact several libraries or gems whose only purpose is to make this process easier.</p><p>For this tutorial, we will be using Ruby as our programming language, and Ruby On Rails. On top of this, we will use Heroku to store our web application.</p><p>For the libraries, we will use axlsx_rails gem to export to excel and wicked_pdf for PDF exporting. First, I will show you how to use the Wicked PDF. For this, you would need to have a working application in Ruby on Rails.</p><p>Not only we will get into how to install and start while using these libraries, but we will also mention some issues or problems we encounter when first using these gems and how we can be able to solve these issues and continue using the gems with no more problems. Some of those issues are mainly about compatibility between the computer being used in the project, and the server which is storing our web application (Heroku).</p><p>Before we go into any further details, let’s get some context from the official documentation: “Wicked PDF uses the shell utility wkhtmltopdf to serve a PDF file to a user from HTML. In other words, rather than dealing with a PDF generation DSL of some sort, you simply write an HTML view as you would normally, then let Wicked PDF take care of the hard stuff.”</p><p>The first step to include Wicked PDF in your project is to have the gem and all its dependencies declared in the Gemfile of our project. So go ahead and open the Gemfile in your project and add the following lines.</p><pre><strong>gem</strong> ‘wicked_pdf’<br><strong>gem</strong> ‘wkhtmltopdf<strong>-</strong>binary</pre><p>The first one is the Gem itself, and the second gem being declared is a binary file or dependency which the gem needs to install so the main gem can work properly.</p><p>Now we need to install the gem; do a bundle install. The next step now is to declare a new MIME-Type in our project. For that go to config/initializers/mime_types.rb</p><pre><strong>Mime</strong>::<strong>Type</strong>.register “application<strong>/</strong>pdf”, :pdf</pre><p>MIME Type is a method that you call on the block object format or the symbols that you pass to respond_to in your controllers. It Is basically adding a new format to the application so you can pass it to the respond_to method.</p><p>Like most gems, once everything is set up we need to load or install the initial configurations, which are often done by using the rails command and the generated statement along with the name of the gem to install; something like this…</p><pre>rails generate wicked_pdf</pre><p>This will create a new file under the config/initializers path with the name wicked_pdf.rb, we might actually use this file later, feel free to take a look at it.</p><p>Now we have pretty much everything we needed for the gem to work. Let’s start using it then. Keeping in mind the definition of Wicked PDF previously saw on the official documentation, we know that Wicked PDF works with a template or view that includes HTML content and then transforms that content to pdf format.</p><p>So the first thing to do now it’s to determine which controller is the one that handles the date that you need for the PDF, once you know this, you can make a specific action of that controller to respond to a new format, in our case PDF.</p><p>Let me give you an example of this. Let’s say you have an application that stores the information of a series of car dealerships. Naturally, your application would have to show the action that displays the information for a given dealer, so what a better way to send this information to someone who does not have access to this web application than exporting that information to a PDF, and then send it to that person.</p><p>Following the previous example, we can then modify the show action to respond to the desired format (as long as this format exists in the application).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/658/0*k__a26dAJFe4eGbg" /></figure><p>With the previous statement, we are letting Rails know that from now on, the show action will respond to both HTML and pdf formats; for the first one, it will look for the html.erb view and for the second one, it will look for a show view under reports_results directory that has a pdf.erb format. If you do not specify anything in the template tag, then it will look by default in the views that belong to the controller, the action’s view and in the specified format.</p><p>The second helper :pdf helps us define the name of the generated file, for instance, if the user hits generate pdf Rails, this will load the view specified in the controller and it will set the name of that file to individuals_reports so when the user downloads the pdf, its name will be individual_reports by default. This is actually very helpful since you can implement a naming convention, including filters or some other information that you want the user to be aware of.</p><p>Always remember to name your pdf views as follows pdf.erb, or if you are using html then use the following extension html.haml.</p><p>These two helpers used in the previous examples are just a few of the ones available with wicked pdf. So far, those are pretty much the only ones that I have needed in order to work with the gem. I will leave you a brief list of some other helpers that are included with the gem which you might actually find useful.</p><p>disposition: the disposition helper allows you to either downland directly the pdf as a file, or just open it in a different tab without downloading the file.</p><p>Now that we already told our controller and its action to respond to the pdf format, we need to create a new view file with the right extension, which is the pdf.erb extension. For our example and in order to keep it consistent, we will create a new file named ‘show.pdf.erb’ since we told the controller that the view or template that we want to use was in the views/reports_results/ path under the name of ‘show’ and with the pdf object or helper, Rails assumes that the file will have a pdf.erb extension.</p><p>If you want to try if the setup is actually working, what you can do is add maybe an h1 or a simple HTML tag to see if the view is actually being called by the controller and the action. If it is, it will open a new tab with the pdf file and show you the HTML tag you used. You can test this by adding the URL directly with the right extension which for this test would be (.pdf) so it can be something more or less like this ‘localhost/reports_results/1.pdf’, this way it will know the controller that we are referring to the action and the format that we need.</p><p>Another way to test this would be to create a simple button_to or link_to and then specify the route and the format that you want to access.</p><pre>link_to ‘Export to PDF’, reports_result_path(format: ‘pdf’, dealer)</pre><p>Here we are declaring a link to the reports_results controller, but because we are using singular word instead of the plural one, and because of the Rails routes the framework, it assumes that we are referring to the show action and it asks us for a reference to look the right information. In our case we want to obtain the report for a specific dealer, so we pass the dealer object which contains the dealer’s information, that way the controller will only return the information for the report of that specific dealer that we want.</p><p>Now that we know how to obtain the data from the database by using the controller and the rails conventions, we can start declaring some styles for our pdf template, for that we need to use some of the wicked pdf helpers to include CSS stylesheets in our view. The necessary helper is the:</p><pre>wicked_pdf_stylesheet_link_tag</pre><p>This helper allows us to specify a stylesheet file in which we want to include the styles for our pdf template, the easiest way is to declare the application file, that way the wicked pdf will look in the assets path for all the files and styles that belong to the pdf template.</p><p>Like this:</p><pre>wicked_pdf_stylesheet_link_tag ‘application’</pre><p>Or you can also include the absolute path of specific files you want to use.</p><pre>wicked_pdf_stylesheet_link_tag &#39;assets/styles/reports/reports.scss&#39;</pre><p>It is also possible to use CSS libraries like Bootstrap. The only thing you need to consider is that you need to include all the necessary dependencies. It would look something like this:</p><pre><strong>=</strong> stylesheet_link_tag &quot;https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css&quot;<br><strong>=</strong> wicked_pdf_stylesheet_link_tag &#39;dashboard&#39;, media: &#39;all&#39;, &#39;data-turbolinks-track&#39; <strong>=&gt;</strong> true<br><strong>=</strong> wicked_pdf_stylesheet_link_tag(&#39;bootstrap&#39;)</pre><p>The example above is only for Bootstrap. In case you want to use different libraries, you would need to do a little research but in essence, it is very similar to the bootstrap example.</p><p>In here I would like to do a brief parenthesis to tell you some problems that I have faced while using the gem in a project for a big client. It turns out that the default binary that wicked pdf uses (in this case the latest binary) is not fully compatible with all computers. There are some computers that have different binaries for pdf, and there the functionality in those devices (like my MacBook Air) is not as it should be. The main issue that I experimented is that when I was showing some content in the pdf file, it looked good on my computer, but when that same view rendered on a different computer it was not the same model as mine. The content looked completely different from mine. After looking around and doing some research I found an additional gem that extends the binary compatibility with more computers or devices and makes it more ‘stable’ for all of them.</p><pre><strong>gem</strong> ‘wkhtmltopdf<strong>-</strong>binary<strong>-</strong>edge’</pre><p>Adding additionally this gem in my gem file to the initial ones solved my issues with the way that the content was rendered locally and in my colleague’s computers.</p><p>Another issue that I encountered while developing the reports for our client is that when we did the staging deployment, we realized that the content was actually not being displayed in the way it should, or in the way that it looked locally. For that, we needed to include a different binary that was compatible with the Ubuntu version being used in Heroku (ubuntu 16.0). Basically, this gem takes care of making Heroku fully compatible with the Wicked PDF gem. The gem in question is:</p><pre><strong>gem</strong> ‘wkhtmltopdf<strong>-</strong>heroku&#39;</pre><p>This helped us to make the content generated by Heroku in the pdf’s consistent with the ones that we had locally. Just keep in mind that this gem will only help you if you are also using Heroku as your server. If you are using a different one and you encounter similar issues, then do some research on whether you need a special binary for your server or if there is a specific way to fix the issue you are facing.</p><p>In the end, these are the only tips that might be helpful to you in case you happen to deal with similar issues when using these gems.</p><p>Another tip I want to give you for this gem refers to when you want to use a flex box in your pdf view. Unfortunately, the gem does not include flex box styles by default, you need to import them in the stylesheet you are using for the pdf view. Something like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/431/0*qex-6tiMo6365P6V" /></figure><p>Flexbox is a very convenient way of applying styles to our website, it is also very helpful when creating reports; it makes the process easier and more reliable. In the last example, we wanted to be able to use the display: flex; statement, this way all the elements that belong to this parent will be displayed in a horizontal line one after the other. As you noticed we needed to import some WebKit elements, this already gave us a lot from flex-box, but if you encounter something that we do not mention in here, such as a specific tag from flex box that does not seem to work even after exporting the WebKit tags, then you might need to google it, and I am pretty confident you will be able to solve it.</p><p>AXLSX_RAILS</p><p>Now let’s talk a little bit about the Excel reports. In order to use the xlsx format in our web app, the procedure is very similar to the one explained for the wicked pdf gem. Basically, we need to declare the libraries along with all its dependencies, and also declare the mime type and make the controller and action also respond to this format.</p><p>The gem that we will use for this is the AXLSX gem, but the one that is specific for Rails is axlsx_rails. This gem has a couple of dependencies. This is what we will need:</p><pre><strong>gem</strong> &#39;axlsx&#39;, git: &#39;https://github.com/randym/axlsx.git&#39;, ref: &#39;c8ac844&#39;<br><strong>gem</strong> &#39;axlsx_rails&#39;, &#39;&gt;= 0.5.1&#39;<br><strong>gem</strong> &#39;rubyzip&#39;, &#39;&gt;= 1.2.1&#39;</pre><p>If you noticed, we are requesting a specific version of the axlsx gem, this is because the axlsx_rails gem requires this specific version of the axlsx gem. Feel free to try different options for the axlsx gem. I am just letting you know which one was the one that worked for me.</p><p>Ok, now we have all the gems and dependencies that we need to use the gem. The next step is to declare the new Mime Type. It Is going to be exactly as it was with the PDF mime type, just add the next line under config/initializers/mime_types.rb</p><pre><strong>Mime</strong>::<strong>Type</strong>.register &#39;application/xlsx&#39;, :xlsx</pre><p>This will allow Rails to respond to a new format, in this case, it will be for Excel (xlsx). So, having this in mind I guess you already have an idea of what the next step is.</p><p>Respond to the new format in the controller that you require, you can do something similar as we did with the pdf format. At the end it will look something like this (if we leave the other formats as well):</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/712/0*_3T3m3BkgoMxKIaf" /></figure><p>It pretty much follows the same principles or logic as the wicked pdf gem, if you do not declare any templates Rails, it will look for one in the views folder and it will select the one that matches the action’s name and the format. So let’s pretend that the response to the declaration was in a show action or method, in that scenario, Rails would look for a template in the views folder with the name ‘show’ and the extension .pdf.erb (show.pdf.erb).</p><p>It is also possible to change the name of the generated file, you only need to use the xlsx: tag instead of pdf: this way we are telling Rails to generate an xlsx file with the specified name as a string.</p><pre>render xlsx: ‘name_you_want_to_use_for_generated_file’</pre><p>And if you want to change the default template you can use the template helper:</p><pre>template: ‘folder<strong>/</strong>template_name’</pre><p>No need to pass the format, Rails already knows which format to look for with the response to the method.</p><p>Now that we have the necessary structure, let’s talk about how to print information in the excel sheet.</p><p>In the template that you created for your action whether it was the actions name or a different name for the template, be sure to include the following lines…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/648/0*Mb4u4qzLvMTWQLZt" /></figure><p>:</p><p>These are the libraries from the gems that we need to use in order to display the content in the workbook or spreadsheet (however you want to see it). The add_worksheet method includes a lot of actions that we can use in order to show information in the cells.</p><p>There are several methods you are going to use when working with this gem.</p><p>To print or display a row, there is a method called add_row that accepts an array as a parameter; each element of the array will be displayed in each horizontal cell in the order that the array has. For example, if you use the following statement:</p><pre>sheet.add_row [1, 2, 3, 4, 5]</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/354/0*GopyJkLJmT3eZ6L-" /></figure><p>Let’s say that you have a database table named ‘products’ and you want to print all the products you have along with the prices and the quantity for each one, in this case, you would need to have a controller action that retrieves the data for you from the right place, like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/432/0*Ml3X9WSp6_HcM8nb" /></figure><p>This will give us all the products we have in that table with all its attributes. So in order to print them, you would need to first construct the array for each row and then pass the array with all the data to the add_row [] method. Here is a quick example:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/997/0*lS9WneZeFI1jLPNn" /></figure><p>In here we are iterating on every product that we obtained from the controller and creating an array so the add_rowmethod can use it. When we pass the object to this method, the gem will take care of printing each value in each cell according to the order you already gave to the object.</p><p>There are a lot of methods you can use for multiple purposes, for example. if you need to include an image in the excel or multiple images, you can use this other method:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/962/0*CSg8xOx2JUfb43Ic" /></figure><p>Another thing you might use is styles. The styles need to be declared first, and whenever you want to apply them to a specific row or to the whole sheet, you just need to ‘call them’.</p><p>Here you have an example of how to declare the styles:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/892/0*kstw1dISv88fvheY" /></figure><p>And here is how you apply it to a row:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/770/0*hTlTFukQjMBre9rI" /></figure><p>With all this in mind, we come to the conclusion that the process of generating reports with Ruby on Rails ends up being a very simple process. It is just a matter of obtaining the right data, sort it in the way that you need to display it, and finally start using the existing methods from the gem to do what you need to do. Remember, the best way to use a new gem is always to read its official documentation, and explore its code to see the available methods which compose it. I hope you have an easy time using these gems and find this blog post helpful.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=84fcf68786a6" width="1" height="1" alt=""><hr><p><a href="https://medium.com/magmalabs-blog/pdf-and-xlsx-reports-with-ruby-on-rails-84fcf68786a6">PDF and XLSX reports with Ruby on Rails</a> was originally published in <a href="https://medium.com/magmalabs-blog">MagmaLabs Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What is Product Management in e-commerce?]]></title>
            <link>https://medium.com/magmalabs-blog/what-is-product-management-in-e-commerce-f45d1476a9d8?source=rss-220799879097------2</link>
            <guid isPermaLink="false">https://medium.com/p/f45d1476a9d8</guid>
            <category><![CDATA[management]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[ecommerce]]></category>
            <category><![CDATA[project-management]]></category>
            <category><![CDATA[product-management]]></category>
            <dc:creator><![CDATA[MagmaLabs]]></dc:creator>
            <pubDate>Fri, 03 Apr 2020 17:18:41 GMT</pubDate>
            <atom:updated>2020-04-03T17:18:41.719Z</atom:updated>
            <content:encoded><![CDATA[<h3>What is Product Management in e-Commerce?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RsN8LEb1oBF_AUfynGDv2w.jpeg" /></figure><h3>Product Management can be described as an organizational function that involves the process of conceiving, planning, developing, testing, launching, and delivering products in the market. It also is in charge of retiring a product due to low customer satisfaction or increasing costs.</h3><p>Product Management can be described as an organizational function that involves the process of conceiving, planning, developing, testing, launching, and delivering products in the market. It also is in charge of retiring a product due to low customer satisfaction or increasing costs.</p><blockquote><em>In software development, a product is the website, application or online service that users interact with.</em></blockquote><p>A Product Manager pursues the maximization of sales revenues, market share, and profit margins for a company. A Product Manager often analyzes market and competitive conditions and lays out a product vision that is differentiated and delivers unique value based on customer demands.</p><p>In software development, a product is the website, application or online service that users interact with. If we talk about e-Commerce, a Product Manager could be responsible for an entire system (such as a mobile app) or part of a system (such as the checkout flow on an online store across all devices).</p><blockquote><em>For </em><a href="https://www.magmalabs.io/"><em>MagmaLabs</em></a><em>, it’s important to develop e-commerce sites that offer the best user experience, integrate the best technology and maximize the business value from it.</em></blockquote><p>Product management in e-Commerce has to discover a system that is usable, feasible and valuable in order to achieve the company objectives. For MagmaLabs, it’s important to develop e-commerce sites that offer the best user experience, integrate the best technology and maximize the business value from it.</p><p><strong>Where did the idea for Product Management come from?</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ENMgezuaevULe3Uo.jpeg" /></figure><p>The earliest form of Product Management was known as Brand Management, a term coined by a young advertising manager named Neil McElroy, who in 1931 proposed the idea of a “brand man”-an employee who would be responsible for a product, rather than a business function. His proposal included activities from tracking sales to managing the product, advertising, and promotions.</p><p>As Brand Management became popular, many tech firms started to recruit Brand Managers for their deep product knowledge and sense of ownership. However, in the 1990s, tech companies that were rapidly expanding and entering new development industries faced an important challenge. Brand Management was mainly focused on a marketing communication role, and the development of the product was left to others.</p><blockquote><em>Tech organizations have evolved Marketing to be focused on owning the brand and customer acquisition, while Product Management owns the value proposition and Product Development.</em></blockquote><p>The need to not just understand the customer and their needs, but to align the product’s development with them, brought Product Development back to the center of the Product Management role. Therefore, tech organizations have evolved Marketing to be focused on owning the brand and customer acquisition, while Product Management owns the value proposition and Product Development.</p><p><strong>What are the Pros and Cons of Product Management for e-Commerce companies?</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*JH6hWIw7BKFkttTb.jpeg" /></figure><p>Some people might object to hire a product manager for their online stores. They can doubt about the benefits of assigning this role to a specific person within the company. Sometimes they don’t believe that Product Management will raise their sales or they think this role will complicate the entire business process.</p><blockquote><em>Product managers help companies to develop products that are oriented to their target markets.</em></blockquote><p>The truth is that there aren’t cons of creating a Product Management department for e-commerce companies. On the contrary, there are three advantages that you should consider to hire a product manager for your online store.</p><p>1) <strong>Market-driven approach</strong>: Product Managers help companies to develop products that are oriented to their target markets. They analyze needs by conducting market research, and they use the consumer insights to design the best eCommerce interface that guides the user through the purchasing process.</p><p>2) <strong>Time Prioritization</strong>: One of the objectives of Product Management is to make the best decisions on time. To accomplish this, it’s necessary to evaluate the importance of each idea and its impact on the project schedule.</p><blockquote><em>Product Managers become experts and the best critics of their projects.</em></blockquote><p>3) <strong>Product Quality</strong>: Product Managers make in-depth studies of the systems that will launch, fix or withdraw; they become experts and the best critics of their projects. Product Managers usually run tests and metrics that prove their ability to improve and offer the best product to the user.</p><blockquote><em>The best thing to prevent a client abandonment is to offer a great user experience within your online store.</em></blockquote><p>According to Statista, more than 1 billion worldwide internet users have bought products or goods online. This segment of online buyers is projected to continuously grow through the next years, so the development of e-Commerce sites will become even more popular over time.</p><p>If you own an e-Commerce site or if you are planning to launch one. You should be aware of the emergence of new competitors that can steal your potential customers. The best thing to prevent a client abandonment is to offer a great user experience within your online store.</p><p>If you hire an expert in Product Management to develop or improve your e-commerce site and adapt it to your customer needs, you will be able to offer the best shopper experience. When you focus your efforts on having the best system for your e-commerce company, the maximization of sales revenues, market share, and profit margins will be achieved as a natural consequence.</p><p><em>Originally published at </em><a href="http://blog.magmalabs.io/2016/04/01/what-is-product-management-in-e-commerce.html"><em>http://blog.magmalabs.io</em></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f45d1476a9d8" width="1" height="1" alt=""><hr><p><a href="https://medium.com/magmalabs-blog/what-is-product-management-in-e-commerce-f45d1476a9d8">What is Product Management in e-commerce?</a> was originally published in <a href="https://medium.com/magmalabs-blog">MagmaLabs Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What is Product Management in e-commerce?]]></title>
            <link>https://medium.com/@MagmaLabs/what-is-product-management-in-e-commerce-e22574c5956d?source=rss-220799879097------2</link>
            <guid isPermaLink="false">https://medium.com/p/e22574c5956d</guid>
            <category><![CDATA[product-management]]></category>
            <category><![CDATA[ecommerce]]></category>
            <category><![CDATA[management]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[project-management]]></category>
            <dc:creator><![CDATA[MagmaLabs]]></dc:creator>
            <pubDate>Fri, 03 Apr 2020 17:14:18 GMT</pubDate>
            <atom:updated>2020-04-03T17:20:18.612Z</atom:updated>
            <content:encoded><![CDATA[<h3>What is Product Management in e-Commerce?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*MTzmFyixf46Wk9XN.jpeg" /></figure><h3>Product Management can be described as an organizational function that involves the process of conceiving, planning, developing, testing, launching, and delivering products in the market. It also is in charge of retiring a product due to low customer satisfaction or increasing costs.</h3><p>Product Management can be described as an organizational function that involves the process of conceiving, planning, developing, testing, launching, and delivering products in the market. It also is in charge of retiring a product due to low customer satisfaction or increasing costs.</p><blockquote><em>In software development, a product is the website, application or online service that users interact with.</em></blockquote><p>A Product Manager pursues the maximization of sales revenues, market share, and profit margins for a company. A Product Manager often analyzes market and competitive conditions and lays out a product vision that is differentiated and delivers unique value based on customer demands.</p><p>In software development, a product is the website, application or online service that users interact with. If we talk about e-Commerce, a Product Manager could be responsible for an entire system (such as a mobile app) or part of a system (such as the checkout flow on an online store across all devices).</p><blockquote><em>For </em><a href="https://www.magmalabs.io/"><em>MagmaLabs</em></a><em>, it’s important to develop e-commerce sites that offer the best user experience, integrate the best technology and maximize the business value from it.</em></blockquote><p>Product management in e-Commerce has to discover a system that is usable, feasible and valuable in order to achieve the company objectives. For MagmaLabs, it’s important to develop e-commerce sites that offer the best user experience, integrate the best technology and maximize the business value from it.</p><p><strong>Where did the idea for Product Management come from?</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*CygI8RTo0wFz75t_.jpeg" /></figure><p>The earliest form of Product Management was known as Brand Management, a term coined by a young advertising manager named Neil McElroy, who in 1931 proposed the idea of a “brand man”-an employee who would be responsible for a product, rather than a business function. His proposal included activities from tracking sales to managing the product, advertising, and promotions.</p><p>As Brand Management became popular, many tech firms started to recruit Brand Managers for their deep product knowledge and sense of ownership. However, in the 1990s, tech companies that were rapidly expanding and entering new development industries faced an important challenge. Brand Management was mainly focused on a marketing communication role, and the development of the product was left to others.</p><blockquote><em>Tech organizations have evolved Marketing to be focused on owning the brand and customer acquisition, while Product Management owns the value proposition and Product Development.</em></blockquote><p>The need to not just understand the customer and their needs, but to align the product’s development with them, brought Product Development back to the center of the Product Management role. Therefore, tech organizations have evolved Marketing to be focused on owning the brand and customer acquisition, while Product Management owns the value proposition and Product Development.</p><p><strong>What are the Pros and Cons of Product Management for e-Commerce companies?</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*PpUUCFCtH3MrGR5J.jpeg" /></figure><p>Some people might object to hire a product manager for their online stores. They can doubt about the benefits of assigning this role to a specific person within the company. Sometimes they don’t believe that Product Management will raise their sales or they think this role will complicate the entire business process.</p><blockquote><em>Product managers help companies to develop products that are oriented to their target markets.</em></blockquote><p>The truth is that there aren’t cons of creating a Product Management department for e-commerce companies. On the contrary, there are three advantages that you should consider to hire a product manager for your online store.</p><p>1) <strong>Market-driven approach</strong>: Product Managers help companies to develop products that are oriented to their target markets. They analyze needs by conducting market research, and they use the consumer insights to design the best eCommerce interface that guides the user through the purchasing process.</p><p>2) <strong>Time Prioritization</strong>: One of the objectives of Product Management is to make the best decisions on time. To accomplish this, it’s necessary to evaluate the importance of each idea and its impact on the project schedule.</p><blockquote><em>Product Managers become experts and the best critics of their projects.</em></blockquote><p>3) <strong>Product Quality</strong>: Product Managers make in-depth studies of the systems that will launch, fix or withdraw; they become experts and the best critics of their projects. Product Managers usually run tests and metrics that prove their ability to improve and offer the best product to the user.</p><blockquote><em>The best thing to prevent a client abandonment is to offer a great user experience within your online store.</em></blockquote><p>According to Statista, more than 1 billion worldwide internet users have bought products or goods online. This segment of online buyers is projected to continuously grow through the next years, so the development of e-Commerce sites will become even more popular over time.</p><p>If you own an e-Commerce site or if you are planning to launch one. You should be aware of the emergence of new competitors that can steal your potential customers. The best thing to prevent a client abandonment is to offer a great user experience within your online store.</p><p>If you hire an expert in Product Management to develop or improve your e-commerce site and adapt it to your customer needs, you will be able to offer the best shopper experience. When you focus your efforts on having the best system for your e-commerce company, the maximization of sales revenues, market share, and profit margins will be achieved as a natural consequence.</p><p><em>Originally published at </em><a href="http://blog.magmalabs.io/2016/04/01/what-is-product-management-in-e-commerce.html"><em>http://blog.magmalabs.io</em></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e22574c5956d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A quick guide (for beginners) to Working From Home]]></title>
            <link>https://medium.com/magmalabs-blog/a-quick-guide-for-beginners-to-working-from-home-9d5b206a9fb3?source=rss-220799879097------2</link>
            <guid isPermaLink="false">https://medium.com/p/9d5b206a9fb3</guid>
            <category><![CDATA[remote-working]]></category>
            <category><![CDATA[business]]></category>
            <category><![CDATA[coronavirus]]></category>
            <category><![CDATA[management]]></category>
            <category><![CDATA[quick-reads]]></category>
            <dc:creator><![CDATA[MagmaLabs]]></dc:creator>
            <pubDate>Wed, 25 Mar 2020 17:57:35 GMT</pubDate>
            <atom:updated>2020-04-03T16:42:43.851Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*P1gwS66owvxV9-goHuDCwg.png" /></figure><h3>The spread of COVID-19 has caused companies and institutions to migrate their work from their workplace to their homes. For some people, this is a new experience: they are not familiar with Working From Home (good) practices. Here are some tips on how to take the best course of action without a lot of effort so you don’t lose productivity, collaboration, and engagement while everyone has to stay at home.</h3><p>Many companies have employees transitioning to Working From Home to help slow the spread of COVID-19. At <a href="https://www.magmalabs.io/">MagmaLabs</a> we have clear remote-work policies and had training in advance, but there are some companies taking quick decisions in this time of crisis that don’t have this level of preparation.</p><p>Here are some tips on how to take the best course of action without a lot of effort (even if there’s little time to prepare) while everyone has to stay at home.</p><h3>First things first</h3><p><strong>Set up your WFH space.</strong> Make sure you have everything you need to do your usual work activities. The tools you use at the office are the ones you’ll need at home. Make a list of these items, including the essential equipment, and make sure your Internet is performing well at home.</p><blockquote><em>As a company, it’d be great if you ensure that every worker has a dedicated workspace. To achieve this, let employees take their work tools home.</em></blockquote><p>As a company, it’d be great if you ensure that every worker has a dedicated workspace. To achieve this, let employees take their work tools home, so they can have the same comfort and accessibility as they have at the office.</p><p>Make an inventory of the items that your employees will take home and make them sign a release to have better control. It would be nice if you helped them with transportation too.</p><p><strong>Choose the right spot.</strong> The spot you choose to make your WFH setup needs to be preferably at an isolated spot from the rest of the house and a dedicated room to set up your office wouldn’t be bad. If this is not possible, try to find a well-illuminated place with as few distractions as possible.</p><blockquote><em>To accomplish great work when working on remote, keep constant communication. There are a lot of ways and channels to do so!</em></blockquote><h3>Constant and clear communication is key when WFH</h3><p><strong>Keep constant communication.</strong> Giving the lack of face-to-face interaction between managers and their employees when working remotely, sustained work or efficiency can become a problem.</p><p>On the other hand, employees can feel their managers aren’t getting in touch enough to support them and help them to get their work done.</p><p>To accomplish great work, keep constant communication. There are a lot of ways and channels to do so. You can schedule daily stand-ups by video call so your team can give constant updates on completed and pending tasks, blockers, and general feedback.</p><p>There are several tools you can use to achieve this, like Zoom. You can also have daily and constant check-ins through instant messaging via Slack.</p><blockquote><em>Lack of personal interaction can break the rhythm of productivity. Maintaining information’s flow via IM when remote working is essential to keep up with the tasks on your agenda.</em></blockquote><p><strong>Don’t slow down the information flow. </strong>IM can also work to hold the info flowing. Maintaining the flow of information is essential to keep up with the tasks on the agenda, and sometimes the lack of personal interaction can break the rhythm of productivity. (Maybe the <a href="http://blog.magmalabs.io/2016/05/02/what-is-agile-development.html">Agile methodology</a> can also help you achieve this.)</p><p><strong>Company alignment is vital. </strong>Also, to maintain the company’s alignment, it would be great to have a weekly online general meeting where all areas of the company report weekly results, to keep all employees informed and on the same page (this can also happen by video conference).</p><h3>There are ways and tools to keep productivity going</h3><p><strong>Establish working hours.</strong> If you want to maintain the focus you have at your workplace, pretend you are not WFH. Set the same hours you have at the office and stick to that schedule when working remotely.</p><p>When arranging your agenda, within working hours, avoid scheduling or doing things that cause you to lose time. As <a href="https://hbr.org/search?term=elizabeth%20grace%20saunders">Elizabeth Grace Saunders</a> did, ask yourself if you would do those tasks during a day at the office; if the answer is no, you need to do those activities before or after office hours.</p><blockquote><em>Time management is essential when WFH.</em></blockquote><p><strong>Set boundaries. </strong>The boundaries you set need to be explained to the people that may be sharing the same space with you when you set up your home office: family, friends, neighbors, etc. Explain to them that the days you’re working from home aren’t opportunities for non-work-related activities. Make it clear to them that this is not a vacation for you.</p><p>When receiving unexpected visitors, be polite and diplomatic. Give them the time that you would dedicate to your colleague if you were making coffee, but don’t extend the conversation. Instead, say something nice to say goodbye, and set a time to meet up later.</p><p><strong>Use apps to measure your productivity.</strong> Time management is essential when WFH. When done right, it can help you and your team become more organized, efficient, and get more things done.</p><p>Using productivity trackers apps can be functional to kick your motivation and focus on high performance. There is a lot of time tracking apps to measure productivity, just look at the options and find the one that best suits you and your team.</p><p><strong>Breaks also go on your calendar.</strong> Exercise, meals, and pauses for your health need to be on your calendar the same way you schedule meetings. Use reminders for getting up and stretching, or getting lunch.</p><p>You might as well program bots to remind all the company to have a pause for their health to stretch, meditate or drink water.</p><h3>Don’t forget to keep your engagement growing!</h3><p><strong>Stay in touch.</strong> Social isolation can become a real problem. Loneliness is one of the most common complaints about WFH because employees lose the social interaction they had at their workplace.</p><p>Staying in touch with others rather than waiting for them to reach out is important. It doesn’t matter if it’s only to ask how they’re doing or to invite them to an online video game. Just stay in contact with your gang!</p><blockquote><em>Access to mental health is important while the crisis is over.</em></blockquote><p><strong>Online gatherings.</strong> Since the beginning of the WFH transitioning at MagmaLabs, every morning we join a videoconference only for small talk, stay in touch with our peers, and drink coffee while chatting. This helps begin the day more motivated!</p><p>Also, on Fridays, we close the work-week with an online toast to thank our colleagues and wish them a good weekend.</p><p><strong>Create an atmosphere.</strong> When working from home, you have the opportunity to create an atmosphere where you feel comfy. Play music you like and it will help you to stay focused and motivated. Or maybe play a movie just to listen to some background noise. You can even light incense or use aromatherapy to make you feel more relaxed.</p><blockquote><em>Social isolation can become a real problem when WFH.</em></blockquote><p><strong>Emotional support.</strong> Access to psychological therapy is a great tool while the crisis is over. Especially in the context of a sudden change of context to Working From Home, it is important for managers to acknowledge stress, listen to employees’ anxieties and concerns, and empathize with their struggles. This is why providing encouragement and emotional support is essential throughout this period.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9d5b206a9fb3" width="1" height="1" alt=""><hr><p><a href="https://medium.com/magmalabs-blog/a-quick-guide-for-beginners-to-working-from-home-9d5b206a9fb3">A quick guide (for beginners) to Working From Home</a> was originally published in <a href="https://medium.com/magmalabs-blog">MagmaLabs Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A quick guide (for beginners) to Working From Home]]></title>
            <link>https://medium.com/@MagmaLabs/a-quick-guide-for-beginners-to-working-from-home-82ff5caf1255?source=rss-220799879097------2</link>
            <guid isPermaLink="false">https://medium.com/p/82ff5caf1255</guid>
            <category><![CDATA[remote-working]]></category>
            <category><![CDATA[quick-reads]]></category>
            <category><![CDATA[working-from-home]]></category>
            <category><![CDATA[wearemagma]]></category>
            <category><![CDATA[coronavirus]]></category>
            <dc:creator><![CDATA[MagmaLabs]]></dc:creator>
            <pubDate>Mon, 23 Mar 2020 23:07:33 GMT</pubDate>
            <atom:updated>2020-03-25T17:44:02.203Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*P1gwS66owvxV9-goHuDCwg.png" /></figure><h4>The spread of COVID-19 has caused companies and institutions to migrate their work from their workplace to their homes. For some people, this is a new experience: they are not familiar with Working From Home (good) practices. Here are some tips on how to take the best course of action without a lot of effort so you don’t lose productivity, collaboration, and engagement while everyone has to stay at home.</h4><p>Many companies have employees transitioning to Working From Home to help slow the spread of COVID-19. At <a href="https://www.magmalabs.io/">MagmaLabs</a> we have clear remote-work policies and had training in advance, but there are some companies taking quick decisions in this time of crisis that don’t have this level of preparation.</p><p>Here are some tips on how to take the best course of action without a lot of effort (even if there’s little time to prepare) while everyone has to stay at home.</p><h3>First things first</h3><p><strong>Set up your WFH space.</strong> Make sure you have everything you need to do your usual work activities. The tools you use at the office are the ones you’ll need at home. Make a list of these items, including the essential equipment, and make sure your Internet is performing well at home.</p><blockquote>As a company, it’d be great if you ensure that every worker has a dedicated workspace. To achieve this, let employees take their work tools home.</blockquote><p>As a company, it’d be great if you ensure that every worker has a dedicated workspace. To achieve this, let employees take their work tools home, so they can have the same comfort and accessibility as they have at the office.</p><p>Make an inventory of the items that your employees will take home and make them sign a release to have better control. It would be nice if you helped them with transportation too.</p><p><strong>Choose the right spot.</strong> The spot you choose to make your WFH setup needs to be preferably at an isolated spot from the rest of the house and a dedicated room to set up your office wouldn’t be bad. If this is not possible, try to find a well-illuminated place with as few distractions as possible.</p><blockquote>To accomplish great work when working on remote, keep constant communication. There are a lot of ways and channels to do so!</blockquote><h3>Constant and clear communication is key when WFH</h3><p><strong>Keep constant communication.</strong> Giving the lack of face-to-face interaction between managers and their employees when working remotely, sustained work or efficiency can become a problem.</p><p>On the other hand, employees can feel their managers aren’t getting in touch enough to support them and help them to get their work done.</p><p>To accomplish great work, keep constant communication. There are a lot of ways and channels to do so. You can schedule daily stand-ups by video call so your team can give constant updates on completed and pending tasks, blockers, and general feedback.</p><p>There are several tools you can use to achieve this, like Zoom. You can also have daily and constant check-ins through instant messaging via Slack.</p><blockquote>Lack of personal interaction can break the rhythm of productivity. Maintaining information’s flow via IM when remote working is essential to keep up with the tasks on your agenda.</blockquote><p><strong>Don’t slow down the information flow. </strong>IM can also work to hold the info flowing. Maintaining the flow of information is essential to keep up with the tasks on the agenda, and sometimes the lack of personal interaction can break the rhythm of productivity. (Maybe the <a href="http://blog.magmalabs.io/2016/05/02/what-is-agile-development.html">Agile methodology</a> can also help you achieve this.)</p><p><strong>Company alignment is vital. </strong>Also, to maintain the company’s alignment, it would be great to have a weekly online general meeting where all areas of the company report weekly results, to keep all employees informed and on the same page (this can also happen by video conference).</p><h3>There are ways and tools to keep productivity going</h3><p><strong>Establish working hours.</strong> If you want to maintain the focus you have at your workplace, pretend you are not WFH. Set the same hours you have at the office and stick to that schedule when working remotely.</p><p>When arranging your agenda, within working hours, avoid scheduling or doing things that cause you to lose time. As <a href="https://hbr.org/search?term=elizabeth%20grace%20saunders">Elizabeth Grace Saunders</a> did, ask yourself if you would do those tasks during a day at the office; if the answer is no, you need to do those activities before or after office hours.</p><blockquote>Time management is essential when WFH.</blockquote><p><strong>Set boundaries. </strong>The boundaries you set need to be explained to the people that may be sharing the same space with you when you set up your home office: family, friends, neighbors, etc. Explain to them that the days you’re working from home aren’t opportunities for non-work-related activities. Make it clear to them that this is not a vacation for you.</p><p>When receiving unexpected visitors, be polite and diplomatic. Give them the time that you would dedicate to your colleague if you were making coffee, but don’t extend the conversation. Instead, say something nice to say goodbye, and set a time to meet up later.</p><p><strong>Use apps to measure your productivity.</strong> Time management is essential when WFH. When done right, it can help you and your team become more organized, efficient, and get more things done.</p><p>Using productivity trackers apps can be functional to kick your motivation and focus on high performance. There is a lot of time tracking apps to measure productivity, just look at the options and find the one that best suits you and your team.</p><p><strong>Breaks also go on your calendar.</strong> Exercise, meals, and pauses for your health need to be on your calendar the same way you schedule meetings. Use reminders for getting up and stretching, or getting lunch.</p><p>You might as well program bots to remind all the company to have a pause for their health to stretch, meditate or drink water.</p><h3>Don’t forget to keep your engagement growing!</h3><p><strong>Stay in touch.</strong> Social isolation can become a real problem. Loneliness is one of the most common complaints about WFH because employees lose the social interaction they had at their workplace.</p><p>Staying in touch with others rather than waiting for them to reach out is important. It doesn’t matter if it’s only to ask how they’re doing or to invite them to an online video game. Just stay in contact with your gang!</p><blockquote>Access to mental health is important while the crisis is over.</blockquote><p><strong>Online gatherings.</strong> Since the beginning of the WFH transitioning at MagmaLabs, every morning we join a videoconference only for small talk, stay in touch with our peers, and drink coffee while chatting. This helps begin the day more motivated!</p><p>Also, on Fridays, we close the work-week with an online toast to thank our colleagues and wish them a good weekend.</p><p><strong>Create an atmosphere.</strong> When working from home, you have the opportunity to create an atmosphere where you feel comfy. Play music you like and it will help you to stay focused and motivated. Or maybe play a movie just to listen to some background noise. You can even light incense or use aromatherapy to make you feel more relaxed.</p><blockquote>Social isolation can become a real problem when WFH.</blockquote><p><strong>Emotional support.</strong> Access to psychological therapy is a great tool while the crisis is over. Especially in the context of a sudden change of context to Working From Home, it is important for managers to acknowledge stress, listen to employees’ anxieties and concerns, and empathize with their struggles. This is why providing encouragement and emotional support is essential throughout this period.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/80/0*ToXyLTCRgLNqYWTw" /><figcaption>MagmaLabs Team</figcaption></figure><p><em>Originally published at </em><a href="http://blog.magmalabs.io/2020/03/23/a-quick-guide-for-beginners-to-working-from-home.html"><em>http://blog.magmalabs.io</em></a><em> on March 23, 2020.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=82ff5caf1255" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[MagmaLabs and Kickass Partners merging and joining forces to create Latin America’s most powerful…]]></title>
            <link>https://medium.com/@MagmaLabs/magmalabs-and-kickass-partners-merging-and-joining-forces-to-create-latin-americas-most-powerful-8b0f891008c4?source=rss-220799879097------2</link>
            <guid isPermaLink="false">https://medium.com/p/8b0f891008c4</guid>
            <category><![CDATA[latin-america]]></category>
            <category><![CDATA[softwareconsultingcompany]]></category>
            <category><![CDATA[merger]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[MagmaLabs]]></dc:creator>
            <pubDate>Fri, 24 Jan 2020 16:33:01 GMT</pubDate>
            <atom:updated>2020-01-24T16:33:01.423Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>MagmaLabs and Kickass Partners merging and joining forces to create Latin America’s most powerful software consulting organization.</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*a0G_lrme_khUFTNNqrZ_vA.jpeg" /><figcaption>Carlos Rocha (MagmaLabs) and Obie Fernandez (Kickass Partners)</figcaption></figure><p>January 2020 — Colima, México. <br>Mexico City-based Kickass Partners was founded in 2015 by well-known tech author and entrepreneur Obie Fernandez as boutique CTO-for-hire consultancy providing solutions architecture, mentoring, and other forms of technology-driven leadership to tech startups. Kickass staff members will be relocating to Colima to work at MagmaLabs global headquarters.</p><p><em>“I’ve been friends with Carlos Rocha (CEO of MagmaLabs) for years now, and once we started actually working on projects together, it became more and more obvious the tremendous synergy in joining forces.” </em><strong><em>— </em></strong><a href="https://medium.com/u/9e1370f50f6e"><strong><em>Obie Fernandez</em></strong></a><strong><em> (</em>Kickass Partners)</strong></p><p>MagmaLabs is a web design and development agency founded in Colima, Mexico, dedicated to building innovative technology that positively impacts the world, growing talent in Mexico, working with our clients and teams in the United States, and showing the world that Mexico is filled with smart, capable, and trustworthy people. MagmaLabs exists to make a difference by innovating in how our clients do business in the Digital World.</p><p><em>“We created MagmaLabs with a purpose in mind, to identify, develop and promote diversity in tech and we are very proud to have a team of Mexico’s top software talent working together with a shared vision; with this merger, we will achieve a greater impact for our clients and Latino tech ecosystem” </em><strong>— </strong><a href="https://medium.com/u/be702847c2a4"><strong>Carlos Rocha</strong></a><strong> (CEO </strong><a href="https://medium.com/u/220799879097"><strong>MagmaLabs</strong></a><strong>)</strong></p><p>The joint company will continue to be known as MagmaLabs. Obie Fernandez will be stepping into newly-created position “Chief Consultant” and continue to exercise thought leadership in topics related to web development and agile software delivery.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZdIrj7dRIxfagRSDNBq7lQ.jpeg" /><figcaption>Obie Fernandez (Kickass Partners)</figcaption></figure><p><em>“Obie Fernandez helped me build and exit my last company. So, it was a no-brainer to hire Kickass Partners to build NOMADX’s global housing, community and education platform for digital nomads. Obie was involved as part-time CTO from the start of the project, and it’s now been almost six months since we have been leveraging his MagmaLabs engineers to take our business to the next level. So, we are excited about the merger as it just made sense.” </em><strong><em>— </em>Dave Williams (</strong><a href="https://medium.com/u/80b9877e92c2"><strong>NomadX</strong></a><strong>)</strong></p><p>Together, Kickass Partners and MagmaLabs are laying the groundwork for expansion into new geographic markets and technology fields, while continuously improving the quality of its core software delivery practice. MagmaLabs engineers are more qualified and ready than ever to take on new and exciting consulting projects.</p><p>For anyone looking for more information about our services or opportunities to the development team visit <a href="http://www.magmalabs.io/">http://www.magmalabs.io</a> or email <a href="/service/mailto:hello@magmalabs.com">hello@magmalabs.com</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8b0f891008c4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Top 10 Networking Tips in Toronto]]></title>
            <link>https://medium.com/@MagmaLabs/top-10-networking-tips-in-toronto-2219b5036cfb?source=rss-220799879097------2</link>
            <guid isPermaLink="false">https://medium.com/p/2219b5036cfb</guid>
            <category><![CDATA[networking]]></category>
            <category><![CDATA[toronto]]></category>
            <category><![CDATA[brand-strategy]]></category>
            <category><![CDATA[bussiness]]></category>
            <dc:creator><![CDATA[MagmaLabs]]></dc:creator>
            <pubDate>Mon, 20 Jan 2020 18:16:41 GMT</pubDate>
            <atom:updated>2020-01-20T18:21:55.116Z</atom:updated>
            <content:encoded><![CDATA[<p>Hello! I’m Fernanda Rojas, Brand Ambassador at MagmaLabs in Toronto. I have been working on the expansion of the company from Mexico to Canada for the last 10 months, and I would like to share my experience promoting the company abroad with you. By the way, this is my first blog post …so since we are in Canada, please be polite :)</p><p>When you are a newcomer, it is crucial to building relations; you don’t know the market, you don’t know how businesses are doing here, you don’t know anyone and no one knows you, so basically, you’re starting from zero.</p><p>Knowing the right people will open you the door to new opportunities, and get you that one client that would help you as a referral the all coming ones. You just have to be right once!</p><p>That is the reason why networking is essential when expanding abroad, and honestly, when you’re from Latin America, it’s more complicated since we’re not very used to networking in a complex ecosystem.</p><p>That’s why I decided to share these 10 Networking tips for nearshore companies which I have learned:</p><p>1. How do I know where to go?</p><p>Before attending any event you have to make your own research. You don’t want to be losing your time attending a three-hour event that it is not even related to your industry. Additionally, maybe you have a specific budget designated for events, so you really want to administer it and attend to the most valuable ones. A good way to start is by looking for hashtags and groups of your industry in your social media channels, or subscribing to meetup.com and always keeping an eye on Eventbrite.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2CbaKzhA1oW0pYwjqv3Xgw.png" /></figure><p>2. Prepare your Pitch</p><p>Whether you are attending a small meetup or a large event, basically you will have less than one minute to introduce yourself, your role, your company and what you are looking for. And yes, at the same time you have to try not to sound like a robot, stay smiley and do not rush too much because people would not understand what you are saying. Think of 150–250 words for your pitch and practice a couple of times before your event. It sounds hard, but after a couple of events, it will become more natural and you will sound more fluent.</p><p>3. Listen and show that you are actually listening</p><p>People love to talk about themselves, so let them talk and express themselves. Also, show real interest and keep asking questions. This will give you a better understanding of their needs. In the end, this would probably be your best chance to offer your service in a better-personalized way.</p><p>4. LinkedIn is your new best friend</p><p>The era of bringing 50 of your business cards is getting to the end and we are all glad about that. It saves a lot of time because it is a lot of work to enter all the contacts from one night to an excel sheet, and it also saves the environment. Even in the small things we have to stop wasting paper that we do not really need. So get your phone charged with your LinkedIn App, so you can add everyone you met instantly.</p><p>5. Forget about your diet</p><p>The favourite menu of every event: pizza, beer, and pop. If you are trying to run for a marathon in a couple of months or just trying to lose some weight, be sure to eat at home because networking events are not a synonym of healthiness. Sometimes there are some apples or bananas, it is not really common though.</p><p>6. Avoid being too “salesy”</p><p>Yes, we all are trying to sell our service/product and cannot wait to get a chance to talk and mention how unique an amazing our company is, but if you only try to sell your services, people will notice that therefore you could lose a lot of key opportunities. Be casual and friendly in the conversation (not every conversation will convert in your annual sales). Just relax and let the conversation flow.</p><p>7. Post it!</p><p>In order to increase your brand’s presence, it will be very important to post your work on your social media channels and identify which are the most popular ones within your current market. Be sure to include pictures and hashtags.</p><p>8. Submit the info ASAP</p><p>After an event, you will probably talk to around 10 to 15 people about very different topics and concerns. A good way to not forget important info is to create a very simple excel sheet with Name, Company and a column of “Notes” with a short summary of what you spoke about with every person.</p><p>9. Follow-up</p><p>You don’t have to send a very long email attaching a great proposal right after the event. A simple “It was nice to meet you yesterday at XXX” will open the next steps of your business relations.</p><p>10. Build the relation up</p><p>Be sure to stay in touch with the person that you met. If someone asks you for something, in particular, try to send it within the next couple of days after the event, forgetting and putting it off will make the relationship go cold. The best way after you’ve met someone is to meet for some coffee to keep on talking in a more casual way. Maybe you don’t win a client, but you can make a friend.</p><p>I really hope this can help you build more business relations and avoid some embarrassing moments. Also, I would love to get your feedback and personal experiences.</p><p>Have a nice networking time in Toronto!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2219b5036cfb" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Developer happiness is the key to the success of IT companies]]></title>
            <link>https://medium.com/magmalabs-people-and-culture/developer-happiness-is-the-key-to-the-success-of-it-companies-b0554f4523da?source=rss-220799879097------2</link>
            <guid isPermaLink="false">https://medium.com/p/b0554f4523da</guid>
            <category><![CDATA[work-life-balance]]></category>
            <category><![CDATA[developer-happiness]]></category>
            <category><![CDATA[best-place-to-work]]></category>
            <category><![CDATA[work-smart]]></category>
            <category><![CDATA[remote-working]]></category>
            <dc:creator><![CDATA[MagmaLabs]]></dc:creator>
            <pubDate>Thu, 13 Jul 2017 23:54:04 GMT</pubDate>
            <atom:updated>2017-07-14T00:25:47.349Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*l_1v_kyHRLwuSgxO58Mk4Q.jpeg" /></figure><p><strong><em>By Ulises García</em></strong></p><p>All developers like to work in a company where you can be productive and relaxed at the same time. Where there are special areas to chill and where you can take a break even to play video games when you need it.</p><p>What a client expects from a developer is productivity, which is reflected in the quality of the code that is delivered as well as the interaction of the platform with the users. This is why companies must have happy developers to see their productivity rise, otherwise, they’ll “leave the boat”.</p><p>Something that I’ve personally observed is that if the developer is happy working in the company, he or she won’t disregard their responsibilities even when the project is not to the liking of the developer, which speaks wonders of their professional ethics.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/225/0*1Mndt07UNHEPyp-B.png" /></figure><h3>What are companies willing to make to keep their developers happy?</h3><p>Nowadays IT offices like <a href="https://goo.gl/8jzBcd">MagmaLabs</a> have perks and spaces that aren’t in standard offices. Software engineers have many benefits, like free breakfast or lunch at the company, a room equipped with video games, board games, arcades, pin pong table, foosball table, English classes, yoga, and even spaces where you can take a power nap. When a company cares about its employees to have a pleasant time in the office, their level of happiness will be affected positively. This topic is so important that tools like officevibe were created to have a more accurate measurement so when there is a decrease in happiness, an alert trigger so the company can take action on the matter.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/476/0*KcrSbkqGTU3iD8hG.png" /></figure><p>A very important challenge faced by many companies nowadays is to integrate remote workers, and most of the time it can be difficult due to the difference of cultures. In order to solve this, <a href="https://goo.gl/8jzBcd">MagmaLabs</a> remote workers travel to have interaction with the rest of the company when there are recreation activities. I have not had the opportunity to work remotely, but I have done it from home and I know that it is difficult to keep concentration in that environment. If a project requires many hours of work a day it becomes difficult to carry on with the notion of time. To solve this, I share with you this blog post of a remote worker who calls 911 and is afraid of it, I recommend it a lot:<br><a href="http://www.newyorker.com/humor/daily-shouts/i-work-from-home">I Work from Home</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/324/0*sgkUc8u1GcMd3IBu.png" /></figure><h3>Why do we want happy Developers?</h3><p>It is simple to explain when a company has a good work environment where the developer feels comfortable and his emotional happiness is affected in a positive way, because it is reflected in the quality of the code that the developer delivers, and in the communication that he or she has with the team and the client.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/287/0*Ujro9h0sqEgX95Sa.png" /></figure><h3>Does it really help to have this in the office?</h3><p>Having happy developers helps a lot in the office and it is ideal for all companies that are looking to grow in different environments. This is not exclusive for developers, but for all jobs requiring face-to-face or remote work. The ideal scenario for all the companies is that the worker is willing to attend work and deliver their best effort and performance every day. A monthly reward or bonus will be always a plus, otherwise the company will have serious problems of brain drain.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/214/0*Z5mB1qvyj_ScLTEa.png" /></figure><h3>Developer happiness outside the office</h3><p>The number of remote workers and IT companies that hire them continues increasing and this practice has become more accepted. Many studies have shown the benefits of employees who work remotely, including the increasing of employee happiness, reducing wear rate, increasing productivity, and more.<br>Hiring remote developers means that the company can get the best person for the job, regardless of the city in which the person lives. If the company does not include remote work options, this could be cutting off the candidate’s hiring in half and eliminating the most qualified developers for the position.<br>In the book called<em> “Remote: Office Not Required”</em> we can find the benefits that an employee gets when working remotely, as well as the advantages this entails for the company, which saves up to $ 20,000 a year by not having to worry about toasting a workspace in a physical office, in addition, the employee can work more time in an administered way.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/230/0*jovFOoLSwgFUrgi5.png" /></figure><p>As we can see it’s very important to keep the developer happy in an optimal work environment so that productivity rises considerably because at the end this will be reflected in a good job and a satisfied customer. Changing a few habits also helps a lot, doing 30 minutes of exercise helps to generate more energy for better performance, not only physical exercise but mental exercises to help your mind to think in different and better ways to solve a task.</p><p>In my personal experience, I have been able to observe different work environments and it is easy to know when a worker is satisfied with what he is doing. The good atmosphere starts from the internal team of the project in which a developer is working when all the team members do their job well, everyone can rest easy knowing that things are going to work out. But when a team member begins to delay with their tasks, it is very likely that other teammates will have stress because they do not know if they have the support of that member. It’s important to constantly review the developer team happiness because this is the key to IT companies’ success.<br>Remember that writing code is an art and like every artist you have to keep the developer inspired.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/243/0*UaXJiNpxKpWRzDqR.png" /></figure><p><a href="http://www.magmalabs.io/"><strong><em>Magmalabs.io</em></strong></a><strong><em> </em></strong><em>is an expert UX/UI Design, Ecommerce, and Software Development consultancy. We build beautiful ecommerce, web, and mobile software solutions for startups, scale ups and corporate companies using innovative technologies, top talent, and exceptional quality assurance.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b0554f4523da" width="1" height="1" alt=""><hr><p><a href="https://medium.com/magmalabs-people-and-culture/developer-happiness-is-the-key-to-the-success-of-it-companies-b0554f4523da">Developer happiness is the key to the success of IT companies</a> was originally published in <a href="https://medium.com/magmalabs-people-and-culture">MagmaLabs People and Culture</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How-to be in charge of a project as a beginner developer and don’t die trying]]></title>
            <link>https://medium.com/magmalabs-people-and-culture/how-to-be-in-charge-of-a-project-as-a-beginner-developer-and-dont-die-trying-3b4e43b105ed?source=rss-220799879097------2</link>
            <guid isPermaLink="false">https://medium.com/p/3b4e43b105ed</guid>
            <category><![CDATA[tips-and-tools]]></category>
            <category><![CDATA[work-smart]]></category>
            <category><![CDATA[developer-stories]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[programming]]></category>
            <dc:creator><![CDATA[MagmaLabs]]></dc:creator>
            <pubDate>Thu, 13 Jul 2017 23:40:47 GMT</pubDate>
            <atom:updated>2017-07-13T23:43:41.436Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/840/1*m26kpcnn-3eE_AAylqVFBQ.jpeg" /></figure><p><strong><em>By Ulises García</em></strong></p><p>This post is mainly aimed at young developers who start their career in the world of work. However it is very likely that you, as an experienced developer, also feel identified with everything you are about to read, put yourself comfortable, go for a beer And enjoy reading, I hope this help you a lot.</p><p>When you are a beginner in the world of web, mobile or desktop development, there are two common cases that happen; The first one is where you feel able to do everything the client asks, after all, we have Google that will always help us if we need it, or we have a person who gives us feedback and tips to improve the code we write. The second case happens when you feel scared because you think you can’t do the job by yourself, this case can be solved by having a mentor to accompany you in the development process, and if he belongs to the same project that you are is even better, since he is familiar with the application code.<br>But, what happens when you are new in the development world and your boss leaves you alone in charge of a project that has gone through several hands before you? This may sound good or bad depending on the project itself because the sense of responsibility grows exponentially. Being the only developer of a project entails a series of emotions that I will describe below:</p><h4>“I can do everything they ask me.”</h4><p>Usually, this feeling is manifested when you have had school experience with the technologies that the project handles, but what happens when you have no idea of what technologies are being used in the application? It is normal for the developer to search and learn all the necessary technologies as well as the tools that facilitate the use of these and attack all necessary tasks.</p><h4>“I think I can do it, I just need to become more familiar with the code.”</h4><p>This is very important, before programming the first line in a project, that went through several developers before you, so make sure you understand how it works, why it was done in that way, and what are the limitations of the project and identify opportunities for code improvement. Being critical of your project is very important so that you will become aware of why you are going to do a task in the way you are going to do it. I consider that the first week of work in an inherited project must be taken to analyze the code, understand how it works and define if it can be improved, this will make the development speed good once you start writing code.</p><h4>“Why is this feature made like this? What if I optimize it?”</h4><p>This has to do with the previous point. The first thing to do is to contact the developer who was before you in the project when he belonged to the same company as you, he can help you to understand why things were done like that. But there will be times when the person who wrote that code is not reachable and other developers could fail to understand why it works all in that way. If you really see that you can optimize code and it’s not going to take you a long time to do it, it’s worth spending a couple of hours to improve it, always taking care that you will not break anything in the application, it’s about contributing to a cleaner code.</p><h4>“Why there isn’t any documentation?”</h4><p>A clean and well-written code will never require any documentation, as it must be very expressive in terms of naming variables, methods, functions, etc. The comments are useful to clarify situations that might be confusing, for example: “The variable is called ‘carWheel’ because there is also a ‘bikeWheel’ and both belong to the ‘wheel’ class.” If the code speaks for itself, it doesn’t need to be documented.</p><h4>“I am stressed, I have delivery tomorrow and I haven’t finished yet.”</h4><p>This case is very complex for the simple fact that time and stress are not good friends. In these cases what I recommend is that you raise your hand and ask for help with someone with more experience so that you can get your task done, this will be very constant at the beginning of your career as a developer, you should not feel bad for asking, on the contrary, you must feel with all the confidence to be able to ask questions to whom you want, for this you must follow a series of steps so that your question can be answered easily:<br> <strong>* Try to solve it yourself before asking:</strong> Try different ways to do it, research the internet possible solutions to your problem and try to implement them.<br> <strong>* 15-minute rule: </strong>Once you tried different things and didn’t work anything that you investigated and it has been more than 15 minutes since you are blocked then you can raise your hand to ask.<br> <strong>* Prepare your question: </strong>Before going with someone to ask you must create the question with useful information so people can help you to solve it. Include the problem you are having, the reason of that problem, what you want to solve that problem and everything you did to try to solve it. The latter is very important if you haven’t tried anything to solve it is very likely that they can’t help you with so little information. Your question should look something like this:</p><p><em>“Hello, I have a problem and I would like to know if you can help me. I have to validate that the date exists, for example, don’t write February 31st, I tried with ruby to take the value of the drop down where I request the date and make it a .to_date but when I receive the value of the date it is received as if it were March 3rd, I mean, it moves the date for 3 days and March 3rd is a date that does exist and I would like to know if there is a way to do the validation of the day.”</em></p><p>With this question, you are informing the other person of what your problem is, what possible solutions you have tried and didn’t work and what it is that you want to achieve at the end of the task, in this way it will be much easier to help you.</p><h4>“The designer asks me for things that are impossible to implement.”</h4><p>Usually this is a phrase that says someone who is afraid of the front-end, this is very common because for many developers, front-end is very difficult to implement and when they don’t have much experience, it can be a real nightmare to add a photo gallery when there are many tools that allow you to add these galleries very simply. Telling the designer that a thing can’t be done isn’t valid if it hasn’t been tried before. You should let him know that you have never done something like that and that it may take some time to implement it and analyze if it’s possible by the type of project that is carried.</p><h4>“I can’t do this, this is the end.”</h4><p>This is more common than you could imagine. At the beginning of your career as a developer you can run into projects that are very difficult to manage, what you should always take into account, is that you are not alone, there are many people willing to help you with pleasure and this will help you to take confidence little by little, if you do not know how to do something, ask, don’t stay silent, someone will come to help.<br>When you work for a medium or large size company you must have the confidence that you aren’t less than anyone, you are as valuable to the company just as the oldest member. Stress is something that will often lead to a non-optimal mood to solve a problem. Here is a tip: do a little exercise, physical activity helps to reduce your stress levels and keeps your body in a healthy way, as our profession demands to be seated for long periods of time, which causes slow metabolism and therefore you gain weight. There are only two types of programmers, the fat and the fit.</p><p>Finally, if you feel identified with all that I mentioned above, I send you a virtual programmer hug, you are not alone, I know that you can achieve what you propose!</p><p><a href="http://www.magmalabs.io/"><strong><em>Magmalabs.io</em></strong></a><strong><em> </em></strong><em>is an expert UX/UI Design, Ecommerce, and Software Development consultancy. We build beautiful ecommerce, web, and mobile software solutions for startups, scale ups and corporate companies using innovative technologies, top talent, and exceptional quality assurance.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3b4e43b105ed" width="1" height="1" alt=""><hr><p><a href="https://medium.com/magmalabs-people-and-culture/how-to-be-in-charge-of-a-project-as-a-beginner-developer-and-dont-die-trying-3b4e43b105ed">How-to be in charge of a project as a beginner developer and don’t die trying</a> was originally published in <a href="https://medium.com/magmalabs-people-and-culture">MagmaLabs People and Culture</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>