<?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 Rylan Francis on Medium]]></title>
        <description><![CDATA[Stories by Rylan Francis on Medium]]></description>
        <link>https://medium.com/@rylanfrancis?source=rss-aca964db91b3------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*LLaQp2g57q1YHZg3YLDzsw.jpeg</url>
            <title>Stories by Rylan Francis on Medium</title>
            <link>https://medium.com/@rylanfrancis?source=rss-aca964db91b3------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 25 Nov 2026 01:16:30 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@rylanfrancis/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[Adventures in e-commerce: Building a home security buy flow from scratch]]></title>
            <link>https://medium.com/protect-america-design/adventures-in-e-commerce-building-a-home-security-buy-flow-from-scratch-6478bde4a9b?source=rss-aca964db91b3------2</link>
            <guid isPermaLink="false">https://medium.com/p/6478bde4a9b</guid>
            <category><![CDATA[ecommerce-web-development]]></category>
            <category><![CDATA[ecommerce]]></category>
            <category><![CDATA[ux]]></category>
            <dc:creator><![CDATA[Rylan Francis]]></dc:creator>
            <pubDate>Thu, 07 Feb 2019 22:15:10 GMT</pubDate>
            <atom:updated>2019-02-07T22:22:43.661Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YjPFGyIK8lMtzf0jZR3d-g.jpeg" /></figure><h3>Background</h3><p>I’ve always seen Protect America as a trailblazer in the home security space. We were one of the first to fully popularize DIY home security — eliminating the need for a professional installer and giving the power to the people. We were early adopters to digital marketing, with monthly spends over a million dollars in Google alone. But when it actually came to selling home security, we were old school. Since 1992, Protect America has been selling home security over the phone. Even as other home security companies were launching e-commerce buy flows, we stuck to the traditional call center model.</p><p>This wasn’t just a convenience thing. The fact of the matter is: it’s hard to sell home security online. It is not as simple as buy a widget and you’re done. There are contracts, credit checks, and complicated options when it comes to securing your home.</p><h3>Problem</h3><p>Make an online e-commerce system that can complete and automate the full home security buying process.</p><h3>Target Audience</h3><p>Home Security Buyer between 35–54 who don’t want to talk to a person on the phone (because who likes buying things on the phone?).</p><h3><strong>Research and Feature Requirements</strong></h3><p>With any good project with a ton of nuances, its always best to layout the requirements and features you’re looking to have. Not only does this help define the scope of the project but for this particular project ruled out the feasibility of a third-party solution. Obviously, as you start laying out features, the task can seem overwhelming or impossible. The key here is to not look at them as a whole, but steps or chunks. As the saying goes…</p><blockquote>How do you eat an elephant? One bite at a time.</blockquote><p>Breaking up the project into phases — must-haves, phase 1, phase 2, test 1, test 2, etc. allows you to handle smaller pieces of the project. It also gives developers and stakeholders the ability to plan for the future while still focusing on the “right now.”</p><p>Being a company with over 25 years of customers, deep-diving into our data was key to figuring out what to remove, focus on, and build for feature sets.</p><p>In a normal phone consultation, there can be up to 45 different base packages with 15–20 products that can be added on. A lot of these products are used in &lt;5% of the deals and therefore fringe cases.</p><p>But an over-the-phone consultation provides the seller with a bevy of information that they can use to customize an order exactly to the customer’s specifications. However, when the normal e-commerce buyer is making the choices, most (if not all) can’t discern the difference between a micro sensor with earth magnets vs a crystal sensor. This is where data helps us make choices for the consumer — choosing the best decisions based on ease of use, price, reliability, etc. — focusing the customization on larger decisions the customer cares about provides the consumer with a custom built solution while making the overall process easier.</p><blockquote>In essence, it was key that we provided ease of use through simple omission.</blockquote><p>Base packages were defaulted to three packages that fit &gt;90% of the customers needs. Products were also reduced down to around 4–5.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/356/1*AbaG23IPeDCZDilTikP1qw.gif" /><figcaption>Further customization was added in but with a reduced importance using a simple edit icon.</figcaption></figure><h3>Design Process and Prototyping</h3><p>Our design system is built on custom styles derived from the Materialize framework (I have written about <a href="https://medium.com/protect-america-design/mastering-materializes-grid-system-ffb32b2126d5">using the Materialize grid system in a previous article here</a>). This means most of our wire-framing and prototyping are done at the same time using symbols adhering to our design styles in Sketch. This allows me to build Hi-Fi mock-ups quickly while always staying true to the brand.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/802/1*McqWvkpCQugkbJGSk6K7lA.jpeg" /></figure><p>Using Sketch’s prototyping tool helps me navigate each section to test flow and make adjustments real time. Sections were purposely designed to be simple with big buttons to denote user input.</p><p>In the background, our e-commerce is built on a combination of Django/Python and Javascript/Knockout with the cart handling on the javascript side. This mean the cart is constantly updating and checking for user input. Clicking on an item will update your cart, providing a bit of a design problem.</p><p><strong>The user has to know the changes they are making are taking effect.</strong></p><p>It was important that active feedback was built into each piece of the UI. Buttons change color, progress wheels, as well animations for prices were added to show reduction or increases. These considerations were flushed out by prototyping.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*aTqbR1nJvUw9AWGTHdxLjw.gif" /><figcaption>These seem like simple additions but adding feedback to user actions are essential to making sure the user isn’t confused.</figcaption></figure><h3>Buy Flow, Funnels, &amp; Testing</h3><p>Behind the scenes, one of the most important things to a successful website or buy-flow is tracking. You need to have information on what’s working and what needs to be tested. This section for us actually goes back to the feature requirements laid out in the beginning when starting e-commerce. One of the requirements I had from a marketing perspective was the ability to move steps around and track by pages.</p><p>This allowed me to tie into Google Analytics, building out page tracking that ultimately ties to various goals based on the buy flow. Those goals can then be used as metrics for testing new iterations, pages, and customized buy-flows.</p><p><strong>What if we wanted to test different layouts for additional equipment?</strong> Simple, create a new page and A/B test it. The goals will show metrics from the next page in the funnel down to the number of customers buying.</p><p><strong>What if we wanted to have a completely different landing experience based on campaign source?</strong></p><p>Add the analytics tracking on to the page and again the goals will follow it through.</p><p>Making sure you plan for user tracking and flow ensures you have the ability to optimization down the road.</p><h3>Final Thoughts</h3><p>An average phone consultation for home security can take around 30 minutes to an hour. <em>The fastest e-commerce sale I’ve seen on our system was 4 minutes.</em></p><p>The entire process to build our e-commerce system involved many departments, and decisions to get it where it is today. And even then, we are still optimizing and working on making it easier for the customer. However, I believe it had help a subset of customers that simply don’t want to deal with the old school way of buying home security.</p><p>And while not the majority of our business, our e-commerce is a success. The e-commerce system allows the company to be in places its never been before with 24/7 sales and online only buy-flows. It allows third-party vendors to connect into our sales system without overrunning our sales floor. It will continue to evolve as we have more ways to use it to help secure more homes.</p><p>When building a complex design system its always important to take it one step at a time. Plan ahead and in workable phases. There is always that mid project slump, but taking small bites allows you to keep moving forward and gives the team a measure of success throughout the process.</p><p>There are a lot of moving parts and unexpected things that come up — so be prepared to add more chunks if need be. Don’t be afraid to remove features and build out phases for future releases.</p><p>Then once its built and released, give it love. Nothing is ever perfect. Follow your data and iterate on the design with the user always in mind.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6478bde4a9b" width="1" height="1" alt=""><hr><p><a href="https://medium.com/protect-america-design/adventures-in-e-commerce-building-a-home-security-buy-flow-from-scratch-6478bde4a9b">Adventures in e-commerce: Building a home security buy flow from scratch</a> was originally published in <a href="https://medium.com/protect-america-design">Protect America Design</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[This is my swan song — being a better designer]]></title>
            <link>https://medium.com/@rylanfrancis/this-is-my-swan-song-being-a-better-designer-fb7845271a7?source=rss-aca964db91b3------2</link>
            <guid isPermaLink="false">https://medium.com/p/fb7845271a7</guid>
            <category><![CDATA[design]]></category>
            <dc:creator><![CDATA[Rylan Francis]]></dc:creator>
            <pubDate>Wed, 25 Jul 2018 15:39:43 GMT</pubDate>
            <atom:updated>2018-07-25T16:59:38.253Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2cUf6DX0XreSJVTGR5mQ7Q.jpeg" /></figure><p>It started really as a joke. I looked over the shoulder of a fellow designer creating your typical email and what could only be described as “phoning it in.”</p><p>So I asked, “Is this your swan song?”</p><p>“What?”</p><p>“If you left the company today, <strong>is this what you want to be remembered for?</strong>”</p><p>A lot of truth is said in jest. What the phrase did was have the designer step back and actually think about the email, and in turn, make a better design.</p><h3>Make designs you want to be remembered</h3><p>As designers, we are here to tell stories, through our art. An email isn’t just an email, its a chapter in a book you are looking to tell. Yet, for some reason we look at projects like emails, web banners, small one-off projects as sort of lower forms in the echelon of design. Why is this? Is it because they are smaller in scope? They are faster to complete? Do they not follow the same principles of design — balance, contrast, emphasis, movement, pattern, rhythm, unity?</p><p>The truth is, things like web banners might be the most important piece to your story. For many people, a web banner is the first thing they see relating to a brand or product — it’s essentially the first chapter of the story you’re writing.</p><p>Let’s say you want to get people to buy your product which is sold on your website. To get people to our website we are going to make a display (banner) campaign for one week.</p><p>Now let’s say you create a “phoned in” banner:</p><p>So that one week, your banner is shown (impressions) to <strong>1 million</strong> people.</p><p>From that 1 million people, the first chapter of your story (the web banner) converts .35% of people to click through: <strong>3,500 visitors.</strong></p><p>From there, let’s say 1% of the visitors convert to a customer and buy your product: <strong>35 people</strong>.</p><p>Doing that same math and designing a web banner that increases click-through rate to .5% you end up with 50 customers. The key here is your design matters, You’ve increased the number of customer by 43% just by taking the time to make it right. Your story is better for it and you can be proud that your design increased the ultimate success of this campaign.</p><p>The other big thing to note is that project we always view as lesser to the larger projects got 1 million people viewing it while the webpage only got 3,500 people viewing it. So which is more important?</p><p>When writing a story, Harry Potter just isn’t as good if you skipped the horrible life living with the Dursleys and his parents death to begin with the words, “Yer a wizard, Harry.”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/498/1*PG5uZfC6jETpm2kdKXJ1AA.gif" /></figure><p>So why is a crappy web banner any different than losing your first chapter? Make a banner that gets people to click through. But also, don’t forget the story you are trying to tell.</p><h3>Think BIGGER</h3><p>One thing to help make something better is to think of it as being bigger. Make it massive. This is no longer a web banner, this is a multimillion dollar campaign. This will be everywhere and on everything. Don’t be small minded. Does your story work on a web banner? Does it work on a billboard? Does it work as the hero image on the site? Does it work above the toilet at some seedy bar downtown?</p><p>Elevate the design to the larger scope you deem is worthy of your attention. This is your swan song after all.</p><h3>Take the time to do it right.</h3><p>Many times, we phone in smaller projects to get back to the bigger projects. But this is really doing a disservice to the process and your designs. I ask you would you rather have the banner that gives you 35 customers and took one day to complete or the one that gives you 50 customers and took two days? Doing it right usually takes a little extra time but overall you usually get better results with less mistakes.</p><p>Many times designers will go to about 90% on a design. Like a car, that extra 10% is the polish — it makes it shine. It takes a mundane design and gives it depth and richness.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gBo9EDll28GPiJqCMUb5Jg.jpeg" /></figure><p>Take the extra time, do it right.</p><h3>And don’t forget the basics</h3><p>Just because its a smaller project doesn’t mean we forget everything about design. Use your tools and design principles to tell your story. Study them, know them, use them: balance, contrast, emphasis, movement, pattern, rhythm, unity.</p><p>Phoning it in usually means your brain is turned off, your creativity isn’t being accessed and you forget what makes something a designed piece rather than random clipart. Think about the project, is it telling the story? Can you make it better?</p><p>Take every project that comes your way and make it as if its your last — the one you want to be remembered for. Make it better than the last one.</p><p>“Make it your swan song.”</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fb7845271a7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Tracking your Lead Funnel to Optimize CPA]]></title>
            <link>https://medium.com/protect-america-design/tracking-your-lead-funnel-to-optimize-cpa-c2d6ba60d3c8?source=rss-aca964db91b3------2</link>
            <guid isPermaLink="false">https://medium.com/p/c2d6ba60d3c8</guid>
            <category><![CDATA[marketing]]></category>
            <category><![CDATA[analytics]]></category>
            <category><![CDATA[online-sales-funnel]]></category>
            <category><![CDATA[digital-marketing]]></category>
            <category><![CDATA[lead-generation]]></category>
            <dc:creator><![CDATA[Rylan Francis]]></dc:creator>
            <pubDate>Fri, 25 Aug 2017 22:12:25 GMT</pubDate>
            <atom:updated>2017-08-25T22:12:25.252Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xNt4aprSuOo2bdYg9F-6gw.jpeg" /></figure><p>Everyone wants a website that works better and makes more money. And as a digital marketer, this comes in the form of optimization. Performing A/B tests, building links, changing ad copy to reduce your CPA (Cost per Acquisition).</p><p>Proper optimization starts with tracking and interpreting data. So you have to gather the data, and then figure out how something should be tested. In this article, I will walk through our basic lead conversion funnel at Protect America — something I share with every new hire that enters my department. I feel its important from content writer to lead developer, they know how their job is affecting the company. It is meant to be a high level look at tracking things on your website to provide meaningful change to your content and design. For a design should not only look beautiful but illicit a desire action or outcome.</p><h4>The Lead Funnel</h4><p>Building a lead conversion funnel is really about tracking the flow of visitors as they turn into customers. You can track anything from a small campaign to the entire company’s lead conversion funnel. Ours are usually broken out by campaign and rolled up into larger funnels for wider views. A basic lead funnel can be adjusted and customized by the type of campaign or sales channel. Each step of the funnel should be significant and has potential drop-off of customers. The idea is to bring in as much relevant data to make decisions off of. In my example, I am going to use a PPC campaign as it has the complete funnel.</p><p>Ok Let’s build the funnel:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nQOiINVzUCMvADbyY63d3g.png" /></figure><p><strong><em>Spend:</em></strong></p><p>This isn’t necessarily about the customer, but tracking spend for campaign or website is a must for being able to determine the final CPA. It also allows you to determine Cost per click and cost per lead which could be helpful in deciding the success of your campaign.</p><p><em>How to optimize spend:</em></p><p>Adjusting spend will affect anything underneath it. The less spend, the less impressions, less clicks, visitors, etc. But this is important to know because as you calculate CPA you can turn up spend in good CPA campaigns and turn down spend in bad CPA campaigns.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BO-4Ri9guSNEBKzbDCmgQA.png" /></figure><p><strong><em>Impressions:</em></strong></p><p>In a PPC campaign you will usually have impressions — how many people see your ad. If your impressions are low, this means your campaign is either too narrow (not enough traffic) or you aren’t bidding enough (not showing up on the page).</p><p><em>How to optimize impressions:</em></p><p>Optimization here will come in the form of adjusting CPC of your ads. If you are bidding on a CPM (Cost per thousand impressions) basis, this number might be more important because you are focused on how many clicks you get for your impressions (Click-thru Rate). Adjusting your bids or expanding your keyword list will change the number of impressions you receive.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KHfEYJYB3e6nhdBSFUu3nA.png" /></figure><p><strong><em>Clicks:</em></strong></p><p>This is how many people click on your ad. A lot of people will equate this as visitors but they are different. <strong>A click doesn’t always make it to your site. </strong>Tracking them independently will give you warnings of click fraud and simply bad campaigns. If you divide your Spend by your Clicks you now have Cost Per Click — the metric you are bidding against in online ad auctions.</p><p><em>Optimize for clicks:</em></p><p>You can optimize by adjusting bids. Adjusting your bids based on a desired CPA means you can keep lowering or optimizing various pieces of a funnel until the campaign is profitable.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vixJRTJ7c3i5mXEoaAmuiA.png" /></figure><p><strong><em>Visitors:</em></strong></p><p>This is how many people make it to your site. You can track the drop-off by dividing Visitors by Clicks (Visitors/Clicks). Again, this Click to Visitor rate can help you find fraud or bad tracking. Essentially, if your Click to Visitor rate is 50%, that means only 50% of the clicks you are paying for end up making it to your site.</p><p><em>Optimize for visitors:</em></p><p>You can optimize for visitors for non-paid campaigns by increasing your rankings or building content — show up higher in Google, get more visitors. For paid campaigns, use negative keywords to try and raise your Click to Visitor rate.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*g3m-pBYPmjd0DG0muwsp3Q.png" /></figure><p><strong><em>Leads:</em></strong></p><p>Protect America is a lead generation website, meaning that visitors will end up being called by a sales representative. This occurs by someone requesting a quote or giving us a call directly. So for us we track the next step as a lead. In an e-commerce situation, this might be where someone adds a product to a cart. Again, this can be customized to the steps in your funnel. Tracking this will help provide information on how your website is actually converting (leads/visitors).</p><p><em>Optimize for leads:</em></p><p>You can optimize for site conversion here by doing A/B tests on the content — the higher the site conversion, the more effective the design.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZhNwh88vXncqinY0hcUWTQ.png" /></figure><p><strong><em>Sale or Acquisition:</em></strong></p><p>Yes! You made a sale! What started out as someone randomly viewing an ad has clicked it, gone through your website, called in, and bought something. Your campaign worked or did it? Tracking sales is the ultimate goal of the lead conversion funnel. We can now take the amount of money spent and divide it by the number of sales to get your Cost per Acquisition. Depending on your revenue from that sale, let’s you decide if the campaign is a success.</p><h4>What if its not a success?</h4><p>First, you are the one deciding success of a campaign. You are making the rules and know how a campaign builds into your greater marketing budget / vision. Again, use the lead funnels in all aspects of the business to see how each level (campaign, channel, company, etc.) are doing. Sometimes you overspend in one campaign to be successful overall. But after that? Optimize. Optimize. Optimize.</p><p>Every campaign can be adjusted and be vetted against each other. Have two campaigns that are similar but for some reason your site conversion is weak on one? Get some A/B tests on the content going. Not getting enough impressions? Adjust spend or your keywords.</p><p>A lead conversion funnel is meant to help you make decisions on where to focus your attention — because everyone wants a website that works better and makes more money.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c2d6ba60d3c8" width="1" height="1" alt=""><hr><p><a href="https://medium.com/protect-america-design/tracking-your-lead-funnel-to-optimize-cpa-c2d6ba60d3c8">Tracking your Lead Funnel to Optimize CPA</a> was originally published in <a href="https://medium.com/protect-america-design">Protect America Design</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Tips and Tricks for a Faster Loading Site]]></title>
            <link>https://medium.com/protect-america-design/tips-and-tricks-for-a-faster-loading-site-18c84179d877?source=rss-aca964db91b3------2</link>
            <guid isPermaLink="false">https://medium.com/p/18c84179d877</guid>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[design-process]]></category>
            <category><![CDATA[web-design]]></category>
            <dc:creator><![CDATA[Rylan Francis]]></dc:creator>
            <pubDate>Thu, 24 Aug 2017 19:26:59 GMT</pubDate>
            <atom:updated>2017-08-24T19:37:01.497Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0syxG6pVAgyWwItiegWS8g.jpeg" /></figure><p>I <a href="https://www.nytimes.com/2016/01/22/opinion/the-eight-second-attention-span.html">read an article</a> the other day that the attention span of an average human is lower than a goldfish. It stated our attention span was down to just eight seconds. eight seconds. Have I lost you already?</p><p>In this hyper world we live in, designers have to be sure we use every millisecond to our advantage to get our content, design, and message across. So it is important to embed into your site and design process with techniques that don’t waste time for the user. A faster site has and will always be a better site. Its true. Gone are the days of the 56k modem, but still, users find themselves with little patience for a site that just isn’t loading. <strong>The worst thing a web designer can do is have a site that is never seen because the user got bored waiting for it to load. </strong>So with that in mind,<strong> </strong>I wanted to share some of the techniques and processes that I use when developing a site to shave off some precious seconds on load time.</p><h4>Starting off small</h4><p>First, think of a website as a conveyor belt, feeding your web browser different packages (images, javascript, etc.). Some are big packages like images, some are small like HTML files. The problem is your web browser can only take one package at a time. So how do you make it faster?</p><p>The first real step is make the big packages smaller and easier to handle. And you can do this in a few easy ways:</p><p>One easy way is by shrinking your code or minifying it. You’ve probably seen minified versions of javascript files if you’ve used a third-party script. Essentially, this is a non-pretty version that has stripped away all the excess spaces. Sure, its hard to read, but it is a smaller file. This is perfect for large files like CSS and HTML. The great thing is a lot of programs can do this for you. At <a href="http://www.protectamerica.com/">Protect America</a>, our system is built in Django and we use <a href="https://django-compressor.readthedocs.io/en/latest/">Compressor</a> to do this automatically. However, standalone programs like <a href="https://codekitapp.com/">CodeKit</a> will also do this.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/588/1*yMIplXQndVNVow0s672_Vw.jpeg" /><figcaption>TinyPNG is magic</figcaption></figure><p>The next thing I do is run all my images through a loss-less image compressor. Essentially, these compressors shrink down your images by removing unneeded information without the loss of image quality. There are others out there, but I have found <a href="https://tinypng.com/">TinyPNG</a> to be an awesome resource. They also have a plugin that will do this automatically on your site if you are using Wordpress. Use this on all your images — I tend to do this in bulk before pushing my site live.</p><h4>Selecting the right image format to begin with</h4><p>Another way to keep image size down is to be smart on how you save your files. There are essentially five types of image formats you can use when saving for the web — JPG, PNG 8, PNG 24, SVG, and GIF. Each one of these have advantages and disadvantages when it comes to saving for the web.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*rNkSeZMkgtW_vRQzjwQJIQ.jpeg" /><figcaption>JPEG with a bit of artifacting</figcaption></figure><p>JPG: The most basic of image formats. These are good when wanting to display a photograph or something that has an expansive color range. <strong>It is a lossy format and does not support transparency.</strong> When, “Saving for Web” in Photoshop you get a variety of options when comes to image quality. I have a few rules that I use when saving my JPGs. First, never do a 100% quality if you are concerned at all about load time. The highest I usually go is 92 — there is usually no visible difference and you’ve saved yourself some kb. Second, when dropping quality, I drop by 10 starting at 92 (ex. 82,72,62,52,etc.). Finally, drop the quality until you are comfortable and accept the artifacts found in the image. You are the designer, you know how this image is going to be displayed. I usually end up with an image at either 72 (good quality) or 52 (medium quality) when I save.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/200/1*5Rk-6l2cmFIOt91w0mOE-Q.png" /><figcaption>PNG 8 with a white background built in</figcaption></figure><p><strong>PNG 8:</strong> These are perfect for a simple illustration where you don’t need a lot of gradients, shadows, or transparency. While they do support transparency, you will get some pixelation on the edges — You can reduce this with straight edges or use it to your advantage if it blends into the background. PNG 8 handles up to 256 colors in its palette. The cool thing when saving these is you can set the number of colors to reduce file size. So if your image is built on 8 solid colors, use 8 and watch the kbs just slip away. You can play with the amount of colors in Photoshop to find what works best for you.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/403/1*Kmp0uHODt94z2EXyj23GlQ.png" /><figcaption>This phone’s background is transparent allowing it to sit atop other images and colors adding flexibility but also file size.</figcaption></figure><p><strong>PNG 24:</strong> This is going to be the largest of the file formats. It handles the full color range like JPG but also handles transparency. They are beautiful, but you take the hit in file size. Honestly, I only use these if I need something transparent and PNG 8 just isn’t cutting it. If that’s the case, I usually try to see if I can slice the image in different ways to limit the amount of space a PNG 24 is using and use another image for the non-transparent space.</p><p><strong>SVG: </strong>These are for vector based images like logos. They are a little harder to work with, but can save you tons of space and look good on every type of display (desktop, mobile, 1x, 2x, etc.). <a href="http://caniuse.com/#feat=svg">They are supported on all major browsers</a> and can be embedded right into your code to reduce a request if you want.</p><p><strong>GIF:</strong> I would only use this if it is animated. Other than that, I find a PNG 8 handles everything a gif can do but is usually smaller. Also, I throw my hat into the “GIF” team not the “JIF” team.</p><h4>Image Dimensions</h4><p>I added this section really quickly since I’m talking a lot about images. I have seen many designers save out images with huge dimensions — including one straight from the camera with a file size &gt;3mb. Again, back to the conveyor belt, think about the size of your images. Save your images to the size you need them. Do you really need a 3000px wide image? Can it be smaller? Is there a different way you can accomplish what you are trying to do? Can you crop out unneeded image space? Simply reducing the actual dimensions of your images can go a long way to saving kb and thus load time on your website.</p><h4>Reducing Requests</h4><p>Ok, requests…let’s go back to the conveyor belt. So your website is feeding the browser these packages. However, your website is asking your server for the packages. Every time it has a new package, it asks for it — this is a request. This takes time. So the next thing you can do is reduce the number of requests by combining and/or removing things all together. By doing this, you are not only saving a request, but usually, removing extra kbs in the process.</p><h4>Sprites (The non soda kind)</h4><p>When talking about sprites I am immediately reminded of Super Nintendo. That is because that’s how the old gaming systems worked to save space. Its crazy that they had to fit an entire game on 16mb. One big way they did that is reusing images in what are known as sprite maps.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/434/1*3zAlFjxC9hrKGg55NpRIOQ.gif" /><figcaption>Chrono Trigger Sprite Map for one character…Crono</figcaption></figure><p>A sprite map is a bunch of images in one image. Now imagine all these images were on your website. That is a lot of requests. Instead you combine all these simple images into one and use CSS to call the section you are looking for. Since the colors are all the same and its all in one image a PNG can compress this pretty well. You save a ton of space on load and a ton of requests. I’m not going to go into implementation of sprite maps in this article but check out <a href="https://www.w3schools.com/css/css_image_sprites.asp">this W3schools article for help</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/528/1*BjraQFOY-11vHiw7X7DvWQ.png" /><figcaption>Google Sprite Map</figcaption></figure><p>Sprite maps are perfect for small icons and graphics that are used over and over throughout the site.</p><h4>Fonts and Icons</h4><p>Beyond sprites, you can also use custom fonts for icons throughout the site. Loading one font file in your &lt;head&gt; can give you access to a ton of icons that render perfectly no matter the size. These also obey CSS styling for color, font-size, etc. At Protect America, we use <a href="https://material.io/icons/">Material Icons</a> but we’ve also used <a href="http://fontawesome.io/">FontAwesome</a> and I’ve personally built my own fonts using <a href="https://icomoon.io/">IcoMoon</a> depending on the use case. This is an alternative way to remove images / requests altogether by moving over to a icon font library.</p><p>When building a site that loads quickly, you want to think, “Less is more.” Plan accordingly and use all the tools available to you. When creating your website you can make your design go further and take up less time and space. Your visitors and SEO managers will undoubtedly thank you.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=18c84179d877" width="1" height="1" alt=""><hr><p><a href="https://medium.com/protect-america-design/tips-and-tricks-for-a-faster-loading-site-18c84179d877">Tips and Tricks for a Faster Loading Site</a> was originally published in <a href="https://medium.com/protect-america-design">Protect America Design</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Mastering Materialize’s grid system]]></title>
            <link>https://medium.com/protect-america-design/mastering-materializes-grid-system-ffb32b2126d5?source=rss-aca964db91b3------2</link>
            <guid isPermaLink="false">https://medium.com/p/ffb32b2126d5</guid>
            <category><![CDATA[html]]></category>
            <category><![CDATA[grid-system]]></category>
            <category><![CDATA[css]]></category>
            <category><![CDATA[framework]]></category>
            <category><![CDATA[material-design]]></category>
            <dc:creator><![CDATA[Rylan Francis]]></dc:creator>
            <pubDate>Wed, 23 Aug 2017 20:33:09 GMT</pubDate>
            <atom:updated>2018-06-22T16:23:12.631Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hUNl8wHt7o0Cr281TOzW6Q.png" /></figure><p>It seems like everyday there is a new framework popping up promising to change the way we build websites. <a href="http://getbootstrap.com/">Bootstrap</a>, <a href="http://getskeleton.com/">Skeleton</a>, <a href="http://materializecss.com/">Materialize</a>, <a href="https://960.gs/">960</a>, etc. They all have their advantages and disadvantages. Choosing a framework that would work for <a href="http://www.protectamerica.com/">Protect America</a> meant looking at not only the features we wanted, but the grid system itself. And it is because of the grid system that we ultimately chose Materialize as the site’s CSS framework. In this article, I wanted to go into the power of the Materialize grid to help build websites faster and better.</p><h4>A Responsive Web</h4><p>Designing for the web means that your layout is ever changing. From the content on the page to the size of the screen to the environment its viewed in, almost no two experiences are the same. Designing for this is known as responsive design. And the ability to control those variables makes our lives and designs better. Thats where a grid system comes in. It allows us to put structure on the page quickly — unity and logic to content’s chaos. Materialize’s grid is unique to most systems in the fact that you can customize it to the screen width. This means your mobile grid can be completely different from your tablet or desktop grid — and its completely up to you.</p><p>That may seem like a small thing, but you have to realize that most other frameworks sort of do the grid change for you. Skeleton (a 12 column grid system) for example, will automatically make columns full width when you break it down to mobile mode. But what if you want a 50 / 50 split? This would take extra custom css to achieve these results. In some ways you end up fighting the framework rather than using it. Using Materialize for Protect America, we found more control was given to the designer in our layouts as you move from screen size to screen size. Content can be completely rearranged, hidden, or appear.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*L5rjFlY6f3IGPViCpnhyfw.png" /></figure><h4>A Cascading Grid System</h4><p>The power in Materialize comes in its cascading grid system. Built from a mobile-first design, the grid classes will overwrite as the screen size increases. They achieve this through a prefix on each class. an “s” signifies that column width will affect “small” screen sizes, while an “l” signifies a large screen size. If the screen size is large, the cascading styles will find the lowest set column width. So if you want your column to stay full width throughout the design, an “s12” will work on all screen sizes. However, if you want it to be full width on mobile and half width on desktop you might as the classes, “s12 l6”.</p><pre>&lt;div class=&quot;row&quot;&gt;<br>  &lt;div class=&quot;col s10 m8 l10 xl8 offset-s1 offset-m2 offset-l1 offset-xl2 center&quot;&gt;<br>   &lt;h2 class=&quot;h1-heading&quot;&gt;Custom built by you and shipped straight to the customer&#39;s door - means no carrying costs.&lt;/h2&gt;<br>  &lt;/div&gt;<br> &lt;/div&gt;</pre><p>Looking at the above example shows the power of the cascading grid system. Let’s break it down:</p><pre>&lt;div class=&quot;row&quot;&gt;</pre><p>Every section of the grid system starts with a “row” class. This class not only activates the grid columns but can function as a clear for any floating divs. The full width of a row is broken up to 12 columns. If your columns are greater than 12, that div will move to the next line behaving like any float: left object. So if you have a group of columns and you want them to behave independently, you can break them up using the “row” class.</p><pre>&lt;div class=&quot;col&quot;&gt;</pre><p>Using the “col” class designates that you will be using the object as a column. A column must be inside a row to work, however, it does not need to be inside a “container” — I will discuss containers later.</p><pre>&lt;div class=&quot;col s10 m8 l10 xl8 offset-s1 offset-m2 offset-l1 offset-xl2 center&quot;&gt;</pre><p>So we have the “col” designated, now we will use the cascading grid system. For Protect America, we use offsets to add white space to the left and right. By adding the “offset-s1” means we want this content to move over one column width. Then, by adding “s10” means we want this div to be a width of 10 columns. We don’t have to specify the last column because its ust blank space and will be equal to the “offset-s1&quot;. So we now have a div that is 10 column widths and has white space of one column width on the left and right.</p><p>As we move to tablet, we change the offset to “offset-m2” overwriting the mobile offset and making it two column widths. We also change the cdiv to have a column width of 8 using “m8”. We move back to a ten column width and offset of one for large screens. Finally, we have an eight column width with offset of two for extra large screens (&gt;1200 px).</p><p>In this example, this allows the designer to control the ultimate look of how the content is presented. Since this example only has a headline in it, the columns are most likely controlling where the text breaks to have the headline be aesthetically pleasing and avoid widows.</p><h4>An Offset Hack</h4><p>Specifically for Protect America, we used offsets extensively throughout the site. There was a bit of a limitation when it comes to offsets that doesn’t allow you to reset offsets when cascading up. An example of this might be on mobile you want an offset of one, but on desktop its not needed — there is no way to remove that offset. So for our build, we added an offset-s0 (zero), offset-m0, offset-l0, and offset-xl0. These classes essentially reset the offset for greater control. These have to be added to their respective media queries but the code is simple:</p><pre>.row .col.offset-l0 {<br>   margin-left: auto;<br> }</pre><h4>Lastly, Containers</h4><p>Naturally, the Materialize grid system can work in a full width website. They do have the option to contain your content into a smaller width using the “container” class. We use this on Protect America to contain all the content in a white container surrounded by a light grey background.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_oR1Tn9tRUg-CiWG4Bs7tg.jpeg" /></figure><p>This is mainly an aesthetic choice, but again gives you greater control over the content on your site. Here is an example of how we might build a basic section of our site:</p><pre>&lt;div class=&quot;container white&quot;&gt;<br>    &lt;div class=&quot;row&quot;&gt;<br>        &lt;div class=&quot;col s10 offset-s1&quot;&gt;<br>        &lt;/div&gt;<br>    &lt;/div&gt;<br>&lt;/div&gt;</pre><p>This code would create a container (with a white background) that contains a row with one div that is ten columns widths and offset by one column width. Make sense? Great!</p><h4>Final Thoughts</h4><p>In the end, choosing Materialize helped us build grids that worked with us, not against. Besides a couple of adjusting classes like the offset zero classes we never really had to fight it to get what we wanted. This provided quick and easy creation of pages. You HTML pages will have more classes assigned to each element, but this is a trade-off for pages and pages of CSS.</p><p>The important thing when choosing a framework is to make sure it works for you. Like anything in at a designer’s disposal, its a tool to create the final product. If the tool is not useful, perhaps you should find a better tool.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ffb32b2126d5" width="1" height="1" alt=""><hr><p><a href="https://medium.com/protect-america-design/mastering-materializes-grid-system-ffb32b2126d5">Mastering Materialize’s grid system</a> was originally published in <a href="https://medium.com/protect-america-design">Protect America Design</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>