Skip to main content

How to Upload Files to AWS S3 in Node.js?

路 5 min read
Haochen Qi
Full Stack Developer


Amazon Simple Storage Service is storage for the Internet. It is designed to make web-scale computing easier for developers. -- Amazon

Simple Storage Service(S3) is a an object storage service provided by AWS in 2006. S3 provides developers with a distributed data storage service with high scalability, high durability and high availability. The data storage structure of S3 is very simple, which is a flat two-layer structure: one layer is a bucket, and the other layer is a storage object. A bucket is a way to classify data in S3, it is a container for data storage and every object needs to be stored in a certain bucket. It will become a part of the domain name for users to access data, so the name of the bucket must be unique.

Shallow Copy vs. Deep Copy

路 4 min read
Haochen Qi
Fullstack Developer

question Objects are the basic blocks of JavaScript. An object is a collection of attributes, and an attribute is an association between a key (or name) and a value. Almost all objects in JavaScript are Object instances at the top of the prototype chain.

When it comes to copying objects in JavaScript, you need to know whether you need to do a shallow copying or a deep copying. In this article, we will go through these two different ways to copy objects.

What is Web Accessibility?

路 3 min read
Haochen Qi
Fullstack Developer

In this blog, we are going to learn web accessibility.

What is Web Accessibility?#

"The power of the Web is in its universality. Access by everyone regardless of disability is an essential aspect" - Tim Berners-Lee

Web accessibility is the concept that technology need to be equally accessible for people with and without disabilites. The Web is fundamentally designed to work for all people, whatever their hardware, software, language, location, or ability. When the Web meets this goal, it is accessible to people with a diverse range of hearing, movement, sight, and cognitive ability.

Thus the impact of disability is radically changed on the Web because the Web removes barriers to communication and interaction that many people face in the physical world. However, when websites, applications, technologies, or tools are badly designed, they can create barriers that exclude people from using the Web.