Posts

Showing posts from March, 2024

What is a Linux server? And Why do we Use it?

Image
Linux servers are widely used today and considered among the most popular due to their stability, security, and flexibility, which outperform standard Windows servers. These servers are built on the Linux operating system. And as these operating systems are open-source, users benefit from a strong community of resources and advocates. But that is not the only reason why these servers are so popular, they are also designed to handle more intense storage and operational needs of larger organizations and their software. In summary, Linux servers offer businesses a low-cost option for delivering content, apps and services to their clients and at the same time, they are efficient, standard, and secure. What is a Linux Server? A Linux server is a variant of the Linux operating system whose major benefit of using compared to closed-source software like Windows is that the former is fully open-source. This helps keeps setup and maintenance costs low, as even many of the proprietar...

#39 Search Form - Part 3 (Django Beginner to Intermediate Tutorials)

Image
Django Search Form Welcome to another part of the python tutorials. In this part you will learn how to create a search form so that you can search through the database or list from your it. As result, the search will find the nearest result to your searched item which means that even if you enter a letter, there are still chances that you find some results coming up from your database. Watch The Video on Youtube https://blog.arashtad.com/updates/39-search-form-part-3-django-beginner-to-intermediate-tutorials/?feed_id=3483&_unique_id=660a10c1165db

What is TCP/IP and How does it Work?

Image
TCP/IP which is the acronym for Transmission Control Protocol/Internet Protocol is a set of standardized rules that allow computers or network devices to communicate with each other. This communication can either be on the internet or on a private network like an intranet. The TCP/IP protocol suite functions as an abstraction layer between internet applications and the routing and switching fabric. TCP/IP functionality TCP/IP determines how data should be exchanged on the internet by providing end-to-end communications that specify how it should be broken into packets, addressed, transmitted, routed, and received at the destination. TCP/IP is designed to make networks reliable so that data cannot be easily hacked. It also has the ability to recover automatically from the failure of any device on the network. TCP which stands for Transmission Control Protocol has its own specific function in the IP suite. TCP defines how applications can create channels of communicatio...

#38 Search Form - Part 2 (Django Beginner to Intermediate Tutorials)

Image
Django Search Form Welcome to another part of the python tutorials. In this part you will learn how to create a search form so that you can search through the database or list from your it. As result, the search will find the nearest result to your searched item which means that even if you enter a letter, there are still chances that you find some results coming up from your database. Watch The Video on Youtube https://blog.arashtad.com/updates/38-search-form-part-2-django-beginner-to-intermediate-tutorials/?feed_id=3452&_unique_id=660967c52d355

How do RESTful APIs work? An Insightful Guide

Image
RESTful APIs are the kind of APIs that follow the constraints of a REST architectural style. We have covered a full article on the background architecture of this kind of API, its pros and cons, and its principles. This article focuses mainly on the way the REStful APIs work, client requests, and server responses in these APIs. If you want to get familiar with the way these APIs work and then use different frameworks, follow along with the article to get familiar with the backbone architecture of a RESTful API. How do RESTful APIs work? Just the same as browsing the internet, in a RESTful API, The client contacts the server by using the API when it requires a resource. The API developers explain how the client should use the REST API in the server application API documentation. The process that happens in RESTful API, goes like this. First, The client sends a request to the server and writes the request in a format that has been mentioned in the documentation, so that the...

#37 Search Form - Part 1 (Django Beginner to Intermediate Tutorials)

Image
Django Search Form Welcome to another part of the python tutorials. In this part you will learn how to create a search form so that you can search through the database or list from your it. As result, the search will find the nearest result to your searched item which means that even if you enter a letter, there are still chances that you find some results coming up from your database. Watch The Video on Youtube https://blog.arashtad.com/updates/37-search-form-part-1-django-beginner-to-intermediate-tutorials/?feed_id=3421&_unique_id=6608bef29a1b9

Getting Started with Nginx on Linux: a Complete Tutorial

Image
Nginx Nginx pronounced Engine-Ex, is a popular and open-source, lightweight, and high-performance web server software that also acts as a reverse proxy, load balancer, mail proxy, and HTTP cache. Nginx is easy to configure in order to serve static web content or to act as a proxy server.It can be deployed to also serve dynamic content on the network using FastCGI, SCGI handlers for scripts, WSGI application servers or Phusion Passenger modules, and it can serve as a software load balancer. Nginx uses an asynchronous event-driven approach, rather than threads, to handle requests. Nginx's modular event-driven architecture can provide predictable performance under high loads. In this tutorial, we are going to get started with Nginx on Linux and use the terminal commands to install and configure a test on it. You will get familiar with all the codes and commands for setting Nginx up and running on your operating system. What you need to get started: 1. This tutorial i...

#36 Upload - Part 4 (Django Beginner to Intermediate Tutorials)

Image
How to Create a Form for Uploading Images in a Django App In this part of the Django tutorials, you will learn how to create a form for uploading images and create an App for posting the images of the users. Although this is a simple project, it will give you an insight about creating greater projects like Instagram. There are four parts for this tutorial and in the end you will successfully manage to create an app that can upload images and show them on the home page. Watch The Video on Youtube https://blog.arashtad.com/updates/36-upload-part-4-django-beginner-to-intermediate-tutorials/?feed_id=3390&_unique_id=6608169622b9b

What is a RESTful API? A Complete Guide

Image
REST API and RESTful API are both terms that can be used interchangeably. REST stands for Representational State Transfer and it is a software architectural style that defines a set of certain rules or constraints for creating web services. API is the acronym for Application Programming Interface. REST API is a kind of API that uses the rules defined by the REST architectural style and is also a way of accessing web services in a simple and flexible way without having any processing. Web services that implement REST architecture are called RESTful web services. What is an API? An API or an Application Programming Interface is a kind of a gateway between the clients and the resources on the web. These resources contain certain data that can be accessed by rules defined in the API. In other words, API is a way for various applications to communicate with each other. Developers expose or create APIs so that other applications can communicate with their applications programma...

#35 Upload Image -P art 3 (Django Beginner to Intermediate Tutorials)

Image
How to Create a Form for Uploading Images in a Django App In this part of the Django tutorials, you will learn how to create a form for uploading images and create an App for posting the images of the users. Although this is a simple project, it will give you an insight about creating greater projects like Instagram. There are four parts for this tutorial and in the end you will successfully manage to create an app that can upload images and show them on the home page. Watch The Video on Youtube https://blog.arashtad.com/updates/35-upload-image-p-art-3-django-beginner-to-intermediate-tutorials/?feed_id=3359&_unique_id=66076d676c53e

Apache Vs NGINX – Which Is The Best Web Server for You?

Image
If you are looking for open-source web servers, Apache and Nginx are the two most popular ones. Together, they are responsible for serving over 50% of traffic on the internet. Both solutions are capable of handling diverse workloads and working with other software to provide a complete web stack. While Apache and Nginx share many qualities, they should not be thought of as entirely interchangeable. Each excels in its own way, and this article will cover the strengths and weaknesses of each. In this article, before we dive into the differences between Apache and Nginx, we will take a quick look at the background of these two projects and their general characteristics. Apache Background The Apache HTTP Server was created by Robert McCool in 1995 and has been developed under the direction of the Apache Software Foundation since 1999. Since the HTTP web server is the foundation’s original project and is by far their most popular piece of software, it is often referr...

#34 Upload Image - Part 2 (Django Beginner to Intermediate Tutorials)

Image
How to Create a Form for Uploading Images in a Django App In this part of the Django tutorials, you will learn how to create a form for uploading images and create an App for posting the images of the users. Although this is a simple project, it will give you an insight about creating greater projects like Instagram. There are four parts for this tutorial and in the end you will successfully manage to create an app that can upload images and show them on the home page. Watch The Video on Youtube https://blog.arashtad.com/updates/34-upload-image-part-2-django-beginner-to-intermediate-tutorials/?feed_id=3328&_unique_id=6606c4a285436

What is a Reverse Proxy? Introduction to Proxy servers

Image
A reverse proxy is a server that is placed on the server side and directs the requests from the clients to the main servers. In large databases, we usually have multiple servers that need a kind of management to direct the coming requests to the appropriate server that contains the proper data for the client’s request. Reverse proxies are typically implemented to help increase security, performance, and reliability. In this article, we will first see what a proxy server is and then take a look at the different kinds of proxy servers. Afterward, we will focus on the reverse proxy, its pros, and cons, and see when and where we need to use the proxy servers. If you are new to IT and want to learn more about web servers and different articles on these subjects, feel free to take a look at our blog and read the different documents that we have provided about web servers. What is a Proxy server? Oftentimes, when we talk about a proxy server, we are referring to the f...

#33 Upload Image - Part 1 (Django Beginner to Intermediate Tutorials)

Image
How to Create a Form for Uploading Images in a Django App In this part of the Django tutorials, you will learn how to create a form for uploading images and create an App for posting the images of the users. Although this is a simple project, it will give you an insight about creating greater projects like Instagram. There are four parts for this tutorial and in the end you will successfully manage to create an app that can upload images and show them on the home page. Watch The Video on Youtube https://blog.arashtad.com/updates/33-upload-image-part-1-django-beginner-to-intermediate-tutorials/?feed_id=3297&_unique_id=66061d79aec1f

What is a Web Server?

Image
In this article, we will talk about one of the most important and fundamental concepts of IT, and that is a web server. We will explain what servers are, what they do, and how they do it. A server is a computer software and its underlying hardware that accepts requests via HTTP or its secure version HTTPS. HTTP is a network protocol created to distribute web content. A user can access a server via HTTP or HTTPS protocol by sending a request to the server, the server then checks the availability of the content and returns a proper answer to the request of the user. If the content is not available, the server responds with an Error message. There are many types of answers that a server will return to the user, These responses are three-digit numbers like 404 error. The request that the user sends to the server can be in the form of a URL or an address of a website. The URL is entered in a web browser, then the web browser sends the request to the server. There are 2...