Home/Smashing Magazine
Source

Smashing Magazine

1,379 articles from Smashing Magazine.

Systems — How To Build Your Own Mouseless Development Environment — Smashing Magazine

How To Build Your Own Mouseless Development Environment — Smashing Magazine

Building a development environment with the shell as a keystone offers multiple benefits. You can use tools that fit nicely with each other, you can customize everything depending on your own needs, and the biggest of all, you can control your entire development environment with your keyboard. This can save a lot of cognitive energy as well as deliver a pleasant user experience.

MCMatthieu CneudeMatthieu Cneude·September 21, 2021Systems
Engineering — How Web Development Tools Are Helping Users Keep Pace With Rapid Change — Smashing Magazine

How Web Development Tools Are Helping Users Keep Pace With Rapid Change — Smashing Magazine

The last 18 months have been a time of unprecedented turbulence. As the people of the world have flooded online, businesses have joined them, using web development tools to adapt in real-time. Several years ago there seemed to be a gulf between drag-and-drop tools and full-blown web development. Today, it’s heartening to see the likes of Wix adding more code-heavy options to their repertoire.

FOFrederick O BrienFrederick O Brien·September 21, 2021Engineering
Engineering — Are Imposter Domains Re-Publishing Your Website? — Smashing Magazine

Are Imposter Domains Re-Publishing Your Website? — Smashing Magazine

In the right circumstances, your web analytics or real user measurement data can offer visibility into the world of imposter domains, used by web scrapers to re-publish your site content on their servers. Content scraping is a fact of life on the Internet. When you think of web scraping, you probably do not think about the scrapers turning around and immediately serving your entire, whole page con

KHKen HarkerKen Harker·September 20, 2021Engineering
Career & Teams — Reasons To Build A CRM-Powered Website For Your Business — Smashing Magazine

Reasons To Build A CRM-Powered Website For Your Business — Smashing Magazine

Neglecting to cater your business website to your customers is not only detrimental to your sales but can also hurt your team’s productivity and operations. Integrating a CRM with your business website has numerous benefits. You equip various departments within your company with tools to organize and automate work and improve efficiency. In this article, Zara Cooper explains what these benefits ar

ZCZara CooperZara Cooper·September 16, 2021Career & Teams
Performance — Reducing The Need For Pseudo-Elements — Smashing Magazine

Reducing The Need For Pseudo-Elements — Smashing Magazine

Front-end development is exciting and fast-moving. With newer CSS properties, we can brush the dust off our old techniques and give them another look. For years, pseudo-elements have faithfully helped front-end developers implement creative designs. While they still have an important place, we can now leave pseudo-elements behind in some scenarios, thanks to newer CSS properties.

MMMarcel MoreauMarcel Moreau·September 15, 2021Performance
Engineering — The Power Of Pen And Paper Sketching — Smashing Magazine

The Power Of Pen And Paper Sketching — Smashing Magazine

When designing for digital spaces, it’s natural to default to digital mockup tools, but doing so cuts out a world of possibilities. Analog drawing can unleash your imagination and allow you to focus on what’s most important at the start: the ideas.

TOTracy OsbornTracy Osborn·September 14, 2021Engineering
Frontend — Orchestrating Complexity With Web Animations API — Smashing Magazine

Orchestrating Complexity With Web Animations API — Smashing Magazine

There are way too many options in Web Animations API to pick them up that easily. There’s no middle ground between simple transitions and complex animations. You’re either fine with what CSS Transitions and Animations provide or you suddenly need all the power you can get. Learning how timing works and how to control the playback of several animations at once makes for a solid foundation on which

KMKirill MyshkinKirill Myshkin·September 13, 2021Frontend
Languages — Web Design Done Well: Excellent Editorial — Smashing Magazine

Web Design Done Well: Excellent Editorial — Smashing Magazine

For better or worse, the web is absolutely awash with content. A lot of it is great, a lot of it is not. A lot of the talk around it has the cold, calculating cadence you’d sooner expect from industrialists talking about assembly lines. They say content is king, and they’re right. The web has unlocked untold possibilities for storytellers — provided the story is right, of course. Here are some of

FOFrederick O BrienFrederick O Brien·September 10, 2021Languages
Performance — Using SWR React Hooks With Next.js’ Incremental Static Regeneration (ISR) — Smashing Magazine

Using SWR React Hooks With Next.js’ Incremental Static Regeneration (ISR) — Smashing Magazine

When paired with ISR and Next.js’ API routes, SWR can be used to create a responsive user experience. In this article, Sam Poder explains what SWR is, where to use it (and where not), and how to build a website by using Incremental Static Regeneration. This approach ensures that users still have a good experience, that the site is fast and that the data is kept up to date.

SPSam PoderSam Poder·September 9, 2021Performance
Frontend — Developer Decisions For Building Flexible Components — Smashing Magazine

Developer Decisions For Building Flexible Components — Smashing Magazine

Being able to look past the apparent simplicity, break down a component into its constituent parts, ask key questions, and even consider future uses, are all skills that will serve any developer well when building websites In this article, we’ll walk through the process of taking a seemingly simple design for a text-and-media component and deciding how best to translate it into code, keeping in mi

MBMichelle BarkerMichelle Barker·September 8, 2021Frontend
Frontend — What’s New With DevTools: Cross-Browser Edition — Smashing Magazine

What’s New With DevTools: Cross-Browser Edition — Smashing Magazine

Learn what’s new with developer tools in Firefox, Edge, Chrome and Safari. Discover new and powerful features that will help you be more comfortable and productive when testing and debugging across browsers. With this article, Patrick Brosset tries to make you want to try them out, and maybe will help you get more comfortable next time you need to debug a browser-specific issue.

PPatrickbrossetPatrickbrosset·September 7, 2021Frontend
Networking — HTTP/3: Practical Deployment Options (Part 3) — Smashing Magazine

HTTP/3: Practical Deployment Options (Part 3) — Smashing Magazine

After almost five years in development, the new HTTP/3 protocol is nearing its final form. In this part 3, Robin Marx will look at how to practically use and deploy QUIC and HTTP/3, by looking at most best practices and lessons learned from HTTP/2. You’ll discuss that it might take a while before off-the-shelf web server packages provide full HTTP/3 support, and how most major browsers have HTTP/3

RMRobin MarxRobin Marx·September 6, 2021Networking
Engineering — Reducing Carbon Emissions On The Web — Smashing Magazine

Reducing Carbon Emissions On The Web — Smashing Magazine

Websites, unfortunately, aren’t as environmentally friendly as we might like them to be. In this article, Berwyn Powell takes a look at his experience in trying to make websites better for the environment. Hopefully, this will give you some ideas for things to try on your own websites. It can be quite disheartening to run a page through the Website Carbon Calculator and be told that it could be em

BBezpowell·September 3, 2021Engineering
Databases — Interactive Learning Tools For Front-End Developers — Smashing Magazine

Interactive Learning Tools For Front-End Developers — Smashing Magazine

There are plenty of interactive ways to learn new web development skills. We learn better by playing games. So we’ve collected interactive coding tools and games to help you learn CSS, JavaScript, SQL, React, Vim, regular expressions, Jamstack and pretty much everything in-between. Louis shares a comprehensive, categorized list of such tools covering a variety of different development technologies

LLLouis LazarisLouis Lazaris·September 2, 2021Databases
Frontend — A Deep Dive Into The Wonderful World Of SVG Displacement Filtering — Smashing Magazine

A Deep Dive Into The Wonderful World Of SVG Displacement Filtering — Smashing Magazine

What exactly is a displacement filter? In this article, Dirk Weber will be diving into one of the most spectacular filter effects: the SVG feDisplacementMap filter primitive. In order to make it all easier to digest, Dirk has divided the article into three parts in which you’ll be exploring how the feDisplacementMap works, methods to create fancy displacement maps in SVG, and methods to animate th

DWDirk WeberDirk Weber·September 1, 2021Frontend
Frontend — State Management In Next.js — Smashing Magazine

State Management In Next.js — Smashing Magazine

By combining some React APIs, we can accurately manage “simple” states. With Next.js though, we can quickly find situations where we need to accommodate many other requirements. This article is intended to be used as a primer for managing complex states in a Next.js app. These strategies should fit the vast majority of apps around with little to no adjustments. Let’s have a look at some patterns t

AFAtila FassinaAtila Fassina·August 31, 2021Frontend
Performance — Refactoring CSS: Optimizing Size And Performance (Part 3) — Smashing Magazine

Refactoring CSS: Optimizing Size And Performance (Part 3) — Smashing Magazine

Refactored codebase should result in similar or improved performance and improved codebase health. After all, if deploying the refactored codebase causes loading or performance issues, it will result in less traffic and revenue. Luckily, there are many optimization techniques we can apply to tackle potential file size and performance issues.

ABAdrian BeceAdrian Bece·August 30, 2021Performance
Frontend — Compound Components In React — Smashing Magazine

Compound Components In React — Smashing Magazine

A compound component is one of the advanced patterns of React which makes use of an interesting way to communicate the relationship between UI components and share implicit state by leveraging an explicit parent-child relationship. In this article, Ichoku Chinoso will show you one of the advanced patterns of React which is the compound component pattern. It’s an awesome method to build reusable co

ICIchoku ChinonsoIchoku Chinonso·August 27, 2021Frontend
Engineering — Pushing Back Against Privacy Infringement On The Web — Smashing Magazine

Pushing Back Against Privacy Infringement On The Web — Smashing Magazine

As a community, we can each work to improve our own little corners of the Web. But, collectively, we can do better. We can improve the Web and make it a better platform for privacy. The Web is still wrestling with issues we take for granted offline, privacy chief among them. These are steps The New York Times took to protect users’ data, and how you can too.

RBRobin BerjonRobin Berjon·August 26, 2021Engineering
Performance — Creating A Public/Private Multi-Monorepo For PHP Projects — Smashing Magazine

Creating A Public/Private Multi-Monorepo For PHP Projects — Smashing Magazine

There is no “best” solution, only solutions that might work better depending on the context. The multi-monorepo approach is not suitable to every kind of project or team. In this article, Leonardo explains how to use a "multi-monorepo" approach for making the development experience faster, yet keeping your PHP packages private. This solution can be especially beneficial for PRO plugin creators.

LLeonardolosovizLeonardolosoviz·August 25, 2021Performance
Engineering — How To Automate Documentation Workflow For Developers — Smashing Magazine

How To Automate Documentation Workflow For Developers — Smashing Magazine

In a world that is increasingly going remote, prioritizing good documentation and good documentation workflow is important. In this article, you’ll learn how to save hours of tedious work of writing, updating, and correcting technical documentation. In this article, you will learn how to automate your documentation workflow with Vale and GitHub Actions.

PBPortia BurtonPortia Burton·August 24, 2021Engineering
Performance — HTTP/3: Performance Improvements (Part 2) — Smashing Magazine

HTTP/3: Performance Improvements (Part 2) — Smashing Magazine

After almost five years in development, the new HTTP/3 protocol is nearing its final form. In this second part, Robin Marx will zoom in on the performance improvements that QUIC and HTTP/3 bring to the table for web-page loading. We will, however, also be somewhat skeptical of the impact we can expect from these new features in practice.

RMRobin MarxRobin Marx·August 23, 2021Performance
Engineering — Jamstack CMS: The Past, The Present and The Future — Smashing Magazine

Jamstack CMS: The Past, The Present and The Future — Smashing Magazine

The story of Jamstack CMSs goes all the way back to the 90s. Over the years, there have been many different approaches and evolutions of static and Jamstack CMSs. In this article, Mike Neumegen will take a trip down memory lane to see how we got to the modern Jamstack CMSs we have today, and where they’re heading in the next decade.

MMikeneumegen·August 20, 2021Engineering
Engineering — How To Build An Ethical User Research Practice At Any Organization — Smashing Magazine

How To Build An Ethical User Research Practice At Any Organization — Smashing Magazine

Ethical user research isn’t only the right thing to do but it makes good business sense. Principles of ethical conduct guide our decision-making, keeping us out of trouble and holding us accountable to our users and society. Through a simple step-by-step approach, you can build an ethical practice within your organization that will ensure you’re respecting the dignity and welfare of your research

DHDevin HaroldDevin Harold·August 19, 2021Engineering
Frontend — Free Open-Source Icons — Smashing Magazine

Free Open-Source Icons — Smashing Magazine

Your project is on a tight budget? We’ve collected some wonderful, free icons and goodies that we’ve discovered lately and that are bound to give your design the finishing touch. We’ve also just recently covered [Figma plugins](https://www.smashingmagazine.com/2021/08/figma-tools-plugins-resources/), [SVG generators](https://www.smashingmagazine.com/2021/03/svg-generators/), [accessible front-end

CMCosima MielkeCosima Mielke·August 17, 2021Frontend
Engineering — How To Develop Your Business’ Technology Roadmap — Smashing Magazine

How To Develop Your Business’ Technology Roadmap — Smashing Magazine

Software development without a roadmap is akin to driving off a cliff — an undertaking that seriously jeopardizes your product’s life. What is a business technology roadmap, and how can one be developed to support software development? That’s what we’re here to talk about. Here’s how to develop a business technology roadmap that ensures your project safely reaches its final destination.

CMCache MerrilCache Merril·August 16, 2021Engineering
Performance — Useful Figma Plugins And Tools — Smashing Magazine

Useful Figma Plugins And Tools — Smashing Magazine

Useful Figma plugins that will help you fix all the little slowdowns and boost your productivity. From color management and image assets to SVG shapes and animation. Whether you’re just starting out with Figma or have been using it for a good while now, this post will give you just enough pointers to make your design process faster and smoother.

JJJanet JohnJanet John·August 12, 2021Performance
Frontend — New Smashing Workshops on Front-End & Design — Smashing Magazine

New Smashing Workshops on Front-End & Design — Smashing Magazine

How do we build and establish a successful, bulletproof design system? What’s the state of HTML Email? And what are new, smart interface design patterns we could use? Let’s find out. With our [brand new online workshops](https://smashingconf.com/online-workshops/) on front-end & design — to help us all boost skills online.

ILIris LjesnjaninIris Ljesnjanin·August 11, 2021Frontend
Security — Handling Mounting And Unmounting Of Navigation Routes In React Native — Smashing Magazine

Handling Mounting And Unmounting Of Navigation Routes In React Native — Smashing Magazine

Often you need two different sets of navigation stacks for pre and post user authentication. Usually, to see more content, you have to be authenticated in some way. In many Apps, authentication is one of the most important parts because it confirms that the person trying to gain access to protected content has the right to access the information. Learning how to do it right is an important step in

DDDaniel DonDaniel Don·August 11, 2021Security
Performance — HTTP/3 From A To Z: Core Concepts — Smashing Magazine

HTTP/3 From A To Z: Core Concepts — Smashing Magazine

After almost five years in development, the new HTTP/3 protocol is nearing its final form. Earlier iterations were already available as an experimental feature, but you can expect the availability and use of HTTP/3 proper to ramp up over in 2021. So what exactly is HTTP/3? Why was it needed so soon after HTTP/2? How can or should you use it? And especially, how does it improve web performance? Let

RMRobin MarxRobin Marx·August 9, 2021Performance
Design & UX — Usability Pitfalls of Disabled Buttons, and How To Avoid Them — Smashing Magazine

Usability Pitfalls of Disabled Buttons, and How To Avoid Them — Smashing Magazine

How can we make disabled buttons more inclusive? When do they work well, and when do they fail on us? And finally, when do we actually need them, and how can we avoid them? In this article, Vitaly Friedman will take a look to common usability issues with disabled buttons, how to fix these issues and when disabling buttons actually makes sense. We’ll start from the beginning, looking into when disa

VFVitaly FriedmanVitaly Friedman·August 5, 2021Design & UX
Performance — React Children And Iteration Methods — Smashing Magazine

React Children And Iteration Methods — Smashing Magazine

In this article, we’ll discuss and learn about the use case of iterating over React `children` and the ways to do it. In particular, we will deep dive into one of the utility methods, `React.Children.toArray`, that React gives us, which helps to iterate over the children in a way which ensures performance and determinism.

AVArihant VermaArihant Verma·August 4, 2021Performance
Frontend — How To Build Resilient JavaScript UIs — Smashing Magazine

How To Build Resilient JavaScript UIs — Smashing Magazine

Embracing the fragility of the web empowers us to build UIs capable of adapting to the functionality they can offer, whilst still providing value to users. The User Experience (UX) doesn’t need to be all or nothing — just what is usable. This premise, known as graceful degradation allows a system to continue working when parts of it are dysfunctional — much like an electric bike becomes a regular

CHCallum HartCallum Hart·August 3, 2021Frontend
Frontend — Refactoring CSS: Strategy, Regression Testing And Maintenance (Part 2) — Smashing Magazine

Refactoring CSS: Strategy, Regression Testing And Maintenance (Part 2) — Smashing Magazine

After analyzing CSS and its weaknesses, and management giving a green light to the refactoring project, it’s time to get to work. A team needs to agree on the internal code standards and best practices, plan out the refactoring strategy, and outline individual tasks. We need to set up a visual regression testing suite, and a maintenance plan to enforce the new standards and best practices in the f

ABAdrian BeceAdrian Bece·August 2, 2021Frontend
Frontend — How To Build An E-Commerce Site With Angular 11, Commerce Layer And Paypal — Smashing Magazine

How To Build An E-Commerce Site With Angular 11, Commerce Layer And Paypal — Smashing Magazine

Having an e-commerce store is crucial for any store owner as more and more customers are turning to online shopping. In this article, Zara Cooper will cover how to build an e-commerce store using Angular 11. You shall use Commerce Layer as our headless e-commerce API. Although there may be tonnes of ways to process payments, she’ll demonstrate how to use just one, Paypal.

ZCZara CooperZara Cooper·July 30, 2021Frontend
Frontend — There Is No Such Thing As A CSS Absolute Unit — Smashing Magazine

There Is No Such Thing As A CSS Absolute Unit — Smashing Magazine

What are absolute units? What are the differences between relative and absolute units, and how do we create accurate sizes on the web? It’s important to note that there are still significant differences between relative and absolute units. CSS relative units are sized according to other style definitions defined by parent elements or are affected by the size of a parent container. As for absolute

ESElad ShechterElad Shechter·July 29, 2021Frontend
Frontend — Creating An Accessible Dialog From Scratch — Smashing Magazine

Creating An Accessible Dialog From Scratch — Smashing Magazine

Dialogs are everywhere in modern interface design (for good or for bad), and yet many of them are not accessible to assistive technologies. In this post, Kitty Giraudel is going to write a small JavaScript library for authoring accessible dialogs from the very beginning. The goal is to understand what goes into it. She’s not going to deal with styling too much, just the JavaScript part.

KGKitty GiraudelKitty Giraudel·July 28, 2021Frontend
Frontend — Global vs. Local Styling In Next.js — Smashing Magazine

Global vs. Local Styling In Next.js — Smashing Magazine

Next.js has strong opinions about how to organize JavaScript but not CSS. How can we develop patterns that encourage best CSS practices while also following the framework’s logic? The answer is surprisingly simple — to write well-structured CSS that balances global and local styling concerns. In this article, Alexander Dubovoy will build a website (a tea shop!) to demonstrate these patterns.

ADAlexander DubovoyAlexander Dubovoy·July 27, 2021Frontend
Frontend — Gatsby Serverless Functions And The International Space Station — Smashing Magazine

Gatsby Serverless Functions And The International Space Station — Smashing Magazine

Gatsby recently announced the launch of “functions”. In this article, Paul Scanlon explains how to get the current location of the International Space Station (ISS) as it orbits the Earth in real-time using [Gatsby Functions](https://www.gatsbyjs.com/docs/reference/functions/) and then display it on a 3D interactive globe using [React Three Fibre](https://github.com/pmndrs/react-three-fiber).

PSPaul ScanlonPaul Scanlon·July 26, 2021Frontend
AI & ML — A Guide To Attracting Clients To Your Agency — Smashing Magazine

A Guide To Attracting Clients To Your Agency — Smashing Magazine

Word-of-mouth recommendation is an incredibly desirable way to win work. It requires zero marketing efforts and typically converts at a higher rate as your agency has been recommended. However, you should never rely on word of mouth alone. Many web design agencies consider it a badge of honor that they win work exclusively through word-of-mouth recommendations. In this article, Paul Boag explains

PBPaul BoagPaul Boag·July 23, 2021AI & ML
Engineering — Adding Time To Your Schedule As A Professional — Smashing Magazine

Adding Time To Your Schedule As A Professional — Smashing Magazine

Are you running a business and have too many things going on at once? Meetings, bugs, customer feedback, new clients in addition to your already tight deadlines? Let’s face it, time management is hard, and it becomes even more difficult in the trying times we are in. Here’s how tools like [Trafft](https://trafft.com) that have meeting scheduling software capabilities can be used to easily set up o

MTMatthew TalebiMatthew Talebi·July 22, 2021Engineering
Frontend — Color Tools And Resources — Smashing Magazine

Color Tools And Resources — Smashing Magazine

Do you need a little inspiration boost? We’ve collected some useful color tools and resources that we’ve discovered lately — to help you get the most out of your creativity. We’ve also just recently covered [CSS auditing tools](https://www.smashingmagazine.com/2021/03/css-auditing-tools/), [CSS generators](https://www.smashingmagazine.com/2021/03/css-generators/), [accessible front-end components]

CMCosima MielkeCosima Mielke·July 21, 2021Frontend
Engineering — How To Migrate From WordPress To A Headless CMS — Smashing Magazine

How To Migrate From WordPress To A Headless CMS — Smashing Magazine

In this article, Alba Silvente will take a look at when it makes sense to migrate from a monolithic project to a headless setup and the benefits that come with it. In addition to a step-by-step guide on how to migrate WordPress to Storyblok Headless CMS, the problems that will arise during the process and how to deal with them.

ASAlba SilventeAlba Silvente·July 20, 2021Engineering
Architecture — Maintaining End-To-End Quality With Visual Testing — Smashing Magazine

Maintaining End-To-End Quality With Visual Testing — Smashing Magazine

A critical part of any developer’s workflow is definitely testing. It helps us to ensure that our project is going to maintain a high level of quality, as well as prevent any pesky bugs from getting out into the wild. By adding visual elements to your tests, you can gain more options to add meaningful ways in maintaining a high level of quality for your app. In this article, Colby Fayock explains

CFColby FayockColby Fayock·July 19, 2021Architecture
Performance — You Can Do That With A JavaScript Data Grid? — Smashing Magazine

You Can Do That With A JavaScript Data Grid? — Smashing Magazine

Data grids need to be easy to understand, engaging, responsive, and accessible. They need to perform well and load data fast. However, building a data grid that meets these standards from scratch can take a long time and be a huge undertaking. In this article, you’ll get to see some pretty groundbreaking things you can achieve with modern JavaScript grids. You’ll learn how these data tables solve

ZCZara CooperZara Cooper·July 15, 2021Performance
Engineering — Designing Filters That Work: Best Practices and Guidelines — Smashing Magazine

Designing Filters That Work: Best Practices and Guidelines — Smashing Magazine

Too often the filtering experience on the web is broken and frustrating, making it just unnecessarily difficult for customers to get to that shiny comfortable range of relevant results. When designing the next filter, take a look at some of the common issues that you might want to avoid, and hopefully avoid all the frustration that comes from broken and inaccessible implementations.

VFVitaly FriedmanVitaly Friedman·July 14, 2021Engineering
Performance — Building A Dynamic Header With Intersection Observer — Smashing Magazine

Building A Dynamic Header With Intersection Observer — Smashing Magazine

Have you ever needed to build a UI where some component on the page needs to respond to elements as they’re scrolled to a certain threshold within the viewport — or perhaps in and out of the viewport itself? In JavaScript, attaching an event listener to constantly fire a callback on scroll can be performance-intensive, and if used unwisely, can make for a sluggish user experience. But there is a b

MBMichelle BarkerMichelle Barker·July 13, 2021Performance
Frontend — How To Migrate From jQuery To Next.js — Smashing Magazine

How To Migrate From jQuery To Next.js — Smashing Magazine

There are many scenarios where we don’t need to follow the architecture that frameworks like React or Next.js impose on us, and that is OK. However, jQuery is a library that contains a lot of code and features that are not needed anymore. In this article, Facundo Giuliani will take a closer look at different approaches and strategies on how you can migrate a web application that uses jQuery framew

FGFacundo GiulianiFacundo Giuliani·July 13, 2021Frontend
Performance — Refactoring CSS: Introduction (Part 1) — Smashing Magazine

Refactoring CSS: Introduction (Part 1) — Smashing Magazine

In this three-part series, Adrian Bece is going to go through the CSS refactor process from the beginning to the end, starting with knowledge on how to approach it and some general pros and cons of refactoring, then moving onto the refactoring strategies themselves and ending with some general best practices on CSS file size and performance. CSS refactoring is not an easy task — it needs to be don

ABAdrian BeceAdrian Bece·July 12, 2021Performance