You can download the source code for this tutorial here.
In this beginner’s guide to web development, I’ll try to explain the basics of web development using simple examples. Before we start, let’s first talk about some fundamental concepts of the Web.
The World Wide Web, commonly known as the Web, is an information and resource sharing system consisting of servers and clients, who are connected together by hyperlinks. The documents and resources of the Web are requested by the browser and then transferred via the Hypertext Transfer Protocol (HTTP), which can then be displayed in the browser.
Before we move onto the backend section of this tutorial, let’s use what we’ve learned so far, and create a portfolio website.
Now, it is time for us to talk about the backend. You have two choices, if you prefer PHP, you can go with Laravel. A lot of people have criticisms for PHP, but regardless, it is still the dominant language in the field of web development. And I personally think Laravel is a very powerful and easy-to-use framework. However, if you are more comfortable with Python, you can follow the Django tutorial instead.
Laravel for Beginners
Compared to Laravel, Django has both some advantages and disadvantages. For instance, Django is based on Python, a very popular programming language, which means there are a lot of different packages that perform all kinds of different tasks, and unlike Laravel, Django has a very powerful built-in admin panel, which we’ll discuss in detail later…
Django for Beginners
Finally, in the last section of this tutorial, we’ll join the frontend and the backend to create a modern single-page application.