<?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 Alessandro Giordo on Medium]]></title>
        <description><![CDATA[Stories by Alessandro Giordo on Medium]]></description>
        <link>https://medium.com/@bike.challenge?source=rss-ec7530918668------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*cZ4Ny0M1AXfTd4EqNmWPkw.jpeg</url>
            <title>Stories by Alessandro Giordo on Medium</title>
            <link>https://medium.com/@bike.challenge?source=rss-ec7530918668------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 19 Nov 2026 00:03:52 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@bike.challenge/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[A day in the life of a Frontend Developer at Vodafone UK]]></title>
            <link>https://medium.com/vodafone-uk-engineering/a-day-in-the-life-of-a-frontend-developer-at-vodafone-uk-e741102deacc?source=rss-ec7530918668------2</link>
            <guid isPermaLink="false">https://medium.com/p/e741102deacc</guid>
            <category><![CDATA[vodafone]]></category>
            <category><![CDATA[agile]]></category>
            <category><![CDATA[career-advice]]></category>
            <category><![CDATA[developer]]></category>
            <category><![CDATA[scrum]]></category>
            <dc:creator><![CDATA[Alessandro Giordo]]></dc:creator>
            <pubDate>Wed, 27 Mar 2019 17:10:37 GMT</pubDate>
            <atom:updated>2019-03-27T17:10:37.017Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/820/1*QVoJ6_kMYsJaNgyCr1zH5g.png" /></figure><p>My name is Alessandro Giordo. <br>I’m Italian, 33, and started working in London 6 years ago.<br>I started as a self-learner coming from a Languages background and Degree but always was a geek, tinkering with computers from a very young age.<br>I started learning from FreeCodeCamp and CodeCademy, then switched to Udemy and other courses like Coursera.</p><p>I didn’t know I wanted to do JavaScript and Frontend when I started, but now I can’t imagine myself doing anything else.</p><p>When I was contacted by Vodafone UK, I was working as the main Developer in a creative agency.<br>The work there was good, very different from my previous experiences in Full stack and AI, but the way we worked really blocked me from delivering high-quality code and design to the customers.</p><p>I joined as Mid-weight Frontend Developer and I currently work within the checkout team, known as Kraken.</p><p>Every day, we have standup where we all highlight our activities on the day before, what we will be doing today and what’s blocking us.</p><p>This is a standard activity in all agile teams, but we enforce this as a start of the day so that we all know what everyone is doing and can avoid doing the same, or perhaps work with the other person in pairs to deliver faster.<br>We then start picking up stories from the business. The PO (Project Owner) will have written it following BDD (Business Driven Development), so from the user point of view.<br>Each story is pointed during the sprint planning and refinement session every two weeks.</p><p>If I don’t have a story for myself, I always go around the juniors to ask if they need any help or guidance or just to check how they are doing.<br>Our team is very social and collaborative. We avoid being isolated, except when it’s really needed (story is hard or you need to focus on a particular part of the code).</p><p>Around 4pm we sometimes do a show and tell where everyone that has something to show is allowed a time-boxed section of the meeting to do so.<br>Every 6 sprints we have a new PI (Program Increment, you can read more about SAFE agile here <a href="https://www.scaledagileframework.com/program-increment/">https://www.scaledagileframework.com/program-increment/</a>), which allows us to plan the next 6 sprints in advance and write the general main goals and risks together.<br>This is a very useful process and I was really stoked to learn about it and do it with the team.</p><p>Every other Wednesday we do a sprint demo, where stakeholders and Product owners can see our progress and ask us questions or point out things that should be changed to align with the business needs.<br>What I really liked is that for two weeks, we have an IP (Innovation Planning) sprint (at the end of the PI), which allows us to explore an idea which could bring potential benefit to the business.</p><p>For example, last time we worked on PWAs and Accessibility, but each team can do something different and present it at the end.</p><p>If you want to step out of your comfort zone and join a team of highly skilled people, do visit Vodafone Careers page for our vacancies:<br><a href="https://careers.vodafone.co.uk/">https://careers.vodafone.co.uk/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e741102deacc" width="1" height="1" alt=""><hr><p><a href="https://medium.com/vodafone-uk-engineering/a-day-in-the-life-of-a-frontend-developer-at-vodafone-uk-e741102deacc">A day in the life of a Frontend Developer at Vodafone UK</a> was originally published in <a href="https://medium.com/vodafone-uk-engineering">Vodafone UK Engineering</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A day in the life of a Frontend Developer at Vodafone UK]]></title>
            <link>https://medium.com/@bike.challenge/a-day-in-the-life-of-a-frontend-developer-at-vodafone-uk-237468e1a292?source=rss-ec7530918668------2</link>
            <guid isPermaLink="false">https://medium.com/p/237468e1a292</guid>
            <category><![CDATA[vodafone-uk]]></category>
            <category><![CDATA[vodafone]]></category>
            <category><![CDATA[agile]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[frontend]]></category>
            <dc:creator><![CDATA[Alessandro Giordo]]></dc:creator>
            <pubDate>Thu, 22 Nov 2018 09:10:29 GMT</pubDate>
            <atom:updated>2018-11-22T14:17:26.873Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/820/1*QVoJ6_kMYsJaNgyCr1zH5g.png" /></figure><p>My name is Alessandro Giordo. <br>I’m Italian, 33, and started working in London 6 years ago.<br>I started as a self-learner coming from a Languages background and Degree but always was a geek, tinkering with computers from a very young age.<br>I started learning from FreeCodeCamp and CodeCademy, then switched to Udemy and other courses like Coursera.</p><p>I didn’t know I wanted to do JavaScript and Frontend when I started, but now I can’t imagine myself doing anything else.</p><p>When I was contacted by Vodafone UK, I was working as the main Developer in a creative agency.<br>The work there was good, very different from my previous experiences in Full stack and AI, but the way we worked really blocked me from delivering high-quality code and design to the customers.</p><p>I joined as Mid-weight Frontend Developer and I currently work within the checkout team, known as Kraken.</p><p>Every day, we have standup where we all highlight our activities on the day before, what we will be doing today and what’s blocking us.</p><p>This is a standard activity in all agile teams, but we enforce this as a start of the day so that we all know what everyone is doing and can avoid doing the same, or perhaps work with the other person in pairs to deliver faster.<br>We then start picking up stories from the business. The PO (Project Owner) will have written it following BDD (Business Driven Development), so from the user point of view.<br>Each story is pointed during the sprint planning and refinement session every two weeks.</p><p>If I don’t have a story for myself, I always go around the juniors to ask if they need any help or guidance or just to check how they are doing.<br>Our team is very social and collaborative. We avoid being isolated, except when it’s really needed (story is hard or you need to focus on a particular part of the code).</p><p>Around 4pm we sometimes do a show and tell where everyone that has something to show is allowed a time-boxed section of the meeting to do so.<br>Every 6 sprints we have a new PI (Program Increment, you can read more about SAFE agile here <a href="https://www.scaledagileframework.com/program-increment/">https://www.scaledagileframework.com/program-increment/</a>), which allows us to plan the next 6 sprints in advance and write the general main goals and risks together.<br>This is a very useful process and I was really stoked to learn about it and do it with the team.</p><p>Every other Wednesday we do a sprint demo, where stakeholders and Product owners can see our progress and ask us questions or point out things that should be changed to align with the business needs.<br>What I really liked is that for two weeks, we have an IP (Innovation Planning) sprint (at the end of the PI), which allows us to explore an idea which could bring potential benefit to the business.</p><p>For example, last time we worked on PWAs and Accessibility, but each team can do something different and present it at the end.</p><p>If you want to step out of your comfort zone and join a team of highly skilled people, do visit Vodafone Careers page for our vacancies:<br><a href="https://careers.vodafone.co.uk/">https://careers.vodafone.co.uk/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=237468e1a292" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Creating a Modern Headless Website with Nuxt 4 and WordPress REST API]]></title>
            <link>https://medium.com/@bike.challenge/creating-a-website-with-nuxt-js-and-wordpress-rest-api-cf37c6f4bc2b?source=rss-ec7530918668------2</link>
            <guid isPermaLink="false">https://medium.com/p/cf37c6f4bc2b</guid>
            <category><![CDATA[nuxtjs]]></category>
            <category><![CDATA[headless-cms]]></category>
            <category><![CDATA[vuejs]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[wordpress]]></category>
            <dc:creator><![CDATA[Alessandro Giordo]]></dc:creator>
            <pubDate>Fri, 06 Jul 2018 14:17:06 GMT</pubDate>
            <atom:updated>2026-11-01T15:19:50.881Z</atom:updated>
            <content:encoded><![CDATA[<p><em>A modernized guide to marrying the familiar WordPress CMS content editing experience with the raw speed, developer experience, and SEO architecture of Nuxt 4, Vue 3.5, and Vite.</em></p><h3>Introduction</h3><p>A few years ago, I wrote about coupling WordPress as a headless CMS with Nuxt.js. Back then, the ecosystem was Nuxt 2, Vue 2 (Options API), Webpack 4, Vuex, Axios, and WordPress REST API v2 plugins.</p><p>Since then, the web ecosystem has undergone massive leaps forward:</p><ul><li><strong>Nuxt 4</strong> introduces a dedicated app/ directory convention, Nitro server engine, fine-grained payload extraction, and instant Vite HMR.</li><li><strong>Vue 3.5+</strong> standardizes on &lt;script setup lang=&quot;ts&quot;&gt;, Composition API, and built-in reactivity primitives.</li><li><strong>Pinia</strong> has officially replaced Vuex for typed, modular state management.</li><li><strong>WordPress</strong> natively supports REST API toggles for custom fields in modern ACF (Advanced Custom Fields), reducing reliance on legacy glue plugins.</li></ul><p>If you are building a website today where your clients demand the comfort of the WordPress admin panel, but you want modern frontend architecture (zero-bloat HTML, Lighthouse 100s, instant page transitions, and effortless SSG or Edge SSR deployment), <strong>Nuxt 4 + WordPress REST API</strong> remains one of the most practical and productive stacks available.</p><p>In this guide, we’ll walk through how the modern architecture works using the updated open-source boilerplate: <a href="https://github.com/bovas85/nuxt-headless">bovas85/nuxt-headless</a>.</p><h3>Why Headless WordPress with Nuxt 4?</h3><ul><li><strong>Client Comfort</strong>: Non-technical clients and marketing teams already know how to publish posts, upload images, and edit pages in WordPress. You do not need to train them on a proprietary headless CMS or headless SaaS dashboard with per-seat pricing.</li><li><strong>Speed &amp; Security</strong>: The public-facing frontend is an optimized Nuxt 4 application. Visitors never touch your PHP server directly. WordPress can even be hidden behind a VPN, basic auth, or private subnet.</li><li><strong>SEO &amp; Core Web Vitals</strong>: With Nuxt 4’s server engine (Nitro) and useAsyncData, pages are pre-rendered with complete semantic HTML, open graph tags, and zero layout shift.</li><li><strong>Developer Happiness</strong>: Vite builds in milliseconds, TypeScript provides strict type checking, and Pinia gives you typed stores without string mutation boilerplate.</li></ul><h3>The Stack at a Glance</h3><p>LayerLegacy (Nuxt 2)Modern (Nuxt 4)<strong>Framework</strong>Nuxt 2.14 / 2.15Nuxt 4.6+ (future: { compatibilityVersion: 4 })<strong>Component Model</strong>Vue 2 Options API (export default {})Vue 3.5+ &lt;script setup lang=&quot;ts&quot;&gt;<strong>Bundler</strong>Webpack 4Vite 6<strong>State Management</strong>Vuex 3 (store/index.js mutations)Pinia (@pinia/nuxt)<strong>Data Fetching</strong>@nuxtjs/axios + asyncData / nuxtServerInitNative $fetch + useAsyncData() composable<strong>Styling</strong>node-sass / legacy libsassDart Sass with @use &amp; modern CSS clamp()<strong>Headless CMS</strong>WordPress 5.x + 6 separate pluginsWordPress 6.x + Docker Compose + ACF 6.x</p><h3>Step 1: WordPress Backend Setup</h3><p>To make WordPress serve clean JSON payloads to Nuxt, you need a minimal, headless-oriented installation.</p><h3>1. Run WordPress with Docker Compose</h3><p>Rather than manually configuring LAMP/LEMP stacks, you can spin up WordPress and MySQL in one command:</p><pre>cd wordpress<br>docker compose up -d</pre><p>Your WordPress admin will be available at <a href="http://localhost:8080/wp-admin.">http://localhost:8080/wp-admin.</a></p><h3>2. Configure Permalinks</h3><p>By default, WordPress uses query strings (/?p=123). This will break REST API routing.</p><ul><li>Go to <strong>Settings &gt; Permalinks</strong>.</li><li>Choose <strong>Post name</strong> (/%postname%/).</li><li>Click <strong>Save Changes</strong>.</li></ul><h3>3. Essential Plugins</h3><p>In modern WordPress, the plugin footprint is much smaller:</p><ul><li><strong>Advanced Custom Fields (ACF)</strong> (<em>Required</em>): Used to define structured content models. In ACF 5.11+ / 6+, open your Field Group and enable the native <strong>“Show in REST API”</strong> toggle.</li><li><strong>WP REST API Menus</strong> (<em>Recommended</em>): Exposes /wp-json/menus/v1/menus so Nuxt can fetch navigation dynamically.</li><li><strong>Contact Form 7</strong> (<em>Optional</em>): Exposes /wp-json/contact-form-7/v1/contact-forms/:id/feedback for form handling.</li><li><strong>WP REST Cache</strong> (<em>Recommended</em>): Caches JSON REST responses to make your build and SSR fetches blazing fast.</li></ul><h3>4. Custom Theme &amp; Plugin</h3><p>In the boilerplate repository, the wordpress/ directory provides:</p><ul><li><strong>themes/moustache</strong>: Registers responsive image thumbnail sizes (small 600px, medium 1024px, large 1920px, ultra 2048px, 4k 4096px) matching Nuxt&#39;s &lt;ResponsiveImage /&gt; and &lt;AppImage /&gt; components. It also adds a cache-skip filter for Contact Form 7 submissions.</li><li><strong>plugins/moustache</strong>: Registers a custom post type (casestudies) with REST support, meta query whitelist, and a lightweight standalone contact endpoint (/wp-json/forms/contact).</li></ul><h3>Step 2: Nuxt 4 Architecture</h3><p>In Nuxt 4, application code lives cleanly in the app/ folder:</p><pre>├── app/<br>│   ├── assets/          # Global SCSS, variables, mixins<br>│   ├── components/      # Auto-imported Vue components<br>│   ├── composables/     # Shared business logic (useWpApi.ts)<br>│   ├── layouts/         # Default and custom page layouts<br>│   ├── pages/           # File-based routing (index.vue, etc.)<br>│   ├── stores/          # Pinia stores (app.ts)<br>│   ├── app.vue          # Root component<br>│   └── error.vue        # Error boundaries<br>├── nuxt.config.ts       # Nuxt 4 configuration<br>└── package.json</pre><h3>1. nuxt.config.ts</h3><p>Here is how we configure Nuxt 4 with Pinia, modern SCSS preprocessors, and environment variables:</p><pre>export default defineNuxtConfig({<br>  compatibilityDate: &#39;2025-01-01&#39;,</pre><pre>  future: {<br>    compatibilityVersion: 4<br>  },</pre><pre>  modules: [<br>    &#39;@pinia/nuxt&#39;,<br>    &#39;@vueuse/nuxt&#39;,<br>    &#39;@nuxt/eslint&#39;<br>  ],</pre><pre>  components: [<br>    {<br>      path: &#39;~/components&#39;,<br>      pathPrefix: false // Allows &lt;HeroSection /&gt; instead of &lt;SectionsHomeHeroSection /&gt;<br>    }<br>  ],</pre><pre>  runtimeConfig: {<br>    public: {<br>      wpDomain: process.env.NUXT_PUBLIC_WP_DOMAIN || &#39;https://api.moustachedesign.fyi/wp-json&#39;,<br>      clientUrl: process.env.NUXT_PUBLIC_CLIENT_URL || &#39;https://api.moustachedesign.fyi&#39;,<br>      siteUrl: process.env.NUXT_PUBLIC_SITE_URL || &#39;https://nuxt-headless.netlify.com&#39;<br>    }<br>  }<br>})</pre><h3>Step 3: Fetching Data with Modern Composables</h3><p>In Nuxt 2, we relied on Vuex mutations or Axios inside asyncData({ $axios }). In Nuxt 4, we use native $fetch combined with a typed composable.</p><h3>app/composables/useWpApi.ts</h3><pre>export const useWpApi = () =&gt; {<br>  const config = useRuntimeConfig()<br>  const wpDomain = config.public.wpDomain as string</pre><pre>  const fetchHomePage = async (pageId = &#39;2&#39;) =&gt; {<br>    const url = `${wpDomain}/wp/v2/pages/${pageId}`<br>    console.info(`[useWpApi] Fetching homepage from ${url} (server: ${import.meta.server})`)<br>    try {<br>      return await $fetch&lt;Record&lt;string, any&gt;&gt;(url)<br>    } catch (error) {<br>      console.warn(`[useWpApi] Fetch failed, returning graceful fallback:`, error)<br>      return {<br>        id: 2,<br>        title: { rendered: &#39;Nuxt 4 Headless&#39; },<br>        acf: {<br>          hero: {<br>            title: &#39;Nuxt 4 Headless&#39;,<br>            description: &#39;Modern boilerplate with WordPress REST API.&#39;,<br>            desktop_bg: { url: &#39;/icon.png&#39; },<br>            mobile_bg: { url: &#39;/icon.png&#39; }<br>          }<br>        }<br>      }<br>    }<br>  }</pre><pre>  return { fetchHomePage }<br>}</pre><p>Notice the <strong>graceful fallback</strong>: if a developer clones the repository before setting up their WordPress container, Nuxt does not throw a white screen of death — it renders a clean mock layout so frontend work can continue unimpeded.</p><h3>Step 4: Page Rendering &amp; SSR Hydration</h3><p>In our page component (app/pages/index.vue), we consume this composable with Nuxt&#39;s useAsyncData():</p><pre>&lt;template&gt;<br>  &lt;main v-if=&quot;acf&quot; class=&quot;home&quot;&gt;<br>    &lt;HeroSection :acf=&quot;acf&quot; :animate-header=&quot;animateHeader&quot; /&gt;<br>  &lt;/main&gt;<br>&lt;/template&gt;</pre><pre>&lt;script setup lang=&quot;ts&quot;&gt;<br>const appStore = useAppStore()<br>const { fetchHomePage } = useWpApi()</pre><pre>// useAsyncData runs during server-side rendering (SSR)<br>// The payload is cached into __NUXT_DATA__ so client hydration performs 0 extra network calls!<br>const { data: homePage } = await useAsyncData(&#39;homePage&#39;, async () =&gt; {<br>  if (appStore.homePage) return appStore.homePage<br>  const data = await fetchHomePage()<br>  appStore.setHomepage(data)<br>  return data<br>})</pre><pre>const acf = computed(() =&gt; homePage.value?.acf)<br>const animateHeader = ref(false)</pre><pre>useHead({<br>  title: &#39;Home&#39;<br>})</pre><pre>onMounted(() =&gt; {<br>  animateHeader.value = true<br>})<br>&lt;/script&gt;</pre><h3>Why useAsyncData is Superior to Legacy asyncData:</h3><ul><li><strong>Server Fetch</strong>: Nuxt executes the request on your Node.js/Nitro server.</li><li><strong>Payload Serialization</strong>: The JSON result is serialized into a &lt;script id=&quot;__NUXT_DATA__&quot;&gt; payload in the rendered HTML.</li><li><strong>Instant Hydration</strong>: When the browser loads the page, it hydrates the Vue state from the embedded payload without issuing a redundant HTTP request to WordPress.</li></ul><h3>Step 5: Responsive Images with Modern Web Standards</h3><p>In the past, developers often relied on JavaScript-heavy image lazy-loaders (vue-lazyload, lazysizes).</p><p>Today, browsers have native support for &lt;picture&gt; elements and loading=&quot;lazy&quot;. In the boilerplate&#39;s app/components/UI/ResponsiveImage.vue, we leverage the custom thumbnail sizes registered by the WordPress theme:</p><pre>&lt;template&gt;<br>  &lt;picture&gt;<br>    &lt;!-- WebP or high-res desktop --&gt;<br>    &lt;source<br>      media=&quot;(min-width: 1024px)&quot;<br>      :srcset=&quot;image.sizes?.large || image.url&quot;<br>    /&gt;<br>    &lt;!-- Tablet / Mobile --&gt;<br>    &lt;source<br>      media=&quot;(min-width: 600px)&quot;<br>      :srcset=&quot;image.sizes?.medium || image.url&quot;<br>    /&gt;<br>    &lt;img<br>      :src=&quot;image.sizes?.small || image.url&quot;<br>      :alt=&quot;image.alt || &#39;Featured Image&#39;&quot;<br>      loading=&quot;lazy&quot;<br>      decoding=&quot;async&quot;<br>    /&gt;<br>  &lt;/picture&gt;<br>&lt;/template&gt;</pre><p>This ensures mobile phones download lightweight 600px images while 4K displays receive crisp high-resolution assets, without layout shifts or third-party JS overhead.</p><h3>Step 6: Deployment &amp; Build Strategies</h3><p>Depending on your requirements, Nuxt 4 supports two primary deployment models:</p><h3>1. Static Site Generation (SSG / Jamstack)</h3><p>If your content doesn’t change every minute, generate a purely static website:</p><pre>yarn generate</pre><p>Nuxt crawls your routes, calls the WordPress REST API at build time, and outputs static HTML/CSS/JS into .output/public. You can host this for free on Netlify, Cloudflare Pages, Vercel, or AWS S3.</p><p><em>(Bonus: Trigger automatic Netlify build webhooks whenever a post is published in WordPress!)</em></p><h3>2. Edge / Node.js Server-Side Rendering (SSR)</h3><p>If you need dynamic previews or real-time page updates:</p><pre>yarn build<br>node .output/server/index.mjs</pre><p>The lightweight Nitro server handles requests dynamically with blazing-fast response times.</p><h3>Conclusion &amp; Next Steps</h3><p>Decoupling WordPress from the presentation layer gives you the best of both worlds: a proven, comfortable CMS for content teams, and an ultra-fast, modern developer experience with Nuxt 4.</p><p>Check out the complete source code and starter kit on GitHub:</p><p>👉 <a href="https://github.com/bovas85/nuxt-headless"><strong>bovas85/nuxt-headless</strong></a></p><p>If you found this helpful, feel free to star the repo and join the discussion!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cf37c6f4bc2b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Deploying your SSR app to Zeit Now from GoDaddy]]></title>
            <link>https://medium.com/@bike.challenge/deploying-your-ssr-app-to-zeit-now-from-godaddy-41b51302375f?source=rss-ec7530918668------2</link>
            <guid isPermaLink="false">https://medium.com/p/41b51302375f</guid>
            <category><![CDATA[nodejs]]></category>
            <category><![CDATA[nuxtjs]]></category>
            <category><![CDATA[vuejs]]></category>
            <category><![CDATA[now]]></category>
            <category><![CDATA[zeit]]></category>
            <dc:creator><![CDATA[Alessandro Giordo]]></dc:creator>
            <pubDate>Fri, 20 Apr 2018 11:06:01 GMT</pubDate>
            <atom:updated>2018-04-20T11:06:31.663Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*Qn8Hp4jTNlML3Hgv-NcTjg.png" /></figure><p>We recently rebuilt our old AngularJS (1.5) app using <strong>Nuxt.js</strong> and <strong>WordPress REST API </strong>for better SSR and an opinionated folder and pattern structure.</p><p>If you are interested in that article, you can read it here:<br><a href="https://medium.com/@moustachedesign/creating-a-website-with-nuxt-js-and-wordpress-rest-api-51cf66599cf3">https://medium.com/@moustachedesign/creating-a-website-with-nuxt-js-and-wordpress-rest-api-51cf66599cf3</a></p><p>We have a Backend Developer specialising in <strong>Laravel</strong> and <strong>PHP</strong>, and our servers are with a traditional PHP Server (you guess it), so deploying an app with <strong>Node.js </strong>is not exactly the easiest thing to do.</p><h3>Enter, NOW</h3><p>You might know <a href="http://zeit.co/"><strong>Zeit</strong></a> for the very similar <strong>Next</strong> used by my fellow React developers, or for <strong>Hyper</strong> terminal (an Electron based terminal that looks cool).</p><p>They’ve been around their fair share of time and I had no objections from the CEO to go for them when looking for a stable production environment.<br>They offer out of the box CDN, DNS optimizations and all sorts of things you expect from a top-level hosting provider.</p><p>Their major advantage is being a kind of “<strong>serverless</strong>” infrastructure for your Node.js app (and others). <br>They provide a CLI (<strong>now-cli</strong>) which allows you to manage your deployments, instances, DNS, aliases and so on with it.</p><p>The documentation is quite exhaustive and gives you a very handy <a href="https://zeit.co/docs/guides/migrate-your-app"><strong>100% uptime Migration guide</strong></a> that helps you migrate your domain and hosting to them without losing a single minute of uptime.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/275/1*ljTFIMmjzU5_IxkLssllAA.gif" /></figure><p>Then, you have a domain on GoDaddy and… it’s not that simple anymore.</p><p>You see.., to preserve uptime now makes you externally add the domain, then you can add a certificate for it, DNS zone records from the current registrar, and then an alias that allows you to keep your DNS intact while migrating the app.<br>The problem is the <strong>ALIAS — ANAME</strong>.</p><p>If you have an apex domain like ours (antilophia.com), you need an ANAME or ALIAS record to be added in your current registrar to make this work.</p><p>GoDaddy doesn’t have ANAME or ALIAS records… Why?!</p><h4>GoDaddy, if you are reading this… do something about this! K, thx.</h4><p>Fret not, there’s a way to solve this guys. I just did (thanks, Tim from Zeit for the help so far).<br><strong>I’m a good guy, I’ll show ya’ll how to do the same if you have a domain with GoDaddy.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/432/1*9e9_NzWd36GZFoof3u9Ncg.gif" /></figure><h3><a href="https://zeit.co/docs/guides/migrate-your-app#preparation-and-migration">Preparation and Migration</a></h3><ol><li>Deploy to Now</li><li>Adding Your Domain</li><li>Upload SSL Certificates</li><li>Update DNS Records</li></ol><p>After you install now-cli, <strong>login</strong> to your account with now login then navigate to your folder and create a file called now.json .<br>This will include the name of your app and the alias (or aliases) you want to setup.</p><pre>{</pre><pre>  &quot;name&quot;: &quot;app-name&quot;,</pre><pre>  &quot;alias&quot;: [</pre><pre>    &quot;staging.yourdomain.com&quot;,</pre><pre>    &quot;yourdomain.com&quot;</pre><pre>  ]</pre><pre>}</pre><p>As you can see, we create an instance called antilophia (the ID) and point to an alias for staging and another for production.</p><p>We are more interested in the production one (for staging, we’ll come back to it later, but in the meantime you can always <strong>CNAME</strong> your regular domain to point to alias.zeit.co if you want to deploy to your subdomain.domain.com)</p><p>Then create an <strong>npm script</strong> to deploy your app with this file we just created</p><pre>&quot;scripts&quot;: {</pre><pre>    ...</pre><pre>    &quot;staging&quot;: &quot;now &amp;&amp; now alias antilophia-vue.nakedtesting.com&quot;,</pre><pre>    &quot;production&quot;: &quot;now &amp;&amp; now alias&quot;,<br>    ...</pre><pre>},</pre><p>This will allow you to deploy your staging or production env by just typing</p><p>npm run staging or npm run production</p><p>Simple as that.</p><p>We will deploy just typing nowinside your project folder (<strong>make sure you have a build and start script inside your package.json</strong>)</p><p>You would normally <strong>add an external domain</strong>, then add certs and so on but with GoDaddy it’s not that simple (or it is, if you follow this guide)</p><p>now domains add yourdomain.com --external --force</p><p>This adds the domain so that now knows you will add this later.</p><p>Then type now alias yourdomain.com so that you have the alias ready when you switch nameservers</p><p>You might get a message like:</p><pre>&gt; Error! Verification required: Please add the following TXT record on the external DNS server: _now.example.ai: b0981886d2c312e35c6b311cddd4eb0aea2e71a97d1e068b25f569527880f1bd</pre><p>So all you need to do is add a TXT record to GoDaddy for your domain with _now as name and value of that hash above.</p><p>Run now domains add yourdomain.com --force again to validate this.</p><p>We need now to get some certs going for the move.<br>You can then add Let’s Encrypt later for auto renewal, or use your own certs if you are that kind of guy.</p><p>Locate your .key, .crt and CA file for your cert and either download them or install now where they are (login as well you dummy).</p><p>Once in that folder all you need to do is type:</p><pre>now certs add --key yourdomain.com.key --crt yourdomain.com.crt --ca ssl_provider.crt</pre><p>This will install that certificate for your domain.</p><pre>&gt; Success! Certificate entry yourdomain.com (vDKECujW1pNt8O2HbWXp) created [598ms]</pre><p>Now comes the annoying bit.<br>Step 4 in the migration guide can’t be done. Simple as that.</p><p>There’s no ANAME or ALIAS on GoDaddy, so we will need to skip to the DNS records setup.<br>Go to your GoDaddy domain → manage DNS</p><p>You will have a list of DNS records you setup for yourdomain.com.<br>You can decide to export this to copy-paste.</p><p>Be careful not to add records that are related to GoDaddy (_custom* or similar).</p><p>to add a DNS record on now, you just type:<br>now dns add &lt;domain&gt; &lt;name&gt; &lt;record type&gt; &lt;value&gt; [mx_priority]</p><p>now dns add &lt;domain&gt; &lt;name&gt; &lt;record type&gt; &lt;value&gt; [mx_priority]</p><p>example:</p><p>now dns add yourdomain.com www CNAME yourdomain.com --force</p><p>now dns add yourdomain.com @ MX some.mx.record --force</p><p>With CNAME in particular, if on GoDaddy you have @ as value, you need to specify the domain itself like above.<br>The rest of the commands are self explanatory.</p><p>Once you have these setup we will need to migrate nameservers to zeit ones.<br>You have a list of nameservers here <a href="https://zeit.co/world#get-started">https://zeit.co/world#get-started</a></p><p>Once that’s done, we need to alias the domain to the current deployment we run before with now</p><p>Just type now dns add yourdomain.com — forceto add the domain as internal and the latest deployment will be aliased to yourdomain.com.</p><p>If you get an error (unable to verify) it means your nameserver change hasn’t propagated yet.<br>You can speed this up clearing your dns cache or changing your network DNS (go to 8.8.8.8 and search for yourdomain.com if you are on mac, or if you have google already, try switching to cloudflare)<br>I think this sped up my DNS cache clear for me.</p><p>Once you have aliased it, the new site should be up for you.<br>You can visit the one we just deployed at <a href="https://antilophia.com/">https://antilophia.com</a> or contact us at <a href="https://nakedideas.com/">https://nakedideas.com</a> for consultancy and gifs.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/1*uplcNpJqqIHgIOrfuUVQ_g.gif" /><figcaption>cat says thanks</figcaption></figure><p>I hope this guide was useful for you if you are trying to migrate a domain from GoDaddy and use Zeit now services.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/389/1*g2a83bD5RDGAC6ZT10QNIA.png" /></figure><h4>If you liked it,</h4><h4>Smash that applause button to 50 or beyond!</h4><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=41b51302375f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Creating a Website with Nuxt.js and WordPress REST API]]></title>
            <link>https://medium.com/@bike.challenge/creating-a-website-with-nuxt-js-and-wordpress-rest-api-51cf66599cf3?source=rss-ec7530918668------2</link>
            <guid isPermaLink="false">https://medium.com/p/51cf66599cf3</guid>
            <category><![CDATA[rest-api]]></category>
            <category><![CDATA[nuxtjs]]></category>
            <category><![CDATA[wordpress]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[vuejs]]></category>
            <dc:creator><![CDATA[Alessandro Giordo]]></dc:creator>
            <pubDate>Tue, 10 Apr 2018 12:16:21 GMT</pubDate>
            <atom:updated>2019-02-10T21:49:32.627Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5zH6oiFs5Z_Gb35R2adwew.png" /></figure><p><strong>Update:<br></strong>You can now use my boilerplate from the public repo:<br><a href="https://github.com/bovas85/nuxt-headless">https://github.com/bovas85/nuxt-headless</a> <br>(please star 🌟 it if you appreciate it, feel free to contribute).</p><p>Often times we find ourselves in the position where our clients want a Content Management System (CMS onwards) that will allow them to edit their pages without having to know HTML code to do so.</p><p>It’s then usually a choice between a bespoke CMS and WordPress (recently though we are seeing more and more “Headless” CMS coming up, as well as the very valid alternative of markdown or static CMS options).</p><p>In our case, we opted for WordPress for a few reasons:<br>- It’s a solid CMS with years and years of experience on the field<br>- Security issues are now almost gone, considering the automatic security updates from version 4.7 onwards (I might be mistaken on the version, don’t quote me on that).<br>- WordPress REST API gives us access to several fields (and custom ones) without the need of serving the whole front-end with WordPress.</p><p>Our Backend Developer was also more familiar with PHP, Laravel and WordPress than other technologies, so luckily we opted for WordPress in the end.</p><p>Regarding the Frontend, I was in charge of choosing the stack and as I love Vue.js (Vue 2) so much, I definitely pushed that forward, using Nuxt.js for Server Side Rendering (SSR from now on).</p><h3>Part 1, What’s Nuxt.js ?</h3><blockquote><strong>Nuxt.js PROs:<br></strong>1) automatically generated routing with middlewares, validators and more <br>2) full SSR support out of the box with vuex support <br>3) pages system with async data hooks, transitions, loading indicator etc <br>4) layouts system out of the box <br>5) metadata handling out of the box with SSR support <br>6) all the fancy nuxt modules providing stuff like PWA, authentication, offline support and more <br>7) convention over configuration approach which i prefer <br>8) A community of Vue devs that all work with the same opinionated approach.</blockquote><blockquote>Point 8 is particularly huge because Vue community is extremely divided, due to Vue being a progressive framework. <br>People use Vue in so many different ways that having a large part of the Vue community that actually does use Vue the same way is great.</blockquote><blockquote>That’s excluding SSR…</blockquote><p>— @gustojs#2934 from <a href="https://vue-land.js.org/">VueLand Discord channel</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/350/0*u2993sLU21svYBBk." /></figure><p>As you can tell, these features are a huge advantage for a small agency that can’t spend too much time on designing an enterprise architecture for their stack.<br>WordPress recently bundled the REST api inside the core package (4.6.0) and so I decided to try it for our <a href="https://cambridge-epigenetix.com/">first website</a>.</p><p>It was a migration from an AngularJS frontend…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/323/0*cpo40jWAB_jtR0up." /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/320/0*UZgdy_OrWkJ3FYKt." /></figure><h3>Part 2, Initial Setup</h3><p>The first required point was for the websites to be as much SEO friendly as possible, coming from Angular 1/1.5 where the only easy solution was prerender.io (which wasn’t implemented).</p><p>I had tried Nuxt previously for a side project, but things never click unless you are hard at work on it.</p><p>I was familiar with VueJS but the initial setup for Nuxt left me a bit dubious of the capabilities. It looked too simple to be true, and without any config from the initial CLI.</p><p>You can start by installing the vue cli if you haven’t done so yet:</p><pre>npm install -g vue-cli</pre><p>(watch out for vue-cli 3 that’s soon coming out as that might change this following command)</p><p>Then using vue-cli you can init a new Nuxt project typing:</p><pre>vue init nuxt-community/starter-template &lt;project-name&gt;</pre><p>Where &lt;project-name&gt; is your folder and project name.<br>You’ll scaffold a directory containing several others and a nuxt.config.js file:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*-0xcsyw7dgq1Wjd7." /><figcaption>initial nuxt.config.js file for my vue-meetup talk</figcaption></figure><p>The first thing to understand about Nuxt is that it’s an hassle-free framework around VueJS and SSR.</p><p>It only uses modules and libraries already available in VueJS, but organises them into a really neat, opinionated folder structure.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*f3eKCcFSyRqw_Atwyx-A5A.jpeg" /><figcaption>folder structure for a nuxt project</figcaption></figure><h3>Part 3, Going Deeper</h3><p>The main problem initially was how to integrate sass and use sass variables in my project.<br>I had to do this sorcery here to have variables available in each Single File Component (SFC) or page</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*fEPXAZzLWeAmhDi_." /></figure><p>This then became much easier thanks to a Nuxt Module which can be simply added to nuxt.config in an array with a list of sass variables to load globally.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*F-NdS5Sh-kYGR55u." /></figure><p>The next step was figuring out how to manage the state.</p><p>For some reason I though a <em>global mixin</em> was a good idea</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Mdj7jcSsyq4DFM-b." /></figure><blockquote>The reality is that when you have a couple of components, maybe a navigation bar or some modals, it’s already time to load Vuex.</blockquote><p>To do that in Nuxt is as easy as:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*tjpFgloX_g9xiNDC." /><figcaption>index.js inside /store folder with some example mutations and nuxtServerInit</figcaption></figure><p>Nuxt also gives a way to load every meaningful state beforehand by using NuxtServerInit action in the store.<br>This allows you to prefetch everything you need without the need of using mounted to load it (and losing on SSR that way).</p><p>There are other methods that can be used outside the store, which are <strong>asyncData</strong> (that loads data in the component) and <strong>fetch</strong> (that commits mutations or dispatches actions).</p><p>These can be used if you need something only locally within a component or page.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*qF3JpLBTEmy_mnuV." /><figcaption>asyncData returns a new data property in the local .vue page</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*A3vGWAtC0BAud7mQ." /><figcaption>we can commit new data from an API to the store with fetch</figcaption></figure><p>One thing to realise here is that we are dealing with two instances.<br>One on the server, virtual and not visible, and one on the client-side.</p><p>This means there are some gotchas when developing with Nuxt and any server side app but Nuxt makes these gotchas very limited and simple to overcome.</p><p>Nuxt has bundled in a &lt;no-ssr&gt; component, which can wrap anything else, including other components, as long as you have a single root element inside it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*YdLd7TWPKnMWUNli." /><figcaption>no-ssr runs the enclosed code only client-side (no SSR)</figcaption></figure><p>This plugin allows what’s inside to live only on the client side, and is particularly useful when dealing with 3rd party plugins that might contain references to window or DOM elements and are not needed on server side.</p><p>If you don’t do this or something else I’ll show now, you might encounter a different tree structure, which Nuxt will notify you of:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*riOYyhVaZtcUHrGt." /></figure><p>The other gotcha is how libraries and components are loaded into Nuxt.<br>We load them by creating plugins in the plugin folder and attaching using either Vue.use, Vue.component or Vue.directive with it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Zog3Y0Fxllwzk3sD." /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ZS0ptKMMaHmKGR0E." /></figure><p>The second step here is to add that plugin into nuxt.config, and here we can specify whether that’s an ssr ready plugin (just by typing the path to the plugin), or not, by specifying ssr: false there.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ZQ7SsP3o1CoEhj_e." /></figure><h3>Part 4: dealing with WordPress CMS and API calls</h3><p>Once the main project is setup and you start dealing with each page, the quickest and best approach in my opinion is to add a plugin called:<br><strong>Advanced Custom Fields (ACF) </strong><br>to WordPress backend.</p><p>This adds custom field functionality to pages and posts in WordPress.<br>To extend this to the REST API you will also need a plugin called<br><a href="http://github.com/airesvsg/acf-to-rest-api"><strong>ACF to REST API</strong></a></p><p><em>Some useful addons:</em><br><strong>WP REST API filter fields<br></strong>filter fields Enables you to filter the fields returned by the api.</p><p><strong>WP REST API Pure Taxonomies<br></strong>This plugin include all available taxonomy attributes into the WordPress REST API (v2) without additional API requests.</p><p><strong>WP REST API Cache<br></strong>Enable caching for WordPress REST API and increase speed of your application. (I don’t encourage using this plugin)<br><strong>Caveat here:<br></strong>If you are doing post requests (example contact-form-7 plugin), make sure you don’t use this plugin, or if you do, filter the string ‘contact-forms’ in functions.php like below:</p><pre>add_filter( &#39;rest_cache_skip&#39;, function( $skip, $request_uri ) {<br>  if ( ! $skip &amp;&amp; false !== stripos( $request_uri, &#39;contact-form-7&#39; )) {<br>    return true;<br>  }<br>  return $skip;<br>}, 10, 2 );</pre><p><strong>WP REST API Menus<br></strong>Extends WP API with WordPress menu routes.</p><p>The next step then was to configure the API endpoints.<br>I personally used a config.js file that I can import like so:</p><p>import Config from ‘~/assets/config’;</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*G3wRWkvdAi5ohg7gy2Y0fA.png" /></figure><p>This will allow me to have a clear and configured endpoint location for all my pages.</p><p>The above is partially taken from a luxury travel operator, Antilophia.<br>The site isn’t live yet, but I will update here once it is. Stay tuned ;)</p><p>Once you have the above config, you can configure the app to retrieve data either on <strong>nuxtServerInit</strong> or with <strong>fetch</strong> / <strong>asyncData</strong>.</p><p>With that, you can then populate each section of the website using the advanced custom fields plus the rest of the WordPress API fields available (anything really).</p><p>The server will update the content every time it loads a session for a user.</p><p>You can create dynamic pages using the folder structure :&lt;dynamic-param&gt;<br>Where &lt;dynamic-param&gt; is the name of the parameter you want (eg. :destination)</p><p>This gives you access to the parameter using:</p><pre>this.$route.params.&lt;dynamic-param&gt;</pre><p>For example, <em>/pages/:mexico/index.vue </em>would return</p><pre>this.$route.params.destination === ‘mexico’</pre><p>Remember in asyncData or fetch, you don’t have access to ‘this’ as it runs before mounting the page, but you can access the ‘<a href="https://nuxtjs.org/api/context/"><strong>context</strong></a>’.</p><pre>async <em>fetch ({app, store, params}) {<br>  // this gives you acess to route params with the shorthand params <br>  // but also to the store and the other app values<br>  // check all fields at </em><a href="https://nuxtjs.org/api/context/"><em>https://nuxtjs.org/api/context/</em></a><em><br>}</em></pre><p>If you have a lot of API calls, I can suggest two options:<br>- Use a WP REST API Cache plugin like <a href="https://wordpress.org/plugins/wp-rest-api-cache/"><strong>WP REST API Cache</strong></a><strong><br>- </strong>Cache nuxtServerInit calls (<strong>preferred</strong>)</p><p>For the latter, it’s a bit tricky and requires you to use lre-cache mechanisms and axios-extensions package.<br>A gist with all the files is linked below.</p><p>Link: <a href="https://gist.github.com/bovas85/8b5610ac94dd036628f53f702b300a64">https://gist.github.com/bovas85/8b5610ac94dd036628f53f702b300a64</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Jf1LHCaGwBe3HZHasYCMRw.png" /><figcaption>vuex store</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pyAO1uTaDKsYylOYVub4_w.png" /><figcaption>add this extension to axios and add the axios.js plugin to nuxt.config.js</figcaption></figure><p>This is particularly useful if you are generating a static site (nuxt generate) as nuxtServerInit will run once per page generated (imagine if you have 20 dynamic pages, then it will run 20*number of api calls).</p><h3>Part 5: How about deploying the app?</h3><p>We tried two routes with this.<br>1) We used a nuxt generated static site served with a regular server (old school way). Fast but the downside is if you have lots of dynamic pages, rendering the dynamic routes is a bit tricky and slow (<a href="https://nuxtjs.org/api/configuration-generate#the-generate-property">check here for how to do that</a>);<br>2) We used a nodeJS hosted service like <a href="https://zeit.co/now"><strong>Now</strong></a> (there are several, or even just use your hosting if it supports NodeJS, our didn’t).</p><p>I wrote an article on a particular gotcha when migrating a domain to Now from GoDaddy, you can read it here:</p><p>“Deploying your SSR app to Zeit Now from GoDaddy” @MoustacheDsign <a href="https://medium.com/@moustachedesign/deploying-your-ssr-app-to-zeit-now-from-godaddy-41b51302375f">https://medium.com/@moustachedesign/deploying-your-ssr-app-to-zeit-now-from-godaddy-41b51302375f</a></p><p>With now, after installing the cli you just type now and it will deploy your SSR site in seconds (literally, depending on your connection and how big the site is ;) )</p><p>The result is a very small, optimised, and async bundle. There’s automatic chunk splitting for pages out of the box, so you don’t need to worry about those tricky chunks no more.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eLls-XaHjtWz_jg1dqgyNw.jpeg" /><figcaption>not bad</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/320/0*N89UoyUkw6q5eC5R." /></figure><h3>Part 6: What’s Next for Vue and Nuxt?</h3><p>Vue and Nuxt are not newcomers anymore, there is a big ecosystem of plugins, modules and libraries that are available and will get bigger and bigger.</p><p>Some of those I used include plugins for sliders, carousels, lazy image loading, and most of the time can be included even if not native to Nuxt or even Vuejs.</p><p>Nuxt.js is an OpenCollective and self funded.<br>If you love this as I do, consider donating at <a href="https://opencollective.com/nuxtjs">https://opencollective.com/nuxtjs</a></p><p>Send issues for Nuxt here (it integrates with Github issues, quite neat!):<br><a href="https://nuxtjs.cmty.io/">https://nuxtjs.cmty.io</a></p><h3>It’s a wrap</h3><p>Do you have any questions?<br>If so feel free to comment down below, or tweet me @moustacheDsign</p><p>Some sites I’ve made following this approach:</p><ul><li><a href="https://nunziellasalluce.com/">Nunziella Salluce Design</a></li><li><a href="https://cambridge-epigenetix.com/">Cambridge Epigenetix</a></li><li><a href="https://wandsworth.town/">Wandsworth Town</a></li><li><a href="https://antilophia.com/">Antilophia</a></li></ul><p>If you have any questions, reply here or tweet me @moustacheDsign</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/1*G05mfnE8dDC1Cg7ne5PYhQ.gif" /><figcaption>Thanks from the cat</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=51cf66599cf3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Recap of The Future is Here — London]]></title>
            <link>https://medium.com/@bike.challenge/recap-of-the-future-is-here-london-b6c1e5fd917d?source=rss-ec7530918668------2</link>
            <guid isPermaLink="false">https://medium.com/p/b6c1e5fd917d</guid>
            <category><![CDATA[the-futur]]></category>
            <category><![CDATA[design]]></category>
            <category><![CDATA[london]]></category>
            <category><![CDATA[freelancing]]></category>
            <category><![CDATA[business]]></category>
            <dc:creator><![CDATA[Alessandro Giordo]]></dc:creator>
            <pubDate>Mon, 12 Mar 2018 08:31:01 GMT</pubDate>
            <atom:updated>2018-04-12T12:29:41.596Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/768/1*JSqCwJv8jAVHygvCg6f-0w.jpeg" /></figure><p>If something is certain is that when you give value to others, they will flock and follow you.<br>That’s what happened to The Futur, a YouTube information company led by <a href="https://medium.com/u/84a8d57c613a">Chris Do</a>, originated from The Skool of work, which was started by <a href="https://medium.com/u/c2f003627f7a">Jose Caballer</a> back in the day. After some time they had their differences and started their own companies but ultimately reuniting for a common goal in London on the 3rd of March 2018.</p><p>This is only a recap and contains some personal opinions other than notes taken from the amazing talks that happened that day.</p><p>Quick intro for who I am:<br>I’m a Web Developer at a Creative Agency in Wandsworth Town, London, <a href="https://nakedideas.com/">Naked Ideas</a>.<br>I love Design, Videomaking and photography, probably as much as I love dogs.</p><p>Please enjoy and if you have any question, feel free to DM me on <a href="https://instagram.com/travelmoustache">Instagram</a>, <a href="http://twitter.com/moustacheDsign">Twitter</a> or <a href="https://www.facebook.com/alessandro.giordo.io">Facebook</a>. You can check my videos on <a href="http://youtube.com/bovy85">YouTube </a>(like and subscribe ;) )</p><p>You can find some links by clicking on the underlined text :)</p><p>Here we go…</p><h3><a href="http://www.emmasexton.com/"><strong>Emma Sexton</strong></a></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oOap7CBBzwcLO1IiAIE_YQ.jpeg" /></figure><p>Emma Sexton launched <a href="https://www.myww.co.uk/">MYWW</a>™ in January 2013, has a MA in Design Management from the London College of Communication and over 20 years of design experience working with brands such as Barclays, Boots, Coca-Cola, L’Oréal and Unilever. In 2017 Emma was appointed ‘Creative in Residence’ on the King’s 20 Accelerator Program at King’s College, London.</p><p>If you have an idea, go for it.<br>Nurture and be confident about your idea.<br>Find your kindling/niche and engage with it.</p><p>100% focus on building your biz</p><h3><a href="http://www.sarahhyndman.com/"><strong>Sara Hyndman</strong></a></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FdAh4I25haF38AZm1qreUg.png" /></figure><p>Graphic designer and <a href="https://www.typetasting.com/">Type Tasting</a> founder.</p><p>Type can convey feelings and emotions and tell a story.</p><p>This can vary depending on individuals and niches, so it’s important to do some research and carefully target the audience you think is the demographic for the clients.</p><p><strong>When talking to clients about Branding/Type:<br></strong>How does it make you feel?<br>What does it elicit in your memories?<br>What do you associate it with?</p><p>Categorise by mood/personality</p><p>It’s about typeface + context + positioning</p><p>People will notice if you try to improve something cheap with type, don’t “Polish a Turd”.</p><h3><a href="http://aaronpierson.com/"><strong>Aaron Pierson</strong></a></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*V8_C-IcD6C6mcBIOf-0hBg.jpeg" /></figure><blockquote>Communication is his passion; Providing creative consultation is my vocation.</blockquote><p>Aaron is a Digital Brand Strategist, Killer Content Creator, Film Maker, Best Selling Author and Award Winning Designer; focused on business solutions that encourage the promotional growth of digital entrepreneurs to Fortune 500 companies.</p><p>He had experience building several companies and realised that time spent on smaller projects is time wasted not expanding and growing the business (not necessarily number of employees but rather clients quality).<br>As outlined he had a 400 + client company, but most of them were crappy clients and one-offs.<br>He realised he had to say no more, built a company around his Industry niche (Real Estate for him, as he had already portfolio on those and had more experience).<br><strong>Takeaways:</strong></p><p>Get to know why they want what they want.<br>Too many things to sell and not enough time to focus.</p><blockquote><em>“Be an Inch Wide but a Mile Deep”</em></blockquote><p><strong>3 ways to niche:</strong><br>- By Industry<br>- By Capabilities (See photo below)<br>- By Price</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ERkTrdE_Lr9xyins." /></figure><p><strong>By Industry:</strong><br>Be the less risky option, you’re competing with others that might more or less experience with their industry. Be that advantage.</p><p>Deliver customer specific proposals.<br>We discussed with you about how to send different “filtered” landing pages or case studies to customers depending on their industry.</p><p>Market to a specific space and gain a better understanding of their needs and client types / personas.</p><p>How do their customers operate and what do they look for?</p><p><strong>By Capabilities:</strong></p><p>Do what you do best, and what you love doing.</p><p>ELF (effective, lucrative and fun) method of choosing capabilities.</p><p>Easier to scale, because you’re more consistent.</p><p>Create a more predictable business model.</p><p>By having a list of capabilities, you know how long it takes for each, what the cost for your biz is and how to price your solution. Create a more predictable business model.</p><p><strong>By Price:</strong></p><p>Passive income with affiliate links or networks.<br>Retainer model:<br>6–12 months contracts with a 2 months notice (first 2 months or full price).<br>Usually no one drops off at this point.<br>If they do, offer to give an after-care off-boarding solution (like handing over files, suggesting what to do next and so on, pricing this as well). This allows to leave in good terms.</p><p><strong>Niche with a combination of these above.</strong></p><p>Make a list of your industries, capabilities, pricing models and pick the most effective. Try things out.</p><p>Can the client afford you?<br>A barber might not have £50k upfront, a retainer might look more enticing.</p><p><strong>Framework of growth: </strong><br>Sphere of influence:</p><ul><li>friends, family, 1st immediate networks (conferences, meetups)</li><li>Go through your phone, your leads are already there</li><li>Give cards and emails to everyone, they might know someone. Help them and ask about them.</li></ul><p>Buyer/Supplier relationships:</p><ul><li>Printers, shirt printers, other services we need one-off and once in a while</li></ul><p>Joint Ventures:</p><ul><li>Send them revenue, they will send you clients.<br>Someone you really would want to work with and that can bring possibly clients.<br>Example of real estate, talk to ledgers, workers and other contacts that might need a website or brand.</li></ul><p>Strategic Partnerships:</p><ul><li>Hire an agency that has key skills you don’t have for a one-off or frequently.<br>Think SEO, Copywriting, Motion, Video, Sales (?)</li></ul><p>Strategic Alliances:</p><ul><li>Non competitors with whom you’d like to work with.</li><li>Joint alliance and team to bring a better quality bigger product with much higher value.</li></ul><p>This above is the top tier, go from first to last in order of growth.</p><p>Get people to talk about themselves, ask smart questions.<br>Look for opportunities to build relationships.</p><h3><a href="http://www.josecaballer.co/"><strong>Jose Caballer</strong></a></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qycVTOA27B6d8PJJRc-h-w.jpeg" /></figure><p>The design shaman, he is all about UX and bringing forth the reality of Business Strategy. <br>Jose provides his 20 years of experience as a UX Designer and his passion for building cross disciplinary teams to bring Design Culture to <a href="https://new.consensys.net/">ConsenSys</a>.<br>Be a facilitator for the client, help them realise who they are, what they do and what their problems are by identifying:</p><ul><li>Company Demographic (name, age, location, target clientele)</li><li>Their story and challenges (where they come from, which companies they worked for, and so on)</li><li>Their needs (pick 3 of these for the next step)</li><li>Solutions for the 3 above</li></ul><p>This allows you to then go on and create a structured Strategy for their brand, users and end goals.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*hITpyyYa5jo2J80B." /></figure><p>(Each column is separate)</p><p>How does the brand make you feel?<br>Who are your users/clients?<br>What will the brand development create?</p><p>Know your users, start the process</p><p>Middle process of understanding the flow, roadmap</p><p>Sustainability of the brand and love for the brand in the end</p><p>Goals of awareness in your niche / networking</p><p>Clear plan or roadmap</p><p>Promotion, sharing of the brand.</p><p>Read those columns and find a proper sentence for each.<br>Examples:<br>Empower creatives to grow, Start a cash flow and sustain it, Find a niche, follow a roadmap and spread your brand.</p><h3><a href="https://www.behance.net/chrisdo"><strong>Chris Do</strong></a></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wkYESt1BlcKLLGTJ5WPcnA.jpeg" /></figure><p>He is a multi award winner CEO of <a href="http://www.blind.com/">Blind</a>, and recently started an information company on YouTube (and Facebook) called <a href="https://www.youtube.com/channel/UC-b3c7kxa5vU-bnmaROgvog">The Futur (of Work)</a>.</p><p>For over 2 decades, Blind has created award-winning videos that combine design, animation, live action and visual effects for clients including Ad Agencies, TV Networks and Brands of all sizes.</p><p>He has over 250k subscribers bringing around $2k per day passive income to his company.</p><p>All he does is consistently providing value to others, for free.</p><p>The idea is bringing value increases awareness of your brand and brand loyalty. Ultimately bringing more fanbase to your brand, followers, word of mouth and advertisement other than the passive income from youtube ads and similar.</p><p>Be like no one else, sail your way to success.</p><p>He started very poor and emarginated, and he strived to fit in as much as possible. He became very skilled in business from an early age.</p><p>He then tried several types of approach failing often but never giving up, and this allowed him to find his niche, and the best methodology of work, surrounding himself with like-minded people and employees.</p><p>Diagnose the problem before finding a solution.</p><p>Offer to plan the strategy, do that first before going further as that will allow you and your client to realise what the real issue(s) is and how to break from the spell.</p><p>He is a firm believer in “Value based pricing” of your work.<br>Price is based on who is the client rather than an estimate of hours worked or type of project.</p><p>By doing so, he asks the right questions to understand what the current company revenue is, what value would a rebrand or the required deliverable give the company and then ask them how much would they pay to achieve that.</p><p>This is an honest way to make them reflect on the fact that with minor effort, you can’t obtain a major result.</p><p>Push for innovation, what they would lose by doing something rather than the other, why did they call you in particular.</p><p>Convince (worst) vs. Converse (better)</p><p>Help them win, take yourself out of the equation and find the right solution for them (which might not even be you). This will change your language towards the clients and help connect deeply with them.</p><p>Be willing to say <strong>no </strong>more often and spot the bad clients from the first call.</p><p>Give brackets of pricing, example:<br>They say 10k budget, you say our prices start from 50 to 60k for strategy and deliverables.<br>By doing so you ignore their anchor (the 10k limit).</p><p>If they still don’t increase, then it’s time to refer to someone that might be able to do that job for that price. In this occasion you need to have what we mentioned before, an immediate network or joint venture, that will take the lead on the project and you trust. This will give them clients, while they might share revenue or refer others.</p><p>If you have time, that doesn’t mind you should do it yourself.<br>Delegate to someone else, do what matters most:<br>Learn more and work on growing the business.</p><p>Learn to speak the language of business to clients, they don’t know or care what kerning means.</p><p>Love yourself first, this will allow you to appreciate and have more self-confidence in yourself and the company, thus giving a stronger opinion of yourself to clients.</p><p>Some clients will be able to love you, and this could come in terms of small gifts, shares or extra budget at the end of a project.</p><p>Self-actualization,</p><p>Help them know who they are, what they want first. This is paid work.</p><p><strong>Fear:</strong></p><p>What would you do if you couldn’t fail?</p><p>How to fire clients?</p><p>Tell them you’re growing, you have a new business model and can’t afford to keep them at the current rate.</p><p>You then can offer a discounted rate off the new rate you mention.</p><p>Most will leave, but some of them will stay, thus increasing your revenue close or more than what you had to begin with, but with less clients and more time to focus on growing the business and learn.</p><p>What’s the worst that can happen? Make a list.</p><p>What’s the best that can happen? Make another list.</p><p>Use your other hand (left if you are right handed) to make the list, it activates the subconscious and is more honest.</p><p>Compare these two and figure out how to proceed.</p><p>It’s better to fail than to never try.</p><p>Embrace who you are.</p><p>Wide questions:<br>How and Why.<br>Demonstrate value.</p><p>Tap into the emotions of why they hired you and what are they afraid of.</p><h3>I hope you liked the long summary.</h3><p>If you have any question, want to contact me or talk in depth about these topics, feel free to DM me on <a href="https://instagram.com/travelmoustache">Instagram</a>, <a href="http://twitter.com/moustacheDsign">Twitter</a> or <a href="https://www.facebook.com/alessandro.giordo.io">Facebook</a>.</p><h4>If you’d like to talk Brand Strategy, please <a href="https://nakedideas.com/">visit our Website</a></h4><h4>The books mentioned in this conference can be found at the amazing <a href="https://www.letstalkbranding.be/home/2018/3/4/booktips-from-aaron-pierson-chris-do-emma-sexton">blog article</a> by @<a href="https://www.instagram.com/letstalkbranding/">letstalkbranding</a></h4><p>Link here or click the underlined above:<br><a href="https://www.letstalkbranding.be/home/2018/3/4/booktips-from-aaron-pierson-chris-do-emma-sexton">https://www.letstalkbranding.be/home/2018/3/4/booktips-from-aaron-pierson-chris-do-emma-sexton</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/389/1*3MNHCV8yXDSne7maN-ZoYA.png" /></figure><h3>Remember to smash that applause button!</h3><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b6c1e5fd917d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Charity Run Season: Our 10k for RSPCA]]></title>
            <link>https://medium.com/@bike.challenge/the-charity-run-season-our-10k-for-rspca-8835883477e9?source=rss-ec7530918668------2</link>
            <guid isPermaLink="false">https://medium.com/p/8835883477e9</guid>
            <category><![CDATA[running]]></category>
            <category><![CDATA[marathon]]></category>
            <dc:creator><![CDATA[Alessandro Giordo]]></dc:creator>
            <pubDate>Tue, 02 Aug 2016 15:12:50 GMT</pubDate>
            <atom:updated>2018-04-20T18:14:55.732Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/768/1*Bx9uEHYGm5nkP7HBeu3ECA.png" /></figure><p><strong>By Alessandro Giordo, Frontend Developer &amp; Support Technician</strong></p><p>There are a few months a year in the UK when the sun gets slightly bolder, the city comes to life, and the running shoes come off the shelves. Charity runs, once a complete novelty, are now one of the highlights of the warmer season. There seems to be an unexplainable charity run craze sweeping throughout Europe and the world. Here at Creative Virtual we do not only feel it in the air, but are also inspired to take part and understand why we love them so much.</p><p>It is for this reason that we will be participating in <strong>RunTen</strong>, the London Duathlon’s 10k, on 18th September 2016 to <a href="https://www.justgiving.com/fundraising/Creative-Virtual">raise money for RSPCA</a>. The 10 kilometres separating us from the finish line will give us a chance to dive deeper into this sweeping phenomenon while having a great time and doing some good. In order to get ourselves ready for September, we’ve stepped up our training and are trying to learn a little more about charity runs.</p><p>Britain has a <a href="https://www.eventbrite.co.uk/blog/history-of-fundraising-events-uk-ds00/">very long history of charitable giving</a>, with the oldest events dating as far back as the 12th century. Yet, mass funding events like we see today really started only a few decades ago. <a href="https://www.classy.org/blog/the-evolution-of-the-charity-runwalk-and-the-road-ahead-2/">One of the very first charity walks</a> was held in 1969 in Bismarck, North Dakota, USA. We have come a long way since then, and in 2012, 26,370 running events were held in the US alone.</p><p>Psychologists believe charity runs appeal to people so much because individuals drive meaning and value from having to work hard and suffer for their chosen goals. People seem to be willing to donate more when they believe a fundraising event will require exertion.</p><p>Yet, could that be really it or is there more to it?</p><p>In order to find out more, I interviewed a few other members of the Creative Virtual 10k team. These individuals have been training regularly to prepare for the event and have participated in similar events before. They represent the perfect sample for our project; they are dedicated, motivated, and most importantly, fun.</p><p><em>Question 1: Why do you think charity runs are so popular? What is it that makes running and fundraising so effective?</em></p><p>Andre Matthews (Knowledgebase Engineer) says, “I think people intrinsically find charities impersonal. Even good-willed people who care about the issues of our day want to make sure their money ends up helping someone. These events allow donors to meet people, feel more involved, and build that trust that is so important. The fact that the RSPCA publicly takes part in such events denotes a sense of drive and passion.”</p><p>On the other hand, Laura Ludmany (Junior Knowledgebase Engineer) believes that “charity runs have the power to unite large groups of people under a single cause. The fact that people aren’t just giving money, but are actually ‘doing something’ for the organisation, makes them feel more compelled to dedicate their time to the organisation.”</p><p>Personally, I love animals and am looking forward to fundraising for RSPCA. I’ve participated in other charity runs before and feel they unite us together for great causes. We enjoy running together as one, knowing that we are going to help animals in need and feeling good about ourselves and what we can do with our lives as adults.</p><p><em>Question 2: Would you think charity runs might appeal to both runners and non-runners alike?</em></p><p>Andre and Laura replied in a similar way stating, “If you are a seasoned runner, there is always the lure of beating a personal record while fighting for a good cause. On the contrary, people who care enough about the cause will train to be able to do it, and even people who feel less strongly about the cause might want to be a part of it in order to reach a personal goal.”</p><p>Kristina Kruminyte (Administrative Assistant) added, “If one enjoys running, why not do it for charity? An individual could both do some good and do what he or she loves best. It seems to be a win-win situation. On the other hand, charity runs might represent a motivation to run for people who care about the cause but do not enjoy the physical exercise. These events help people both care for others, and pursue their own personal goals.”</p><p>I’ve run three times in my life excluding while playing basketball and being chased by a monkey. I started running to prepare for this year’s marathon and I can’t stop doing it now! For me, this charity run is a great way to indulge my passion for running while supporting a great charity in a fun way.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/300/0*Ks5BrdayOXORId_r.png" /><figcaption>Our team</figcaption></figure><p>Ultimately, it seems like the idea that people derive meaning in striving for something plays a significant role in the popularity of charity runs. Here at Creative Virtual we’ve been training both on our own, as well as with a group run every Wednesday, and are eagerly looking forward to the event. As a company full of animal lovers, we’re excited to be running in support of RSPCA and raising much needed funds for the amazing work they do with animals.</p><p>We have a team of 10 runners — Andre, Laura, Kristina and I will be joined by Chris, Rachel, Jeff, Maria, David, and Tracey. Our goal is to raise £1,000 for this very worthy charity. Please <a href="https://www.justgiving.com/fundraising/Creative-Virtual"><strong>sponsor us</strong></a> by visiting <a href="https://www.justgiving.com/fundraising/Creative-Virtual">our team JustGiving</a> page or, if you’re in the UK, <strong>text</strong> <strong>CVCV50</strong> and an amount of £1, £2, £3, £4, £5 or £10 to <strong>70070</strong>.</p><p>This post originally appeared on <a href="http://www.creativevirtual.com/charity-run-season-10k-rspca/">Creative Virtual Blog</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8835883477e9" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>