Home/Smashing Magazine
Source

Smashing Magazine

1,392 articles from Smashing Magazine.

Frontend — Using WebXR With Babylon.js — Smashing Magazine

Using WebXR With Babylon.js — Smashing Magazine

In this overview of WebXR technologies and the Babylon.js framework, we’ll embark on a journey through the past, present, and future of mixed reality both on the web and on immersive headsets. We’ll inspect the underpinnings of WebXR and the most important aspects of the WebXR Device API before turning our attention to Babylon.js, a framework for building immersive applications in JavaScript for w

PSPreston SoPreston So·October 9, 2020Frontend
Performance — How To Manage File Uploads In React With Google Storage And GraphQL — Smashing Magazine

How To Manage File Uploads In React With Google Storage And GraphQL — Smashing Magazine

From a user’s profile picture to other media assets, data collection and storage to cloud services through file uploads have become an essential feature for most modern applications. Today, Nwani Victory will show you how to file uploads that can be implemented in a GraphQL application. This article will be beneficial to developers who are interested in or considering using Google Cloud Storage fo

NVNwani VictoryNwani Victory·October 8, 2020Performance
Frontend — Master TypeScript In 50 Short Lessons — Smashing Magazine

Master TypeScript In 50 Short Lessons — Smashing Magazine

Meet our new book, “TypeScript in 50 Lessons”, a deep-dive to understand what TypeScript is, how it works, and how you can make it work for you. With code walkthroughs, hands-on examples and common gotchas. 464 pages. Jump to table of contents and get the book right away.

VFVitaly FriedmanVitaly Friedman·October 7, 2020Frontend
Engineering — Developing For The Semantic Web — Smashing Magazine

Developing For The Semantic Web — Smashing Magazine

The dream of a machine-readable Internet is as old as the Internet itself, but only in recent years has it really seemed possible. The benefits of developing for the Semantic Web are not always immediate, or visible, but every site that does strengthens the foundations of an open, transparent, decentralized internet. As major websites take strides towards data-fying their content, now’s the perfec

FOFrederick O BrienFrederick O Brien·October 7, 2020Engineering
Engineering — Do Website Policy Disclosure Pages Always Have To Be So Ugly? — Smashing Magazine

Do Website Policy Disclosure Pages Always Have To Be So Ugly? — Smashing Magazine

In some instances, privacy policy, terms of use, and cookie consent pages do have to be ugly. But that doesn’t mean you can’t improve upon how easy they are to read or navigate (which visitors will definitely appreciate). Today, we’re going to look at four ways that web designers can contribute to getting more policy disclosure pages read and terms actually agreed to.

SSSuzanne ScaccaSuzanne Scacca·October 6, 2020Engineering
Frontend — Useful Tools In Vue.js Web Development — Smashing Magazine

Useful Tools In Vue.js Web Development — Smashing Magazine

There are some tools that developers that are just getting started with Vue or sometimes, have experience building with Vue sometimes do not know exist to make development in Vue a lot easier. Today, Timi Omoyeni is going to show you a few of these libraries, what they do, and how to use them during development. This tutorial is aimed at beginners that either just started learning about Vue or alr

TOTimi OmoyeniTimi Omoyeni·October 5, 2020Frontend
Frontend — How To Use Face Motion To Interact With Typography — Smashing Magazine

How To Use Face Motion To Interact With Typography — Smashing Magazine

In this article, Edoardo Cavazza will show you how to use face recognition with Tensorflow in order to extract some information from the camera, such as the distance between the screen and user’s face or the amount of people reading the page. Then, we will pass those data to CSS in order to adapt typography and to adjust the page layout.

ECEdoardo CavazzaEdoardo Cavazza·October 2, 2020Frontend
Frontend — Understanding TypeScript Generics — Smashing Magazine

Understanding TypeScript Generics — Smashing Magazine

An introduction to the utilization of Generics in TypeScript with examples grounded in real-world use cases, such as collections, approaches to error handling, the Repository Pattern, and so on. With this article, Jamie Corkhill hopes to provide an intuitive understanding of the notion of software abstraction through Generics.

JCJamie CorkhillJamie Corkhill·October 1, 2020Frontend
Design & UX — 5 Ways Google Analytics Helps Web Developers In UI/UX Design — Smashing Magazine

5 Ways Google Analytics Helps Web Developers In UI/UX Design — Smashing Magazine

Ever wondered what all those Google Analytics code snippets are for and why your marketing team regularly asks you to add a new one? For most web developers, their involvement with Google Analytics ends with just installing the base code for pageviews. In this article, Clara Buenconsejo will look at 5 features in Google Analytics that can help web developers and designers in making a better user e

CBClara BuenconsejoClara Buenconsejo·September 30, 2020Design & UX
Design & UX — Squirrels, Ghosts, And Moonlight: Tales From October (2020 Wallpapers Edition) — Smashing Magazine

Squirrels, Ghosts, And Moonlight: Tales From October (2020 Wallpapers Edition) — Smashing Magazine

Get ready for autumn and the upcoming Halloween season with beautiful and inspiring wallpapers. Created by the community for the community, the wallpapers in this post all come in versions with and without a calendar, so no matter if you want to count down the days to a big deadline or stick with your favorite design after the month has ended, we’ve got you covered. Speaking of favorites: As a lit

CMCosima MielkeCosima Mielke·September 30, 2020Design & UX
Frontend — Unit Testing In React Native Applications — Smashing Magazine

Unit Testing In React Native Applications — Smashing Magazine

Unit testing has become an integral part of the software development process. It is the level of testing at which the components of the software are tested. In this article, Fortune Ikechi will show you the core principles of testing, explore various libraries for testing an application, and see how to test units (or components) of a React Native application. By working with a React Native applica

FIFortune Ikechi·September 29, 2020Frontend
Design & UX — Different Ways To Design Digital Product Pages — Smashing Magazine

Different Ways To Design Digital Product Pages — Smashing Magazine

Digital content (eBooks, stock media and courses) can easily be advertised and sold through online marketplaces. But your clients won’t make as much money that way and really can’t control how their products are marketed. By designing digital product pages for smartphone users who are in that early discovery and research phase, your clients can make more money off of their products. Today, Suzanne

SSSuzanne ScaccaSuzanne Scacca·September 28, 2020Design & UX
Design & UX — Intuitive Design? No Such Thing! — Smashing Magazine

Intuitive Design? No Such Thing! — Smashing Magazine

“Intuitive design” is one of those overused phrases that we as designers hear all too often from stakeholders and their requirements. In this article, Carrie Webster explores what intuitive design actually means, why it doesn’t make sense, how we can better approach design solutions, and what the future of interfaces might look like. It is aimed at user experience designers and anyone interested e

CWCarrie WebsterCarrie Webster·September 25, 2020Design & UX
Engineering — Unexpected Learnings From Coding Artwork Every Day For Five Years — Smashing Magazine

Unexpected Learnings From Coding Artwork Every Day For Five Years — Smashing Magazine

Coding thousands of pieces of artwork teaches you a thing or two about the creative process. Whether you want to overcome perfectionism, learn new skills, or simply explore the playful side of coding, regular projects may be just what you need. In this article, Saskia Freeke will share her thoughts and experience. We hope to yield the inspiration you need to start similar projects of your own.

SFSaskia FreekeSaskia Freeke·September 24, 2020Engineering
Engineering — Simplify Your Stack With A Custom-Made Static Site Generator — Smashing Magazine

Simplify Your Stack With A Custom-Made Static Site Generator — Smashing Magazine

In modern development, there are so many great tools for developing websites, but often they are more than what’s necessary for a given project. Because these tools are built for diverse use cases, they have to have a lot of features. Those features make them powerful. They also make them quite complex and opaque for new developers. In this article, Bryan Robinson will explore how to take a humble

BRBryan RobinsonBryan Robinson·September 23, 2020Engineering
Frontend — A CSS Grid Framework For Shopify Collection Pages — Smashing Magazine

A CSS Grid Framework For Shopify Collection Pages — Smashing Magazine

All pages of a Shopify online store can adopt CSS Grid, but one obvious touchpoint of any e-commerce site that can benefit from a robust and clean grid layout is the collection page. In this article, Liam Griffin will be looking at how to set up a grid layout for products on your collection pages, and how to use Shopify’s section settings to create customizable options in the online store editor.

LGLiam GriffinLiam Griffin·September 22, 2020Frontend
Design & UX — How To Build Rapport With Your Web Design Clients — Smashing Magazine

How To Build Rapport With Your Web Design Clients — Smashing Magazine

Building positive relationships with your clients is the secret ingredient to delivering better work, earning more money, and creating lasting partnerships. In this article, Matt Saunders is going to teach some strategies for managing client communication and processes that have helped him to run less stressful projects and achieve better results, as well as draw upon some best practices to help y

MSMatt SaundersMatt Saunders·September 21, 2020Design & UX
Frontend — Comparing Styling Methods In Next.js — Smashing Magazine

Comparing Styling Methods In Next.js — Smashing Magazine

Among others, [Next.js](https://nextjs.org) has dubbed itself: *The React Framework for Static Websites*. But just like every other framework whose goal is to help you build what matters by abstracting common, redundant tasks, you’re often required to learn something new and opinionated. With Next.js, one of the things you need to know is how to integrate different CSS methods with its API, and th

AAAdebiyi AdedotunAdebiyi Adedotun·September 17, 2020Frontend
Design & UX — Designing For Attention — Smashing Magazine

Designing For Attention — Smashing Magazine

We must effectively design to gain and hold users’ attention in order to have them use our digital products. In this article, Victor Yocco covers specific tactics with supporting research that are bound to help you design for attention. He also discusses the need to understand why we want to gain users’ attention as well as what our users’ needs are.

VVictoryoccoVictoryocco·September 15, 2020Design & UX
Frontend — Animating React Components With GreenSock — Smashing Magazine

Animating React Components With GreenSock — Smashing Magazine

GreenSock Animation Platform (GSAP) is a set JavaScript functions that let you tween a value/attribute/CSS property over time and insert these tweens into a timeline for more complex animations. In this article, Blessing explains how GSAP plays well with the React library by integrating its functions into a React component in building an example landing page with a variety of animations.

BKBlessing KrofeghaBlessing Krofegha·September 14, 2020Frontend
Career & Teams — Smashing Magazine Is Fourteen!

Smashing Magazine Is Fourteen!

This week we celebrate the 14th birthday of Smashing Magazine. We didn’t quite have the year that we planned though! I took a look back at some memories from this year and previous years — with the help of the team and some Smashing friends.

RARachel AndrewRachel Andrew·September 11, 2020Career & Teams
SRE & Ops — An Introduction To Running Lighthouse Programmatically — Smashing Magazine

An Introduction To Running Lighthouse Programmatically — Smashing Magazine

Being able to run Google’s Lighthouse analysis suite programmatically provides a lot of advantages, especially for larger or more complex web applications. Using Lighthouse programmatically allows engineers to set up quality monitoring for sites that need more customization than straightforward applications of Lighthouse (such as Lighthouse CI) allow. This article contains a brief introduction to

KBKaty BowmanKaty Bowman·September 11, 2020SRE & Ops
Engineering — Get Up And Running With Craft CMS — Smashing Magazine

Get Up And Running With Craft CMS — Smashing Magazine

Choosing what CMS to use in your next development project is a critical decision for any business, large or small. In this guide, Jonathan Kelley is going to run through the potential of Craft CMS, setting up a local environment and creating a basic cat blog with an API endpoint to accompany it. It’s a perfect jumping off point for anyone looking to expand from their current CMS system, or make th

JKJonathan KelleyJonathan Kelley·September 10, 2020Engineering
Frontend — How To Build A Blog With Next And MDX — Smashing Magazine

How To Build A Blog With Next And MDX — Smashing Magazine

In this guide, Ibrahima Ndaw will be looking at Next.js, a popular React framework that offers a great developer experience and ships with all of the features you need for production. We will also build a blog, step by step, using Next.js and MDX. Finally, we’ll cover why you would opt for Next.js instead of “vanilla” React and alternatives such as Gatsby.

INIbrahima NdawIbrahima Ndaw·September 9, 2020Frontend
Frontend — How To Automate API Testing With Postman — Smashing Magazine

How To Automate API Testing With Postman — Smashing Magazine

Postman allows you to manually test your APIs in both its desktop and web-based applications. However, it also has the ability for you to automate these tests by writing JavaScript assertions on your API endpoints. In this article, Kelvin Omereshone will learn how to write automated tests on web APIs with Postman. In order to follow along to this tutorial, you’ll need at least a fair amount of fam

KOKelvin OmereshoneKelvin Omereshone·September 7, 2020Frontend
Frontend — Building A Component Library With React And Emotion — Smashing Magazine

Building A Component Library With React And Emotion — Smashing Magazine

A component library helps to keep a design consistent across multiple projects. It ensures consistency because any changes made will propagate across the projects that make use of it. In this tutorial, Ademola Adegbuyi will show you how to build a component library, using Emotion in React to resolve inconsistencies. At the end of this piece, you should be able to create a component library that fi

AAAdemola AdegbuyiAdemola Adegbuyi·September 4, 2020Frontend
Design & UX — 4 Ways To Creatively Use Icons In Your Mobile Apps — Smashing Magazine

4 Ways To Creatively Use Icons In Your Mobile Apps — Smashing Magazine

Icons have long held an important place in the design of mobile apps. But beyond using them to create larger and more attractive touch targets, there are other ways mobile app designers can use these tiny elements to make an app more engaging. This post will explore four ways to do this. Today, Suzanna Scacca will look at a number of ways you can creatively add icons or icon-like elements to your

SSSuzanne ScaccaSuzanne Scacca·September 3, 2020Design & UX
Frontend — Everything Developers Need To Know About Figma — Smashing Magazine

Everything Developers Need To Know About Figma — Smashing Magazine

Figma is a design tool that is rapidly gaining popularity and becoming more common in companies around the world. Unlike most design software, Figma is free and browser-based so developers can easily access the full design files making the developer handoff process significantly smoother. With article, Jurn van Wissen teaches developers who have nothing but a basic understanding of design tools ev

JVJurn Van WissenJurn Van Wissen·September 2, 2020Frontend
Frontend — Building React Apps With Storybook — Smashing Magazine

Building React Apps With Storybook — Smashing Magazine

In this article, Abdulazeez Adeshina will show you what storybook is about and how to use it to build and test React components by building a simple application. He’ll start with a basic example that shows how to work with storybook, then will go ahead to create a storybook for a Table component which will hold students’ data. You should have basic knowledge of React and the use of NPM before proc

AAAbdulazeez AdeshinaAbdulazeez Adeshina·September 1, 2020Frontend
Performance — How To Do More With Vue Router — Smashing Magazine

How To Do More With Vue Router — Smashing Magazine

Vue Router is the official router for Vue that is mostly used for creating multiple pages living on different routes (`/home`, `/profile`) in your application but has some features that some people do not know about. In this tutorial, Timi Omoyeni is going to show you some amazing features the Vue Router has and how we can make use of them in our app. You can find all the code used in this article

TOTimi OmoyeniTimi Omoyeni·August 31, 2020Performance
Design & UX — September In All Its Facets (2020 Wallpapers Edition) — Smashing Magazine

September In All Its Facets (2020 Wallpapers Edition) — Smashing Magazine

New month, new wallpapers! In this post, Cosima Mielke brings you wallpaper designs for September 2020, created with love by the design community for the community. All of them are available in versions with and without a calendar and can be downloaded for free. A big thank-you to everyone who shared their artworks with us — we sincerely appreciate it!

CMCosima MielkeCosima Mielke·August 31, 2020Design & UX
Engineering — Demystifying Django’s Magic — Smashing Magazine

Demystifying Django’s Magic — Smashing Magazine

In this article, Precious Ndubueze will be taking an in-depth look at what Django brings to the table by understanding what the generated files and folder do, this will give us a better understanding of the Django framework. It’s important to know that it will not be possible to take a look at everything happening inside of Django. For cases outside the scope of this tutorial, there will be links

PNPrecious NdubuezePrecious Ndubueze·August 28, 2020Engineering
Engineering — Autonomy Online: A Case For The IndieWeb — Smashing Magazine

Autonomy Online: A Case For The IndieWeb — Smashing Magazine

Nowadays whether you’re consuming or sharing content on the web, it is likely to be via a big website. Twitter, Youtube, or a Facebook-owned service are popular examples. Whilst this gives us the advantage of being able to participate in a larger conversation at almost no monetary cost, there is also the downside of potentially losing all our content if a company closes, as has happened in the pas

ARAna RodriguesAna Rodrigues·August 27, 2020Engineering
Frontend — Using Mobx As A State Manager In React Native Applications — Smashing Magazine

Using Mobx As A State Manager In React Native Applications — Smashing Magazine

MobX is a battle-tested library that makes state management simple and scalable by transparently applying functional reactive programming. It treats your application like a spreadsheet, and it’s one of the many state management tools available to React developers. In this tutorial, Fortune Ikechi is going to show you how to use MobX to manage state in React Native applications by building a React

FIFortune Ikechi·August 26, 2020Frontend
Engineering — How To Create Customer-Centric Landing Pages — Smashing Magazine

How To Create Customer-Centric Landing Pages — Smashing Magazine

Customer needs should be one of the primary considerations when designing a website or landing page. The era of customer-centric landing pages has dawned. And if your job involves being concerned with metrics like conversion, engagement, and bounce-rates, this is a post that you may want to sit straight up for. In this article, Travis Jamison explains why customer-centricity is so important and ho

TJTravis JamisonTravis Jamison·August 25, 2020Engineering
Engineering — How To Build Your Own Comment System Using Firebase — Smashing Magazine

How To Build Your Own Comment System Using Firebase — Smashing Magazine

Ever wanted to have a comments section for your blog, but were overwhelmed by the high cost and maintenance solutions? Firebase can be your savior. In this guide, Aman Thakur will show you how to add a comments section to your blog with Firebase, while learning the basics of Firebase on the way. Let’s build a super-simple comments section.

ATAman ThakurAman Thakur·August 24, 2020Engineering
Design & UX — How To Help Your Clients Get More Backlinks Through Design — Smashing Magazine

How To Help Your Clients Get More Backlinks Through Design — Smashing Magazine

A website earns a backlink whenever another website links to it. But there’s a big difference between a backlink and a high-authority backlink. If an authoritative website links to yours, it can significantly boost your ranking in Google search. And this is why backlinks are so highly sought after in marketing… and why web designers should have this on their radar as they design websites for clien

SSSuzanne ScaccaSuzanne Scacca·August 21, 2020Design & UX
Performance — Forms And Validation In Ionic React — Smashing Magazine

Forms And Validation In Ionic React — Smashing Magazine

Ionic Framework provides first-class support for building fast and mobile-optimized applications for any platform using React. In this tutorial, Jerry Navi will show you how to build forms using Ionic React’s UI input components in this tutorial. You will also learn how to use a library to help with detecting form input changes and responding to validation rules. Finally, you will learn to make yo

JNJerry NaviJerry Navi·August 20, 2020Performance
Databases — Setting Up An API Using Flask, Google’s Cloud SQL And App Engine — Smashing Magazine

Setting Up An API Using Flask, Google’s Cloud SQL And App Engine — Smashing Magazine

Flask makes it possible for developers to build an API for whatever use case they might have. In this tutorial, Wole Oyekanmi will show you how to set up Google Cloud, Cloud SQL, and App Engine to build a Flask API. (Cloud SQL is a fully managed platform-as-a-service (PaaS) database engine, and App Engine is a fully managed PaaS for hosting applications.)

WOWole OyekanmiWole Oyekanmi·August 19, 2020Databases
Design & UX — Inspired Design Decisions With Bradbury Thompson: The Art Of Graphic Design — Smashing Magazine

Inspired Design Decisions With Bradbury Thompson: The Art Of Graphic Design — Smashing Magazine

After 12 inspiring articles, Andy Clarke draws his Inspired Design Decisions series to a close by explaining how studying the work of Bradbury Thompson — one of the masters of 20th Century graphic — will teach you how to combine graphic and typographical elements with innovative layouts to create stunning designs for the web. In this final article, Andy brings together lessons from all his previou

ACAndy ClarkeAndy Clarke·August 18, 2020Design & UX
Frontend — Mastering Props And PropTypes In React — Smashing Magazine

Mastering Props And PropTypes In React — Smashing Magazine

Props and PropTypes are an important mechanism for passing information between React components, and we’re going to look into them in great detail here. This tutorial will introduce you to the details about props, passing and accessing props, and passing information to any component using props. However, it’s always a good practice to validate the data we are getting through props by using PropTyp

ADAdeneye David AbiodunAdeneye David Abiodun·August 17, 2020Frontend
Design & UX — Community Resources, Weekly Newsletter, And Boosting Skills Online — Smashing Magazine

Community Resources, Weekly Newsletter, And Boosting Skills Online — Smashing Magazine

Alongside our guides, printed books, eBooks and printed magazine, we’re thrilled to have yet another addition to our smashingly cherished gems: meet our brand new [Interface Design Patterns Checklists](https://www.smashingmagazine.com/2020/08/checklist-cards-release/). Co-founder of Smashing Magazine, Vitaly Friedman, has been collecting, curating and refining each checklist for years — we’re conv

ILIris LjesnjaninIris Ljesnjanin·August 14, 2020Design & UX
Engineering — A Smashing Guide To The World Of Search Engine Optimization — Smashing Magazine

A Smashing Guide To The World Of Search Engine Optimization — Smashing Magazine

SEO is an ever-changing world. Blink and you’ll miss the latest best practices, thought leaders, and tools. Feeling out of touch is natural. Every tweak to major search engine algorithms sends shockwaves throughout the web. For those who don’t follow the SEO space it can be easy to lose track of the latest trends, authorities, and resources. That’s what this page is for. It will break down SEO’s h

FOFrederick O BrienFrederick O Brien·August 14, 2020Engineering
Performance — Accessibility In Chrome DevTools — Smashing Magazine

Accessibility In Chrome DevTools — Smashing Magazine

In this article, Umar Hansa will demonstrate some useful features in DevTools which can help you improve the accessibility of your website. For many websites, things like performance and accessibility are an afterthought. But as web developers, it’s best to strive to create the best possible experience we can for our users, regardless of their abilities. This article uses Google Chrome since it’s

UHUmar HansaUmar Hansa·August 13, 2020Performance
Engineering — 4 Lessons Web App Designers Can Learn From Google — Smashing Magazine

4 Lessons Web App Designers Can Learn From Google — Smashing Magazine

The first place Suzanne Scacca goes to whenever she’s curious about what more could be done to improve our users experiences is the Google Developers site or Think with Google to pull the latest consumer data. There’s a reason why Google dominates market share for things like search engines, web browsers, email clients and cloud storage services. It knows exactly what consumers want and it has des

SSSuzanne ScaccaSuzanne Scacca·August 12, 2020Engineering
Frontend — How To Configure Application Color Schemes With CSS Custom Properties — Smashing Magazine

How To Configure Application Color Schemes With CSS Custom Properties — Smashing Magazine

Splitting colors into three levels (palette, functional, and component) can help you be more adaptive to changes and new requirements while working on a project. In this article, Artur Basak introduces a modern approach on how to set up CSS Custom Properties that respond to the application colors. The idea of dividing colors into three levels can be quite useful: a palette (or scheme), functional

ABArtur BasakArtur Basak·August 11, 2020Frontend
Frontend — Better Error Handling In NodeJS With Error Classes — Smashing Magazine

Better Error Handling In NodeJS With Error Classes — Smashing Magazine

You can get by in NodeJS without properly handling errors but due to the asynchronous nature of NodeJS, improper handling or errors can cause you pain soon enough. This article is for JavaScript and NodeJS developers who want to improve error-handling in their applications. Kelvin Omereshone explains the `error` class pattern and how to use it for a better, more efficient way of handling errors ac

KOKelvin OmereshoneKelvin Omereshone·August 10, 2020Frontend
Frontend — A Practical Guide To Product Tours In React Apps — Smashing Magazine

A Practical Guide To Product Tours In React Apps — Smashing Magazine

Showcasing new product features to users or familiarizing them with some UI functionality in a web app can get tedious, especially when you want users to see a lot of things. In the following guide, BLessing Krofegha will show you how to proactively use product tours to onboard users into a new and complex UX, and how to familiarize them with UI functionality without boring them, using a typical R

BKBlessing KrofeghaBlessing Krofegha·August 6, 2020Frontend
Performance — Creating A Static Blog With Sapper And Strapi — Smashing Magazine

Creating A Static Blog With Sapper And Strapi — Smashing Magazine

You might be wondering, “Why should I use this instead of the alternatives?” Sapper is based on Svelte, which is known for its speed and relatively small bundle size. In a world where performance plays a huge role in determining an effective user experience, we want to optimize for that. In this article, Daniel Madalitso Phiri will take you through how to build a Svelte-powered static blog with Sa

DMDaniel Madalitso PhiriDaniel Madalitso Phiri·August 5, 2020Performance