tech/webdev magazine

August 31, 2020

Add Social Login to Ionic Apps

Monday, August 31, 2020 Teklinks

Apple announced a Sign in with Apple service at its WWDC developer conference in June 2019. If you're familiar with social login with Google or Facebook, it's very similar. Most of these identity services use OAuth and OpenID Connect (OIDC), and Apple's implementation is similar.

Full article

The Strong Game of Developer To Entrepreneur

Monday, August 31, 2020 Teklinks

The title of CEO/Founder seems cool but it's all about burning our hands and heads by Hustling. It's not like a general race where once you run quick and finish before anyone else and win the game. To be honest, entrepreneurship is like slowly moving with high efforts for success.

Full article

August 30, 2020

Postgres Full Text Search

Sunday, August 30, 2020 Teklinks

In today’s post we will look at how PostgreSQL Full Text Search functionalities can be used to retrieved ranked documents. We’ll start by looking at the basics of matching documents, then we’ll move on to how we can define indexes for performance improvement and we’ll end by looking at weights and ranking.

Full article

How to Get Started and Use tmux

Sunday, August 30, 2020 Teklinks

tmux, short for terminal multiplexer, is a command line utility that makes working from the terminal much easier. It allows you to split your terminal window into many panes, which will persist across multiple SSH sessions.

Full article

August 27, 2020

A tale of webpage speed, or throwing away React #

Thursday, August 27, 2020 Teklinks

Back in 2011, I happened to get a job writing Backbone.js app. If you never did that, don’t. I was complaining about difficulties with composition left and right to whoever would listen. As I started digging into alternatives for the front-end, I discovered FRP and Flapjax, and ClojureScript.

Full article

What Does Webpack Do, and How Do I Use It for My Website?

Thursday, August 27, 2020 Teklinks

Webpack is a utility that can bundle your JavaScript files together. This allows you to be more organized and productive, and also allows the use of preprocessed languages like SASS and TypeScript. Imagine you’ve been working on a website with a lot of custom JavaScript.

Full article

Docker best practices with Node.js

Thursday, August 27, 2020 Teklinks

Collected, curated and written by: Yoni Goldberg, Bruno Scheufler, Kevyn Bruyere and Kyle Martin Welcome to our comprehensive list of Docker best practices that are exemplified under the realm of Node.js. Note that each and every bullet has a link to detailed information and code examples.

Full article

⚛️ 🚀 React Component Patterns

Thursday, August 27, 2020 Teklinks

This documentation will help identify the trade-offs of the different React patterns and when each pattern would be most appropriate. The following patterns will allow for more useful and reusable code by adhering to design principles like separation of concern, DRY, and code reuse.

Full article

August 25, 2020

Creating A Static Blog With Sapper And Strapi

Tuesday, August 25, 2020 Teklinks

In this tutorial, we will build a statically generated minimal blog with Sapper, a Svelte-based progressive JavaScript framework, for our front end, and then use Strapi, an open-source headless content management system (CMS), for the back end of our application. This tutorial is aimed at intermediate front-end developers, specifically those who want the versatility of a headless CMS, like Strapi, as well as the minimal structure of a JavaScript framework, like Sapper. Feel free to try out the demo or check out the source code on GitHub.

Full article

August 23, 2020

AWS S3 Pricing Explained: Tiered Storage Can Save You Money

Sunday, August 23, 2020 Teklinks

S3 is Amazon’s primary storage service for hosting media files and other large objects. Like most AWS services, the pricing model is quite complicated, so we’re here to explain how it works. The exact prices of AWS services may vary by region, and may change over time.

Full article

How to Customize the Apple CarPlay Screen

Sunday, August 23, 2020 Teklinks

If you use Apple CarPlay with your iPhone, you might be wondering how to change the order of the icons on your car’s infotainment screen. The solution is buried in the Settings app—we’ll walk you through how to set it up.

Full article

August 22, 2020

What I Learned by Fixing One Line of CSS in an Open Source Project

Saturday, August 22, 2020 Teklinks

border: transparent; Run the project and component repositories Learn about system linking Contribute documentation about lining to site-kit Learn about different browser renderers Learn how to emulate an iOS Safari browser Learn how to get access to its debugger Find the issue when source maps were

Full article

Up and running with Snowpack and Svelte in seconds

Saturday, August 22, 2020 Teklinks

In this post, we'll be talking about a way to get started making web projects with ease without needing to know about extra tools and configuring stuff. Now I hope you're getting excited about it cuz I already am.

Full article

Design Patterns in TypeScript

Saturday, August 22, 2020 Teklinks

Design patterns are great problem solving templates that developers can apply to their projects. There are way too many patterns to cover in a single article though and they tend to attack different needs. However, they can losely be categorized into three different groups, you have:

Full article

August 20, 2020

9 Functional Programming Concepts Everyone Should Know

Thursday, August 20, 2020 Teklinks

This article will introduce functional programming concepts that every programmer should know. Let's begin by defining what functional programming is (FP from now on). FP is a programming paradigm where software is written by applying and composing functions.

Full article

August 18, 2020

A Practical Guide To Product Tours In React Apps

Tuesday, August 18, 2020 Teklinks

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, you’ll learn 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 React app.

Full article

August 17, 2020

Vue 3 is coming - what to expect and how to prepare

Monday, August 17, 2020 Teklinks

There's a lot of buzz building up toward the upcoming release of Vue 3. That made me want to help the developers' community get ready for the next version of this popular framework. Hope you will find this post useful ❤️ Let's start! 🚀

Full article

Storybook 6.0

Monday, August 17, 2020 Teklinks

Storybook is the world’s favorite component workshop, widely adopted by industry giants, startups, and open source projects alike. It organizes components and their states to structure UI development, testing, and documentation for every major view layer. The 6.

Full article

I Switched from LastPass to 1Password (and You Should, Too)

Monday, August 17, 2020 Teklinks

I’ve been using LastPass as my primary password manager for many years—if I had to guess, I’d say it has to be close to 10 years now. And over those years, it has let me down, disappointed me, and frustrated me on multiple occasions. A few weeks ago, I finally made the switch to 1Password.

Full article

August 13, 2020

Why React Hooks?

Thursday, August 13, 2020 Teklinks

The first thing you should do whenever you’re about to learn something new is ask yourself two questions - Why does this thing exist? What problems does this thing solve? If you never develop a convincing answer for both of those questions, you won’t have a solid enough foundation to build upon

Full article

August 11, 2020

Different versions of your site can be running at the same time

Tuesday, August 11, 2020 Teklinks

It's pretty easy for a user to be running an old version of your site. Not only that, but a user could be running many different versions of your site at the same time, in different tabs, and that's kinda terrifying. For instance: Now there are three versions of your site in-play.

Full article

Reflections on code quality. Confession of a CTO

Tuesday, August 11, 2020 Teklinks

The software is often a foundation of your online business. Foundation on which that business is based on and on top of which it will be evolving over the next years or decades. Early stages of development should be thought through carefully like with a multi-store building.

Full article

A Pattern for State Management in React Function Components

Tuesday, August 11, 2020 Teklinks

When creating a component in React, I often want it to be independent, able to maintain its own state. And at the same time, I’d like its parent to be notified when the component’s state changes, and I want to enable the parent to pass down new state at any time.

Full article

August 10, 2020

August 9, 2020

August 7, 2020

OpenAI GPT-3: How It Works and Why It Matters

Friday, August 07, 2020 Teklinks

GPT-3 has many strengths, but it also has some weaknesses. Explore why it matters and how to use it to write code, design an app, and compose music. You have probably heard about an innovative language model called GPT3.

Full article

August 6, 2020

How to Use Relative Sizing & Burn-Up Charts to Scope a Project

Thursday, August 06, 2020 Teklinks

At the beginning of a project, there can be a lot of uncertainty about upcoming work. We recently had success with an exercise called relative sizing, which we modeled with a burn-up chart. It helped the team understand the scope of work and uncover questions and risks earlier.

Full article

The only React Router set-up you will ever need

Thursday, August 06, 2020 Teklinks

This article aims to build out the 4 common routing needs to give you a rock-solid routing infrastructure for your React web application. If you are working or have worked on the frontend, I am willing to bet that you have ever searched for any of the above routing features. I know I have.

Full article

August 5, 2020

Testing React Components: Complete Guide

Wednesday, August 05, 2020 Teklinks

When I first started learning to test my apps back in the day, I would get very frustrated with the different types, styles and technologies used for testing, along with the disbanded array of blog posts, tutorials and articles. I found this to be true as well for React testing.

Full article

August 3, 2020

Will it render?

Monday, August 03, 2020 Teklinks
Will it render? React rendering cheatsheet This is a visual aid for the very good article about React's rendering behaviour by Mark Erikson. Below are drawings with live Codesandbox examples which you can explore and play with.

Full article

Create A Responsive Dashboard With Angular Material And ng2-Charts

Monday, August 03, 2020 Teklinks

Schematics in Angular 9 are code generators that can create components and patterns in projects using predetermined templates and layouts. In this article, Zara Cooper explains how to take advantage of schematics in Angular Material and ng2-charts to substantially reduce the time and work that goes into building a dashboard.

Full article

How to Host a Website from S3

Monday, August 03, 2020 Teklinks

Chances are, you probably don’t need a full web server like NGINX running on EC2 to get your website up and running. If you’re just looking to host a static website, you can store all the content in S3, and host it from there.

Full article

August 2, 2020

A "Design Problem" Is Everyone’s Problem

Sunday, August 02, 2020 Teklinks

“Well, that sounds like a ‘design’ problem.” It’s a phrase I’ve heard many times in my career. I used to love it. There was a unique challenge, and everyone was relying on designers to find the solution.

Full article

Independence, autonomy, too many small teams

Sunday, August 02, 2020 Teklinks

“The two pizza team” paradigm has become really popular in the context of organizing software teams. The idea is to have small, self-reliant teams working independently to solve problems.

Full article

How To Transition Your Web Application to TypeScript

Sunday, August 02, 2020 Teklinks

TypeScript adds static typing to JavaScript, which improves the IDE experience and reduces bugs. It’s easy to learn, but transitioning an existing application to TypeScript can be an arduous process. We’ll discuss some of the techniques for working with it in your app.

Full article

August 1, 2020

Use Chrome DevTools Like a Senior Frontend Developer

Saturday, August 01, 2020 Teklinks

Okay, now for some reason, you’ve finally chosen Chrome as the browser you’re developing for. Then you open Developer Tools and start debugging your code. You sometimes open the Console panel to examine the output of your program, or the Elements panel to check the CSS code for DOM Elements.

Full article

A Complete Guide to Testing React Hooks

Saturday, August 01, 2020 Teklinks

Hooks were introduced in React 16.8 in late 2018. They are functions that hook into a functional component and allow us to use state and component features like componentDidUpdate, componentDidMount, and more. This was not possible before.

Full article