<?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 Jesse Glenn on Medium]]></title>
        <description><![CDATA[Stories by Jesse Glenn on Medium]]></description>
        <link>https://medium.com/@GlennJM?source=rss-c9c995303501------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Stories by Jesse Glenn on Medium</title>
            <link>https://medium.com/@GlennJM?source=rss-c9c995303501------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 06:10:10 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@GlennJM/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[Project Fatigue and Context Switching]]></title>
            <link>https://medium.com/helpful-human/project-fatigue-and-context-switching-bb0741e202cc?source=rss-c9c995303501------2</link>
            <guid isPermaLink="false">https://medium.com/p/bb0741e202cc</guid>
            <category><![CDATA[development]]></category>
            <category><![CDATA[productivity]]></category>
            <category><![CDATA[productivity-hacks]]></category>
            <category><![CDATA[productivity-tips]]></category>
            <category><![CDATA[project-management]]></category>
            <dc:creator><![CDATA[Jesse Glenn]]></dc:creator>
            <pubDate>Thu, 03 Aug 2017 16:36:02 GMT</pubDate>
            <atom:updated>2017-08-03T16:36:02.247Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*osc5kdrWp-RMDs6LPFWjsg.jpeg" /></figure><h4>Conquering the enemies of productivity and success.</h4><p>Context switching and project fatigue are two very real problems in the world of development. They can greatly affect your ability to stay productive and on task — something crucial to the overall success of any project.</p><p>While there are always seemingly innumerable factors that contribute to your productivity and focus (just read the thousand and one articles published weekly on this topic), these two development hurdles can negatively affect productivity, morale, and at times, one’s sanity in a major way.</p><p>If you have experience in the development field, odds are you’ve likely experienced one, or maybe both, of these issues — though, of course, neither are exclusive to development or the tech industry.</p><h3>Fight the Fatigue.</h3><p>Unless the project is closely managed, a long work engagement can become detrimental for developers and the quality of their code. Project fatigue occurs when a team working on a project for a long period of time loses sight of the overall objective and vision of the work.</p><p>You’ll find that someone’s best work occurs when they care about the project and have a clear understanding of what needs to be done. Over the passing weeks, it becomes easier to lose this focus and drive if a couple of areas aren’t kept in check — project scope and team morale.</p><h4>Project Scope.</h4><p>Adding tasks that aren’t within a project’s scope convolutes the development narrative. Let’s say you start with a clear set of objectives that are all necessary to the completion of the job and a timeline in which they should be completed. About halfway through the project, the client asks to add a few more “quick” and “easy” features to your backlog that weren’t previously discussed or planned for.</p><p>Hopefully, your project manager (or whoever is in charge of planning) will give some pushback and let the client know that these features are out of scope and can be added at an additional cost. If not, you’re likely to find that you now have more work and less time (unless renegotiated) to get it all done.</p><h4>Team Morale.</h4><p>Eventually, all of the extra tasks add up. Another task is always yet another ‘thing to get done’, regardless of how ‘quick’ and ‘easy’ that task is supposed to be. Deadlines become harder to hit, the original plan and schedule start to feel like they were meant for a different project, and you find yourself unhappy with the work; exhausted and beat down as the due date looms on the horizon.</p><blockquote>Project fatigue drains team morale and diminishes the feeling of accomplishment.</blockquote><p>The best way to avoid project fatigue is to not allow any “out of scope” items to find their way into the current workload and throw off the plan. Maintaining a consistent project schedule is vital. Having that clear path and hitting those key milestones helps to keep the team on track by providing some assurance that progress is being made and the work is going according to plan.</p><h3><strong>Be Careful of the Context Switch.</strong></h3><p>When it comes down to it, we’re only human. Our brains weren’t wired with the capacity to effectively multi-task. Context switching is what happens when you switch back and forth between tasks.</p><p>Unlike a computer, we have a propensity to make mistakes. The more information there is to remember and keep straight, the higher the likelihood of error.</p><p>Keeping the needs and limitations of the task at hand in the forefront of your brain is essential to making the right decisions; you need to know which solutions and methods will be best suited for the whole project moving forward.</p><p>When another project or assignment is added to your workload, the finite amount of time and energy you possess is split among that work. You now have more than one set of needs and limitations to manage, piling extra stress into your mental overhead.</p><p>And, when you also take into account that it takes <a href="https://www.fuze.com/blog/the-high-cost-of-multitasking-infographic">approximately 25–30 minutes to switch contexts</a>, you’re looking at a huge hit to productivity and time.</p><p>There are a few forms of context switching which vary in severity. However, all should be avoided when possible:</p><ul><li>Working on multiple tasks at one time</li><li>Working on multiple tasks in quick succession</li><li>Switching to another task before the previous is finished — the worst</li></ul><h4>Working on Multiple Tasks at the Same Time.</h4><p>Working on multiple tasks at the same time is tricky because you’re actively trying to balance the different mindsets without allowing any context bleed. You’re not able to fully commit your time and brainpower to a single task, which opens the door for mixed code and logic.</p><h4>Working on Multiple Tasks in Quick Succession.</h4><p>A similar risk is present when working on multiple tasks in quick succession. Instead of balancing the contexts on the spot, though, you start work on a follow up task before being able to fully remove yourself from the previous headspace. You also have to include the time it takes to switch mindsets.</p><h4>Switching Tasks Before The First Task is Completed.</h4><p>Neither of the first two forms of context switching are quite as detrimental as having to switch to another task before the previous is finished. You’re in the middle of a task that requires a very focused and specific way of thinking when you’re interrupted to handle a time-sensitive issue for another project.</p><p>Unless you were keeping notes on your progress and exactly what needs to happen next, there’s a good chance you’ll forget or misremember bits and pieces — maybe even chunks — that could make a difference in execution and delivery. On top of the abrupt mental switch and damaged workflow, is the aforementioned time required to successfully switch mental gears to work on the new project.</p><h3>Context Switching and Productivity.</h3><p>All forms of context switching hurt productivity. There isn’t a fix-all for dealing with context switching because no two developers have the same work situation.</p><p>Much of the effect can be assuaged, however, in the manner that the project is planned. Work should be organized in a way that minimizes the number of context switches needed to get the assignments done. If a developer is tasked with more than one project, the work for each project should be done on separate days whenever possible.</p><p>Switching mindsets from project to project is more difficult than switching between tasks and may even take a bit longer to fully get into the right frame of mind. When dealing with a single project on a task-to-task level, planning for similar tasks to be done in the same day requires less of a mental switch and can save a great deal of time in the long run.</p><h3>Our Objective — Productive, Focused Work.</h3><p>Productive and focused work make for a project running smoothly and meeting deadlines. Removing any factors that negatively impact productivity and focus will go a long way in ensuring your workers are happy and putting forth good work.</p><p>Context switching and project fatigue are two very real problems in the world of development that can, for the most part, be prevented by the effective planning of work and resources.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bb0741e202cc" width="1" height="1" alt=""><hr><p><a href="https://medium.com/helpful-human/project-fatigue-and-context-switching-bb0741e202cc">Project Fatigue and Context Switching</a> was originally published in <a href="https://medium.com/helpful-human">Helpful Human</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The CSS Grid Layout]]></title>
            <link>https://medium.com/helpful-human/the-css-grid-layout-2d6a0a119196?source=rss-c9c995303501------2</link>
            <guid isPermaLink="false">https://medium.com/p/2d6a0a119196</guid>
            <category><![CDATA[developer]]></category>
            <category><![CDATA[css]]></category>
            <category><![CDATA[development]]></category>
            <category><![CDATA[css-grid]]></category>
            <dc:creator><![CDATA[Jesse Glenn]]></dc:creator>
            <pubDate>Tue, 06 Jun 2017 16:11:01 GMT</pubDate>
            <atom:updated>2017-06-06T22:47:13.009Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*cOL0aXd1s0YJFzwRu0CkuQ.jpeg" /></figure><h4>In case you haven’t heard.</h4><p>When getting started in web development, one of the first languages you’ll learn is the styling language CSS. You’ll use CSS for styling pretty much everything about a web page, but one of the more important parts you’ll use CSS for is the layout. And, right out of the box, CSS provides a few tools that will help you position and align the elements of your page.</p><p>Over the course of my development career, I’ve spent most of my time using only methods such as tables, floats, flexbox, position, and inline-block, but there was one method that I wasn’t all that familiar with — the CSS grid layout.</p><h4><strong>What does it do?</strong></h4><p>The CSS grid layout does just as the name suggests and then some; it provides you with an in-depth way to create configurable, two-dimensional grids using CSS. The layout was created to solve a few problems found with the other layouts (i.e. vertical alignment) and, as a result, offers a good deal of customization over each element of your grid. Having this ability to position and render each individual column, row, and cell goes a long way in successfully building pages to match different designs.</p><h4><strong>Terminology</strong></h4><p>Before building with the CSS grid layout, it is important to become familiar with the terminology, as it will help you understand the different properties and what they do.</p><ul><li><strong>Grid Container</strong>:<br>The containing div of your grid items.</li><li><strong>Grid Cell</strong>:<br>A grid cell is an individual cell of your grid, much like a table-cell.</li><li><strong>Grid Column</strong>: <br>A grid column is a vertical row of grid items stacking horizontally.</li><li><strong>Grid Row</strong>:<br>A grid row is a row of grid items spanning horizontally and stacking vertically.</li><li><strong>Grid Area</strong>:<br>Any area on the grid bound by four grid lines. Can be a number of grid cells.</li><li><strong>Grid Lines</strong>:<br>The horizontal and vertical lines that make up the grid.</li><li><strong>Grid Tracks</strong>:<br>The spaces separating two cells of the grid.</li></ul><p>The CSS grid layout offers two sets of properties; one for the container and one for the items in your grid.</p><h4><strong>Container Properties</strong></h4><p>When creating a grid, you’ll start with a containing div and pass it the display property in order to define it as a grid container. Depending on the type of grid you need, you have three values to choose from:</p><ul><li><strong>Grid</strong>: <br>Used for block-level grids.</li><li><strong>Inline-grid</strong>: <br>Used for inline-level grids.</li><li><strong>Sub-grid</strong>: <br>Used for when the grid container is an item within another grid.</li></ul><pre>.container {<br>    display: grid || inline-grid || sub-grid<br>}</pre><p><strong>Grid Columns and Rows<br></strong>The containing div has a handful of properties to configure the layout of your grid. By default, any children in the grid are stacked vertically into rows spanning the full width of the grid. The grid-template-columns and grid-template-rows properties are used to declare the basic layout.</p><p>The grid-template-columns property specifies the number of columns and the widths of each column.</p><p>The grid-template-rows property is similar to grid-template-columns and specifies the number of rows and the heights of each row. Unless the row height is set, it will automatically take up the full height of the container.</p><p>Below, we declare three columns with a width of 100px and three rows with a height of 100px</p><pre>.container {<br>    display: grid;<br>    grid-template-columns: 100px 100px 100px;<br>    grid-template-rows: 100px 100px 100px;<br>}</pre><p>Additionally, you can use the fr (fraction) unit to divide the entire width or height of the container by fractions. Here, we’ll divide it evenly with each column having a width of 1fr and each row having a height of 1fr.</p><pre>.container {<br>    display: grid;<br>    grid-template-columns: 1fr 1fr 1fr; <br>    grid-template-rows: 1fr 1fr 1fr;<br>}</pre><p>Now, if you add children to the container, the grid will fill each column with a grid cell.</p><pre>&lt;div class=&quot;container&quot;&gt;<br>    &lt;div class=&quot;grid-cell&quot;&gt;1&lt;/div&gt;<br>    &lt;div class=&quot;grid-cell&quot;&gt;2&lt;/div&gt;<br>    &lt;div class=&quot;grid-cell&quot;&gt;3&lt;/div&gt;<br>    &lt;div class=&quot;grid-cell&quot;&gt;4&lt;/div&gt;<br>    &lt;div class=&quot;grid-cell&quot;&gt;5&lt;/div&gt;<br>    &lt;div class=&quot;grid-cell&quot;&gt;6&lt;/div&gt;<br>    &lt;div class=&quot;grid-cell&quot;&gt;7&lt;/div&gt;<br>    &lt;div class=&quot;grid-cell&quot;&gt;8&lt;/div&gt;<br>    &lt;div class=&quot;grid-cell&quot;&gt;9&lt;/div&gt;<br>&lt;/div&gt;</pre><p>For the sake of visibility, we’ll add a border to each cell and increase the font size.</p><pre>.grid-cell {<br>    border: 1px solid red;<br>    font-size: 200%;<br>}</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/339/0*allrrPweHb1bHUEd.png" /></figure><p>As is seen above, the grid cells will automatically align to the next row when the previous row is full.</p><p>One thing to keep in mind: since only three rows were declared with a height, any additional rows added with their original heights can be fixed by adding another row using the grid-template-rows property.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/265/0*hYn1k_NE0VNBStkK.png" /></figure><p><strong>Grid Areas:<br></strong>The grid-template-areas property can be used to define grid areas by name. Repeating an area name will cause that area to take up that many columns. If you want to leave a grid cell empty, use a period instead of naming an area.</p><p>Here, we specify that the area with the name top should span across the first row, that the area with the name middle should span across the second row, and that the area with the name bottom should span across the last row.</p><pre>.container {<br>    display: grid;<br>    grid-template-columns: 1fr 1fr 1fr;<br>    grid-template-rows: 1fr 1fr 1fr;<br>    grid-template-areas: &#39;top top top&#39;<br>                         &#39;middle middle middle&#39;<br>                         &#39;bottom bottom bottom&#39;;<br>}</pre><p>Each grid cell must then be given a grid-area prop with the corresponding name of the area you want to appear.</p><pre>&lt;div class=&quot;container&quot;&gt;<br>    &lt;div class=&quot;grid-cell top&quot;&gt;1&lt;/div&gt;<br>    &lt;div class=&quot;grid-cell middle&quot;&gt;2&lt;/div&gt;<br>    &lt;div class=&quot;grid-cell bottom&quot;&gt;3&lt;/div&gt;<br>&lt;/div&gt;</pre><pre>.grid-cell .top {<br>    grid-area: top;<br>}</pre><pre>.grid-cell .middle {<br>    grid-area: middle;<br>}</pre><pre>.grid-cell .bottom {<br>    grid-area: bottom;<br>}</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/264/0*WIY1iejapey79PAo.png" /></figure><p><strong>Grid Gaps<br></strong>Spacing in-between the columns and rows can be added with the use of the grid-column-gap and grid-row-gap properties. To add spacing, just add the desired property to the grid container and specify the amount of space you want between each.</p><pre>.container {<br>    display: grid;<br>    grid-row-gap: 10px;<br>    grid-column-gap: 10px;<br>    grid-template-columns: 1fr 1fr 1fr;<br>    grid-template-rows: 1fr 1fr 1fr;<br>}</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/336/0*BWiYS1JKc5wG68Hq.png" /></figure><p>You can also use the shorthand grid-gap to set the gaps at the same time. The first value passed in will set the row gap and the second will set the column gap. If no row gap is specified, however, then it will become the same value as the column gap.</p><pre>.container {<br>    display: grid;<br>    grid-gap: 10px 10px;<br>    grid-template-columns: 1fr 1fr 1fr;<br>    grid-template-rows: 1fr 1fr 1fr;<br>}</pre><p><strong>Justify and Align Items<br></strong>The content within a grid can be aligned using the properties justify-items and align-items. Both align the content inside a grid item, but each to a different axis (row and column).</p><p>For aligning items along the row axis, you’ll want to use justify-items.<br>You have four values to choose from:</p><ul><li><strong>Start:<br></strong>Aligns items to the start (left) of the grid area</li><li><strong>End:<br></strong>Aligns items to the end (right) of the grid area</li><li><strong>Center:<br></strong>Aligns items in the center of the grid area</li><li><strong>Stretch:<br></strong>Spans the whole width of the grid area (default)</li></ul><pre>.container {<br>    justify-items: start || end || center || stretch;<br>}</pre><p>For aligning items along the column axis, you’ll want to use align-items. Like justify-items, you have four values to choose from:</p><ul><li><strong>Start:<br></strong>Aligns items to the top of the grid area</li><li><strong>End:<br></strong>Aligns items to the bottom of the grid area</li><li><strong>Center:<br></strong>Aligns items in the center of the grid area</li><li><strong>Stretch:<br></strong>Spans the whole height of the grid area (default)</li></ul><pre>.container {<br>    align-items: start || end || center || stretch;<br>}</pre><p><strong>Justify Content<br></strong>In case your grid doesn’t take up the entire width of the grid container, you can use the justify-content property. Using justify-content set the alignment of your grid within its container to align along the row axis. You have seven values that can be passed in:</p><ul><li><strong>Start:<br></strong>Aligns the grid to the start (left) of the grid container</li><li><strong>End:<br></strong>Aligns the grid to the end (right) of the grid container</li><li><strong>Center:<br></strong>Aligns the grid to the center of the grid container</li><li><strong>Stretch:<br></strong>Resizes the grid to stretch the entire width of the grid container</li><li><strong>Space-around:<br></strong>Evenly spaces out the grid items while leaving half a space on each end</li><li><strong>Space-between:<br></strong>Evenly spaces out the grid items without leaving any spaces on the ends</li><li><strong>Space-evenly:<br></strong>Evenly spaces out the grid items with an equal space on each end</li></ul><pre>.container {<br>    justify-content: start || end || center || space-around ||<br>                     space-around || space-between || space-evenly;         <br>}</pre><h4>Child Properties</h4><p><strong>Grid Column and Row Positioning<br></strong>Each grid cell can be positioned individually using a few properties. You can define specific grid lines of columns and rows you want the cell to align to by using the grid-column-start and grid-column-end properties for columns and grid-row-start and grid-row-end properties for rows.</p><p>grid-column-start and grid-row-start is the line that the item will begin on.</p><p>grid-column-end and grid-row-end is the line that the item will end on.</p><pre>&lt;div class=&quot;container&quot;&gt;<br>    &lt;div class=&quot;grid-cell first&quot;&gt;1&lt;/div&gt;<br>    &lt;div class=&quot;grid-cell second&quot;&gt;2&lt;/div&gt;<br>    &lt;div class=&quot;grid-cell third&quot;&gt;3&lt;/div&gt;<br>    &lt;div class=&quot;grid-cell&quot;&gt;4&lt;/div&gt;<br>    &lt;div class=&quot;grid-cell&quot;&gt;5&lt;/div&gt;<br>    &lt;div class=&quot;grid-cell&quot;&gt;6&lt;/div&gt;<br>    &lt;div class=&quot;grid-cell&quot;&gt;7&lt;/div&gt;<br>    &lt;div class=&quot;grid-cell&quot;&gt;8&lt;/div&gt;<br>    &lt;div class=&quot;grid-cell&quot;&gt;9&lt;/div&gt;<br>&lt;/div&gt;</pre><pre>.container {<br>    display: grid;<br>    grid-template-columns: 1fr 1fr 1fr;<br>    grid-template-rows: 1fr 1fr 1fr;<br>}</pre><pre>.first {<br>    grid-column-start: 2;<br>    grid-column-end: 2;<br>    grid-row-start: 1;<br>    grid-row-end: 2;<br>}</pre><pre>.second {<br>    grid-column-start: 2;<br>    grid-column-end: 2;<br>    grid-row-start: 2;<br>    grid-row-end: 3;<br>}</pre><pre>.third {<br>    grid-column-start: 2;<br>    grid-column-end: 2;<br>    grid-row-start: 3;<br>    grid-row-end: 4;<br>}</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/339/0*CNBLODC1cgFgr05u.png" /></figure><p>Additionally, you can use the shorthand property of grid-column-start and grid-column-end called grid-column. And similarly, the shorthand property for grid-row-start and grid-row-end, grid-row.</p><p>Here, you can see the shorthand version of the same grid seen above</p><pre>.first {<br>    grid-column: 2;<br>    grid-row: 1;<br>}</pre><pre>.second {<br>    grid-column: 2;<br>    grid-row: 2;<br>}</pre><pre>.third {<br>    grid-column: 2;<br>    grid-row: 3;<br>}</pre><p>These properties can also be used to position a cell across multiple rows or columns and can even overlap other grid cells as long as both have their positions defined.</p><p>Here, we’ll position the first cell to span all three columns of the last row, the second cell to span the last two columns of the first two rows, and the third cell will span the first two columns of the first two rows.</p><pre>.first {<br>    border: 1px solid red;<br>    grid-column: 1/4;<br>    grid-row: 3;<br>}</pre><pre>.second {<br>    border: 1px solid blue;<br>    grid-column: 2/4;<br>    grid-row: 1/3;<br>}</pre><pre>.third {<br>    border: 1px solid green;<br>    grid-column: 1/3;<br>    grid-row: 1/3;<br>}</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/338/0*JQVZLjI2o9HDa2iQ.png" /></figure><p><strong>Justify and Align Self<br></strong>Very similar to the container properties justify-items and align-items, each item can be aligned, but individually with the justify-self and align-self properties.</p><p>For aligning items along the row axis, you’ll want to use justify-self. You have four values to choose from:</p><ul><li><strong>Start:<br></strong>Aligns the item to the start (left) of the grid area</li><li><strong>End:<br></strong>Aligns the item to the end (right) of the grid area</li><li><strong>Center:<br></strong>Aligns the item in the center of the grid area</li><li><strong>Stretch:<br></strong>Spans the whole width of the grid area (default)</li></ul><pre>.container {<br>   justify-self: start || end || center || stretch;<br>}</pre><p>For aligning items along the column axis, you’ll want to use align-self. Like justify-self, you have four values to choose from:</p><ul><li><strong>Start:<br></strong>Aligns items to the top of the grid area</li><li><strong>End:<br></strong>Aligns items to the bottom of the grid area</li><li><strong>Center:<br></strong>Aligns items in the center of the grid area</li><li><strong>Stretch:<br></strong>Spans the whole height of the grid area (default)</li></ul><pre>.container {<br>    align-self: start || end || center || stretch;<br>}</pre><h4><strong>Breakpoints</strong></h4><p>Because this grid layout is using CSS, customizing media queries to function in the desired manner without much hassle. You can rearrange your grid layout depending on the screen size by simply redefining certain properties.</p><p>Here we’ll start with a grid layout built for a smaller screen, so we’ll define two grid columns.</p><pre>.container {<br>    display: grid;<br>    grid-template-columns: 1fr 1fr;<br>    grid-template-rows: auto;<br>}</pre><p>Using a media query, we can reconfigure the grid to expand to four columns instead of two when the screen has a minimum width of 768px.</p><pre>@media (min-width: 768px) {<br>    .container {<br>        grid-template-columns: 1fr 1fr 1fr 1fr;<br>    }<br>}</pre><h4><strong>Browser Support</strong></h4><p>At the time of this article, most browsers support the CSS grid layout, but some may only support it partially. When it comes to desktop support, you’ll find the following browsers compatible:</p><ul><li>Chrome</li><li>Firefox</li><li>Safari</li><li>IE 10 &amp; 11 (partial support, requires ms prefix)</li><li>Edge (partial support, requires ms prefix)</li><li>Opera</li></ul><p>On the mobile support front, you’ll find the following browsers compatible:</p><ul><li>iOS Safari</li><li>Android Chrome</li><li>Android Firefox</li><li>IE 10 &amp; 11 Mobile (partial support, requires ms prefix)</li></ul><h4><strong>Final Thoughts</strong></h4><p>After spending some time working with it, one thing has become apparent; the CSS grid layout is quite useful for building out page structure and aligning the different pieces. The ability to configure each part of the grid makes the CSS grid layout a viable tool for building out a plethora of different layouts and is definitely worth looking into when thinking about building your next project!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2d6a0a119196" width="1" height="1" alt=""><hr><p><a href="https://medium.com/helpful-human/the-css-grid-layout-2d6a0a119196">The CSS Grid Layout</a> was originally published in <a href="https://medium.com/helpful-human">Helpful Human</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Comparing React and React Native]]></title>
            <link>https://medium.com/helpful-human/comparing-react-and-react-native-31d4e10cd459?source=rss-c9c995303501------2</link>
            <guid isPermaLink="false">https://medium.com/p/31d4e10cd459</guid>
            <category><![CDATA[digital-product]]></category>
            <category><![CDATA[react-native]]></category>
            <category><![CDATA[development]]></category>
            <category><![CDATA[react]]></category>
            <category><![CDATA[coding]]></category>
            <dc:creator><![CDATA[Jesse Glenn]]></dc:creator>
            <pubDate>Wed, 03 May 2017 14:36:01 GMT</pubDate>
            <atom:updated>2017-05-04T18:16:38.627Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ULAi14xHnw0n2tM4X1bCeg.png" /></figure><h4>Some of the differences I’ve found while working with React Native</h4><p>In March of 2013, the team at Facebook released React: a JavaScript library with a heavy emphasis on efficiency and flexibility through the use of reusable components that manage their own state.</p><p>In 2015, the Facebook team took React and its concepts a step further by venturing into the territory of mobile development with the announcement of React Native. This new version of React would offer developers the ability to build out native mobile applications in a way more closely resembling development for the web.</p><p>After spending some time using both React and React Native on projects for Helpful Human, I’ve come to discover a few of the differences between them. Both React and React Native use JavaScript to render your application’s content, but while they may share the same concepts, a couple areas of execution, as well as the final output, operate differently.</p><p>These are some of the differences I’ve found while working with React Native.</p><h3>Setting up</h3><p>Starting a new project with React Native, you’ll realize quickly that setup is a bit easier than with React. The majority of setup is handled with a simple command in the command line `npm install -g react-native-cli`.</p><p>With a single command, you’re handed almost everything you need to start on the development of your project. One thing you will still need to install is the IDE. That’s where Xcode and Android Studio come into play.</p><p><strong>Xcode<br></strong>For app development on iOS devices on Mac, you’ll be using Xcode. Xcode includes a litany of useful tools and features, but you’ll use a couple of them more than most. For example, the simulator will be the main method of viewing the UI work on your app. You’ll also be using Xcode to deploy to physical devices for testing and the app store for distribution.</p><p><strong>Android Studio<br></strong>For app development on Android devices, you’ll be using Android Studios. Much of what you’ll find in Xcode, you’ll find in Android Studio. Like Xcode, Android Studio includes many useful features and like Xcode, you’ll use a couple of them more than others. The simulator included with Android Studio supports a number of Android versions and a wider range of devices than Xcode given Apple’s ecosystem. Android Studio will also be used for testing, but unlike deployment on iOS, Android Studio isn’t used in the step of deploying to the Google Play Store.</p><h3>DOM (without the browser)</h3><p>On its own, React works by processing one or more components to create a representation of a desired view state. This representation is an object that is referred to as the <em>“Virtual DOM”</em>. The Virtual DOM acts as an interchange format that can be given to a renderer to paint something to the screen.</p><p><strong>Note:</strong> DOM in this context is not necessarily the same as a DOM in a browser.</p><p>When using React on the web, the renderer is the DOM and the interchange format is converted to HTML elements. React Native differs by converting the contents of the Virtual DOM description into native UI elements. This offers the advantage of being able to use the native features and components available on the platform(s).</p><h3>Components</h3><p>At first, developing without HTML feels strange and different. React Native includes a number of prebuilt components for a variety of purposes and, luckily, some of these React Native components work as capable replacements to HTML elements you don’t have access to.</p><p>Some of the components you’ll find similar:</p><p><strong>Text<br></strong>The text component is used for — you guessed it — displaying text and replaces span, heading, and paragraph tags.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/4c4d269dacebced86e8b86e866d0e823/href">https://medium.com/media/4c4d269dacebced86e8b86e866d0e823/href</a></iframe><p><strong>TextInput<br></strong>The TextInput is used for capturing a user’s input and replaces both input and textarea tags.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/aba1925907ed28f4bb8f70e0004ec1b4/href">https://medium.com/media/aba1925907ed28f4bb8f70e0004ec1b4/href</a></iframe><p><strong>View<br></strong>The View component is used as a standard containing block, similar to a &lt;div&gt; element.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/50280f51525ef83f63b81351fbbd87e8/href">https://medium.com/media/50280f51525ef83f63b81351fbbd87e8/href</a></iframe><p>Of course, there are some components unique to React Native that are geared to improve performance and user experience. The ListView component is one such component.</p><p><strong>ListView<br></strong>The ListView component is used for displaying list items. This component does not have an obvious analog to HTML. For web, the browser automatically splits the view into tiles and renders each tile based on what’s currently in, or immediately outside of, the viewport window. Not all native platforms do this with their UI objects.</p><p>List view is a special component that helps enforce this behavior as an optimization.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/6bd0b04b6882f0f4585c42e108aed0ae/href">https://medium.com/media/6bd0b04b6882f0f4585c42e108aed0ae/href</a></iframe><p>It’s important to keep in mind while developing for multiple platforms that even though most components will work with both iOS and Android (with the exception of some having slight visual differences), some components are platform specific in order to provide that platform’s native functionality.</p><p>An example would be the discrepancies between the iOS and Android toolbars. For Android, you would opt to use the ToolbarAndroid component, which wraps the Android Toolbar Widget and allows you to display a logo, menu icon, title, and a number of actions.</p><h3>Styling</h3><p>React and React Native each have their own ways of styling components and views. Since React renders HTML elements to a virtual DOM, styling is often done using the same standard as the web: CSS.</p><p>The output from React matches that of a traditional HTML webpage, allowing you to use the standard methods of styling when it comes to making your site pretty.</p><p>With React Native, you don’t have the same freedom. Since React Native outputs a native application, there isn’t a DOM with HTML elements that can be styled using the usual methods like CSS.</p><p>Styling in React Native is instead handled with Javascript objects that modify the properties of the underlying native components. It does not use CSS, though several properties feel similar.</p><p>Below is an example of a component with JavaScript styling below:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/019ee1c8a07a70d2709570c2c5218d29/href">https://medium.com/media/019ee1c8a07a70d2709570c2c5218d29/href</a></iframe><p><strong>Flexbox<br></strong>Positioning elements in React Native is handled with Flexbox and, well… Flexbox. So, you’ll want to become familiar with how to use it, given the lack of alternatives. Once past the initial difficulty of learning how to position elements just the way you want though, it’s not bad to work with at all.</p><p><strong>Animations<br></strong>CSS being gone also means that the accompanying animations are absent as well. There is, however, a replacement library called Animated baked right in. The Animated library is configurable in order to provide developers the freedom to create the exact animation they need.</p><p><strong>Platform specific styles and appearance<br></strong>Another important note when it comes to developing for multiple platforms is that some elements will have differing appearances and styles. A good example of this is the Picker component. You can use the Picker component with both platforms, but the way it displays will be different. These differences can be seen in the image below with the iOS version on the left and the Android version on the right.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/565/0*tcIzjhgd7iGqeTTD.png" /></figure><h3>Development Menu</h3><p>React Native comes packaged with its own set of development tools that should cover most of your debugging needs. To open the development menu on an iOS simulator, you can use the shortcut <strong>Command</strong>⌘ + <strong>D</strong>. For the Android simulator, the shortcut is <strong>Command</strong>⌘ + <strong>M</strong>. A few of the tools I use most frequently:</p><p><strong>Debug JS Remotely<br></strong>Uses the development tools in Chrome to help with debugging JavaScript.</p><p><strong>Live Reloading<br></strong>Reloads the entire app whenever you make a change to your code.</p><p><strong>Inspector<br></strong>Not unlike a web browser inspector. This allows you to click through individual elements of a view similar.</p><p><strong>Hot Reloading<br></strong>Updates and reloads the specific files changed in your code without losing any of the current state of your application.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/375/0*QkSuh6jAxBbEey_J.png" /></figure><h3>Conclusion</h3><p>React Native provides a unique alternative to building native mobile applications with other languages such as Objective C (iOS) or Java (Android). Having the option of using a more familiar language like JavaScript is much more appealing to the average web developer trying to build for mobile platforms.</p><p>There are discrepancies between React and React Native, but, ultimately, there’s enough in common to assuage some of the challenges in transitioning from vanilla to native. When transitioning from React to React Native (or React Native to React), you’ll realize just how much of the same logic and processes are shared between the two and how the bigger difference lies in the components and how React Native renders them.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=31d4e10cd459" width="1" height="1" alt=""><hr><p><a href="https://medium.com/helpful-human/comparing-react-and-react-native-31d4e10cd459">Comparing React and React Native</a> was originally published in <a href="https://medium.com/helpful-human">Helpful Human</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Collaboration for the Good of Mankind]]></title>
            <link>https://medium.com/helpful-human/collaboration-for-the-good-of-mankind-172853810a14?source=rss-c9c995303501------2</link>
            <guid isPermaLink="false">https://medium.com/p/172853810a14</guid>
            <category><![CDATA[development]]></category>
            <category><![CDATA[design]]></category>
            <dc:creator><![CDATA[Jesse Glenn]]></dc:creator>
            <pubDate>Fri, 07 Apr 2017 17:03:45 GMT</pubDate>
            <atom:updated>2017-04-07T17:03:45.324Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8uSoCzTxDvmljWjmqpAxpg.jpeg" /></figure><h4>Ways designers and developers can better work as a team.</h4><p>When building applications and websites at <a href="http://www.helpfulhuman.com/">Helpful Human</a>, the most important aspect is to provide our clients with an end product that efficiently meets project requirements and client expectations.</p><p>Sometimes, that’s easier said than done.</p><p>Running into snags throughout the course of a project isn’t uncommon, adding more pain and hassle than necessary. More often than not, these complications bog down production speed and, if not resolved appropriately, can also affect the overall integrity of the work.</p><p>While each project may differ when it comes down to its purpose and the challenges associated, the team responsible for building it should do everything in their power to reduce errors and the amount of time needed to complete. The designers and developers in charge of piecing the assignment together can have a great impact when cooperating effectively.</p><p>The chances of completing a task without any problems are low, but there are ways designers and developers can better collaborate to iron out many of these potential dilemmas and deliver a superior product to the client.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*erle3sp8sLxhwUxoZZ-ylQ.jpeg" /></figure><h3><strong>We’re in this together.</strong></h3><p>Design and development go hand in hand. The two are symbiotic; development needs a design, so we know what to build, while design needs the development capabilities to realize their designs and work.</p><p>A project starts with an idea and gets worked out piece by piece until it becomes a fully fleshed-out concept.</p><p><strong>Designers</strong> are in charge of taking that concept and supplying the blueprints for the ascetic, interactivity, and overall flow of the product.</p><p><strong>Developers</strong> then take these blueprints and use them to build a functioning and tangible application.</p><p>Throughout the process, it’s likely that, at some point, someone may make a mistake or a complication may arise. When this occurs, designers and developers need to avoid immediately pointing fingers and passing the blame on each other. It’s important to realize that both dev and design are vital to the completion and success of the experience. Rather than chastise, we need to work together to find the solution.</p><h3><strong>Please build this right!</strong></h3><p>When creating the appearance and flow of a project design, the designer will have a certain vision in mind for how the end results should be perceived by the user. Understanding the designer’s vision for how the experience should look and function is significant. A developer needs to know what each element does and which tools are necessary to accomplish the task at hand.</p><p>The concept is simple: the easier time a developer has with understanding the intent, the easier time they’ll have building it. Here are some tricks to help designers help developers:</p><ul><li>Hand over design files made with programs such as Sketch, Zeppelin, or Photoshop (rather than a plain image)</li><li>Provide details such as spacing, element sizing, color palette, and various font properties (i.e. size, family, line height, etc.)</li><li>Outline the steps of UI flow in your initial design file to greatly improve comprehension of an element’s purpose</li></ul><p>As far as information and the small details in designs go: the more, the better.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*IA3ZPiXJvIsIdBudDg_SFw.jpeg" /></figure><h3><strong>I’m afraid I can’t do that.</strong></h3><p>Having a full understanding of what the designer is aiming for also helps the developer provide the design team with important feedback on what aspects of the design may or may not be realistic. A designer could pass the dev team a set of designs with what seems like near impossible requests and have little to no knowledge of what it is they’re asking for.</p><p>Most designers aren’t developers — and vice versa. (That’s not to say that there aren’t people who do both.) Designers don’t necessarily know the ins and outs of the specific frameworks or packages being used and their limitations.</p><p><strong>By giving feedback on potential challenges in the design, the developer helps catch project risks early on. But, more importantly, it betters the designer’s grasp of what’s possible within the development.</strong></p><p>Helping the designer to understand the concerns associated with their design decisions is half the battle. The developer must also make a point of working with design to find the best solutions or alternatives to these challenges. Bringing attention to the problem tells the designer that they need to fix it, but doesn’t offer how it can be fixed. Including a solution can mitigate potentially troublesome design choices.</p><h3><strong>When it comes down to it…</strong></h3><p>Providing the client with the best possible product in a timely manner is the most important part of a project. To be truly successful in achieving this, the team will need to perform like a well-oiled machine.</p><p>Design and development have the capability to greatly increase their productivity and quality of work by learning to collaborate more efficiently and provide each other with a better understanding of what needs to be done in order to achieve the greatest possible product.</p><p>Perhaps the team at Helpful Human can collaborate with you — <a href="http://www.helpfulhuman.com/contact">get in touch</a> if you’d like to learn more about our projects and methodology.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=172853810a14" width="1" height="1" alt=""><hr><p><a href="https://medium.com/helpful-human/collaboration-for-the-good-of-mankind-172853810a14">Collaboration for the Good of Mankind</a> was originally published in <a href="https://medium.com/helpful-human">Helpful Human</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>