Explained Simply

/Explained Simply

Straight to the point articles covering the basic theory on various technology topics

SQL INSERT Statement

The SQL INSERT INTO statement is used to add new records to a database. INSERT INTO table_name (column_name [, column_name...]) VALUES (value [, value…]); Parameters: INSERT INTO table_name  - The name of the table where a new row will be inserted.column_name  -  Indicates the column names where the data will be added. VALUES value – Specifies [...]

By |2019-07-16T05:08:03+03:00July 16th, 2019|Categories: Explained Simply|Tags: |0 Comments

Basic Authentication With Nginx

Basic authentication with Nginx requires an installation of Nginx and htpasswd. We have to create a password file with users and passwords and add this file to Nginx. The password file The first step is the creation of a password file with htpasswd tool using the following command: htpasswd -c .htpasswd user The flag -c [...]

By |2019-05-26T23:28:35+03:00July 8th, 2019|Categories: Explained Simply|0 Comments

Good Practices for Using Cookies

When cookies first appeared in 1994, they were completely allowed by browsers and their usage depended entirely on what developers had in mind. However, a few years after that, due to concerns about privacy and tracking, web developers were advised to obey some practices that make cookie usage safer. Nowadays, some practices are even required [...]

By |2019-06-16T21:57:14+03:00June 17th, 2019|Categories: Explained Simply|0 Comments

The Difference Between Accuracy And Precision

One of the most common scenarios in embedded system design is the need for getting information from the surrounding environment. This is done by using various types of sensors (e.g temperature, humidity, pressure, etc. ). The data from these sensors always have some difference from the real true value being measured. Our goal as designers [...]

By |2019-05-07T21:23:45+03:00June 3rd, 2019|Categories: Explained Simply|0 Comments

B-tree vs. Binary Tree

B-Trees and binary trees are both non-linear data structures and while their names may sound similar, they’re very different in nature. In this article, we will compare them to make them easier to distinguish. B-Tree B-tree is a self-balancing tree data structure in which a node can have more than two children. The height of [...]

By |2019-04-07T13:17:28+03:00February 11th, 2019|Categories: Explained Simply|Tags: |0 Comments

BFS vs. DFS

Breadth-First Search (BFS) and Depth-First Search (DFS) are algorithms for traversing graphs. Traversal is the process of accessing each vertex (node) of a data structure in a systematic well-defined order. Choosing the algorithm depends on the type of data you are dealing with. There are generally two types of traversal and the main difference between [...]

By |2019-04-07T13:19:44+03:00January 28th, 2019|Categories: Explained Simply|Tags: , |0 Comments

What is JSON Web Token?

JWT or JSON Web Token is JSON base standard for credential access (RFC 7519). The token contains access claims. For example the authentication server can generate token with claim "edit article" and the user with this claim can access functionality in REST API to "edit article". What is JWT structure? Typically JWT looks like: xxxx.yyyy.zzzz [...]

By |2019-01-06T23:49:44+03:00January 14th, 2019|Categories: Explained Simply|Tags: |0 Comments

The essence of JSON

JSON means JavaScript Object Notation. It is an open source text base standard for data exchange. Primary usage of JSON is to transmit data between web browsers and servers as alternative of XML. Syntax rules Data is a key-value pair (also reffered to as property) separated by a comma. Keys are always strings.Curly brackets hold [...]

By |2018-12-23T17:26:24+03:00January 8th, 2019|Categories: Explained Simply|Tags: |0 Comments

Trees vs. Graphs

Trees and graphs are data structures used to resolve various complex problems. Knowing the difference between them is useful in terms of better understanding of the non-linear way of storing data. Definition: Trees and graphs are both abstract data structures. They are a non-linear collection of objects, which means that there is no sequence between [...]

By |2019-04-07T13:20:21+03:00January 1st, 2019|Categories: Explained Simply|Tags: , |0 Comments

Recursion vs. Iteration

Both algorithms repeatedly execute a set of instructions. Recursion is a function that call itself repeatedly. Iteration is when a loop is executed repeatedly while certain condition is true. Differences between recursion and iteration: Recursion is a process applied on a function, iteration does not require a function.Infinite recursion can lead to system crash (stack [...]

By |2018-12-06T23:24:08+03:00December 7th, 2018|Categories: Explained Simply|Tags: , |0 Comments
We use cookies on this site to improve our service, perform analytics and remember website preference. By using the site, you consent to these cookies (Privacy policy). I consent to cookies