<?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[ottofeller - Medium]]></title>
        <description><![CDATA[OttoFeller is a software company specializing in complex projects and online solutions. - Medium]]></description>
        <link>https://medium.com/ottofellercom?source=rss----32f6f44179ad---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>ottofeller - Medium</title>
            <link>https://medium.com/ottofellercom?source=rss----32f6f44179ad---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 13:59:51 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/ottofellercom" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[AWS Lambda’s free tier is the best way to host your websites for free — isn’t it?]]></title>
            <link>https://medium.com/ottofellercom/aws-lambdas-free-tier-is-the-best-way-to-host-your-websites-for-free-isn-t-it-588689ca7269?source=rss----32f6f44179ad---4</link>
            <guid isPermaLink="false">https://medium.com/p/588689ca7269</guid>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[aws-lambda]]></category>
            <category><![CDATA[hosting]]></category>
            <dc:creator><![CDATA[gvidon]]></dc:creator>
            <pubDate>Thu, 05 Sep 2019 18:04:49 GMT</pubDate>
            <atom:updated>2019-09-05T18:04:31.699Z</atom:updated>
            <content:encoded><![CDATA[<h3>AWS Lambda’s free tier is the best way to host your websites for free — isn’t it?</h3><p><em>When it comes to a serverless approach, everyone talks about its main benefit: the cost savings. In this blog post, I will compare AWS Lambda’s free plan to the free plans of other app hosting providers. I’m going to provide real numbers to see how much a user can get from the most popular serverless hosting platform and its competitors without even paying for it.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Om-JXK3scMH4V5KtFYjPLA.jpeg" /></figure><h3>Comparing the free plans</h3><p>The average size of a typical HTML page with media assets is about 3MB. I’m going to calculate how many requests for a typical HTML page that AWS Lambda, Heroku and Netlify can serve while still on their free plans.</p><p><em>Important note</em>: The typical HTML page with all its media assets and CSS/JS scripts must be bundled into a single file. Otherwise, there will be a lot of additional requests that will make the calculations much more complicated and lower the overall effectiveness of using the free plan.</p><p>A single-file bundle is easily achievable with simple websites like landing pages or blogs. CSS and JS can be injected directly into HTML and images can be converted into SVG, which can then be injected into HTML or CSS as well. There are also effective tools like <a href="https://github.com/remy/inliner">https://github.com/remy/inliner</a> that allow seamless bundling of the entire contents of a web page into a single HTML file.</p><h3>Straight to the numbers</h3><h4>Netlify</h4><p><a href="https://www.netlify.com/">Netlify</a> does a great job making the deployment pipeline as simple and smooth as possible. With a couple of mouse clicks, a website can be published online right out of a Github or Bitbucket code repository. But they don’t stop with just hosting services; they also offer a set of configurable integrations for your website, like user identity management systems and forms.</p><p>Now let’s see how many requests to your website Netlify’s free plan can serve. Their <a href="https://www.netlify.com/pricing/">starter plan</a> has a bandwidth limit of 100GB <a href="https://www.netlify.com/blog/2019/02/26/netlify-and-bandwidth/">per month</a>, and as we already mentioned, the typical HTML page is 3MB.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0FNjaZIp6V_ZSdjiTb-0vQ.png" /><figcaption>100GB bandwidth means more than 34k requests monthly</figcaption></figure><p>More than 34k requests per month translates into 1,000 daily visitors on average. If your landing page converts at 1%, you can generate 10 leads monthly without even paying for hosting.</p><h4>Heroku</h4><p>This is another big player in the field of cloud hosting. Heroku appeared on the market a long time ago as an app-hosting solution. They done merely host websites, though. They also provide solutions for deploying and serving apps for platforms such as node.js or python. Like Netlify, they allow for Github/Bitbucket integrations for seamless deployment right out of the repo.</p><p>When it comes to limitations, Heroku’s limits are more about computation. But I can assure you that the limitations of the free plan are more than suitable for single-page website.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/290/1*aPhaN-QT-vcR4rXM__ytBw.png" /><figcaption>512mb worker is more than enough for a simple HTML-page</figcaption></figure><p>All of their plans have the same bandwidth <a href="https://www.heroku.com/policy/aup">limit of 2TB</a>, which equals almost 700,000 requests per month.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xFMPXW1Aj7zujM0tGgr15Q.png" /><figcaption>Much better than Netlify</figcaption></figure><p>This is 20x times higher than Netlify! I think almost any landing page you can imagine could be hosted on the Heroku. The big question now is whether or not AWS Lambda can beat these limitations.</p><h4>AWS Lambda</h4><p>Amazon released its service called Lambda in 2014. Back then, it was the first of its kind — namely, application hosting that didn’t require a server setup. A user can simply write some code in the form of a regular function in a supported language (like Java, JavaScript, Python, or many others supported to date) and host it on AWS Lambda “as is.” AWS Lambda does the rest, calling the function and autoscaling its resources when the number of requests goes up or down.</p><p>The function can do anything, including perform calculations, call other AWS services, or return an HTTP response object. Lambda calls are event-based, which means that the hosted function will be called when a particular event occurs (like an HTTP request or an upload to S3).</p><p>Now let’s estimate how many requests Lambda can serve. Surprisingly, this is very simple — 1,000,000 requests per month, according to <a href="https://aws.amazon.com/lambda/pricing/">the official website</a>. One million! If that is not enough for you, then here is another thing — the Lambda free tier is permanent, which means it doesn’t expire in 12 months like some of the other AWS services!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/808/1*BO-nzKPNmMG1-qQxabkFAw.png" /><figcaption>AWS Lambda allows for 1,000,000 requests monthly!</figcaption></figure><p>One million requests without an expiration period make the Lambda the absolute champion of free hosting. Within these limits, you can easily host a few of your single page websites for free — forever. As a bonus, you get seamless integration with many other AWS services, which is really great and opens limitless possibilities for scaling a project!</p><h3>Are there any caveats when using AWS Lambda?</h3><p>Even though there is no server setup, deploying on AWS Lambda can be a bit tricky compared to Netlify or Heroku, which merely pull a code from a repository. In order to deploy on Lambda, you need to upload your code onto AWS S3 and do some configuration of the Lambda service to point it to the uploaded code. There are several approaches to automate the process, but they are trickier than just pulling a code from a repository. With tools like <a href="https://serverless.com/">https://serverless.com</a>, you will need the help of a developer or devops specialist in order to put your website online.</p><h3>What are serverless functions best used for?</h3><p>As mentioned previously, serverless functions perfectly suit <a href="https://ottofeller.com/blog/a-static-website-simplicity-performance-and-SEO-that-fits-any-project">static websites</a>. They can serve your blog, or a landing page, or a simple company website with a few pages and a couple of forms for lead generation. Any sort of HTML/CSS/JS can be served by AWS Lambda or similar implementations of serverless functions.</p><p>Lambda can also serve the other side of a website: the API. It can perform DB requests, call 3rd parties, process uploaded files, and more. It can scale resources up and down on-demand automatically, so you don’t need to set up and maintain a resource-and-money-consuming computational cluster.</p><p>But why are we just talking about static websites and API when lambdas can do so much more? Lambdas are computational primitives, which means they can do almost anything you want. There are some platform restrictions, but generally, you are only limited by the programming language that the serverless functions are coded in. Don’t forget that serverless functions are deeply integrated into the infrastructure of a cloud hosting provider (e.g., within AWS Lambda you can access all the available AWS services). You can create a lambda that takes your photos, finds persons in the images, and saves this information in the DB. It works in the following way:</p><ul><li>Take an image uploaded onto AWS S3 cloud storage.</li><li>Perform face recognition over the uploaded image with AWS Rekognition.</li><li>Put results into PostrgreSQL DB hosted on AWS RDS.</li></ul><p>All the operations are performed within AWS cloud, with a seamless vendor SDK for every piece of the puzzle.</p><h3>Conclusion</h3><p>It sounds unbelievable, but with some extra configuration, a few tweaks to the deployment process, and a few simple tools, you can host some of your websites or web apps for free — forever! Free tiers of cloud hosting providers fit the needs of any web app or small website (and sometimes medium websites).</p><p>The most mind-blowing thing is that this is true not only for simple bare-bones websites but also for apps that use databases for storing data or facility services like emailing. If you’ve never done it before, then have a look at the free tiers of <a href="https://aws.amazon.com/en/free/?all-free-tier.sort-by=item.additionalFields.SortRank&amp;all-free-tier.sort-order=asc&amp;awsf.Free%20Tier%20Types=tier%23always-free&amp;awsm.page-all-free-tier=3">AWS</a> or <a href="https://cloud.google.com/free/docs/gcp-free-tier">Google Cloud</a>. <strong>It is truly amazing how much computing power you can get for free nowadays!</strong></p><p><em>Originally published at </em><a href="https://ottofeller.com/blog/aws-lambdas-free-tier-is-the-best-way-to-host-your-websites-for-free-isnt-it"><em>https://ottofeller.com</em></a><em> on September 5, 2019.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=588689ca7269" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ottofellercom/aws-lambdas-free-tier-is-the-best-way-to-host-your-websites-for-free-isn-t-it-588689ca7269">AWS Lambda’s free tier is the best way to host your websites for free — isn’t it?</a> was originally published in <a href="https://medium.com/ottofellercom">ottofeller</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 conduct research and successfully launch a product]]></title>
            <link>https://medium.com/ottofellercom/how-to-conduct-research-and-successfully-launch-a-product-a44105cbc43c?source=rss----32f6f44179ad---4</link>
            <guid isPermaLink="false">https://medium.com/p/a44105cbc43c</guid>
            <category><![CDATA[startup]]></category>
            <category><![CDATA[surveys]]></category>
            <category><![CDATA[research]]></category>
            <dc:creator><![CDATA[gvidon]]></dc:creator>
            <pubDate>Tue, 06 Aug 2019 14:48:38 GMT</pubDate>
            <atom:updated>2019-08-06T14:48:15.842Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Launching a product without research rarely leads to success, unless you have 50-plus years experience in the market and in the niche of a product. To those who are not that old and not that wise, the following steps will help to reduce the risk of wasting your efforts.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bC1V_iUYez9lp0z7RPoYCg.jpeg" /></figure><h3>Find similar products</h3><p>Find as many similar products as you can, and learn how they attract customers. Learning from others is the very first thing you have to do. Maybe the problem you are going to solve has already been solved by someone else. Maybe with a different approach (or tools), it is no longer a problem and you end up solving an artificial issue. Ask your friends and colleagues about how they solve the problems your product is going to solve. Talk about the products they use. Argue with them, but don’t be offensive — try to find out if they are satisfied with what they have now.</p><p>Even if you find similar products, try to discover what they are missing. As mentioned above, there will be situations when you find that your problem is artificial. More often you will find a perfect solution to your problem. But don’t rush the decision about the viability of your product! Thoroughly learn what others do and if they do it right. Often a small detail or a nice little touch becomes a killer feature that persuades a user to buy your product.</p><h3>Conduct a survey</h3><p>If all of your friends and colleagues love the product, then you are on your way to implementing the MVP. However, if some of them don’t like the idea, it must be tested on a broader audience. You need a survey.</p><p>Obviously, the most important part of conducting a survey is the questions. The purpose of the questions are:</p><ul><li>To get answers about which solutions to the problem are presently popular.</li><li>To uncover the most painful points of existing solutions.</li><li>To learn which features of your product are most valuable.</li></ul><p>While preparing the questions, be sure to stay as simple as possible and avoid complex questions. It’s better to have a few short questions than one big question that is hard to understand. Also, don’t forget that no one will take your survey as an obligation — if someone finds it to be too boring or too long, they will just leave it.</p><p>When you have your questions, you are ready to publish them online and finally conduct a survey. There are many tools that provide survey-hosting services as well as a paid audience that will be driven to your survey. One of the most popular tools is <a href="https://www.surveymonkey.com/">Survey Monkey</a>. When it comes to paid audience, Survey Monkey allows for very precise targeting. You can even pick the education level or religion of respondents. There are literally hundreds of options! Also, don’t forget that if you decide to go solely with a paid audience, then your survey can have many questions — paid respondents have an obligation to complete the survey.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NJwUv0VlCyyfvs0KA_0ikQ.png" /><figcaption>This is a very small portion of SurveyMonkey audience targeting options](./targeting-options.png)</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*G-xro6Zdrq0xikxJWIA0IA.png" /><figcaption>This is how HotDog detecting app logic can be clearly described in a flowchart diagram</figcaption></figure><p>Other options to consider when it comes to conducting a survey would be social media, like Facebook, Twitter, or even Reddit. If your survey consists of just a few questions, it is worth trying to combine them into a single message and publish on your social media pages. This works best if you have a large number of followers. If you don’t, then do a paid promotion of the post and drive targeted audience there. But don’t expect a level of targeting like Survey Monkey from Twitter or Reddit.</p><h3>Talk to a mentor</h3><p>Surveys are a great way to learn about your idea or product. But it may take time to prepare a good survey that will bring valuable results. If you don’t want to wait, consider talking to a mentor. Find people who are proven to be experts in your product niche. You can even find paid mentorship services online. As part of a paid mentorship, they will evaluate your idea and provide a detailed explanation of why your idea is viable or not. Obviously, this will not be an absolute truth but will give you a very good insight about the weak points of your product.</p><p>Make sure you have prepared your idea or product to be properly demonstrated to a mentor. If a mentor has an unclear understanding of the product, he will make wrong assumptions that can potentially ruin your motivation. Create a presentation or a flowchart of the core business logic-or even wireframes of the future UI if you are going to build an online product. The following tools should seriously facilitate the process:</p><ul><li><a href="https://www.dropbox.com/paper">Dropbox Paper</a> — Online tool from Dropbox for collaboration and online presentations. The tool allows creating impressive presentation docs with media, spreadsheets, and even to-do lists. Moreover, it has a lot of 3rd-party integrations that open a lot of possibilities for presenting a product in the best way. As stated above, it was created with collaboration in mind, so you can easily use it for discussions.</li><li><a href="https://whimsical.com/">Whimsical</a> — the perfect tool for drawing flowcharts and mind maps. Diagrams are the easiest way to explain a product’s flow. A textual or verbal description will never be as meaningful as a single picture.</li><li><a href="https://www.mockflow.com/">Mockflow</a> or <a href="https://proto.io/">Proto</a> — for creating wireframes of your future product. Actually creating wireframes is the next step, one which is closer to the implementation of a product. You will have a lot of iterations with wireframes if your product needs a very solid UX.</li></ul><p>Don’t forget that it’s not a demo for investors, so your demo can be ugly, but it must not leave a single unclear point about your product. It must be verbose and explicit. Its goal is to clearly explain how it works and how it is better than others.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JmmvUsvOYpQONPj3v9gPcg.png" /><figcaption>This is how HotDog detecting app logic can be clearly described in a flowchart diagram</figcaption></figure><h3>Finally, take the risk!</h3><p>Research is very important, but don’t stick to it forever. You can easily lose motivation if you are not making valuable progress. As soon as there is a chance that your product will find its audience, take the risk and get to the implementation.</p><p>Start with a list of MVP (Minimal Viable Product) features. Don’t plan too much for the MVP stage, because the product still has the risk of wasting your time and efforts. So, using minimum resources you need to create a couple of core features and see how people react. Don’t miss the must-have features. Having an MVP plan is crucial — you can either pick the right minimum set of features that everyone needs and launch fast, or you can create a product that no one understands, even though it has the potential to solve a real problem.</p><p>Another important thing — you have to forget about perfectionism. I mean it. Your first implementation can be buggy and dirty, but if it solves a problem, no one cares! Conventional wisdom says that if you don’t feel shame after launching a product, you launched too late. Thus implement an MVP, do a quick test, fix some bugs, and launch-launch-launch!</p><p><em>Originally published at </em><a href="https://ottofeller.com/blog/how-to-conduct-research-and-successfully-launch-a-product"><em>https://ottofeller.com</em></a><em> on August 5, 2019.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a44105cbc43c" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ottofellercom/how-to-conduct-research-and-successfully-launch-a-product-a44105cbc43c">How to conduct research and successfully launch a product</a> was originally published in <a href="https://medium.com/ottofellercom">ottofeller</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A static website — simplicity, performance, and SEO that fit any project]]></title>
            <link>https://medium.com/ottofellercom/a-static-website-simplicity-performance-and-seo-that-fit-any-project-248fb2a72e14?source=rss----32f6f44179ad---4</link>
            <guid isPermaLink="false">https://medium.com/p/248fb2a72e14</guid>
            <category><![CDATA[gatsbyjs]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[static-site-generator]]></category>
            <category><![CDATA[static-site]]></category>
            <dc:creator><![CDATA[gvidon]]></dc:creator>
            <pubDate>Mon, 15 Jul 2019 15:57:30 GMT</pubDate>
            <atom:updated>2019-07-15T15:58:01.188Z</atom:updated>
            <content:encoded><![CDATA[<h3>A static website — simplicity, performance, and SEO that fit any project</h3><h3>What is a static website?</h3><p>In its most basic form, a static website is a bunch of HTML/CSS/JavaSscript files served by a web server. In other words, there is nothing between the static files and the web server that serves them over HTTP — no dynamically generated pages or templates. There are no frameworks or cloud infrastructure, just static files that you can host with any cloud provider almost for free. This article highlights the features and benefits of static websites that make them a perfect fit for most online projects, even for web apps. Additionally, this article will briefly cover tools for generating static websites from JavaScript apps.</p><h3>Benefits</h3><h4>Performance</h4><p>According to <a href="https://www.thinkwithgoogle.com/marketing-resources/data-measurement/mobile-page-speed-new-industry-benchmarks/">Google’s research</a>, if your website loads from anywhere from 1 to 3 seconds, the probability of a bounce increases by 32%. It means that every 3 out of 10 visitors to your website will leave your page without even touching all your marketing bells and whistles. Your website must load faster than a second because users will not tolerate a lack of speed. If your website loads slowly, your potential customers will simply leave. The good news is that static websites can lift the performance of your website to a new level, even without applying advanced techniques. Instead of calling a database or other external source of data, a web server simply sends a bunch of files from a local drive right into the user’s browser. The absence of computation on the server side saves a lot of time!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*-5r3NoA0ZWxnp2jntl5TXA.png" /></figure><h4>SEO</h4><p>Google likes fast websites and ranks them higher. That’s another benefit of static websites because they consistently load faster than dynamically generated websites. Along with performance, static websites solve other issues that prevent your page from floating to the top of Google search results. Static content, which is not generated by javascript, is extremely easy to parse by Google’s crawler. A crawler seamlessly walks through your HTML and collects all the copies, with no need to call your scripts. This means that your websites will be faster and will be ranked higher.</p><h4>Simplicity of deployment</h4><p>As we mentioned a moment ago, a static website is just a set of files, mostly HTML/CSS/JavaScript. These files can be served by any existing web server, so there is no need for any specific configuration or set up — just copy the files and that’s it! Moreover, you have plenty of options for automated deployments, which are all pretty painless. For example, you can set up your codebase repository on Github to trigger and copy files to Netlify cloud hosting whenever files are changed in one of the branches. This can be done in a matter of a few clicks.</p><h3>Perfectly fits serverless architecture</h3><p>Serverless functions are indeed a perfect fit for static websites. Setting up a function that serves HTML using services like <a href="https://aws.amazon.com/lambda/">AWS Lambda</a> is incredibly simple and should be covered by every article that explains how to start deploying serverless functions. The main advantage of running a static website as a serverless function is quite obvious: hosting bills will be significantly lower compared to traditional cloud hosting. By significant, I mean something like 50–60% reduction in cost. Isn’t that a good enough reason to give static websites a try?</p><h3>Can a static website replace a web app?</h3><p>Modern static website generators are powerful tools for generating static files from a JavaScript app. They can deliver a sophisticated user experience and a complex business logic backed by JavaScript. Let’s take the most famous static website generator <a href="https://www.gatsbyjs.org/">Gatsby.js</a> as an example. It is quite common to create real web apps with it, and these apps limitations will hardly be noticeable. At the same time, Gatsby.js lacks any complexity and allows you to create static websites seamlessly and very quick. It is as simple as writing a couple of React components in the file structure according to Gatsby.js. The generator will then build static pages from these components, namely a set of JS/HTML/CSS files.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/908/1*X3su3lAc_31PUnO999ExiQ.png" /></figure><h3>What types of projects are static websites good for?</h3><p>Static websites are the perfect fit for your next fully featured blog with media content (video, images, or audio), tags, comments, and small but important features like pagination or a “filter by date” function. It will be your one-stop tool. If you want to keep the content of your blog in your favorite online writing tool (like Google Docs or Dropbox Paper), you can set up a static website generator to pre-fetch data using the API of these tools. Another obvious application for static websites is landing pages. The purpose of creating a landing page with a static website generator is that this approach will allow for new features by simply adding a JavaScript module. If your website is generated by Gatsby.js, then you are able to pick from tons of ready-to-go JavaScript modules written in React. There is everything you need — forms, video players, image galleries, analytics, 3rd-party API SDK like Facebook or Google, and many others.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Gvc40SiUfClPOX7HBW8FPA.jpeg" /></figure><h3>The application of static websites is not limited!</h3><p>As it turns out, blogs and landing pages are not the only applications for static websites. In fact, there are many others. Promo websites, or for example online surveys, all sorts of feedback forms — they all can be implemented as a static website in an elegant and robust way. Chances are very high that your website or (well-structured web app) can be implemented as a set of static files. At the end of the day, everything on the internet is represented as HTML/CSS/JS files.</p><p><em>Originally published at </em><a href="https://ottofeller.com/blog/a-static-website-simplicity-performance-and-SEO-that-fits-any-project"><em>https://ottofeller.com</em></a><em> on July 10, 2019.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=248fb2a72e14" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ottofellercom/a-static-website-simplicity-performance-and-seo-that-fit-any-project-248fb2a72e14">A static website — simplicity, performance, and SEO that fit any project</a> was originally published in <a href="https://medium.com/ottofellercom">ottofeller</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Feature teams are the choice for projects with deadlines]]></title>
            <link>https://medium.com/ottofellercom/feature-teams-are-the-choice-for-projects-with-deadlines-1184be87f334?source=rss----32f6f44179ad---4</link>
            <guid isPermaLink="false">https://medium.com/p/1184be87f334</guid>
            <category><![CDATA[component-team]]></category>
            <category><![CDATA[project-management]]></category>
            <category><![CDATA[feature-team]]></category>
            <category><![CDATA[agile]]></category>
            <dc:creator><![CDATA[gvidon]]></dc:creator>
            <pubDate>Mon, 17 Jun 2019 08:54:58 GMT</pubDate>
            <atom:updated>2019-06-17T08:53:58.414Z</atom:updated>
            <content:encoded><![CDATA[<p><em>The concept of feature teams became popular not so long ago and for sure can be considered as a modern way of organizing project teams (or scrum teams). In this article, I’m going to explain the benefits of running a project with feature teams and compare the approach to the more traditional way — component teams.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*B2GcJHcAUI1nJqVp8mFtpQ.jpeg" /></figure><h3>Feature teams deliver value for a product</h3><p>A feature team, as the name implies, is a team that works on a particular feature of a product. A feature team delivers value for a product, not just a value for a project. It is fair to say that delivering a product as a set of features, one by one, can be considered as the most natural way of communication between a customer and developer teams.</p><p>A feature team always consists of generalist specialists or has all the specialists who are required to complete a particular feature. In the context of web development, a feature team may include frontend developers, HTML/CSS coders, backend developers and dev ops specialists who work together on a single feature in a time.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eUvUpKS5DUcbsajmNh6KqQ.png" /><figcaption>Feature teams in the context of web development</figcaption></figure><h3>Component teams are the traditional way of running a project</h3><p>A component team works on a specific part of a feature and is not able to deliver a product feature alone. Because of narrow specialization, the deliverables of a single component team are less important to a customer than a feature team deliverables.</p><p>Returning to the web development example from the above every layer of feature or a product requires to set up a component team — frontend, HTML/CSS, and backend. More importantly, component teams must establish a clear way of communication and collaboration. These things are crucial because very often, an output of one component team becomes an input for another component team.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/840/1*xjGCw5sRf-i3UTJxMzdNVw@2x.png" /><figcaption>Component teams in the context of web development</figcaption></figure><h3>Managing of components team is hard</h3><p>It really is, for numerous reasons. First, as mentioned above, the communication and collaboration between component teams must be crystal clear. Otherwise, consequences may be critical to a project. E.g., providing a backend team with specs that are different from frontend team specs slows an API integration down. Even worse, in some cases — makes API integration impossible.</p><p>Another issue is the waterfall tasks management. A component team that depends on the results of another team has to wait. Such relations make the process sequential and inevitably delay the final release of a feature.</p><p>On the other hand, feature teams are more independent. Therefore flaws in communication and collaboration are less critical here. However, the trick here is to break a project into features properly. These must be big enough features, to stay separate from each other. Avoid nested features. Otherwise, feature teams may keep strong dependencies between each other.</p><h3>Delivering features is a natural way</h3><p>Any customer is happy to know that a feature is released. No one is interested to know if a database is ready or if backend API passes all tests if there is nothing final to play with. To track progress by the number of features released is a natural way for customers, for sure. Don’t forget that customers are often non-technical persons. However, they always want to know where you are with the project.</p><p>Planning by features is also easier for a project manager. Because unlike with component teams, with feature teams, a project manager doesn’t have to synchronize between teams to release a feature. Synchronizing is not necessary, because a single team releases a feature with all layers encapsulated in. A single team is responsible for everything related to a single chapter of business logic.</p><h3>Generalist developers drive feature teams</h3><p>The ability to develop every component of a feature in a feature team is ensured mostly due to the generalist developers. They can handle different parts of a system on their own, not waiting for feedback from teammates. Often generalist developers are even capable of releasing a sub-feature alone. Such independence significantly reduces the amount of communication and saves a lot of time!</p><p>However, there are caveats. You may gain in speed, but you may lose in quality if all developers of a feature team are too generalists. It is crucial that every feature team has a team leader who understands how every component works, almost in depth. Alternatively, a feature team may include developers who understand some components better than others. In other words, there always must be someone who can help and give advice on how to properly apply a component.</p><h3>Which one is better?</h3><p>Almost always feature teams perform better than component teams. Reduced need for communication means a lot!</p><p>However, sometimes feature teams are not enough. Highly specific components often require a dedicated team that consists of narrow specialists. E.g., it is always better having a dedicated team for AI components, because this domain is too specific for generalist developers. A more obvious example where component teams have no better alternatives — web and native teams. Web developers can rarely develop mobile/native software. Even though such tools like React Native seriously simplify cross-platform coding, there are still too many specifics when developing for a mobile/native.</p><p>I highly encourage you to try the feature teams approach. Though be careful, and don’t follow it blindly. Pick a team structure according to project goals, and don’t hesitate to try a hybrid approach. The best approach is the one which brings you results.</p><p><em>Originally published at </em><a href="https://ottofeller.com/blog/feature-teams-is-the-choice-for-projects-with-deadlines"><em>https://ottofeller.com</em></a><em> on June 17, 2019.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1184be87f334" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ottofellercom/feature-teams-are-the-choice-for-projects-with-deadlines-1184be87f334">Feature teams are the choice for projects with deadlines</a> was originally published in <a href="https://medium.com/ottofellercom">ottofeller</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Effective project management with Github]]></title>
            <link>https://medium.com/ottofellercom/effective-project-management-with-github-3947c5b34003?source=rss----32f6f44179ad---4</link>
            <guid isPermaLink="false">https://medium.com/p/3947c5b34003</guid>
            <category><![CDATA[task-management]]></category>
            <category><![CDATA[github]]></category>
            <category><![CDATA[project-management]]></category>
            <dc:creator><![CDATA[gvidon]]></dc:creator>
            <pubDate>Wed, 08 May 2019 12:24:16 GMT</pubDate>
            <atom:updated>2019-05-08T12:23:44.824Z</atom:updated>
            <content:encoded><![CDATA[<p><em>During years of work on projects of varying complexity, I tried a number of project management tools. Starting from simple TODOs to more serious tools like Asana, Trello or even Jira. Today I want to explain why I ended up using Github and show how we use it in our company.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KtSs-Qiibwwmw_JnVe2G1g.jpeg" /></figure><h3>Very close to the code</h3><p>GitHub is a code repository hosting platform first, and then it is all the other tools around it. Github project management and task management tools are very close to your code, which means that you can seamlessly add a reference to a commit or a particular line in a commit, or to a pull request in every comment or message you add on Github.</p><p>You can even <a href="https://help.github.com/en/articles/creating-a-permanent-link-to-a-code-snippet">paste a reference to a bunch of code from your codebase</a>, and Github automatically transforms this reference into the widget with real highlighted code!</p><p>It also works in another direction. <a href="https://help.github.com/en/articles/autolinked-references-and-urls">In your commit messages, Github parses into a link any reference to an issue/comment/PR.</a></p><p>Cross-referencing is what Github does well. For example, it tracks all the references to an issue/PR from comments to other issues/PRs. So, you can always find related tasks while observing a single issue.</p><h3>Has enough project management features</h3><p>When Github started, its goal was not project management but code hosting. Github Issues back then were the way to submit a bug or suggest a feature to a hosted software. It wasn’t aimed to be a fully featured task management tool. However, it has evolved, and now it has enough features to provide to those who are looking to implement different project management approaches and techniques on top of Github.</p><p><a href="https://help.github.com/en/articles/about-issues">Issues</a> (or call it tasks) are at the core of Github project management. While creating an issue, you are allowed to use markdown syntax. You can assign an issue to multiple developers. It can also have multiple labels assigned to it. Moreover, you can filter issues by these labels.</p><p>When you find that you have too many issues that are related to the same feature or to a release you can group them into <a href="https://help.github.com/en/articles/about-milestones">milestones</a>. Grouping issues into milestones make the tracking of progress much simpler — fewer things in front of your eyes. Also, milestones UI shows a nice progress bar.</p><p>Github even tracks editing history of issue description or comment. With diffs provided!</p><p>Milestones are an excellent way to group things, but there is another thing which is traditionally aimed to help in tracking a state of tasks. <a href="https://help.github.com/en/articles/about-project-boards">Github Projects</a> allows one to represent issues in the form of kanban. It is not a replacement for milestones, but a perfect amendment. One of the approaches may be like this — use milestones to group things which belong to the same feature or same release, and use projects for presenting each of your scrum sprint (one project per sprint) with columns for each of the states of an issue — todo, in progress, done.</p><h3>Has primitive automation</h3><p>With Github you can manipulate a state of an issue in the following ways:</p><ul><li>you can close an issue by sending a commit with a special message into the main branch. A commit with the word “closes” or “fixes” (and <a href="https://help.github.com/en/articles/closing-issues-using-keywords">few others</a>) following with a number of an issue in its message closes an issue. E.g., “Change the color of the button. Fixes #123” closes the task #123.</li><li>the same thing works if you mention magic words in the description of a Pull Request. After you merge the PR into the main branch, an issue closes automatically.</li></ul><p>Automation doesn’t end up at the closing of an issue with a magic word. You can manipulate the position of an issue in a column of a project. E.g., you can pick a column where to put newly added issues. You can pick a column where to put closed or reopened issues. You can also create a column called Wrong and set the automation to put all reopened issues into this column.</p><h3>Not perfect but constantly improves</h3><p>In conclusion, I need to say what everyone who has been using Github already noticed. After Microsoft acquired it, it started to improve rapidly. There was some period when new features were coming every week! Usually far from major, but rather some small helpful improvements.</p><p>It seems like people from Microsoft see much potential in Github, and this is good news! Github as a platform is here for a long time, and it is definitely worth giving it a try.</p><p><em>Originally published at </em><a href="https://ottofeller.com/blog/effective-project-management-with-github"><em>https://ottofeller.com</em></a><em> on May 8, 2019.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3947c5b34003" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ottofellercom/effective-project-management-with-github-3947c5b34003">Effective project management with Github</a> was originally published in <a href="https://medium.com/ottofellercom">ottofeller</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Run strapi.js, next.js and PostgreSQL inside docker container in just few lines]]></title>
            <link>https://medium.com/ottofellercom/run-strapi-js-next-js-and-postgresql-inside-docker-container-in-just-few-lines-5374d5c733b4?source=rss----32f6f44179ad---4</link>
            <guid isPermaLink="false">https://medium.com/p/5374d5c733b4</guid>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[strapi]]></category>
            <category><![CDATA[nextjs]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[headless-cms]]></category>
            <dc:creator><![CDATA[gvidon]]></dc:creator>
            <pubDate>Fri, 15 Feb 2019 09:57:14 GMT</pubDate>
            <atom:updated>2019-02-19T08:21:39.568Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Today’s post is truly technical, it lacks long reflections about different approaches, techniques or methodologies. It explains how to run the entire aforementioned stack of services with just few lines of code in a single docker-compose file.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WQNEQHII82MSfJXi20X5Ag.jpeg" /></figure><h3>Start a project with strapi.js and next.js</h3><p>strapi.js is the extensible headless CMS. It delivers CRUD API right out of the box, with no need of a complicated configuration. It even has GraphqQL plugin, so I would say that’s a perfect fit for the role of API for a modern medium sized next.js app (for a small next.js app you usually don’t need an API).</p><p>Let’s start a new project with strapi.js and next.js. Create new dir and perform the following commands there. I’m assuming strapi.js project to be in cms/ dir under the root project dir, and next.js to be in frontend/ dir.</p><p>Install strapi.js first:</p><pre>npm install strapi@alpha -g</pre><p>Now create strapi.js project:</p><pre>strapi new cms</pre><p><strong><em>Important note.</em></strong><em> While creating a new project strapi.js needs an open connection to your DB. In order to have just DB run the docker-compose (find the docker-compose file below) like this:</em></p><pre>docker-compose up db</pre><p>Cool! API backend is installed and ready to go. This article neither cover any deeper setup nor it provides any hello-world examples, it is only about starting barebones apps.</p><p>Installing next.js is the less convenient procedure. First create the dir for next.js app:</p><pre>mkdir frontend/</pre><p>Install next.js, run this in frontend/:</p><pre>npm install --save-exact next react react-dom</pre><p>In package.json add scripts for running and building the app:</p><pre>{<br>  &quot;scripts&quot;: {<br>    &quot;dev&quot;: &quot;next&quot;,<br>    &quot;build&quot;: &quot;next build&quot;,<br>    &quot;start&quot;: &quot;next start&quot;<br>  }<br>}</pre><p>You are ready to go!</p><h3>Describe services in docker-compose.yml</h3><p>Now let me show how to run the whole stack including Postgres DB with just single docker-compose file, and nothing else. Same thing can be done with simple bash script but in this case DB must be installed on the host machine by every developer who work with the project — and this is often not acceptable.</p><p>With this setup there is no need to run anything locally, even npm install command. Docker-compose will take care of everything! 💪</p><p>Create the file called docker-compose.yml in the root of the project with the following content:</p><pre>version: &quot;3.7&quot;</pre><pre>services:<br>  cms:<br>    image: node:10<br>    ports:<br>      - 1338:1338<br>    volumes:<br>      - ./cms:/usr/local/app<br>    depends_on:<br>      - db<br>    restart: always<br>    working_dir: /usr/local/app<br>    entrypoint: &quot;/bin/bash&quot;<br>    command: &quot;-c \&quot;if [ ! -d \&quot;node_modules\&quot; ]; then npm i; fi; npm run start\&quot;&quot;<br>    environment:<br>      - DATABASE_HOST=db</pre><pre>  db:<br>    image: postgres<br>    restart: always</pre><pre>  ports:<br>      - 5432:5432</pre><pre>  environment:<br>      POSTGRES_DB: mydb<br>      POSTGRES_PASSWORD: mypassword<br>      POSTGRES_USER: myuser</pre><pre>  frontend:<br>    image: node:10<br>    ports:<br>      - 3000:3000<br>    volumes:<br>      - ./frontend:/usr/local/app<br>    restart: always<br>    working_dir: /usr/local/app<br>    entrypoint: &quot;/bin/bash&quot;<br>    command: &quot;-c \&quot;if [ ! -d \&quot;node_modules\&quot; ]; then npm i; fi; npm run dev\&quot;&quot;</pre><p>And finally start the app with docker-compose up in the root of the project. Wait few minutes while node packages will be installed (if any were added) and open the app in your browser at <a href="http://localhost:3000/">http://localhost:3000</a> That’s it!</p><p>As you can see the whole technologies stack is fitted into single file. Running it does not require installation of anything except Docker on a local computer. There is no need in any configuration or settings. And most importantly <strong>it is the only thing any developer in your team needs in order to start the app.</strong></p><p><a href="https://ottofeller.com/"><em>OttoFeller</em></a><em> is the software development company specialising in front end of complex web applications and in promising cutting edge technologies.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5374d5c733b4" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ottofellercom/run-strapi-js-next-js-and-postgresql-inside-docker-container-in-just-few-lines-5374d5c733b4">Run strapi.js, next.js and PostgreSQL inside docker container in just few lines</a> was originally published in <a href="https://medium.com/ottofellercom">ottofeller</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Two important things about GraphQL schema design]]></title>
            <link>https://medium.com/ottofellercom/two-important-things-about-graphql-schema-design-c729f474e749?source=rss----32f6f44179ad---4</link>
            <guid isPermaLink="false">https://medium.com/p/c729f474e749</guid>
            <category><![CDATA[graphql]]></category>
            <category><![CDATA[schema]]></category>
            <dc:creator><![CDATA[gvidon]]></dc:creator>
            <pubDate>Wed, 16 Jan 2019 14:18:23 GMT</pubDate>
            <atom:updated>2019-01-23T19:25:17.772Z</atom:updated>
            <content:encoded><![CDATA[<p><em>GraphQL is a great tool and it is becoming more and more popular. When you start it first time suppress your temptation to start coding. Read this article first. I would also recommend reading </em><a href="https://www.apollographql.com/docs/apollo-server/essentials/schema.html#design-for-client"><em>this part of Apollo official docs</em></a><em>, which gives detailed advices on how to design your GraphQL schema.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5uxxjl02K_cD4m3ezNsXyA.png" /></figure><h3>Always reuse your types</h3><p>Don’t create types which are specific to a particular query, and which are basically are subset of some bigger types. <strong>This is huge mistake!</strong></p><p>Let me show you an example.</p><p>Imagine you are developing image hosting website and in order to fetch images you need a query which requests some owner user info along with image data.</p><p>Never do like this:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/4f3250ee0d751d933ddac4a0e896de59/href">https://medium.com/media/4f3250ee0d751d933ddac4a0e896de59/href</a></iframe><p>This is how your schema and query should look like:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/19388fc621ab8c5bff713153e2e5cbf2/href">https://medium.com/media/19388fc621ab8c5bff713153e2e5cbf2/href</a></iframe><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/4c52a5cba5c16432cb4f8c66a78ec858/href">https://medium.com/media/4c52a5cba5c16432cb4f8c66a78ec858/href</a></iframe><blockquote>GraphQL is all about nested types!</blockquote><p>The core idea is to allow client side developers to fetch exactly those data they need, to let them pick a specific part of a bigger data record based on the need of particular UI/CLI/whatever. Never treat it as REST, which sends tailor-made data structures!</p><h3>Don’t update nested records within single mutation</h3><p>Updating nested records can be really tricky on back end side and not less confusing on front end. Thus it’s very important to have add/update mutations which only update single record (in terms of DB record).</p><p>If you need to update a relation between records, then stick to the following rule — add/update mutations must only accept two values in nested objects:</p><ul><li>null in case of removal of a relation</li><li>and {id} in case of establishing a relation.</li></ul><p>Let me show an example again:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/23f5355f17f2ca54ae25089f38bd98ea/href">https://medium.com/media/23f5355f17f2ca54ae25089f38bd98ea/href</a></iframe><p>As you can see while the mutation above requests all data of an owner, it doesn’t send all owner’s data while updating relation between the image and a user.</p><p>Also note that even though file is a nested type, updates for it were still sent in this mutation. It’s ok because file is not nested record, but just a type, without id property and all the data of a file are stored in an image record.</p><h3>In conclusion</h3><p>Having a concise list of types which is not growing like a snowball during every week of an app development will be very beneficial in a long term perspective. Apparently these two rules is not a silver bullet aimed to keep your GraphQL workflow in a perfect state but I’m convinced these are must-have rules, the foundation of a clear and simple workflow protocol.</p><p><a href="https://ottofeller.com/"><em>OttoFeller</em></a><em> is the software development company specialising in front end of complex web applications and in promising cutting edge technologies.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c729f474e749" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ottofellercom/two-important-things-about-graphql-schema-design-c729f474e749">Two important things about GraphQL schema design</a> was originally published in <a href="https://medium.com/ottofellercom">ottofeller</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 create Github App and keep sanity]]></title>
            <link>https://medium.com/ottofellercom/how-to-create-github-app-and-keep-sanity-f0aeab930852?source=rss----32f6f44179ad---4</link>
            <guid isPermaLink="false">https://medium.com/p/f0aeab930852</guid>
            <category><![CDATA[apps]]></category>
            <category><![CDATA[github]]></category>
            <category><![CDATA[development]]></category>
            <category><![CDATA[guides-and-tutorials]]></category>
            <category><![CDATA[developer-tools]]></category>
            <dc:creator><![CDATA[gvidon]]></dc:creator>
            <pubDate>Tue, 27 Nov 2018 10:16:24 GMT</pubDate>
            <atom:updated>2018-11-27T10:18:14.618Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Github Apps were announced a long time ago, but still the connection of Github App to user’s repos for those who creates Github App for the first time may seem very unclear, complicated and sometimes illogical. The reason is that official docs never focus on few important subtle things which allow to understand the difference between traditional approach of delegating user permission through OAuth and relatively modern approach of Github Apps.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1021/1*RMYS636BKfpA2v064NhrSw.jpeg" /></figure><h4>What happens after user connects Github App to a repo(s)?</h4><blockquote>After being installed Github App will start to receive web hooks from <strong>all</strong> connected repo(s).</blockquote><p>Installation is an integral part of Github App, I will explain it later. Web hooks events which are sent to a Github App are strictly defined in a Github App settings, and before connecting a Github App, user will be asked for granting permissions to the Github App to receive these web hooks events.</p><p>How is it different from traditional OAuth approach? Before Github Apps appeared, you as an app developer had to manually set up web hook URL to every user’s repo. Now you don’t have to. The single web hook is setup for all connected repos.</p><p>Another difference is how a Github App interacts with your repos. Let’s talk about installations.</p><h4>What is the installation?</h4><blockquote>Github App installation is sort of a bot which you grant permissions to interact with your personal or organisational repositories.</blockquote><p>Using OAuth token, installations can interact with exact the same API you can interact using your personal token, though the process of acquiring of installation OAuth token is different (it is very well covered in official docs).</p><p>The difference in approach of Github Apps and the older one approach is that with Github Apps all actions with any entity of the Github are performed by installation, and installation will be shown everywhere as the performer of an action. For example, if it is allowed it can put comments to an issue and all such comments will have Github App name shown as user name and Github App logo shown as user picture.</p><h4>Try it!</h4><p>I would be glad to know that this article gave a good insight on how Github Apps work! And now that you can put all pieces of the puzzle together you can try <strong>official</strong> example from <a href="https://developer.github.com/apps/building-your-first-github-app/">https://developer.github.com/apps/building-your-first-github-app/</a></p><p><a href="https://ottofeller.com/"><em>OttoFeller</em></a><em> is the software development company specialising in front end of complex web applications and in promising cutting edge technologies.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f0aeab930852" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ottofellercom/how-to-create-github-app-and-keep-sanity-f0aeab930852">How to create Github App and keep sanity</a> was originally published in <a href="https://medium.com/ottofellercom">ottofeller</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Can React Hooks API replace Recompose?]]></title>
            <link>https://medium.com/ottofellercom/can-react-hooks-api-replace-recompose-ea5460b7fde3?source=rss----32f6f44179ad---4</link>
            <guid isPermaLink="false">https://medium.com/p/ea5460b7fde3</guid>
            <category><![CDATA[react-hook]]></category>
            <category><![CDATA[development]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[react]]></category>
            <category><![CDATA[recompose]]></category>
            <dc:creator><![CDATA[gvidon]]></dc:creator>
            <pubDate>Wed, 31 Oct 2018 10:03:05 GMT</pubDate>
            <atom:updated>2018-10-31T11:55:35.459Z</atom:updated>
            <content:encoded><![CDATA[<p><em>React team has recently released </em><a href="https://github.com/reactjs/rfcs/blob/hooks-rfc/text/0000-react-hooks.md"><em>RFC for the new React Hooks API</em></a><em>. In the same time Recompose’s (HOCs tool belt for React) author </em><a href="https://github.com/acdlite/recompose/commit/7867de653abbb57a49934e52622a60b433bda918"><em>declared the end of the development</em></a><em> of this library. Apparently these two events are not a coincidence but the evidence of an end of the HOCs era in React. And now we as developers are suggested to use React Hooks instead of Recompose in our workflow. Let’s see how different they are on examples.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aUuGgchedVRyp1lRiWdQdQ.jpeg" /></figure><h3>Hooks force to code in an imperative way</h3><p>compose() is one of the most valuable HOCs of Recompose which allows one to build new more complex HOCs in the declarative way, has no analog in new React Hooks API. This is not a disadvantage, but by design. With this new Hooks API you don’t need composition of functions, you just call hooks one by one in the body of component’s function and their effects and values are accumulated and applied to the component. In order to separate complex logic into reusable units all hooks calls can be moved into new function, which just like other hooks must be called within targeted component function body. Even though Hooks API is declarative it forces developers to some imperative methods.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/291a22769186af8455030182ab0bcf5b/href">https://medium.com/media/291a22769186af8455030182ab0bcf5b/href</a></iframe><p>There is no analog of branch() in Hooks API. Without Recompose you have to explicitly use if or other conditional operators.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/847dfc07f08c3b357c77722b17a30293/href">https://medium.com/media/847dfc07f08c3b357c77722b17a30293/href</a></iframe><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/deeb56763e440896498ae25e09f92710/href">https://medium.com/media/deeb56763e440896498ae25e09f92710/href</a></iframe><p>Another thing you will be missing without Recompose is withPropsOnChange(). It can be replaced by combination of useEffect(fn, [changed, values]) and useState().</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/eceeaa77a3b37229c03fd8ba432ff25d/href">https://medium.com/media/eceeaa77a3b37229c03fd8ba432ff25d/href</a></iframe><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/59267886ace99ebfce60963ef4444583/href">https://medium.com/media/59267886ace99ebfce60963ef4444583/href</a></iframe><p>These are just couple of simple examples. There are much more situations where you will have to replace elegant declarative solutions with the new imperative API.</p><h3>Hooks are not enough explicit</h3><p>Ok, useState() and couple of others are explicit enough. But it took me a while to figure out that useEffect() replaces componentDidMount() if it is being called with [] in place of second param. Without this second param it’s callback is triggered on every change of any property. Why not to add hooks which are named in the same way as class methods which everyone is familiar with?</p><p>The main problem with HOCs is that with the growth of component HOCs composition the flow of props can easily become hardly predictable. In a code with no proper maintenance one can easily get lost while trying to reason about which prop came from which HOC.</p><p>Atomic units of Recompose doesn’t have such an issue, as every of its HOCs which adds new props requires to explicitly add names to these props. The problem arises in bigger custom HOCs which provide child with props with predefined names and values.</p><p>Hooks solve this problem by moving internal logic properties (in Recompose everything is stored in props) into local vars of a function. One can now easily distinguish “private” variables and methods from business logic props which came into component from its parent.</p><h3>Conclusion</h3><p>HOCs approach with all its disadvantages is purely functional way of coding React apps. With careful maintenance and with coding conventions it results in a robust declarative code. That’s why it is sad to see the community refusing of using HOCs and vendors stopping to evolve their libraries in this direction.</p><p>Even though I’m personally a big fan of Recompose I really hope that Hooks API will become a good and helpful replacement of Recompose. Looking forward to see how and which direction to will it evolve!</p><p><a href="https://ottofeller.com/"><em>OttoFeller</em></a><em> is the software development company specialising in front end of complex web applications and in promising cutting edge technologies.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ea5460b7fde3" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ottofellercom/can-react-hooks-api-replace-recompose-ea5460b7fde3">Can React Hooks API replace Recompose?</a> was originally published in <a href="https://medium.com/ottofellercom">ottofeller</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Divide and rule: diversity of tools to manage a project]]></title>
            <link>https://medium.com/ottofellercom/divide-and-rule-diversity-of-tools-to-manage-a-project-4b81d61dc6aa?source=rss----32f6f44179ad---4</link>
            <guid isPermaLink="false">https://medium.com/p/4b81d61dc6aa</guid>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[project-management-tool]]></category>
            <category><![CDATA[project-management]]></category>
            <category><![CDATA[project-management-apps]]></category>
            <category><![CDATA[productivity]]></category>
            <dc:creator><![CDATA[gvidon]]></dc:creator>
            <pubDate>Thu, 27 Sep 2018 07:22:19 GMT</pubDate>
            <atom:updated>2018-09-27T07:22:18.844Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Software project management requires different tools for team collaboration and daily routines. Set of tools you use can be a hit or miss. It can either slow you down and make the process harsh or it can seriously improve productivity and collaboration of your team.</em></p><p><em>While it is very common approach to try to pick single solution for the whole working environment we prefer to work with tools from different vendors. Let me explain why.</em></p><h3>So, why not all-in-one solutions?</h3><p>While total integration of workflow tools will be beneficial at the beginning, you can later find out that some of the tools don’t meet your needs, or are buggy, or just ugly designed.</p><blockquote>You will have to live with tools you don’t like, which don’t meet all of your needs. Because removal of one piece of the puzzle will distort the whole picture and will compromise the idea of an all-in-one solution.</blockquote><p>For some teams that’s not an issue and they can live with the same all-in-one software for years, even if it is buggy/ugly/outdated. But others will like to move on to new tools with new features, better performance for less money.</p><p>That’s one of the reasons I like to pick tools from different vendors — you can always switch to the one you need, not the one some company thinks you need.</p><p>Another reason is that tools created by small teams will gain the full attention of their developers, and no doubt it will lead to better quality compared to competitors from bigger companies. Of course it often will have less features but more often it can have unique cool features.</p><p>And don’t worry about integrations. Everything integrates with everything now days. Asana easily plays with Github, Github seamlessly connects to Jira, and Dropbox Paper allows to embed Marvel mockups into docs (and tons of other stuff). Just make sure integrations list is good enough for you before deciding on the next tool to use.</p><p>Now let me describe few basic tools we use in our team for project management.</p><h3>Tasks management</h3><p>Almost every software project you know is hosted on Github. But not everyone know that Github with its Organisations, Issues and Projects is also a decent task management tool. And not just for open source projects! In the past we tried different tools like Trello or Asana and eventually picked Github as the primary and <strong>only one</strong> task management solution. The reason is that level of integration of any 3rd party tool with code hosted on Github is ridiculously low compared to Github tools.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rOsLmv15-FG_g0InyWLfuQ.png" /></figure><p>This is one of the rare case when platform tools are so deeply integrated that you just have no other choices. With Github you have everything you need for managing software projects:</p><ul><li>Organisations — for managing developers teams and permissions</li><li>Issues — for managing your tasks in clean, simple and comprehensive way. It provides everything you need for organising your work and collaboration of your team. For example tasks labels, groups (milestones), filters, comments, well known Pull Requests with reviews.</li><li>Projects — for all sorts of kanban. They also have automation features which will seriously facilitate keeping tasks statuses up to date without the need of human participation.</li></ul><p>While task management tools are really shiny, I wouldn’t recommend hosting your docs on Github Wiki. It seams to be primitive compared to competitors, and basically you don’t need to integrate your specs too deep with your code.</p><h3>Documents</h3><p>You will always need some place for storing relatively persistent information regarding your project. It’s really bad idea to keep specs or important details regarding a project in emails or in chat client, and then expect anyone to find it after one month (or even one week).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/321/1*4aHEtgtHKdQWVGEvq783VA.png" /></figure><p>We use Dropbox Paper for all sorts of docs. Comparing to some other products it’s not that popular but it looks fantastically clean and simple and has all the features you need:</p><ul><li>Collaborative editing with permissions management</li><li>comments on selected text</li><li>markdown support</li><li>very simple tasks management features</li><li>folders of documents</li><li>tons of integrations.</li></ul><p>These are just key features of the Paper, there are a lot of other small details which make this software really great. But what makes it standing out of competitors is it’s design. Dropbox Paper will not distract you from your work, but will motivate you to work with it.</p><h3>Files</h3><p>We have been using Dropbox for a long time. It has evolved from just a helpful tool to the solid platform which seriously improves a team experience. It allows one to manage permissions of collaborative access to files, share files seamlessly and put comments to files using web interface. And just like Dropbox Paper it has simple UI which isn’t overloaded with anything you don’t need.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*A9fOHw57s0ZCq3aCmnKmzg.png" /></figure><p>Though most features of Dropbox are common to file storage solutions, there is one which had been staying unique for some time. It is called Smart Sync and it allows one to download files to local computer only when they need to be viewed. You can walk through your Dropbox folders on your computer, observe list of files but none of them will be downloaded until you open it. Google with its Drive Stream caught Dropbox up later, but nevertheless Dropbox was the first one to offer such a great feature.</p><p>As I mentioned in the beginning, Dropbox has become popular long time ago. Which means you will find its integrations almost everywhere:</p><ul><li>files upload — pick a file from your Dropbox folder</li><li>download — files will be downloaded directly into your folder, through Dropbox API</li><li>media files embedding in numerous text editors.</li></ul><p><a href="https://ottofeller.com/"><em>OttoFeller</em></a><em> is the software development company specialising in front end of complex web applications and in promising cutting edge technologies.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4b81d61dc6aa" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ottofellercom/divide-and-rule-diversity-of-tools-to-manage-a-project-4b81d61dc6aa">Divide and rule: diversity of tools to manage a project</a> was originally published in <a href="https://medium.com/ottofellercom">ottofeller</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>