L
L
lutokris2021-12-27 06:39:02
Python
lutokris, 2021-12-27 06:39:02

Why use Django and Python, isn't it more convenient to do everything right away through Node.js and javascript frameworks?

All the best, a question from the teapot, please do not hit hard on the head). I'm learning python and django. And I have questions about using Django. Of course, it is very convenient, it allows you to make any non-dynamic site on the fly, a built-in authentication system, a convenient admin panel, your own REST Api. In total, we will get, though working, but a bare skeleton. Having fastened Bootstrap, we will embellish the skeleton a little, but it still will not meet the requirements of modern dynamic sites, such as asynchronous loading of comments, displaying online likes, dislikes. All this can only be implemented by a skilled js programmer. And since we wrote the backend in Django, for this programmer we will have to write a REST Api and sharpen it according to its requirements. And thus, to get a full-fledged site, we need the efforts of three different people - a designer, a pythonist, a javascripter. And let's say if the pythonist quits, starts drinking - the javascripter will not be able to temporarily replace him and continue working. Or if the javascripter leaves, the pythonist will not be able to do his job either. As a result, the project will hang in anticipation of the performer. And if we have both the frontend and the backend in javascript, our programmers and programmers will understand each other better, and in which case one can temporarily replace the other. Indeed, many javascripters initially start working from the frontend, and then some move to the backend. And Python developers mostly deal only with the backend - and they will have concepts about the frontend at the level of dummy html, css, bootstrap. As a result, it turns out that JS has a huge advantage over Python in the field of website development, since you can immediately write both back and front on it. will drink - javascripter will not be able to temporarily replace it and continue working. Or if the javascripter leaves, the pythonist will not be able to do his job either. As a result, the project will hang in anticipation of the performer. And if we have both the frontend and the backend in javascript, our programmers and programmers will understand each other better, and in which case one can temporarily replace the other. Indeed, many javascripters initially start working from the frontend, and then some move to the backend. And Python developers mostly deal only with the backend - and they will have concepts about the frontend at the level of dummy html, css, bootstrap. As a result, it turns out that JS has a huge advantage over Python in the field of website development, since you can immediately write both back and front on it. will drink - javascripter will not be able to temporarily replace it and continue working. Or if the javascripter leaves, the pythonist will not be able to do his job either. As a result, the project will hang in anticipation of the performer. And if we have both the frontend and the backend in javascript, our programmers and programmers will understand each other better, and in which case one can temporarily replace the other. Indeed, many javascripters initially start working from the frontend, and then some move to the backend. And Python developers mostly deal only with the backend - and they will have concepts about the frontend at the level of dummy html, css, bootstrap. As a result, it turns out that JS has a huge advantage over Python in the field of website development, since you can immediately write both back and front on it. As a result, the project will hang in anticipation of the performer. And if we have both the frontend and the backend in javascript, our programmers and programmers will understand each other better, and in which case one can temporarily replace the other. Indeed, many javascripters initially start working from the frontend, and then some move to the backend. And Python developers deal mostly only with the backend - and they will have concepts about the frontend at the level of dummy html, css, bootstrap. As a result, it turns out that JS has a huge advantage over Python in the field of website development, since you can immediately write both back and front on it. As a result, the project will hang in anticipation of the performer. And if we have both the frontend and the backend in javascript, our programmers and programmers will understand each other better, and in which case one can temporarily replace the other. Indeed, many javascripters initially start working from the frontend, and then some move to the backend. And Python developers deal mostly only with the backend - and they will have concepts about the frontend at the level of dummy html, css, bootstrap. As a result, it turns out that JS has a huge advantage over Python in the field of website development, since you can immediately write both back and front on it. Indeed, many javascripters initially start working from the frontend, and then some move to the backend. And Python developers mostly deal only with the backend - and they will have concepts about the frontend at the level of dummy html, css, bootstrap. As a result, it turns out that JS has a huge advantage over Python in the field of website development, since you can immediately write both back and front on it. Indeed, many javascripters initially start working from the frontend, and then some move to the backend. And Python developers mostly deal only with the backend - and they will have concepts about the frontend at the level of dummy html, css, bootstrap. As a result, it turns out that JS has a huge advantage over Python in the field of website development, since you can immediately write both back and front on it.

Answer the question

In order to leave comments, you need to log in

6 answer(s)
V
Vladimir Kuts, 2021-12-27
@lutokris

Backend is not a language. This is an understanding of the relevant technologies for working with databases, caching, working with data structures, protocols, technologies, algorithms, architecture building and linking with external services, and so on ...
And since this covers a very large layer of problems, specialization has occurred.

And Python developers mostly deal only with the backend - and they will have concepts about the frontend at the level of dummy html, css, bootstrap.

Uh-huh... With this approach - why did you get the idea then that the front will have sufficient knowledge about the work of the backend? Since, in your opinion, the backender can only be in dummy html, but the frontender can immediately write optimized queries to the database, for example? )))) If your frontender is so cool, then, in principle, not knowing the language is not a hindrance, since the language is only a tool.

P
Pasechnik Kuzmich, 2021-12-27
@Hivemaster

JavaScript is a very bad language that has survived only because of its lack of alternatives on the front, and Node.js was created only to open access to the world of adult programming to the unfortunate assholes who rolled through the front. Moreover, the creator of Node.js himself considers it a mistake. It's better then to turn the situation around and write front-end code in something like Brython . Only html and css remain, and using a real programmer for layout is a stupid waste of resources, it's easier to hire a layout designer / front.

C
calculator212, 2021-12-27
@calculator212

As a result, it turns out that JS has a huge advantage over Python in the field of website development, since you can immediately write both back and front on it.
In general, you are wrong, there are many vacancies that require only Node.js developers.
As a result, the project will hang in anticipation of the performer.
And if there is only one developer, then everything will hang if he leaves. Full stacks on django are not much less than full stacks on js.
Having fastened Bootstrap, we will embellish the skeleton a little, but it still will not meet the requirements of modern dynamic sites, such as asynchronous loading of comments, displaying online likes, dislikes. All this can only be implemented by a skilled js programmer.
For projects that have 2 programmers, these are usually not key points (and not everyone writes social networks and YouTube clones). There are projects where static sites will be enough, and if an employer wants to pay cheaply for complex work, then he must understand what this can lead to.

I
Ilya, 2021-12-27
@rpsv

Why not write in PHP and Symfony/Yii/... ?
There is such a thing as a "fullstack" developer, who is responsible for both front and back.

T
true, 2021-12-27
@RAFAILgaley

it is more convenient to do it in php
it makes no sense to use django and python
if you need a complex server then go
and node.js

S
sqrt3000, 2021-12-28
@sqrt3000

Why bother so much if you have php ajax jquery.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question