Answer the question
In order to leave comments, you need to log in
How do big django projects work? And what problems can be if to use only forms?
Greetings gentlemen.
At the moment I'm learning dzhanga, while trying in the frontend.
I already understand how to create large-scale projects, what to use for this and how it all looks, but I have a question.
For example: A social network with a thousand functions, various applications and user-friendliness.
How will it look? Just like a regular django project, using a form in each button, and processing this form with some kind of function? Let's say you like it - all this is transferred by the form to the view and the function enters it into the database; You need to write a comment, the same cycle happens. You go to some page (and since you need statistics on user transitions to this page), the form passes this fact to the view and the function in the view processes it. It seems to me that with so many forms and functions, the project can be slow. I would like to know how people do it and what tools they use?
Answer the question
In order to leave comments, you need to log in
There is no fundamental difference between a pet project and a "large-scale" project. If you don't cheat, then there won't be any problems.
Forms are just one of the tools and the number of forms does not affect the speed of work. The project starts to work slowly - you look for a bottleneck, you optimize. Perhaps, after several such iterations, you will throw out half of django, and rewrite part of it to something else, or maybe not, there are no universal solutions.
PS Well, what's the point of telling you now about the task queue, if you even have problems with variable scopes.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question