<?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 Oliver Dunk on Medium]]></title>
        <description><![CDATA[Stories by Oliver Dunk on Medium]]></description>
        <link>https://medium.com/@oliverdunk?source=rss-ad79fa7d635d------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*4ct90bur6fpyW_nG.jpg</url>
            <title>Stories by Oliver Dunk on Medium</title>
            <link>https://medium.com/@oliverdunk?source=rss-ad79fa7d635d------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 18 Nov 2026 16:42:04 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@oliverdunk/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[Modern tools for modern development]]></title>
            <link>https://medium.com/jamstack/modern-tools-for-modern-development-a1baad95ee5b?source=rss-ad79fa7d635d------2</link>
            <guid isPermaLink="false">https://medium.com/p/a1baad95ee5b</guid>
            <category><![CDATA[aws-lambda]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[jamstack]]></category>
            <dc:creator><![CDATA[Oliver Dunk]]></dc:creator>
            <pubDate>Tue, 14 Mar 2017 23:37:19 GMT</pubDate>
            <atom:updated>2017-03-14T23:37:19.787Z</atom:updated>
            <content:encoded><![CDATA[<p>An increasing number of sites today are moving to <a href="https://jamstack.org/">JAMstack</a>, which is an extremely viable way to build your next website. Put simply, JAMstack refers to the idea that the base of your website can be static markup and additional functionality can be added through JavaScript which communicates to an external API.</p><p>When hosting a site built in this way, there are a number of features which could come in handy. Many services such as <a href="https://pages.github.com/">GitHub Pages</a>, <a href="https://aws.amazon.com/">AWS</a> and Heroku are available, but choosing the one best suited to you can be difficult.</p><h4>SSL</h4><p>Ensuring a secure connection between visitors to your site and the server is extremely important for both peace of mind and <a href="https://webmasters.googleblog.com/2014/08/https-as-ranking-signal.html">SEO</a>. Access to HTTPS as standard is common, but the level of maintenance needed can vary.</p><p><a href="https://devcenter.heroku.com/articles/ssl">Heroku</a> provides SSL on the majority of their plans, using a specific command to manually add a certificate file. This means that you’ll need to either purchase a certificate from a recognised authority, or generate one for free using a service such as <a href="https://letsencrypt.org/">Let’s Encrypt</a>. AWS offer a <a href="https://aws.amazon.com/certificate-manager/">similar setup</a>, but the certificate needs to be added to a connected load balancer or Route53 instance. This can feel a little tedious and heavy compared to other options.</p><p><a href="https://www.cloudflare.com/ssl/">Cloudflare</a> is another option, but you can fall into a trap like I did if you don’t fully understand how the service is implemented. Some of the options provided terminate at their proxy rather than your server, meaning that only part of the journey is encrypted. To get around this, you can enable ‘Full SSL’ or setup the <a href="https://support.cloudflare.com/hc/en-us/articles/204899617-Authenticated-Origin-Pulls">Authenticated Origin Pulls</a> feature. If you’re willing to spend some time reading into this, Cloudflare is definitely a great option and the automatic SSL management can be extremely appealing.</p><h4>Form Handling</h4><p>Once your site is up and running, it’s likely that you’ll want to accept form submissions for one purpose or another. For example, you could be collecting suggestions for the most <a href="http://www.theuselessweb.com/">useless website</a> ever. Without access to the server, this can be trickier than it sounds.</p><p>With most simple services, like GitHub Pages, running a API and database externally will be needed. This could be done using another host, or through a service like <a href="https://formspree.io/">Formspree</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IEkw6Ev4C8W-qMykzPv8fw.png" /><figcaption>Formspree’s homepage, which has a basic integration example</figcaption></figure><p>Formspree is a service which opens an endpoint for you to send data to. Once received, they will forward this to you via email alleviating the need to run this type of infrastructure yourself.</p><h4>Deploy Previews</h4><p>Let’s suppose you’ve finished implementing your contact form (or any other change to your site for that matter), but are worried that you’ll be swamped in emails if you don’t test the site first.</p><p>GitHub Pages has no clear solution — you could clone the repository and deploy to each based on the stage of your development cycle, but weren’t branches invented for a reason?</p><p>More complex tools like AWS require you to create two sites as well. This means that you’ll be paying for two sites, rather than just one with testing functionality.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ko2qrfRu_JuYVY_FmfLtaw.png" /><figcaption>Image Credit: Microsoft Azure documentation</figcaption></figure><p>Microsoft’s Azure service also offers previews, in the form of “<a href="https://docs.microsoft.com/en-us/azure/app-service-web/web-sites-staged-publishing">deployment slots</a>”. These are essentially live apps which can be swapped between environments on demand. This, in my opinion, is a great approach which is also well documented making for a good match.</p><h4>Redirects</h4><p>A key part of single page applications is in the name — they are built in just a single page, which dynamically loads in the rest of our content. As a result, it’s important to have the ability to perform redirects to a single index.html file regardless of the actual request path.</p><p>To do this with services like GitHub Pages, you’ll need to find a workaround. While I wouldn’t be suprised if they implemented an easier option soon, currently the most common solution is to hijack the 404 page and use your index.html instead. This sounds almost too good to be true, and it is. A 404 status code is returned and without a doubt, this will be harmful in terms of SEO.</p><p>AWS allows redirects to be configured in their <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/how-to-page-redirect.html">web interface</a>, although it’s a shame that you have to either rely on an API integration or set things up again each time you duplicate the site.</p><h4>Prerendering</h4><p>Prerendering is the process of identifying bots like search enginges through the User-Agent header, and serving them a prerendered page with all elements loaded to ensure that they are indexed currently. It’s needed because we can’t rely on them running JavaScript before searching through the content of a particular site. The bigger search engines like Google are getting much better at dealing with this themselves, but warming up the page regardless is worthwhile.</p><p>GitHub pages has nothing to offer, but I’m extremely hopeful for the future. It’s an area which they could dive into without disrupting existing sites, and would be extremely beneficial to their offering.</p><p>The versatility of Amazon’s offerings mean you could setup something similar by offloading requests with a specific User-Agent header. You’d need to setup a new service to recieve these requests and render the page, though, so simplicity is at stake. I’d say that this option is better suited to you if off the shelf prerendering doesn’t offer what you need.</p><p><a href="https://prerender.io/">Prerender</a> claims to have served over 12 billion pages to bots, and aims to take away the need to setup a prerender service yourself. A number of open source platforms like <a href="http://galaxy-guide.meteor.com/seo.html">Meteor</a> provide easy integrations which may appeal to you.</p><h4>Notifications, Web Hooks, and more</h4><p>If your site is finally up and running, it’d be nice to know. Webhooks are provided by almost all of the services I’ve mentioned, usually needing either a particular URL to visit or a piece of code to run.</p><p>With AWS, for example, you can use their Lambda service which is free for small volumes. You could set this up yourself, or use a framework built specifically to address this need. <a href="https://serverless.com/blog/serverless-notifications-on-aws/">Serverless</a> provides a CLI interface and workflow for writing code to be executed in repsonse to a particular event. This can then be used in response to a deploy, for example, to notify your team through their messaging tool of choice.</p><h4>A look at Netlify</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/814/1*-tQ3II6H0jHuoaujGrDK4w.png" /></figure><p>Personally, I trust <a href="https://www.netlify.com/">Netlify</a> for all of my projects. They are able to offer all of the features I’ve written about above in one place, and learning how to use them is always easy:</p><ul><li>SSL is a one click installation, done from within their app interface. You can even enable an HSTS header to force the use of HTTPS by ticking a single box.</li><li>Forms can be managed by using the netlify attribute in your form&#39;s HTML. The rest can then be managed from the web interface, including handling where responses should be sent and what actions should be taken.</li><li>Netlify has a great <a href="https://www.netlify.com/blog/2016/07/20/introducing-deploy-previews-in-netlify/">Deploy Preview</a> feature, allowing you to take a look at your site before it’s even live. This is perfect for testing new features.</li><li>Redirects are made easy with a redirects configuration file (available free), which can be used for single page apps as well as to route users based on their localisation (paid plans only). They even have their <a href="https://play.netlify.com/">Playground</a> so that you can test these on the fly.</li><li>Prerendering is one click too!</li><li>Notifications are all manageable in their interface, and a wide range are supported. Webhooks are available to keep track of important events, and you can also be notified automatically in Slack or Email if anything happens which you’d like to know about.</li></ul><p>I hope that this article helps in showcasing some of the features worth considering before picking your next website host. Whatever choice you make, JAMstack has hopefully come across as a great option which can benefit both the developer and user experience drastically.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a1baad95ee5b" width="1" height="1" alt=""><hr><p><a href="https://medium.com/jamstack/modern-tools-for-modern-development-a1baad95ee5b">Modern tools for modern development</a> was originally published in <a href="https://medium.com/jamstack">JAMstack</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>