Professional Documents
Culture Documents
WORDPRESS
The voice of web design
WORDPRESS:
20 BEST PLUGINS
Be more productive and creative with
Issue 332 : June 2020 : net.creativebloq.com this essential collection of add-ons
SEO
WOMEN IN TECH:
ARE THINGS GETTING BETTER?
Expert
insight on
how to target
top spot on
Google in
secrets
2020
WELCOME
EDITOR’S NOTE
Heard of Bing, Yahoo, Ask, AOL, DuckDuckGo, the questions you need to ask yourself/your teams
Baidu and Yandex? You probably have, but none for a successful SEO strategy. Discover common
of them hold a candle to the world number one mistakes to avoid, what type of content you need to
search engine, Google, when it comes to market be creating, the implications of poorly developed
share. According to Statcounter (https://netm. sites, how JavaScript fits into the SEO scenario and a
ag/2Jrqac0), Google has just over 92 per cent of the host of tools you need for SEO success.
market share with Bing coming a very distant second Elsewhere, senior developer Joe Ford selects 20
with less than three per cent. As for the rest they essential WordPress plugins to make you more
don’t even hit two per cent market share. So it would productive and creative. Aude Barral offers top tips
seem to make perfect sense to focus on Google when to help land your dream developer job and Christine
considering SEO. And this is exactly what our lead Brewis discusses how gender parity in tech has
feature on page 48 does in this edition of net. SEO changed over the last ten years. Enjoy.
consultant Carl Hendy has been in the business for Steven Jenkins, Editor
over 15 years and he gives some invaluable insight on @netmag
FEATURED AUTHORS
CARL SUSH JOE MARK
HENDY K ELLY FORD SHUFFLEBOT TOM
Hendy is an SEO consultant with Kelly is a freelance designer that Ford is a senior developer at Tillison Shufflebottom is professor of
over 15 years experience at solving specialises in HTML, CSS and Scalable Consulting and has a passion for PHP, interaction design at Sheridan
complex SEO issues. On page 48 he Vector Graphics (SVG). On page 70 WordPress and Laravel. On page 56, College. He demonstrates how to use
reveals how to create a successful he puts his knowledge to good use he handpicks an essential selection the three.js library to create a WebGL
SEO strategy that will improve your with a quick start guide to exporting, of WordPress plugins to power up animated interactive interface on
Google ranking. optimising and working with SVG. your daily workflow. page 64.
w: https://carlhendy.com w: www.sushkelly.co.uk w: https://tillison.co.uk w: http://webspaceinvader.com
june 2020 3
Future PLC, Richmond House, 33 Richmond Hill, Bournemouth, BH2 6EZ +44 (0)1202 586200
@netmag /netmag flickr.com/photos/netmag netmag@futurenet.com net.creativebloq.com medium.com/net-magazine
EDITORIAL
Editor Steven Jenkins steve.jenkins@futurenet.com
Group Editor in Chief Claire Howlett Senior Art Editor Will Shum
CREATIVE BLOQ
Editor Kerrie Hughes kerrie.hughes@futurenet.com
CONTRIBUTIONS
Mark Billen, Kyle Carpenter, Dominic Carter, Tom May, Carl Hendy, Mark Shufflebottom, Jo Cole, Matt Crouch, Joe Ford,
Sush Kelly, Oliver Lindberg, Robyn Larsen, Christian Heilmann, Trine Falbe, C S Rhymes, Shakeel Quadri, Aude Barral, Christine Brewis,
Camille Gribbons, Andrew Couldwell, Edan Kwan, Cody Staudenmier, Scott Agrimson
PHOTOGRAPHY
All copyrights and trademarks are recognised and respected
ADVERTISING
Media packs are available on request
UK Commercial Sales Director Clare Dove clare.dove@futurenet.com Advertising Sales Manager Michael Pyatt michael.pyatt@futurenet.com
Account Sales Director Matt Bailey matt.bailey@futurenet.com Account Sales Director George Lucas george.lucas@futurenet.com
Account Sales Manager Tom Walsh tom.walsh@futurenet.com
INTERNATIONAL
net is available for licensing. Contact the Licensing team to discuss partnership opportunities.
Head of Print Licensing Rachel Shaw licensing@futurenet.com
CIRCULATION
Head of Newstrade Tim Mathers 01202 586200
PRODUCTION
Head of Production US & UK Mark Constance Production Project Manager Clare Scott Advertising Production Manager Joanne Crosby
Digital Editions Controller Jason Hudson Production Manager Nola Cokely
MANAGEMENT
Chief Content Officer Aaron Asadi Chief Revenue Officer Zack Sullivan Commercial Finance Director Dan Jotcham
Managing Director Prosumer Keith Walker Head of Art & Design Greg Whittaker
PRINTED BY
William Gibbons & Sons Ltd, 26 Planetary Road, Willenhall, West Midlands, WV13 3XT
DISTRIBUTED BY
Marketforce, 5 Churchill Place, Canary Wharf, London, E14 5HU www.marketforce.co.uk 0203 787 9001
ISSN 1355-7602
DISCLAIMER
All contents ©2020 Future Publishing Limited or published under licence. All rights reserved. No part of this magazine may be used, stored, transmitted or
reproduced in any way without the prior written permission of the publisher. Future Publishing Limited (company number 2008885) is registered in England
and Wales. Registered office: Quay House, The Ambury, Bath BA1 1UA. All information contained in this publication is for information only and is, as far as
we are aware, correct at the time of going to press. Future cannot accept any responsibility for errors or inaccuracies in such information. You are advised
to contact manufacturers and retailers directly with regard to the price of products/services referred to in this publication. Apps and websites mentioned
in this publication are not under our control. We are not responsible for their contents or any other changes or updates to them. This magazine is fully
independent and not affiliated in any way with the companies mentioned herein.
If you submit material to us, you warrant that you own the material and/or have the necessary rights/permissions to supply the material and you
automatically grant Future and its licensees a licence to publish your submission in whole or in part in any/all issues and/or editions of publications, in any
format published worldwide and on associated websites, social media channels and associated products. Any material you submit is sent at your own risk
and, although every care is taken, neither Future nor its employees, agents, subcontractors or licensees shall be liable for loss or damage. We assume all
unsolicited material is for publication unless otherwise stated, and reserve the right to edit, amend, adapt all submissions.
We are committed to only using magazine paper which is derived from responsibly managed, certified forestry and chlorine-free manufacture. The paper
in this magazine was sourced and produced from sustainable managed forests, conforming to strict environmental and socioeconomic standards. The
manufacturing paper mill and printer hold full FSC and PEFC certification and accreditation.
4 june 2020
6 june 2020
june 2020 7
CONTENTS
Issue 332: June 2020 : net.creativebloq.com
FEED FEED
SIDE PROJECT 13
WORKSPACE 15
C S Rhymes discusses his book project for Shakeel Quadri gives us an insight into his freelance studio designed
helping developers avoid mistakes by a local award-winning architect
VOICES
SHOWCASE YOUR DEV SKILLS 16
Aude Barral shares 5 top tips for landing
your dream developer job
ESSAY 18
Christine Brewis examines how gender
parity in tech has changed
THE 5G UI REVOLUTION 26
Tris Tolliday describes his vision of a web UI
catapulted forwards by 5G
Q&A 27
Andrew Couldwell discusses his new book
on design systems, Laying the Foundations
BIG QUESTION 28
Our experts reveal what they do when they VOICES
are stuck in a creative slump
INTERVIEW 20
Photo: Bence Bamer
UX designer at
Booking.com, Camille
SAVE UP TO Gribbons, reveals how she
71 %
first got into the industry
TURN TO
SUBSCRIBE TO IMAGINE FX PAGE 6
AND TAKE ADVANTAGE OF THE to find out more
about the savings on
PRINT AND DIGITAL BUNDLE offer for subscribers
8 june 2020
Contents
REGULAR
GALLERY 30
Mark Billen runs down
REGULARS
EXCHANGE 10
Robyn Larsen, Christian Heilmann and
Trine Falbe share expert advice and tips
SHOWCASE
PROFILE 36
Lusion founder, Edan Kwan, chats about
battling demons and winning awards
HOW WE BUILT 42
Oblio reveals how it created its innovative
3D navigation for the Knives Out film
PROJECTS
FEATURES
GOOGLE WORDPRESS:
SEO SECRETS 48 20 BEST PLUGINS 56
Experienced SEO consultant Carl Joe Ford handpicks an essential
Hendy offers up expert advice on selection of must-have plugins for
targeting top spot in search improved productivity and creativity
QUICKSTART GUIDE
ON HOW TO USE SVG 70
Sush Kelly shows how to export, optimise
and add animation to SVG with CSS
PROJECT
BUILD A 3D USE SAPPER AND
INTERACTIVE INTERFACE 64 SVELTE TO BUILD A FAST SITE 76
Mark Shufflebottom reveals Matt Crouch explains how to take a
how to use the three.js library minimalist framework and combine it
to create a WebGL animated with server rendering
interactive interface for your site
june 2020 9
Practical
advice from
Send your questions to netmag@futurenet.com industry experts
conversation when you operate in a market that doesn’t have legislation tied to ethics
speaker, writer and shouldn’t be any different from markets that do.
co-author of The Ethical
Compliance is not simply linked to ‘because the law says so’. Compliance with, for
Design Handbook.
w: ethicaldesignhandbook.com instance, GDPR has cost-benefits. For instance, do you measure the costs that come
t: @trinefalbe with poor data handling? The hidden costs in customer service, support, and social
media backlash? We
typically don’t
account for these
costs. But we should.
Also, just because
your own country
doesn’t have
legislation, doesn’t
mean you don’t have
to comply. If a
company has users in
the EU, even just
one, it needs to
The Ethical Design Handbook (ethicaldesignhandbook.com) offers practical techniques to influence a
positive change in your company and help your business grow without dark patterns comply with GDPR.
10 june 2020
Q&As
3 SIMPLE STEPS
When designing your
UX to work globally,
how do you deal with
the difference in word
lengths between different
languages? English vs
German comes to mind.
Ben Furfie, Merseyside, UK
All the new features that will go into Edge’s developer tools will be based on user feedback and user testing
june 2020 11
Network
THE POLL
COOL STUFF
WE LEARNED WHICH UX ERRORS ARE
THIS MONTH
DESIGN MOBILE APPS FOR
THE MOST IRRITATING?
ONE-HAND USAGE
The ever-expanding
size of smartphone
screens presents new Neglecting Unreadable
challenges and opportunities mobile UX fonts
for web designers and app 6.90% 3.45%
developers. In this article,
Maitrik Kataria looks at how
designing apps for one-hand Needless sticky
usage can help overcome headers
these obstacles. 3.45%
https://netm.ag/3aVZX0W
Hidden calls
FIREFOX TURNS to action
CONTROVERSIAL NEW 6.90%
ENCRYPTION ON BY Autoplay videos
DEFAULT IN THE US 3.45%
If you’re paranoid
people are snooping
on which sites you’re
visiting, this decision by Excessive Obtrusive pop-
Mozilla might be welcome animations ups
news. As of late February, 17.24% 58.62%
the browser has turned on
by default DNS over HTTPS
(DoH) to protect the privacy
of users. And while DoH
won’t stop data collection From our timeline Design is a Job by @
monteiro.
entirely, it makes it difficult. Which books should web designers read? @marekIsOkay
https://netm.ag/2x0MXIH
Not strictly ‘web design’ questions a web design decision, User Friendly by Cliff
10 EVIL TYPES OF DARK UX but User Friendly by @ I can usually point them to a Huang. Definite
PATTERNS cliffkuang & @fabtweet chapter in this book. companion to The Design
The UX field was should be on the list. It explores @TheArtOfAwe of Everyday Things.
developed to improve applied user experiences, tells @webcraftsman
interactions between people myriad fantastic stories, and Thinking, Fast and Slow
and services. However, gives practical advice to explore by Daniel Kahneman – There are too many to
some UX designers aren’t the concepts it presents. It’s so an absolute classic and mention but why not try
above gaming the system to well written to boot! invaluable for designers. a classic graphic design
make visitors undertake @tomjepsoncrtv The Design of Everyday Things by book – A Smile in the Mind – to
actions that benefit the Don Norman – another design/ bring some fun and pleasure to
company instead of the Don’t Make Me Think by psychology staple, and one that web UI and UX?
user. It’s dubbed dark UX, Steve Krug may be changed how I think about @chopsmcmutton
and these are its evil usability focused but is design. Designing for Emotion
patterns to be wary of. essential reading for anybody by @aarron is another Design as Art by Bruno
https://netm.ag/2QdLkhR who works in web design and personal favourite. Munari.
development. If a client @JonLabonski @cbecker
12 june 2020
Side project
HOW NOT TO
MAKE A WEBSITE
C S Rhymes discusses his book project for helping
developers avoid mistakes when building websites
and improving a user’s experience
SIDE PROJECT OF THE MONTH
june 2020 13
FEED Clients from hell
14 june 2020
Feed
5
2
june 2020 15
Opinions, thoughts & advice
DEV SKILLS
HOW TO SHOWCASE
ESSAY
Christine Brewis discusses how gender parity
18
1 POLISH UP YOUR
PROGRAMMER’S PORTFOLIO
A programmer’s portfolio is essential in
any tech-recruiting process. It is your
personal business card and enables you
to showcase your coding skills through
personal projects. In terms of format, you
have options! You can go from single web
pages to complex software projects. As a
Q&A 27 candidate, your portfolio will show your
We catch up with Andrew Couldwell to learn development level, your career goals and
more about his new book on design systems, the skills you wish to acquire. It is also a
Laying the Foundations way for a recruiter to examine your ability
Opinion
2 SHOWCASE YOUR
GITHUB ACCOUNT
Having a GitHub account shows you can
write intelligible and maintainable code.
Recruiters use GitHub to check a
candidate’s reputation by identifying
number of followers; their experience
level by looking at the date they joined;
their technical skills or areas of interests
by detecting use of keywords for languages
and technologies; their ongoing and/or
finished projects and their level of
commitment through the public activity
on the site. What’s more, contributing on
Photo: ©Laurent Rebelle
interviews are a great source of problems you could encounter in your training platform for developers and a powerful tech
information for recruiters because the day-to-day programmer life in a company. hiring tool for companies.
practical exercises enable them to These tests mean recruiters can check w: www.codingame.com
june 2020 17
VOICES Essay
WOMEN IN TECH
Historically, the tech industry has borne the five have resigned from a role in a tech company because
hallmarks of an all boys’ club. Although the tide is of discrimination or harassment in the workplace.
changing elsewhere in the workforce, as recently as These eye-opening figures should serve as a red flag
December 2019, research has found that the ratio of men to companies who continue to turn a blind eye to
to women in IT has been largely static, with the percentage subliminal practices that promote, or facilitate,
of female IT professionals hovering at around 16 per cent discrimination. While it’s important to strive for pay
for ten years. parity and equal representation, it is just as important
Even with more tangible barriers to diversity in the to tackle the silent biases that hinder women from
workplace broken down, such as access to higher climbing the career ladder.
education, the number of women working in the sector
remains woefully low. According to recent research by INVISIBLE BARRIERS
Studio Graphene, 62 per cent of women in tech think Nowadays, the barriers that might keep women out of
that the image of the technology industry being male- the tech industry (or out of leadership roles in general)
dominated is a deterrent for women to enter the sector. haven’t disappeared – they have simply changed and
And for those women who have chosen a career in tech, aren’t quite so plain to see. Women continue to face
many continue to face discrimination. systemic barriers and frustrations in the workplace, with
The same research revealed that half (49 per cent) of certain scenarios common across all sectors.
women working in the UK tech sector have experienced It’s a familiar scene we’ve likely all witnessed at some
some form of discrimination in the workplace: one in point or another: a colleague is leaving the company and
18 june 2020
Essay
someone has been assigned the job of buying them a All of that extra smiling and taking care of others requires
leaving present. A probable outcome in this scenario is precious time and energy, and it doesn’t help us climb
that the person chosen to shoulder this additional the corporate ladder and into senior roles any quicker.
responsibility will be a woman. We might also find If anything, such practices inadvertently benefit men
ourselves tasked with taking the minutes at business while putting women at a disadvantage.
meetings, making the coffee for someone who is visiting
the office, or even arranging a whip-round for a CHANGING THE MESSAGE – WHAT
colleague’s birthday card. CAN BE DONE?
In order to meet expectations, it is a reality that women So, what can we do to release women from their office
often take on many of the daily housekeeping tasks in caretaking roles? I believe that it is important to stay
the office alongside the pressures of their everyday roles. conscious of these more casual instances of sexism, so
While this is not a new concept, it is a phenomenon that that we can question them, recognise them as real
frequently remains unuttered: the surplus emotional problems, and address them where possible. It could be
labour that women are expected, arguably unconsciously, as simple as asking yourself, ‘why am I being asked, or
to carry in the workplace environment, which often goes expected to do this, and not a male colleague?’.
unrecognised and uncompensated. Additionally, a positive measure that companies could
At the present time, particularly in tech – traditionally take to redress gender parity would be to offer additional
a male dominated sector – this can be a significant barrier training for all employees to improve skills such as
to career progression. Only 15 per cent of people working communication and empathetic leadership, so that the
in STEM roles in the UK are female, and only 5 per cent nurturing doesn’t always fall to female colleagues. Or
of leadership positions in the technology sector are held even devising a rota for organising office events and
by women today. Although much progress has been made, presents might help to assuage some of the burden.
it seems like the underlying behaviours that pigeonhole At Studio Graphene, our stance on challenging the
women into specific roles still persist. gender diversity crisis hinges on always keeping these
june 2020 19
VOICES Interview
Camille Gribbons
Words by Oliver Lindberg
UX designer at
Booking.com, Camille
Gribbons reveals how
she first got into the
industry
IN FO
job: UX designer at Booking.com
w: camillegribbons.com
20 june 2020
Interview
june 2020 21
VOICES Interview
Camille Gribbons had always pictured psychology and teaching, but none of which covered web and graphic design,
herself on Broadway. At 18, she had them could really hold my interest. Then, photography and animation.
done musical theatre for six years, one summer in between semesters, I quit Gribbons then got the opportunity to
performing in community shows in her my student job as a housekeeper and came study in Brisbane as part of an exchange
home of Phoenix, Arizona, and had across this get-rich-quick scheme online. programme. Even though she was initially
become a local celebrity. She auditioned The basis was to create a website for a disappointed (Australia had not been on
for acclaimed theatre programmes all over niche audience, get a good amount of her radar at all but Queensland University
the US but failed to get into the big traffic, and integrate it with Google Ads of Technology was the only school abroad
universities, so she entered Arizona State or affiliate marketing in order to make a that enabled her to gain credits for her
University to pursue an exploratory major. nice monthly income.” course of study), it turned out to be the
“It’s for people who have no idea what Being a fan of The Bachelor franchise, best possible career move. As soon as she
they want to study,” Gribbons chuckles. Gribbons decided to build a simple site on arrived, she started reaching out to every
“For the first couple of years I switched Squarespace and took some classes online software and web company in the area to
my major probably every six months. I for how to advertise on Facebook. Needless ask for an internship. Email marketing
started out with Mandarin because I to say, she didn’t get rich but she software company Vision6 took her on
wanted to travel the world but it turned discovered she really enjoyed the creative and eventually hired her as its resident
out the programme at my school feeds aspect of designing the website and junior web designer. Gribbons was
people directly into the CIA, and I didn’t customising it with basic HTML and CSS. mentored by its UX designers and pursued
want to spy on people! Then I looked into So she switched her major once more, this various other freelance opportunities for
political science, global studies, time to graphic information technology, local small businesses around Queensland.
When she wasn’t studying, she was
working mornings, nights and weekends
to build up her skillset.
“When it rains it pours,” Gribbons
recalls. “I redesigned Vision6’s website,
and suddenly freelance work was just
coming in. I was building and redesigning
sites, helping with branding, graphics and
print material – everything under the sun.
It was almost like school was just my way
to be in Australia. I was still going to
classes but everything I learned in web
and UX design I basically learned from
working on the job.”
As her course was coming to an end and
she had to decide what she wanted to do
with her career, Gribbons started applying
to all the big companies – Uber, Google,
Twitter, Facebook etc – but wasn’t
successful. Then she reached out to one
of her mentors at Vision6 who had joined
Booking.com in the Netherlands. He
referred her, and within a month and a
half of interviews, Booking.com flew
Gribbons out to Amsterdam in order to
take part in the final round. She was
accepted into the company’s graduate
programme and so relocated to
Amsterdam. From middle-of-nowhere
Arizona straight to a major hub after
graduation, it was a dream come true.
Gribbons was keen to work for a market
completely different to her own and learn
Photo by Bence Bamer
localisation techniques. As Booking.com
22 june 2020
Interview
june 2020 23
VOICES Interview
Photo by jaimeforsonphoto
because she had designed for the user that The product manager ended up leaving consistent payment experience for all
she had been given. The brief, however, on his own account, and the new one users across Booking.com’s funnel. The
had been completely wrong. ensured the team in Jakarta was involved lessons she learned on the BookingLokal
“The internet wasn’t slow, as it turned at every stage of the process, from design project helped her boost her skills as a
out, it worked perfectly fine,” Gribbons sprints to user testing. This time the team young UX designer. She subsequently
sighs. “And sites were using a lot of really immersed themselves into the shared them in a conference talk at events
animations, photos and loud and bright culture. Booking.com worked with a user such as Amuse UX and Talk UX.
colours. We also found out that it wasn’t testing agency that recruited users and “People tell designers their only focus
about the cheapest hotel for users. They set up user interviews to understand the should be the user,” Gribbons points out.
are bargain hunters. They are looking for audience’s basic motivations and needs “We’re the champions of the users and
a high-quality hotel but they’re aiming for travelling. we need to fight their corner no matter
to game the system and hunt for coupons “Apart from usability tests and what. Yes, of course, the user is important,
and discounts to get the cheapest price watching users interact with our product and you should really understand them.
possible. Eventually we almost added and the competition, we also did street You need to first fulfil your user’s basic
friction to the process, so they had a way testing. As the local team was mostly needs and expectations before you even
to look for promotions and deals.” focused on social media, we trained them start to think about innovating. But what
The team in Jakarta staged an to go out to the malls, which are huge in this project taught me is that you also
intervention with Gribbons. “They told Indonesia, and get some feedback on need to balance the needs of the business
us that they couldn’t launch BookingLokal BookingLokal on the fly. We had to and the team if you want to be taken
with this minimalist design and subdued establish a lot of feedback loops, and of seriously and get things done. You have
colour palette. It wouldn’t be successful. course there are still challenges, but it to take a minimum-viable-product
I didn’t understand why this feedback was really valuable to learn from the local approach, you have to make compromises,
hadn’t been used to inform the direction team. There was just no way to be and you have to find the best balance
of the product. I didn’t really know successful without their help.” between development, design and
anything about Indonesia, but it was our The project went live and grew in business. In order to really have a voice
local team’s culture. It didn’t matter that customers as new iterations were released in the strategy, it’s important to focus on
they were a marketing and operations but in December, Booking.com shut it all three areas, and that’s something that
team and not product people, they were down due to the company switching is currently not being taught a lot. I’m
the experts. It was a pivotal moment. priorities. Gribbons moved to the payment now working hard to bring everyone into
From there I worked hard to completely component team, which she describes as the design process and make sure they’re
open up communication channels.” an internal Stripe service, to work on a really involved.”
24 june 2020
Interview
want to be taken
seriously and get
things done”
june 2020 25
VOICES Opinion
THE 5G UI
which utilises H.264 (and H.265 for the brave),
to stream a video capture from your home
computer in real-time, meanwhile your
mobile device streams touch events directly
to your computer. What’s incredible to me, is
REVOLUTION
that your mobile has very little to do in this
exchange. It displays a video stream, which
mobiles have been capable of since at least
2005. It also just sends any input events to the
server, not even concerning itself with
computing what these events mean.
Tris Tolliday describes his vision of a web UI This leads to the bigger question: what stack
do we run on the server? To this, my answer
catapulted forwards by 5G is anything at all. If it can run on the cloud,
you can do it, it doesn’t even have to be
5G is a data revolution about to is large enough to push the heavy lifting away browser tech, which leads me to the best bit.
change every aspect of modern life, from the client and onto the server.
connecting everyone in real-time with From the server, we’ve seen what is possible WEB 3.0
unparalleled flows of data. For web with the likes of Google Stadia, Steam Remote Now we have zero limitations, it’s time for
developers, 5G UI is set to revolutionise the Play and Project xCloud. All of a sudden, the web revolution. What does a website look
web GUI equilibrium… as soon as it has the graphic-intense 3D games are available for like in 3D or in 2D with 4K graphics? I cannot
national coverage we see with 4G. the public to play in 4K on their living room even fathom what those more creative than
The web has been stuck in a 2D world with TV, assuming a decent broadband speed. me can come up with.
the same top nav, hero and boxes of content, Now imagine what is possible if we extend All this has led me to one conclusion, it’s
but what if there was another way? What if access to every pay monthly mobile phone in time for front-end developers to expand their
the client didn’t have to rely on the users’ the UK. 5G would enable everyone in the UK horizons, and not necessarily on the web.
hardware to deliver the experience, and to use their phone to browse content generated Build cloud native experiences, invest your
instead we hoisted it up to the cloud? by bleeding-edge cloud computers. We aren’t time in VR and AR. Try Unity, be bold.
talking about the SSR of today, but the whole There’s an old adage that comes into its
WHY IS 5G ANY DIFFERENT? GUI being painted server-side, and pushed own: ‘If you dislike change, you’re going to
5G has two benefits over 4G. The first is latency to devices in real-time. dislike irrelevant even more’. Get ready for a
small enough for everything to feel responsive, Let’s also consider the limitations of the 5G revolution – change, evolve, or be ready
with early tests from Verizon hitting the 30ms modern browser. Sure we can create graphics for irrelevance.
mark (10x quicker than the mobile browser on them, but without heavy optimisation,
touch delay), and that figure is expected to anything too complex begins to chug. If you Tolliday is a creative technologist. He specialises in
PROFILE
come down to around 10ms. Second is its have ever attempted 3D on the browser, the innovation in the technology sector, to connect brands
insane bandwidth, which at 2gbits per second, limitations hit you pretty early on. with their customers.
w: tristolliday.com
26 june 2020
Q&A
ANDREW
individuals and companies that wrote those articles
have the same problems. They just choose not to write
about them.
Laying the Foundations is real talk about creating
design systems, written in a lucid tone of voice. It
COULDWELL
doesn’t deal with ideals. Instead, it talks about how to
overcome legacy problems, earn trust and support, and
what to do in different scenarios. One reader described
it as being more of a manual. Another reader said:
“You could read 100 hot takes on Medium OR read this
one book filled with practical advice from an industry
The Brit in LA discusses his new book on vet. There’s so much valuable stuff in this book.”
design systems, Laying the Foundations As an expat Brit, what do you see as the pros and
cons of living in LA?
Could you briefly introduce yourself to anyone who Los Angeles has year-round good weather, mountains,
INFO doesn’t know you? forests, beaches, museums, rich diversity, great food,
job: Web designer and I’m a Yorkshire-born, Los Angeles-based designer bars, and sports teams. You even get to eavesdrop on
developer and developer with 15+ years experience creating behind-the-scenes Hollywood chatter from time to
w: https://roomfive.net digital experiences for everyone from NASA to Harvey time. The pros on the work-side are the same as living
t: @andrewcouldwell Nichols. I recently returned to freelance life after in any big city: you’re close to lots of companies and
several years leading design at Adobe and WeWork startups with money to spend and interesting projects
in New York City, and I recently published a book to work on. The only con is being so far away from my
about design systems called Laying the Foundations family and friends in England, which does suck, but
(designsystemfoundations.com). life is short – you have to live it, and your loved ones
are only a call, message, or flight away.
What gave you the idea of writing a book about
design systems and who’s it aimed at? What is exciting you most in the field of web design
During my time at Adobe and WeWork, I learned a lot right now?
about leadership and the dynamics of working with I think we’re in a strange period. Too many designers
multiple teams and individuals. Unfortunately, it’s are designing for other designers and not the people
not as simple as just doing your best work. You have that really matter (ie the target audience). I think our
to learn to build a team, sell, earn trust and support, industry just needs to take a breath and get back to
play politics, work with stakeholders, be patient and basics. I do like that there’s been a rise in interest in
grind out results. The book is aimed at designers accessibility and especially inclusivity, which are two
(and developers) of all levels, and really anyone topics I cover a lot in my book.
june 2020 27
VOICES Big question
INDUSTRY INSIGHT
28 june 2020
K L AUDIA BRONOWICK A JACK
Senior developer, Indiespring REE V E
Indiespring.com Web developer, PS Website Design
pswebsitedesign.com
RESOURCES
CREATIVE BLOQ NET MAG ON INSTAGRAM @NETMAG ON TWITTER
www.creativebloq.com/tag/web-design www.instagram.com/netm.ag https://twitter.com/netmag
Creative Bloq is the online home of net It’s finally here, net magazine on the ever net magazine’s Twitter feed is packed with
magazine and its sister publications popular visual social platform. The newly news, tips and inspiration on topics
Computer Arts and 3DWorld. The site’s Web created account will feature websites we love, including design, development, marketing,
Design tag is where you’ll find all the latest the happy smiling faces of industry experts, a usability, accessibility and security.
news, tips and advice from the designer and peek behind the scenes of leading agencies, Alternatively, check out the Facebook page at
developer community. special offers and more. www.facebook.com/netmag
june 2020 29
GALLERY Inspirational sites
MARK BILLEN
ILLUMINATING RADIOACTIVITY
https://illuminating-radioactivity.com
30 june 2020
Inspirational sites
KERN INC
https://kern.inc
june 2020 31
GALLERY Inspirational sites
The epic war film 1917 has proven to be a commercial and critical
smash, doing huge box office numbers while scooping prestigious
accolades. Writer, director and producer Sam Mendes has crafted a story
that not only resonates historically but also marvels technically today.
Using innovative editing and cinematography, the makers managed to
drop audiences into World War I action with what seemed to be one
continuous shot. This technique is beautifully highlighted by this
immersive promotional website, where the movie’s pivotal backdrop is
reimagined in WebGL.
Designed as an interactive first-person journey into 1917’s production,
it renders 3D scans of the mile-long battlefield trench made for the
filming. Visitors are encouraged to ‘keep moving’ deeper into the gloomy
but richly detailed environment, finding a series of video hotspots.
Character clips and behind-the-scenes footage are seamlessly presented
in a ratio optimised for mobile screens, providing a neat narrative thread
from start to finish. Creative studio POWSTER, operating out of London
and LA offices, clearly worked closely with client Universal Pictures to
get the site’s tone just right. By blending impressive three.js development
with stellar graphics, sound and AR technology, 1917’s poignant drama
has been translated into a truly unmissable online experience.
SI T E OF
T HE MON T H
32 june 2020
Inspirational sites
june 2020 33
GALLERY Inspirational sites
SCARS OF DEMOCRACY
https://www.scars-of-democracy.com
34 june 2020
Inspirational sites
AMANDA BRAGA
www.amandabraga.com
june 2020 35
SHOWCASE
PROFILE
EDAN KWAN
lusion.co
36 june 2020
INFO
Location: Bristol, UK
Designing since: 2010
Areas of expertise: Real-time
graphics, animation and real-
time look dev
Clients: Opera North, Logitech,
MaxMara
Awards: Lovie Awards,
Awwwards, FWA
june 2020 37
SHOWCASE
38 june 2020
SPOTLIGHT
EDAN KWAN
What’s on your desktop
today?
Medicine and client’s contract.
The Turn Of The Screw (bit.ly/turn-screw) is an award-winning immersive trailer for Opera North’s 2020
production of Benjamin Britten’s opera Three little things that make
your life worthwhile.
My toddler’s manic laugh, the internet,
and Wotsits.
rendering and offline rendering. VS Code How much is your work about pushing What do you have on the
is the go-to tool for almost all of our web creative boundaries and how much is it walls?
At the office: a TV and some
developers. It is powerful but lightweight about just ‘getting the job done’?
abstract art.
at the same time, which enables In our line of work, I’d say 30 per cent of At home: some drawings that my kid
developers to easily code both small and the time is spent on getting the job done did at nursery.
big projects. and 70 per cent on the countless
My hardware setup consists of an IBM tweaking to get it to the next level, where What will you do for lunch?
Model M keyboard, Logitech G-series it’s closer to being the perfect piece. In Probably one of the food stalls at St
Nick’s Market in central Bristol.
mouse and three QHD monitors. This is the past, I’ve been guilty of being a
mostly just my personal preference. I love perfectionist and even now, I always go What hours do you work?
my retro-looking clicky keyboard, which the extra mile because pushing creative I usually do 9-6. It used to be way
my colleagues hate, so I can’t really speak boundaries drives me. There are a lot of longer, but I need to balance work and
for them. award-winning projects I’ve made still home life now I’m a dad.
believing they could be better after
What’s been your proudest moment at launch. However, at some point I’ve
What else do you do in the
office?
Lusion so far, and why? learnt that I need to accept ‘enough is
If I’m not working, I’m drinking coffee or
I’m immensely proud of Lusion’s studio enough’. I need to sleep. Especially as I playing Nintendo Switch with
website. A lot of hard work, time and have kids now. my colleagues.
dedication went into building the
website. I battled with my own demons as What do you love most about your work, How often do you hang out
a perfectionist and kept seeking ways to and what are the least fun parts? with other designers?
I should meet up with fellow designers
go above and beyond before biting the I love that every project is different
more often, but there isn’t a huge scene
bullet and launching it. creatively and seeing it come together at here and with small kids, it’s tough.
The website has won many awards, the end is just awesome. Sometimes it’s
including the Lovie Awards, W3, Davey not just about making something look Describe your working culture
Awards, Site of the Month and Site of the beautiful, it’s also about helping our in three words
Day for Awwwards, and Site of the Day on clients to realise their vision and solve Challenging, fun and motivational.
FWA. Someone also started a thread on their problems. I guess the least fun parts
Reddit about it, which was quite surreal. would be paperwork. As a creative, it can
I’ve been touched by the love for it. It really disrupt the flow if there’s
made all the blood, sweat and tears something urgent to do in the middle of
totally worth it. my process.
june 2020 39
SHOWCASE
TIMELINE
AUGUST 2006
Signed as a contract singer in
Hong Kong.
MAY 2009
First freelance gig building Flash
experience for Logitech.
MAY 2010 Lost Your Way In Nature - a graphic demo Lusion crafted to demonstrate our ability of building high fidelity
First contract job remotely working for realtime graphics for the web
an UK agency.
OCTOBER 2011
First time moving abroad working full-
time in New York. What made you move to Bristol and colleagues, so I hope the working culture
what’s the web design scene like there? at Lusion can also provide learning and
JUNE 2013
I moved for my wife, who was training to professional development opportunities.
Moving to the UK to work freelance. be a teacher at the time. There’s not a big I believe the digital advertising industry
JUNE 2016 web design scene like in London or is shifting toward the physical side from
Get married. Manchester, but there are some really the web. So I want us to continue making
cool agencies here like GC. I’ve noticed an really creative experiences, with an aim
JUNE 2017
increase in tech startups building to branch out to more physical
My son is born.
immersive devices such as Ultraleap. installations and VR-based work. Also, AI
AUGUST 2017 Hopefully the Bristol scene will continue is something that will inevitably change
Open up creative studio in to grow, as it’s known in the UK as a the industry. A lot of production work will
Bristol, Lusion. creative city; Banksy, anyone? become automatic and we have to adapt
MAY 2019 and look at ways to incorporate it into our
Release new studio website. Do you ever regret not continuing your business, rather than see it as a threat.
career as a recording artist?
It was a great experience, but I don’t What are your ambitions for the future?
think I miss being dressed as a cloud on I want to balance my family life and my
national TV, which I did! I fit in more as a work. With a second kid on the way, I
coder than I ever did trying to schmooze can’t work as many weekends as I
with ‘celebrities’, although I did meet currently do. I also need to be more
some big names in the Asian music disciplined with the gym and make sure I
industry. Even now when I watch Hong actually attend rather than just paying for
Kong dramas with my wife, I point out the monthly subscription.
people I met at parties. It’s cool I can still
impress my wife after ten years of her What thing do most people not know
putting up with me. about you?
People are surprised to learn I was a
How do you think your job and company singer. We had a billboard up in one of
will change in the next ten years? the central areas in Hong Kong and on my
Over the next few years, I hope to bring travels, I discovered one of our songs on a
on some new team members. I’ve enjoyed karaoke machine. Don’t know if anyone
sharing my expertise with the junior bought the album, though…
40 june 2020
*
HOW WE BUILT
KNIVES OUT
Murder mystery film, Knives Out, grabbed everyone’s attention, and so did
the fun website that promoted it. Oblio tells Tom May how it created its
innovative 3D navigation
2
4
BRIEF CLOSE UP
Knives Out is a fresh take on a familiar story. Although you can’t see it in print, this is no main navigation for the website. Clicking
It is a timeless whodunnit focused on the ordinary flat and static homepage. View it on here opens a panel with the various site
complicated relationships within family, along your phone, tablet or computer screen, and destinations: Gallery, Posters, Commentary,
with the backstabbing that invariably happens you discover a dynamic, moving, 3D diorama, Accolades, Shop, etc. (4) A rotating carousel
whenever money is at stake. The goal of the
mixing up various elements of the movie in links through to various features and
digital campaign for Lionsgate was to familiarise
audiences with the family dynamic, characters an evocative and atmospheric manner. (1) A sections within, and outside, the site. (5) A
and interconnectedness of all involved in 3D knife serves the function of a Thrombey call to action prompts users to scroll down
this twisted and tangled web weaved by the family tree. (2) Ornamental pieces on the page, to reveal more of the scene and
incomparable Rian Johnson. the homepage are populated with family other characters. (6) The full 3D scene with
portraits; clicking on them links through to a LUT applied for accurate colouring and
more information on each character. (3) The blurring, to show the depth of it all.
42 june 2020
How we built
CODY S CO T T
S TAUDENMIER AGRIMS ON
TIMELINE
Key dates in the
Knives Out project
JUNE 2019
Staudenmier is an art director Agrimson is a snr developer
at Oblio, and responsible for at Oblio, and responsible Oblio receives the brief and begins
the overall look and feel of for executing the site and ideating initial concepts for the Knives
the site experience. bringing the static to life. Out main site.
w: oblio.io w: oblio.io JUNE 2019
Initial script read and kick-off meetings.
JUNE 2019
One of the big commercial and was looking for creative and innovative
critical hits of 2019, Knives Out ways to display the traditional movie Oblio sends through initial ideas and
rough comps of site concept.
takes the classic Agatha Christie-style site content but with a heavy focus on
whodunnit and gives it a modern twist. introducing people to the film’s all-star JULY 2019
Directed by Rian Johnson and boasting cast. From there, it was really an organic Client signs off on the concept of a 3D
an all-star cast led by Daniel Craig, it’s and collaborative process between us digital family tree.
one of the most original and inventive and the client. We found ourselves in JULY 2019
movies of modern times, and so conversations with Lionsgate where each Cody Staudenmier, the art director on
demanded a website that could pull off a of us kept saying, “Wouldn’t it be cool if the project, designs each page of the
similar trick (https://knivesout.movie). site with motion demos to show the
Based in Portland, Oregon, Oblio is client and to hand off to the developer.
june 2020 43
SHOWCASE How we built
EVOLUTION
(1) This was an extremely rough early comp 3
proposing a cloud of knives where each knife
was clickable. This design was loosely based on a
set piece in the film. (2) A subsequent screen
from that early pass, which illustrates what an
inner page could look like for each character. (3)
The Blender scene where we created the
interactive elements used on the site. (4) A final
version of one of the character posters for the
film, which the client requested we use for look
and feel inspiration. (5) Final design of the
mobile homepage.
44 june 2020
How we built
june 2020 45
SHOWCASE How we built
Above A gallery image that represents some of the look and feel Oblio tried to get across with the site design/concept
Blender because it enabled us to quickly solve clues for a chance to win cash and the type was to keep the feel of classic
iterate different lighting and colour prizes. We were able to brainstorm with and contemporary mystery novels.
scenarios. Once the scene was complete, the client the answer to one of the clues,
the real hurdle was replicating that look a single word, that we would scramble How have you continued to develop the
in the browser. While the model and the and hide each letter on the back of the site since launch?
textures all import into three.js, the main medallions that hang off the knife. CS: These campaigns are always evolving
challenge was to recreate and tweak the The user was prompted to ‘VIEW IN AR’ , from wide theatrical release, awards
shaders and lighting to get the look right where they could see the knife, look season, and then home entertainment.
and match what we had done in Blender. around it, and uncover the letters to be So we’re continuing to update and add
unscrambled. It felt perfect that the clue content to the site, but overall the creative
There was also an AR component for was simple to find, but could only be look and feel isn’t changing much.
mobile. How did that come about? unlocked if you used the AR view.
SA: During our development phase, the What did you learn from this project
studio shared a link to an article about How did you approach the audio? that you’ll use on future site builds?
using a mobile device’s native AR viewer CS: Audio is a key element to an SA: As a team, we had quite a bit of
to complement a site experience that immersive site experience. We’ve familiarity with the 3D pipeline of
uses 3D objects. It was followed by the developed a great relationship with Matt creating those elements in Blender and
question; “Can we look into this?”. After at Sleepy Volcano. He does fantastic work then getting them into the browser, but
getting the site live, we circled back so we bring him in on projects whenever personally I hadn’t done a ton of that.
around to this with the goal of finding we can. We give some general direction This project was great for being able to
a technical and creative solution rather and then he scores the whole experience. not only do a deep dive into the software,
than using AR for AR’s sake. Blender in particular, but also to become
Around this time, Lionsgate also started And typography? comfortable with the real-time graphics
running a sweepstake where fans could CS: When designing, the main goal for and rendering pipeline as a whole.
46 june 2020
GET IMAGINEFX FROM
£2.10 PER ISSUE!
SAVE UP TO
70 %
www.myfavouritemagazines.co.uk/digital
Available on
iOS or Android
june 2020 47
SEO
FEATURES Google SEO secrets
48
secre
june 2020
EO
Google SEO secrets
With ever-changing
Google algorithm
updates and new
Google features, Carl
S
Hendy reveals how to
get started in SEO and earch Engine
ets
refers to the process of
improving the signals a
june 2020 49
FEATURES Google SEO secrets
There are many ways to improve your of thousands of pounds every day due to
visibility within the Google search a decline in Google search traffic. You
results, and this is broadly broken down could no longer find their website when
into two core areas: searching for ‘brand’. The issue? They
had misconfigured their robots.txt file to
On-page SEO disallow all search engine crawlers from
Content - Google will be looking at the accessing the website.
quality of your written content. Is your In this situation, it was an easy fix for
content well written? Is it informative? the web developer. Once the changes
Is the content credible, with authors were made we were able to request for
clearly identified? Is the content Google to recrawl the website within
unique? Does the content answer the Google Search Console (https://search.
intent of the search query? google.com/search-console/about) and
Code – Can Google crawl your website within a few minutes the website was
efficiently? Does the page load quickly? reappearing again. I never did send them
Does your website use JavaScript Google my invoice.
can’t render correctly? Some of the most common SEO issues
User Experience (UX) - Does your I see are related to website migration
website work across all types failures. These can occur when:
of mobile devices? Is the Above A typical result page from Google
content hidden from the
users? Is it easy to navigate
50 june 2020
Google SEO secrets
Play by
the rules
Google’s algorithm has always been
changing and mostly improving (it does
get it wrong sometimes) as it scours the
web to find the best search results for a
user’s query.
In the early days, many SEOs were
asking: ‘How can I trick Google into
thinking my website is better than it
really is?’. Nowadays, it’s more: ‘How
can I work with marketing/product/
content/developer teams to make the
best experience possible for the user
while also matching the user’s intent?’.
If you successfully achieve that, you are
rewarded with an increase in visibility
within the search results. Google
does have its flaws, and there are still
techniques to fool Google, however these
Above An example of reduced visibility during website migration (https://netm.ag/2WLHUH2) are often short-lived. Google provides
answers for 3.5 billion searches a day, so
there are bound to be loopholes to exploit.
keywords or topics into one page or keywords individually as possible to grab If you want to build a legitimate
artificially inflating your backlink all that Google traffic. Today, content brand and have consistent growth
profile in an attempt to make yourself should mostly be written with the end of active users visiting your website,
then longer-term it is best to work
look more authoritative. user in mind and only created if it’s
within Google’s Webmaster Guidelines
relevant to the audience of your website. (https://support.google.com/webmasters/
All of the preceding issues are There needs to be a purpose to the answer/35769?hl=en). Whether you
avoidable and fixable if they were to page. The purpose of a page is the reason agree or not with how Google approaches
occur. However, failed migrations, in (or reasons) why the page was created. search or policing the internet, if you
want traffic from its search queries then
particular, can take months and months Every page on the internet is created for a
it’s best to play by its rules.
to recover from (and that is once you have purpose, or for multiple purposes.
those fixes implemented). Pages should be created to help users.
Unfortunately within most companies, Websites and pages that are created with
SEO is never considered a priority until the intent to harm users, deceive users,
it’s too late and the issues have occurred. or make money with no attempt to help
All those small recommendations on users, would receive the lowest quality
the developer’s to-do list that are never rating by Google.
correctly prioritised compound and come As long as the page is created to help
back to bite when your Google traffic users, Google will not consider any
starts to disappear. particular page purpose or type to be of
In most situations, Google will likely higher quality than another. For example,
punish a website with a death by a encyclopedia pages are not necessarily of
thousand cuts approach rather than higher quality than humour pages.
an obvious, significant drop in traffic All of the content on a web page can be
overnight. There are scenarios where classified as one of the following:
you could receive a manual action
penalty from Google if you are trying to Main Content (MC)
manipulate the signals too hard. Supplementary Content (SC)
Advertisements/Monetisation (Ads)
SEO for web content
teams MC covers any part of the page that
Historically, web content was about directly helps the page achieve its
placing keywords on a page and creating purpose. SC is the part of the page that
as many landing pages to target those isn’t MC or Ads.
june 2020 51
FEATURES Google SEO secrets
Above Screaming Frog extracts page-level information for identifying SEO issues
It can be text, images, videos, page SEO for web developers Do not leave staging environments
features (eg calculators or games). The While poor-quality content can cause open for Google to crawl and
quality of the MC plays a very large role in issues for users, lower performance index. Always ensure that staging
the page quality rating of a web page. rankings and reduced conversions, poor- environments have robots.txt
Ask yourself these questions before quality web development can have far directives to block all crawlers. An
creating any new content. greater negative consequences for SEO. additional level of protection would be
Implementing the wrong server to ensure all staging environments are
What is the purpose of this web page? response to Google, blocking a website password protected.
Is it clear what content is the main with a misconfigured robots.txt file, and
content on important pages? incorrect meta tag usage within the body At a recent Google Webmaster Conference
Does this page fulfil the requirements of the HTML can remove a website from I attended at Mountain View Google
of ‘intent’ for someone who is visiting Google within hours. There are tools and Headquarters, multiple Google engineers
this page? services out there that can help prevent highlighted that fast-loading websites
Do we need to create this content or these issues from occurring. will improve the experience for users and
does similar content exist elsewhere? Below are some examples of how web therefore improve your search visibility.
Do we need to create new content or do developers can avoid SEO issues: There are many ways you can improve
we just need to improve the content we page speed:
already have? After website migrations or developer
Does the current content answer releases, always check the robots. Reducing file size and code bloat.
questions commonly asked? txt file (eg https://www.website.com/ Compressing large images using a
Does the current content work well robots.txt) to ensure there are no service like Kraken (https://kraken.io).
with mobile / tablet devices? directives within robots.txt file that Avoiding excessive DOM size.
Does this content currently sit within could prevent Google from crawling. Controlling cache expiries.
a PDF? Additionally, check meta header Removing all old third-party code and
Is the content URL clean? Is it in tags to ensure there are no <meta tracking scripts that are not in use.
the same case? Does it contain any name=”robots” content=”noindex”> Google has a great web browser
unnecessary hyphens? within the HTML. It is very common to extension called Lighthouse (https://
Does the page have ‘boilerplate’ text? see these creep in post-migration. netm.ag/39tGEuW), which provides lots
52 june 2020
Google SEO secrets
of insights into page speed metrics and rendering, Googlebot now uses the
basic on-page SEO metrics. latest version of Chrome How do you
discover which
Web developers need to question
whether their website is mobile- Google will crawl a page, fetch the
friendly, as Google crawls from a
mobile first crawler now. This can be
server-side rendered content and then
run initial indexing on that document. keywords and
checked using a Google tool (https://
www.thinkwithgoogle.com/intl/en-gb/
Rendering the JavaScript-powered
web pages takes processing power and
topics to target?
feature/testmysite). This tool will give memory, however, and while Googlebot Speak to customer service teams to find
early indications, however it is worth is certainly very powerful, it doesn’t have out the most common FAQs. Answer
user testing across multiple screen infinite resources. those FAQs within the web content.
sizes, all website pages and multiple So if the page has JavaScript in it, the Use internal search query data from
devices to ensure pages render rendering is actually deferred until they Google Analytics to review what users
correctly and function across all have the resources ready to render the are searching for once they arrive on
your website.
devices. Web crawling software such client-side content. Google then indexes
as Screaming Frog (www.screamingfrog. the content for a second time, several Use Pay Per Click (PPC) data to find
out what keywords have high search
co.uk/seo-spider) or Sitebulb (https:// days or weeks later.
volume, high click-through rate (CTR) and
sitebulb.com) will enable you to check When using any JS framework it is conversion rate.
thousands of URLs very quickly for important to note that any content
Use Google Trends (www.google.com/
mobile-friendliness. generated with these may carry less
trends), which is free to use, and look at
the ‘breakout terms’ towards the bottom
of the page to see what people are
currently searching for.
SEO perspective
Here is one way to test if Google is
processing JS correctly:
JavaScript and SEO weighting for SEO. For this reason, Use the Inspection URL in Google
SEO for JavaScript-heavy websites has JavaScript-generated components/ Search Console to test the target page and
always been an issue for SEO, however sections should not contain important ask the following:
Google has improved its ability to crawl text, content or links.
and index JavaScript websites recently. If you were to have a search component 1 Is the main content being loaded?
JavaScript websites can be great for users, on the page that was loaded as a JS 2 Is the navigation visible?
but webmasters should tread carefully component, this would be absolutely fine 3 Is the design and layout of the
from an SEO perspective. as long as the important parts of the page page visible?
(content, links and so on) are available in 4 Is the page loading without any issues
Google itself has two crawling queues ‘normal’ HTML. or errors?
1 The first and main one is a headless If a JS component contains important
crawler using the engine that has information, text or links, and a pure If you answered ‘no’ to any of the
JavaScript disabled. If the results from HTML solution is not the preferred questions, then click on the More Info
a crawl (from this crawler) come back option, we would recommend pre- tab and review the error log. It will then
with little to no page content (and JS is rendering a HTML server-side solution show you a list of JavaScript errors that
detected on the page), it will add the so that it is served to the end-user (or occurred while rendering the page or
URL to the secondary crawler queue. Googlebot) as HTML. blocked resources.
2 The secondary crawler queue is the Another option would be for ‘dynamic
same as the first, but it has JavaScript rendering’ , which means switching Local SEO
enabled in order for JavaScript to be between client-side rendered and pre- If you are a business offering services
executed and therefore rendered. For rendered content for specific user agents. locally, one of the easiest and quickest
june 2020 53
FEATURES Google SEO secrets
ways to increase your visibility within understand the relationships between Screaming Frog
Google is to sign up to Google My your company’s different online assets. www.screamingfrog.co.uk/seo-spider
Business (www.google.com/intl/en_uk/ I’ve always described Screaming
business). This is a free service (at least SEO tools and services Frog as the best SEO tool money can
for now) that enables you to appear There are thousands of tools and services buy, however there’s also a free lite
within the Google Maps search results online that claim to be able to ‘automate’ version for smaller websites. Screaming
and often above the fold within search the process of SEO. Do not be tempted Frog will extract page-level information
results based on a user’s query and a to purchase any of these, they’re often for diagnosing SEO issues. Screaming
user’s location. a waste of money and also provide Frog also offers a server log file analyser
If you decide to go this route, it is misleading advice. (www.screamingfrog.co.uk/log-file-
important to fill out as many of the To help you avoid mistakes, what analyser) for those who want to dig a little
fields within the Google My Business follows is a list of recommended tools deeper into how Google is behaving on
application as you can, provide multiple that would work well if you are a beginner your website.
high-quality, unique images, and verify and looking for something cheap but
your Google submission. actionable, or if you’re working within Little Warden
Doing what you can to encourage enterprise SEO and need something https://littlewarden.com
customers to leave reviews within your more heavyweight. Some of these tools From the creators of the legendary
search listing can increase credibility and will have overlapping services and SEO conference Think Visibility, is a
visibility for your business. What’s more, outputs, and everyone will have different SAAS platform that runs automated
within the platform, potential requirements, so give them all a trial and checks on your website’s health to
and existing customers can ask work out what’s best for your objectives. prevent issues around website
change monitoring, SSL
certificates, domain name expirations
Encouraging customers to
and any other SEO horror. I’m still
amazed by the number of brands that
aren’t aware when their domain names
leave reviews within your search are about to expire. This service helps
prevent those issues. Very helpful if you
54 june 2020
Google SEO secrets
Further reading
A lot is written about SEO and you could
end up down a rabbit hole trying to learn
and understand all the different opinions.
The best SEO experts I have worked with
generally tend to be those who learnt SEO
by setting up their own websites from
scratch and then using the knowledge
they had read to test theories and
improve understanding.
If you are looking to get started in SEO,
there is an old guide by Google that is
worth investigating. Okay, so it’s a little
basic and outdated, but is nevertheless
a good (and free) read (https://netm.
ag/2UI3tWb).
A nice follow on from that would be the
Moz Beginner’s Guide to SEO (https://moz.
com/beginners-guide-to-seo). Use this to
understand the core principles.
SearchPilot
www.searchpilot.com
If you are working within enterprise
Top
SEO, you will find that you are often Little Warden is a SAAS
asked ‘What is the ROI of this suggested platform that runs
automated checks on
change?’ or ‘How do I measure the impact your site
of this change?’. The platform SearchPilot
Middle
will help you answer both of those Big Metrics - Google
questions. This platform enables you to Search Console made
more actionable
A/B test SEO changes.
Left
The Sitebulb website
If you have any SEO questions, or need crawler offers users
pointing in the right direction for further actionable outputs
june 2020 55
FEATURES WordPress: 20 best plugins
56 june 2020
WordPress: 20 best plugins
WordPress:
20 best plugins
Joe Ford presents his handpicked list of 20 WordPress
add-ons that will help solve client requests, speed up
workflow or just enable you to try something new
I
t could easily be argued that plugins were
what made WordPress big. Without them,
it’s just a blog platform that supports pages.
Yet the majority of the problems and bad
press cast towards the CMS are caused by the
AUTHOR plugin ecosystem. While the possibilities are
JOE FORD endless when almost anyone with an internet
Ford is the senior connection can find out how to write plugins,
developer at Tillison it does open the door for poorly written
Consulting in code and mistakes that can prove critical in terms
Waterlooville. He spends of security. To help steer through the ever-growing
his work days keeping
maze of what’s available, we’ve handpicked 20 of the
both websites and his
best plugins. Some are well known while some are
team running smoothly.
w: tillison.co.uk up-and-coming but all of them are recommended
t: @JoeFordTheNerd against three factors: minimal bloat, maximum
function and minimal footprint – meaning no
intrusive dashboard adverts or messages.
From caching solutions to labour-saving shortcuts
for developers, this list contains plugins to look out
for in a modern WordPress setup.
june 2020 57
FEATURES WordPress: 20 best plugins
Elementor WooCommerce
https://elementor.com https://woocommerce.com/
Elementor is a visual drag-and- woocommerce-4-0-sale
drop editor for WordPress that The number one WordPress
simplifies the process of shopping plugin looks like it’s
building pages without having to dive here to stay as it launches its
into code and theme files. The concept of latest version 4 update, which includes a
a visual builder is nothing new for revamped admin menu featuring better
WordPress but Elementor manages to reporting and tools. WooCommerce
deliver the most powerful toolset yet. enables WordPress to be converted into a
What’s more, it also seems to keep div complete eCommerce store. With features
soup to a minimum and scores well in such as variable products, import tools
page speed tests. Upgrading to the pro and free and paid plugins to manage
version gives access to the theme builder Google shopping feeds, WooCommerce
features that enable creation of reusable stands up well against other options.
blocks for headers and footers. Combined Shipping zones can be set up with ease
with the Hello theme made by the same and localised down to postcodes.
developer, Elementor can completely However, be warned that the plugin does
replace most features of a theme. The have a few quirks, for example changing
plugin also has a mobile view and enables the wording on the front end can
separate control of most options to make sometimes mean having to dive into
things easier for mobile screen sizes. functions.php.
58 june 2020
WordPress: 20 best plugins
PhastPress
https://wordpress.org/plugins/
phastpress
PhastPress covers many of the
‘hard to get’ elements in
passing a PageSpeed audit with
advanced features such as inlining
critical CSS on the fly and loading all
scripts asynchronously. The range of
tools offered for free is vast and even
includes a free cloud-based image
optimising solution. While this plugin
can clash with the optimisation parts of
cache plugins such as Breeze, if the
overlapping features in Breeze are
disabled the two plugins work brilliantly
together. Although the plugin currently
has a small set of users, updates are
left
Elementor regular and reviews are high.
xxx
xxx
xxx Broken Link Checker
Below
https://en-gb.wordpress.org/plugins/
Woocommerce broken-link-checker
xxx
xxx
Given its name, it’s no surprise
xxx to learn that the purpose of this
plugin is to check for broken
links. Once installed, it detects broken
WP Headless links across a site and builds a list over
https://wordpress.org/plugins/ time. This is extremely helpful when
wp-headless testing larger sites, as inevitably mistakes
For larger content-heavy happen during the build. When viewing
platforms, a trending setup is to the front-end of the website as an admin,
run WordPress as a headless broken links are shown with a
CMS that is then accessed remotely by a strikethrough, making errors easy to
front-end app. The end product is a spot. The detected links can also be
content system where the content team viewed in one big list for easy correction.
can work in the familiar WordPress
interface, while the front-end app WP Mail SMTP
responsible for displaying the https://en-gb.wordpress.org/plugins/
information can be handled by the wp-mail-smtp
development team in the front-end Getting a website to send emails
framework of their choosing. WP when a contact form is
Headless simply negates the front-end of submitted or a notification
a WordPress website by redirecting non- created used to be easy. With the rise of
authenticated users to the login page. advanced spammers and malicious email
activity, though, it’s getting harder to
deliver emails. This plugin opens the
door to route all emails sent by WordPress
through an external service such as
SendGrid, Pepipost SMTP and more. In
most cases the setup process simply
consists of pasting an API key from the
external provider and clicking save, then
all email sent by the website is routed
through the external provider.
june 2020 59
FEATURES WordPress: 20 best plugins
Duplicator
https://en-gb.wordpress.org/plugins/ Advanced custom fields
enable a developer to add
duplicator
Duplicator has been around for
60 june 2020
WordPress: 20 best plugins
JetEngine
Far left
Duplicator continues to be
one of the easiest ways for
users to back up or migrate
a WordPress website
Left
https://crocoblock.com/plugins/jetengine
Advanced Custom Fields is JetEngine is an addon to the Elementor plugin that brings a huge amount of
a plugin for anyone looking
to add more than the built-
flexibility and power in the form of dynamic content. This enables the creation of
in fields to pages and posts custom post grids that show data from advanced custom fields or even helps to
Below
restyle the default post list layout. For example, if a travel section of a website
EWWW Image Optimizer needed to feature five different holidays with custom data such as price and
is a quick and easy way to
reduce the size of images
location, it would be very difficult with the standard Elementor post grid. But
on a website with JetEngine, you would first create a listing item. This is the template for a
single repeatable item within the content grid. The listing item can be created
with the Elementor builder using the dynamic input options to draw data from
ACF or the built-in JetEngine meta boxes.
New dynamic content areas called ‘listing grids’ can be created using the
Elementor builder itself. The end result is a custom-styled post grid showing the
custom data.
JetEngine isn’t a free plugin but it does have a whole set of complementary
premium plugins that work well together as a bundle. All in all, the JetEngine
addon enables Elementor builds to drop down to a whole new layer of flexibility
and functionality.
Above The SEO Framework has a host of features to optimise your website for SEO
june 2020 61
FEATURES WordPress: 20 best plugins
WordPress Auto-
updates (Beta)
https://wordpress.org/plugins/
wp-autoupdates
A common complaint about
running a WordPress website is
that even in a 24-hour period,
plugins are likely to need updating. With
the current advice being to keep all WP Paint
plugins at their latest versions where https://wordpress.org/plugins/
possible, this can soon become an wp-paint
impossible task when maintaining more WP Paint is an image-editing
than one website. plugin that enables more
While only in beta, this plugin eases complex editing of images
the burden of running a WordPress directly in the Media Library. While not a
website by safely updating plugins Photoshop replacement, the plug-in is
where possible. It may even be included handy for minor edits that would
by default in the next major version of normally require downloading the picture
WordPress, although the authors have and opening a clunky image editor.
said it won’t be included ‘as is’ in the A premium version is available with
WordPress Core. extra tools such as watermarks and
revisions but the free version comes with
Flying Pages plenty of tools to make your life easier in
https://wordpress.org/plugins/flying- a pinch.
pages
Flying Pages is a tiny plugin that Really Simple SSL
detects when a user hovers over https://en-gb.wordpress.org/plugins/
a link and quickly preloads the really-simple-ssl
page in case the user clicks. If the user The best companion when
does click the link, then the transition switching a website from http to
between pages is instant as the https and a quick and painless
prefetched data snaps into view. With the way to fix mixed content issues, Really
amount of emphasis on PageSpeed and Simple SSL uses several methods to
how it can affect conversion rates, the change all http links on a site to https.
value of this is great. Great care is taken This includes page resources and images,
to avoid abuse or mistakes that would which helps solve problems with only
cause the preloading to slow down the some insecure assets on a page. With an FileBird
server. Preloads are put into a queue inbuilt failsafe, the plugin will warn a https://wordpress.org/plugins/filebird
server-side and processed in batches. user when attempting to activate SSL if It doesn’t take long for the
While it won’t make PageSpeed scores the certificate isn’t valid or isn’t in place, Media Library to become an
higher, it’s certainly worth testing to see which saves causing any accidental infinite mass of images by the
if it impacts conversions. problem for front-end users. end of a medium-size build. FileBird
enables the creation of folders in the
Media Library to better organise images.
62 june 2020
WordPress: 20 best plugins
HappyAddons
for Elementor
https://happyaddons.com
A second extension for the Elementor page builder, HappyAddons
doesn’t stand out at first glance against other extra module packs.
But reading further into the features list, it’s apparent that the
plugin holds some groundbreaking features. Cross Domain copy
paste is a timesaving superweapon, enabling right-click copy and
paste between entirely different websites. This means content
blocks can be reused from site to site with just a few minor style
alterations. In theory a whole library of prebuilt modules could be
built on a central site and then used as a personal template library.
Another nice to have feature is the on demand asset loading, which
keeps unused CSS away by only loading the CSS or JavaScript
required for the content on screen. A bootstrap grid is another
welcome addition that overlays the same grid system used in Sketch
and Figma on the page being edited, leaving less guesswork involved
in checking if text is properly aligned. Packed full of other features
and lots of template content for faster projects, HappyAddons is
overall a solid set of tools that can help any Elementor builder.
Top
WP Paint is an image-
editing plugin that works
Relevanssi directly in the Media Library
https://www.relevanssi.com
Above left
The standard WordPress search Avoid a messy Media
Library by using FileBird to
function leaves a lot to be
create folders
desired, however Relevanssi
Above right
aims to help with that. Best described as
Really Simple SSL makes
a ‘build your own search engine’ , switching from http to
https a lot easier
Relevanssi gives full control over the way
results work and enables a developer to
choose what a user can search for, while
offering ease of use functions for an end
user such as ‘did you mean’ and typo
detection. The index also learns over
time, which means the more people
search, the better the system gets.
One warning is that the search index
can grow to a rather large file size of
400MB or more, so make sure the server
has plenty of disk space.
june 2020 63
PROJECTS three.js View source
files here!
All the files you need for this
tutorial can be found at
github.com/markjsb/dotnet/
tree/master/3D_interface
A B O U T T HE A U T H O R
MARK
SHUFFL EBO T T OM
w: www.webspaceinvader.
com
t: @webspaceinvader.com
job: Professor of
interaction design
areas of expertise:
HTML, CSS, JavaScript,
WebGL
THREEJS
BUILD A 3D INTERACTIVE
INTERFACE WITH THREE.JS shows how to use the three.js library to create a
WebGL animated interactive interface for your site
It’s possible to create 3D content for the web correcting textures and adding reflection maps.
entirely in CSS but this is always going to be Finally, some elements will be animated. Getting
constrained to flat planes. While there is nothing access to these individual parts of a model shows
inherently wrong with this, as designers we often how different parts can be further animated, should
want so much more. Using the three.js library you require to do that.
affords us the opportunity to have lighting, shading,
reflection maps and genuine 3D shapes to give a 1 GET STARTED
sense of depth to an otherwise flat screen. To push To start the project, open the ‘start’ folder in your
the design even further, there is also access to code IDE and open the main.js page. All the HTML
shaders to apply some filters to the image and give and CSS elements are completed and the libraries
the design a final polish. are linked, ready to be used in the HTML. There are
In this tutorial, a 3D interactive animation will some elements of code completed that mostly handle
play in the background while the foreground will touch, mouse presses and browser resizing, but let’s
contain the regular 2D interface as normal HTML start by adding some variables above that code.
elements purely for accessibility, as we could also
easily make parts of the 3D model clickable. There let scene, camera, renderer, sphere, material, bg,
will be a 3D model loaded in and there’ll still be fg, composer, rgbPass, rmnt, filmParams, filmPass,
some manipulation to do with the model, such as renderPass, copyPass;
64 june 2020
threejs
2 POST-PROCESSING
Here the code to start setting up the scene is created:
all of this code will be in the init function. It’s
important that this init function is placed after the Above After the cube texture is loaded, this is used as a reflection map on the sphere, which is also
given a displacement map to make it spiky
existing code already in the project, because it needs
access to some of the values set up in that code.
The scene is just like in the real world, with a
camera required along with something for the
camera to look at, in this case it will be some 3D
models and lighting. A scene is created that will
hold all elements that we’ll display, the background
of that is set to a light grey colour, then the camera
is added with a 75-degree field of view – it’s set
to match the screen dimensions and to display
elements within 2,000 units of the camera. The
renderer is set to fill the browser, the edges of the
models are softened by anti-aliasing the edges and
this is then added to the web page.
june 2020 65
PROJECTS three.js
Above By making the texture visible on both sides of the model, the foreground and background discs are now visible
66 june 2020
three.js
5 CREATE A SPHERE
Now a sphere is created with a radius of 200 units IN-DEPTH
and 80 subdivisions on the x and y axes. A material
is created that uses the displacement map and the
environment map made earlier. These elements get
placed together to create a mesh out of the geometry
CREATING INTERACTIONS
and material, this is then placed into the 3D scene In the tutorial a 3D model is loaded, comprised of several
and positioned away from the camera on the z axis individual elements including materials. It’s really
with a value of -120. straightforward to get access to any of these individual elements
in the code. The first step is to name the elements in the 3D
let light = new THREE.SpotLight(0xd8e5e5, 1.0, 0, Math. package that you choose. All 3D modelling applications should
PI, 1); enable you to rename individual objects. Then export the model in
light.position.set(200, 500, 500); a format that can be loaded into three.js. In our tutorial the
light.target.position.set(0, 0, 0); COLLADA model format has been chosen just because it’s easy to
scene.add(light); read afterwards as it’s in XML format.
light.penumbra = 1.5; Once the model has been loaded, it’s a simple case
let ambientLight = new THREE.AmbientLight(0xffffff, 0.2); of finding that model. Three.js comes with a command
scene.add(ambientLight); ‘getObjectByName(‘name’, true)’. If you have added the model
to your scene, prefix this with ‘scene’ and join with a period. The
6 ADD A LIGHT ‘name’ is the name of the model that you have given in the 3D
In order to see the world, we’ve created a light and modelling application, so replace that with the real name. The ‘true’
positioned it in front and above the centre point. at the end refers to a recursive search. You should always select
Because this is a spotlight, it can be pointed in true as it checks children of children for the model, which means
a direction, which is accomplished with target that the model is always found. If you store that model in a global
position. Its penumbra is set, which is the lighter variable you can animate it or make it react to user input in some
outer region of a shadow, essentially meaning that way from anywhere within your code.
the light source has a soft fade. In order to get even
lighting in the scene, an ambient light is also added.
This is set low at 20% illumination, just so even
darker areas get a little light.
7 LOAD MODEL Above Naming your individual models in a 3D application means that it’s easy
to access individual models, therefore you can load large scenes but always get
It’s time to start loading the external model, so the access to your model for animation and interaction
loader is created that will handle that. The loader is
specifically for the COLLADA model format: there is
an anonymous function that acts as a callback and
this is initiated once the model has been loaded. The
model is then scaled to the right size for this scene, “In order to get even lighting
in the scene, an ambient light
which is scaled up slightly. This model is added into
the scene so that it will display.
june 2020 67
PROJECTS three.js
fg.material.side = THREE.DoubleSide;
fg.material.transparent = true;
RESOURCES
fg.material.opacity = 0.5;
68 june 2020
three.js
10 MAKE IT FIT
The final part of the init function really just makes
sure that the resizing, touch and mouse events are
handled. Notice here that depending on the width of
the screen, the camera is altered so that it fits better
on tablet and mobile devices.
11 SMOOTH MOVEMENT Above The reflection map is added to the 3D models and this gives a subtle effect, but when the
object moves the reflection shimmers
The render function is called to keep running at
60 frames per second using the browser’s built in
‘requestAnimationFrame’. The camera updates based on
the position of the mouse or touch on the screen,
making the scene interactive. There’s also a slight
easing applied to this so that the movement is
always smooth as the camera adjusts to the new
position from the user. The camera is told to always
face the centre of the scene so that it’s pointing at
the content.
12 UPDATE ELEMENTS Above The final content has a film grain effect and every so often the RGB channels split, based on
a random number
The content in the 3D model is set to animate by
rotating each plane. The sphere’s displacement
map is updated so that it pulses in and out using
a sinewave; this in turn updates the displacement
scale of the material.
june 2020 69
PROJECTS SVG
A B O U T T HE A U T H O R
SUSH K EL LY
job: Freelance designer
w: www.sushkelly.co.uk
t: @maxray
areas of expertise:
HTML, CSS, SVG
SVG
A QUICKSTART GUIDE
ON HOW TO USE SVG
Sush Kelly reveals how designers and developers can get the most
out of SVGs. He shows you how to export, optimise and add animation
70 june 2020
SVG
really is amazing what you can do with an animated <circle id=”circle” cx=”20.5” cy=”20.5” r=”20” style=”fill:#e
SVG that you would never think possible for such a eb003;stroke:#333332;stroke-miterlimit:10”/>
small file size.
Unlike a bitmap image, SVGs are easy to animate. Polygons look more confusing, but are just a set of
They have a DOM similar to web pages, the elements points separated by a comma – x,y x,y and so on. A
that make up the image can be affected with CSS just polygon always assumes the last point will join to
as you would with HTML. the first point.
SVGs can be a bit overwhelming if you actually
look at one in a text editor, but once you know what <polygon id=”polygon” points=”170.05 0.5 146.95
you are looking at, it is no more confusing than a 0.5 135.41 20.5 146.95 40.5 170.05 40.5 181.59 20.5
simple web page. 170.05 0.5” style=”fill:#eeb003;stroke:#333332;stroke-
But what about browser support? Support for SVG miterlimit:10”/>
is great. If you look at the Can I Use site, which is a
great reference, you will see lots and lots of green! Lines have four values: x1, y1 and x2, y2. Similar to
People often worry about older browsers but IE is the other shapes, we are just doing dot to dot.
covered from version 9, as well as some of the niche
mobile browsers like Opera Mini. <line id=”line” x1=”197.49” y1=”0.5” x2=”229.51” y2=”40.5”
style=”fill:none;stroke:#333332;stroke-miterlimit:10”/>
WHAT MAKES UP AN SVG?
As mentioned, an SVG is made up of mathematical
shapes - rectangles, circles, polygons and lines.
“An SVG is made up of
They also contain paths, which enable you to draw
irregular shapes. The objects are drawn in the SVG
mathematical shapes –
using maths coordinates on an x and y axis. You will rectangles, circles,
see that the values for shapes in your SVG will often
use the X / Y / Width / Height format. You view your polygons and lines. They
canvas through a viewbox, which is like a window
that looks onto the SVG canvas. The viewbox enables
also contain paths”
you to hide elements out of view until you find you
need them. Paths are similar to polygons, the main difference
The canvas (SVG tag) can have a width and height is they use a d (draw) property and then use an M
(though this can be set in CSS if preferred) and it also (move) before the path points. The end of a path
sets the viewbox window size. Again, note the X, Y, shows a z if it joins up to make a shape.
width and height attributes, in this case start at 0, 0
and 300px wide and 150 high. <path id=”path” d=”M33.21,74.71s19-
Create a new pen and add the SVG wrapper, each 18.77,42.34-15.39S92.9,76.21,113.92,74.7
shape can then be placed inside: 1s31.91-.67,49.18-7.84,28.16-13.25,38.67-
8,13.51,6.27,7.13,15.91-11.26,14.9-19.9,10-17.64-10.51-
<svg id=”Layer_1” data-name=”Layer 1” xmlns=”http:// 8.25-16.51,15.76-5.26,18.77-2.26.37,14.64-4.88,11.64-
www.w3.org/2000/svg” viewBox=”0 0 300 150”> 4.49-3.56-3-5.91” transform=”translate(-10.05 -8.4)” styl
<!-- elements here --> e=”fill:#fff;stroke:#000;stroke-miterlimit:10”/>
</svg>
EXPORTING FROM GRAPHICS PACKAGES
Rectangles are set using x and y to position the top- Let’s have a quick look at how we might export our
left point and then have a width and height attribute. artwork from the main graphics packages.
Like HTML elements, they can have a class and ID.
june 2020 71
PROJECTS SVG
Illustrator }
If you are using Illustrator, there are two ways to }
save your file as an SVG. The simplest option is to
choose File > Save As and select SVG. If you look at Here we are creating an animation called “fadeIn”
the code this creates, you will see it has some extra and telling the animation to go from opacity 0
information in there that we won’t actually need. to opacity 100%. We set how long we want the
You can also choose File > Export As and pick SVG. animation to last in addition to other settings on the
You can tweak your options here to choose inline element itself.
styles rather than using CSS. If you study the SVG Now we will add some styles to our box to make
(once you understand its workings) you will notice use of this animation:
that it maybe isn’t optimised quite how we would
want for web use. #square {
opacity: 0;
Sketch animation-fill-mode: forwards;
Sadly Sketch isn’t so good for exporting – you just animation-duration: 2s;
export your assets and choose SVG as an option. animation-timing-function: ease-in;
As with a standard Illustrator save, there is extra animation-name: fadeIn;
information and not the best optimisation. }
INTRODUCE ANIMATION
One of the really fun parts about an SVG file is that “There are four things
you can animate it and make it interactive. For the
purposes of this tutorial, we are looking at how
that browsers can
you use CSS to animate your SVG, although there
are some amazing libraries out there, GreenSock
animate easily: Opacity,
being probably the most well known for complex Scale, Rotation
animations and effects.
We should take performance into account. There and Position”
are four things that browsers can animate easily:
Opacity, Scale, Rotation and Position. That’s not to
say you cannot animate other properties, but they We set the opacity to 0, then we set the animation-
will cause repaints of the browser, which will mean fill-mode to forwards. This is a ‘gotcha’ that
jerky ugly animations. sometimes catches you out, as otherwise at the end
of the animation your element will return to its
CREATE ANIMATION starting point. Set the animation-duration, then
To fade an element within your SVG, we will use choose an easing style with the animation-timing-
keyframe animation in CSS. Let’s create the function. Most importantly, the animation-name is
animation first: needed of course! Check the codepen so see in action
https://codepen.io/maxray/pen/XWbBYzb
@keyframes fadeIn {
from { POSITION MOVE THINGS
opacity: 0; FROM HERE TO THERE
} Now that we know the basics of creating an
to { animation and then using it on an element, let’s
opacity: 1; move something left to right. We will create a new
animation called moveAcross.
@keyframes moveAcross {
from {
transform: translateX(0);
}
to {
transform: translateX(200px);
}
Above
Sketch has limited export options when using SVG and doesn’t offer great optimisation
}
72 june 2020
SVG
#circle {
animation-fill-mode: forwards;
IN-DEPTH
animation-duration: 2s;
ADD REALISM TO
animation-timing-function: ease-in;
animation-name: moveAcross;
}
@keyframes smallBig {
0% { If you look at any moving object in real life, you’ll notice it
transform: scale(1); doesn’t move at a constant speed. A ball will accelerate as it
} falls to the floor, slowing as it compresses and then speeding up as
25% { it rises into the air again.
transform: scale(1.5); We can use easing functions in our animations to add realism.
} We tend to use ease, ease-in, and ease-out but you can make
50% { custom cubic-bezier eases, too.
transform: scale(.5); When you use ease-out, you will be starting fast and ending
} slow. Generally this works well when something is moving in.
75% { Ease-in acts in the opposite way, starting slow and finishing fast,
transform: scale(1.5); which is good for objects moving away.
} You can use cubic-beziers in easing too. You may have heard of
100% { the Bézier tool (Pen tool) in Illustrator. This is the same idea, using
transform: scale(1); control points to create a curve. Visit cubic-bezier.com, which is a
}} brilliant visual resource for creating custom eases that you can
#circle { then save out!
animation-fill-mode: forwards;
animation-duration: 2s;
animation-timing-function: ease-in;
animation-iteration-count: infinite;
animation-name: smallBig;
}
animation-iteration-count: infinite;
See in action https://codepen.io/maxray/pen/YzXOQRd
june 2020 73
PROJECTS SVG
74 june 2020
The number one destination
for web design news,
views and how-tos
Get Creative
Bloq direct to
your inbox with
our weekly
web design
newsletter
www.creativebloq.com
View source
PROJECTS Sapper and Svelte files here!
All the files you need for this
tutorial can be found at
https://github.com/netmagUK/
Tutorials
A B O U T T HE A U T H O R
MAT T CROUCH
w: www.mattcrouch.net
t: @mattcrouchuk
job: Front-end
software engineer
areas of expertise:
HTML, JavaScript, React
Frameworks such as React, Angular or Vue have server rendering, link preloading and the ability to
become the new normal for front-end create service workers all done for us. Combined
development. By breaking parts of a website into with Svelte, the end result is a highly customisable,
components, we can more easily control how a lightning fast site with a small footprint.
website looks and operates, while at the same time In this tutorial, we will be using Sapper to build
making great experiences for the end user. a blogging site using Svelte components. As Sapper
This approach is not without its flaws, though. itself is still in development, its features may change
Speed is a big issue, with large JavaScript bundles before its first official release. Still, the approach we
slowing down their delivery. Techniques such as take here is a solid foundation for the future.
code splitting and server rendering go part way
towards solving the issue, but this can be tricky to 1 INSTALL DEPENDENCIES
set up and it can end up having a worse impact if it’s Firstly, we need to download and install
not maintained. dependencies. It relies on Svelte to work and requires
Svelte is a framework with a difference. It another framework to build the server, but the rest
analyses the code at compile time and creates a depends on the application being built. In this case,
set of modules in vanilla JavaScript, which avoids we need a few packages to help extract Markdown
the need for a runtime. Components are written in files later on. Download the tutorial files, find them
single files, which keeps everything together in a on the command line and install the dependencies.
neat little package. Sapper is a framework built on
top of Svelte. It focuses on speed out of the box with > npm install
76 june 2020
Sapper and Svelte
june 2020 77
PROJECTS Sapper and Svelte
<li>
<PostSummary {...post} />
IN-DEPTH
</li>
DEPLOYING TO
{/each}
</ul>
</Container>
Sapper has the added ability of being able to generate a 11 DEFINE A <SLOT>
static site without any extra development effort. This means If a component is designed to be the parent to
it can be hosted anywhere that hosts static files, such as GitHub other components, we need a way to pass those
Pages, Netlify or Amazon S3. It can be cheaper and faster if the components through. The <slot> element does just
site’s content rarely changes because it can be cached on servers that, and can be placed anywhere that makes sense
around the world. inside a component’s markup.
Running “sapper export” will build the site. Once complete, it With <Container>, we are wrapping the contents
then hosts it on its own server and starts to crawl the site, clicking in a styled <div>. Use <slot> inside the <div> to let
on any links it finds. Every page it visits it will save and create its everything else through.
own HTML file.
Of course, not every site is a candidate for static rendering. If 12 EXPOSE POSTSUMMARY PROPS
it requires authentication, or has lots of content that frequently Not every component is going to fetch some
changes, a server-backed approach is the one that will achieve the data. As we are loading the posts from the main
fastest result. page component, it can be passed through to the
components it renders through its attributes.
Open components/PostSummary.svelte and define
some attributes at the top of the file. These are
getting filled in by the spread operator that we added
in step 9.
78 june 2020
Sapper and Svelte
june 2020 79
HOSTING PARTNERS
CONTACT US To advertise here, contact our sales team: +44 01225 687 311 george.lucas@futurenet.com
Key hosting
directory
FEATURED HOST
CONTACT
03330 439780 / SALES@NETCETERA.CO.UK
“We have several servers from Netcetera
and the network connectivity is top-notch
– great uptime and speed is never an issue. WWW.NETCETERA.CO.UK
We would highly recommend Netcetera”
Suzy Bean WHAT NETCETERA OFFERS
Managed hosting: a full range of solutions for
EXPERT TIP a cost-effective, reliable, secure host.
CLOUD TECH TIP... Dedicated servers: single server through to a full rack,
with free setup and generous bandwidth.
If you’re going to fully utilise cloud technology,
before deciding on a service provider ask whether Cloud hosting: Linux, Windows, hybrid and private cloud
monitoring comes as standard and whether solutions with support and scalability features.
management is included in the price. A fully
Data centre co-location: from quad-core up to smart servers
underutilised cloud will be a waste of money. with quick set up and all fully customisable.
Advertisement
CATALYST2 BLACKNIGHT
As one of the UK’s most experienced hosting companies, Blacknight is the leading Irish web hosting company and domain
Catalyst2 has built a stable, reliable and well-supported name registrar, providing innovative solutions to more than
hosting platform for organisations across the UK. Catalyst2 84,000 customers in 130 countries, with dedicated servers and
specialises in very high-availability hosting and exceptional colocation, a comprehensive range of web hosting plans, domain
customer support. Contact the team today for a quote. registration, email and productivity tools. ISO 27001 certified.
HEART INTERNET
As one of the UK’s leading web hosting authorities, Heart
ADVERTISE HERE!
Internet focuses on designers, developers and technically- Would you like to promote your hosting business
adept businesses. It builds on its four tenets – speed, reliability, and services to our audience of professional web
support and security – to create award-winning solutions for over designers and developers? If so, please call or email
500,000 customers. George as below.
CONTACT
+44 01225 687 311 / GEORGE.LUCAS@FUTURENET.COM
NEXT
MONTH
STATE-OF-THE-ART
JAVASCRIPT
Discover the new APIs that can be tried today, what’s
new in React/Vue/Angular and the best dev tools
PLUS
Create a voice- Build responsive Use Protopie to
powered navigation layouts with CSS Grid create interactive
system and Flexbox prototypes
myfavouritemagazines.co.uk
DIGITAL EDITIONS AVAILABLE ON ITUNES, GOOGLE PLAY, KINDLE, NOOK AND ZINIO
net.creativebloq.com