A
A
Akmat2017-07-03 10:07:07
Django
Akmat, 2017-07-03 10:07:07

How to learn frameworks the right way?

I have been studying python3 programming language hard for 3 months now.
And I write (I use a procedural approach) small projects in this language.
I have just started learning about OOP.
My goal is to learn how to create websites in the Python3 language.
On the Internet, I searched for keywords (how to create a website in Python3 and Django is written everywhere).
I used to do some programming in Pascal and never used frameworks in my life.
Therefore, it seems to me that, first of all, it is necessary to learn how to build sites without frameworks and then with the help of frameworks in order to better understand the whole essence of frameworks (this is my opinion).
What do you think of this approach?
You can give advice.
Share personal experience.
Thank you.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Eugene, 2017-07-03
@Akmat

There is no "correct" approach here. You can study the framework in parallel with the study of how "naked" sites work. These are completely non-contradictory things and there is no need to do it in a particular order. The framework is based on the same principles, it just allows you not to re-write banal and identical things for each site.
The same Django code is quite simple in most cases, in PyCharm you can jump through the methods and see the implementation.
In general, I recommend reading good documentation and books. Judging by the questions on the toaster, most are now studying by copy-paste. They create a basic project, and then add the functionality of copy-pasting googled examples to it, in case of errors they run here to ask primitive questions, the answers to which are even in the Django Tutorial.
At a minimum, I recommend reading the Django documentation (Django Tutorial, then everything else) from cover to cover. And more than once, because the first time a lot will be incomprehensible and forgotten.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question