An introductory article to help new Python lovers get going with the Stack Data Structure

Assorted color ceramic bowls by @brookelark on Unsplash.com

What is the Stack Data Structure?

In Computer Science and programming, a data structure simply is how a particular set of data values is arranged, stored, and managed.

Going forward, I’d like you to think of the word ’stack’ in its literal sense. What comes to mind? A bunch of books well-arranged? Right. A pile of plates? Also right.

A stack consists of data items, and it allows one to insert or delete the item at the top end of the stack. …


Figure showing Django REST Framework and PostgreSQL logos

Working with APIs is important for most web developers. From extending other services for your app to providing resources for other apps and services, APIs are essential to modern web systems for application-to-application communication.

API, an acronym for Application Programming Interface is a means by which the client-side interacts with the server-side to respond to the request of the user. It is a protocol that establishes how components of software communicate together.

In this tutorial, we shall go through the procedure of creating a REST API with Django and a PostgreSQL database for a customer management app. We shall set…


Brown wooden door with padlock courtesy of iMattSmart on Unsplash.com

Introduction

When building a web application, you may need to allow users to log in to be able to use the application and log out of the application when they are done. The process of providing users with access to the application is called User Authentication.

In this guide, we will create the user authentication feature for a Django web application for users to log in and log out successfully.

With Django, you can create user authentication by implementing Django’s user authentication feature. Django provides some views to handle our authentication process which includes the to login a user,


Authentication and authorization in Django RESTful APIs using Dj-Rest-Auth with Gmail server for sending verification emails to users

Introduction

Oftentimes, we come across websites and apps that demand that we register, that is, sign-up as users for us to have access to some service or feature on those websites and apps. Registering enables us to create accounts. We also get some personal credentials that allow us to have access every time we log in to use the apps. The credentials could consist of a password, email address, and/or username. 3rd-party services such as email accounts and social accounts could be used…


Brown wooden door with padlock courtesy of iMattSmart on Unsplash.com

Introduction

When building a web application, you may need to allow users to log in to be able to use the application and log out of the application when they are done. The process of providing users with access to the application is called User Authentication.

In this guide, we will create the user authentication feature for a Django web application for users to log in and log out successfully.

With Django, you can create user authentication by implementing Django’s user authentication feature. Django provides some views to handle our authentication process which includes the to login a user,


People queuing beside Louis Vuitton store. Courtesy of Melanie Pongratz

In Programming and software development, data structures are used to store and arrange a set of values. There are various types of data structures for different use cases. They include stacks, queues, lists, etc. This article focuses on queues and basic operations that could be carried out on them.

What is the Queue Data Structure?

A Queue data structure works like queues in real life such as at shopping malls, payment counters, and airplane onboarding.

What are the applications of Queues?

  • Printer queues
  • Customer service hotlines
  • CPU Scheduling

The FIFO Concept

FIFO is an abbreviation for First In, First Out which explains the order by which actions carried out on queue work. …


Markdownify is a library of the Django framework that supplies a Django template filter to convert markdown syntax to HTML codes in Django templates.

It is under the publicly available Python Package Index (PyPI) at https://pypi.org/project/django-markdownify/

Markdownify implements the python-markdown package to convert markdown syntax to HTML. It also uses the “LINK bleach LINK” library to prevent the HTML produced from Cross Site Scripting (XSS) attacks.

Steps to Setup Markdownify

  1. Include in Requirements.txt
    For best practices, include it in your file as follows:
django-markdownify —  0.8.0

2. Install with Package Manager

Install with installer on your terminal/CLI:

pip install -r requirements.txt

3…


Source: Unsplash

In the past few days, I’ve spent most of my time designing web pages and templates for a project I work on. Recently, I discovered some things which have increased my productivity and speed in VSCode. I’ve used VSCode mostly in the past few months for most of my front-end development. Among them is an extension and the others are shortcuts. They are tools I added to my arsenal of web development. Stay tuned! 😊

1. Live Server Extension


Source: reactjs.org

Developed by Facebook, React is the most popular library for building interactive user interface. It was developed by Facebook

Prerequisites

It is expected that you have a little understanding of JavaScript and how object-oriented concepts are used.

Content:

1. What are Components

2. Making Components

3. On State and Views

4. Setting up a Development Environment

5. Make your first react app

6. More Explanation

What are Components

React’s power lies in the use of components. You’d probably have seen the word component before if this isn’t your first time with React. Components in React are the single independent parts that make up a user…


Testing testing

Jekayinoluwa Olabemiwo

Software | Aerospace Undergrad • ex-Lead @GoogleDevs’ DSC KWASU

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store