Sunday, June 22

Tag: Web

Web Tricks

Preparing Your App For iOS 12 Notifications

Preparing Your App For iOS 12 NotificationsPreparing Your App For iOS 12 Notifications Kaya Thomas 2018-09-05T13:30:35+02:00 2018-09-06T11:42:22+00:00 In 2016, Apple announced a new extension that will allow developers to better customize their push and local notifications called the UNNotificationContentExtension. The extension gets triggered when a user long presses or 3D touches on a notification whenever it is delivered to the phone or from the lock/home screen. In the content extension, developers can use a view controller to structure the UI of their notification, but there was no user interaction enabled within the view controller — until now. With the r...
Web Tricks

Integrating MongoDB and Amazon Kinesis for Intelligent, Durable Streams

You can build your online, operational workloads atop MongoDB and still respond to events in real time by kicking off Amazon Kinesis stream processing actions, using MongoDB Stitch Triggers. Let’s look at an example scenario in which a stream of data is being generated as a result of actions users take on a website. We’ll durably store the data and simultaneously feed a Kinesis process to do streaming analytics on something like cart abandonment, product recommendations, or even credit card fraud detection. We’ll do this by setting up a Stitch Trigger. When relevant data updates are made in MongoDB, the trigger will use a Stitch Function to call out to AWS Kinesis, as you can see in this architecture diagram: What you’ll need to follow along: An Atlas instance If you don’t already have a...
Web Tricks

Code Challenge #13: Going From ES5 to ES6

Previously on the Scotch Code Challenge, we have solved challenges involving String, Object and Array Manipulation with functional programming patterns. How about we touch up the script in ES6! This week on the Code Challenge we will convert ES5 code to even better and shorter code using ES6 Syntax. ES6 is an update of JavaScrpt which shipped with tons of amazing features to make write JavaScript painless and bug-free! Previously we all used ES5, pretty decent but more prone to leaks and more arduous to write. The Challenge In this challenge, we are required to re-write simple ES5 code to ES6. This challenge focuses on the most common ES6 features utilized. Including: Arrow Functions Enhanced Object Literals Template Literals Destructuring Spread Operation. Five challenges are listed in th...
Web Tricks

Debugging Create React App Applications in Visual Studio Code

In this post, we are going to create an Create React App application, then add configuration to debug it in Visual Studio Code. Watch on YouTube TLDR - For an Create React App application, install the Debugger for Chrome extension, create a debug configuration in VS Code, and then run in debug mode. Learn VS Code If you're interested in learning more about VS Code, you definitely want to check out the upcoming Learn VS Code course. Creating a Starter Project To be able to test an Create React App application, you need an Create React App application :) I'll provide the basic steps, but for more reference on how to get started look at the Create React App page. First, you'll need to install the Create React App. npm install -g create-react-app After that finishes, you'll need to actu...
Web Tricks

Take A New Look At CSS Shapes

Take A New Look At CSS ShapesTake A New Look At CSS Shapes Rachel Andrew 2018-09-04T13:30:57+02:00 2018-09-04T11:38:45+00:00 CSS Shapes Level 1 has been available in Chrome and Safari for a number of years, however, this week it ships in a production version of Firefox with the release of Firefox 62 — along with a very nice addition to the Firefox DevTools to help us work with Shapes. In this article, I’ll take a look at some of the things you can do with CSS Shapes. Perhaps it’s time to consider adding some curves to your designs? What Are CSS Shapes? The CSS Shapes specification Level 1 defines three new properties: shape-outside shape-image-threshold shap...
Streamlining UX with Anticipatory Design
Web Tricks

Streamlining UX with Anticipatory Design

Creating great UX is a primary goal for all product designers. It’s up to the designer to make a process of interaction with a product as simple as possible. Modern products try to achieve simplicity by following a fundamentally different approach called Anticipatory Design. This article is intended to make you familiar with the concept of anticipatory design, as well as share a few excellent examples of how anticipatory design can be used in practice. What is Anticipatory Design? Anticipatory design is a design that delivers what users want before they want it. It can be said that anticipatory design is one step ahead of users. How Does Anticipatory Design Work? Since making a decision requires some cognitive resources, it’s possible to save resources by removing the need to make a decis...
20 Best New Portfolios, September 2018
Web Tricks

20 Best New Portfolios, September 2018

Hello Readers. It’s September, so as soon as your kids are off to school, maybe you can finally have a five-minute power nap. Take that power nap with equal parts gusto and relief, dear Reader. You’ve earned it. Last month, one of you asked for less “ultra-modern” designs, and the design gods have seen fit to provide. We still have some of that ultra-modern goodness — because apparently now that it’s been started, we can’t make it stop — but I managed to find and sprinkle in a few more classic-feeling designs. Enjoy. Note: I’m judging these sites by how good they look to me. If they’re creative and original, or classic but really well-done, it’s all good to me. Sometimes, UX and accessibility suffer. For example, many of these sites depend on JavaScript to display their content at al...
Popular Design News of the Week: August 27, 2018 – September 2, 2018
Web Tricks

Popular Design News of the Week: August 27, 2018 – September 2, 2018

Every week users submit a lot of interesting stuff on our sister site Webdesigner News, highlighting great content from around the web that can be of interest to web designers. The best way to keep track of all the great stories and news being posted is simply to check out the Webdesigner News site, however, in case you missed some here’s a quick and useful compilation of the most popular designer news that we curated from the past week. Note that this is only a very small selection of the links that were posted, so don’t miss out and subscribe to our newsletter and follow the site daily for all the news.   21 CSS Animation Examples   Google is Rolling Out a New Chrome Design Across all OSs Next Month   7 CSS Dividers   Why your Static Websit...
Web Tricks

Build Your First App with React's Context API

One of React's latest features is the Context API. Up until now, Context within React has been somewhat experimental, but still used in quite a few popular libraries, like Redux and React Router. There are plenty of ways to avoid using Context, but sometimes it can be really useful. One really good use case for Context is keeping track of authentication. In fact, React's official documentation for the Context API mentions it can be used for authentication. Context is designed to share data that can be considered "global" for a tree of React components, such as the current authenticated user, theme, or preferred language. The examples in their documentation are helpful, but they don't actually include an example of sharing the authenticated user. I'll show you here how one way to use the ...
A Brief Guide About Competitive Analysis
Web Tricks

A Brief Guide About Competitive Analysis

In this article, I will introduce the subject of competitive analysis, which is basically a method to determine how well your competitors are performing. My aim is to introduce the subject to those of you who are new to the concept. It should be useful if you are new to product design, UX, interaction or digital design, or if you have experience in these fields but have not performed a competitive analysis before. No prior knowledge of the topic is needed because I’ll be explaining what the term means and how to perform a competitive analysis as we go. I am assuming some basic knowledge of the design process and UX research, but I’ll provide plenty of practical examples and reference links to help with any terms and concepts you might be unfamiliar with.   Competitive Analysis,...
How to Launch Your E-Commerce Empire for $100 (or Less)
Web Tricks

How to Launch Your E-Commerce Empire for $100 (or Less)

No, it’s not a clickbait title and yes, starting with $100 can get you an actual running store. In this article I’ll go through every step you need to take to get your store up and running and explain the costs involved. Granted, to keep the costs down you’ll do all the heavy lifting but hey, nothing worthwhile ever comes easy so let’s dive right in… 1. The Product It might feel odd for some that I would go about explaining how to launch a $100 store and start with the product but truth is, the site, domain, logo everything needs to be tailored to fit the product you are trying to sell. The success or failure of your business will rely on your ability to select the correct product and the right market so don’t skip over this step. Here’s a quick way to validate your idea: Go to ...
Web Tricks

Building A Room Detector For IoT Devices On Mac OS

Knowing which room you’re in enables various IoT applications — from turning on the light to changing TV channels. So, how can we detect the moment you and your phone are in the kitchen, or bedroom, or living room? With today’s commodity hardware, there are a myriad of possibilities: One solution is to equip each room with a bluetooth device. Once your phone is within range of a bluetooth device, your phone will know which room it is, based on the bluetooth device. However, maintaining an array of Bluetooth devices is significant overhead — from replacing batteries to replacing dysfunctional devices. Additionally, proximity to the Bluetooth device is not always the answer: if you’re in the living room, by the wall shared with the kitchen, your kitchen appliances should not start churnin...
5 Ways to Cleanse Your Design Palate
Web Tricks

5 Ways to Cleanse Your Design Palate

Much is made of the need for inspiration in design work. While most of a designer’s job is sweating the details, we all still need that little spark to get us going. We need (or at least enjoy having) that one initial idea or concept to get us started on the path to design greatness. And so we binge. We read articles that show off cool things other people have designed, watch videos of new and innovative products being unveiled, and generally seek that spark. The only problem with this process is that in our haste to be inspired, our good ideas can sometimes be obscured by everything else that’s already in our brains. Unless things have gone very wrong, our thoughts generally don’t happen in a vacuum. Our minds are filled to the brim with our daily tasks, our relationships, and most ...
Web Tricks

Announcing Scotch v8! Our Biggest Upgrade Ever

I've been waiting to write this post for a very very very long time. Work on this v8 site started in February of this year. This is version 8 in the 4.5 years we've been in existence. Rebuilding Scotch has always been a fun project for me. Getting to try all the latest and greatest toys in a site. Aside from trying new toys though, here's the main reasons I decided to start another new site: Site speed was slow for international users Since our servers live in New York, we saw site loading speeds of 5-10 seconds. For international users however, they were seeing a 20+ second load time. Unacceptable! Finding content was difficult We now have over 400+ guest authors. We were often publishing these amazing articles and then seeing them get buried down the feed. On top of that, our site searc...
Best Practices For Mobile Form Design
Web Tricks

Best Practices For Mobile Form Design

Best Practices For Mobile Form DesignBest Practices For Mobile Form Design Nick Babich 2018-08-28T16:00:09+02:00 2018-08-28T21:57:21+00:00 (This article is kindly sponsored by Adobe.) Forms are the linchpin of all mobile interactions; it stands between the person and what they're looking for. Every day, we use forms for essential online activities. Recall the last time you bought a ticket, booked a hotel room or made a purchase online — most probably those interactions contained a step with filling out a form. Forms are just a means to an end. Users should be able to complete them quickly and without confusion. In this article, you’ll learn practical technique...