On 26/04/2023 10:18 am, Julius Chesoni
wrote:
Hi guys, I find programming in the abstract very interesting and
full of intellectual benefits similar to those acquired from
Mathematics. However, when it comes to programming languages I
find the practice of programming very tiresome since there are
very many functions in the documentations. I am not able to enjoy
reading the documentations even though I am eager to know how to
master the particular language. How do you guys manage to be
masters in languages like Django since I see some great people
contributing to every question. This amazes me.
Django could be thought of as a language. In fact it is a
"framework" - a jargon word which probably needs decoding but I
don't have time.
Django is written in Python. Python started as a teaching language
for primary school kids but it has sufficient sophistication for
masters of Python to build almost anything.
The two main benefits of Python are:
* ease of learning for beginners and
* powerful enough for complex projects to be built faster than
most other languages.
Python was chosen by Django's original authors for a web project and
they built libraries of useful routines which they eventually
open-sourced as Django to make website development much more
satisfying for other developers.
The intellectual satisfaction - and therefore main attraction of
Django - comes from being able to do anything. There are plenty of
guidelines and "best practices" but absolutely no frustrating
restrictions. If you find a web problem you want to solve, I would
be very surprised if it couldn't be solved with Django.
Many would argue front-end problems cannot be solved with a back-end
server architecture like Django but nowadays, with htmx, that
argument is lost.
So, to answer your question in the abstract, Django is used as the
interface "language" between a database and the user with a web
browser. It contains an "Object Relational Mapper" (ORM). The
mathematics of relational database management systems (RDBMS) should
pique your interest. The language of RDBMS is Structured Query
Language (SQL) but because Django has its ORM you no longer need to
learn SQL. The Django library of queries comes to the rescue.
Django, HTML+htmx and CSS therefore is all you really need to build
a completely fuctional and intellectually satisfying website.
My advice to you is to find a small project you really want to do
and get started one step at a time.
Someone else said practice practice practice. That is completely
correct. You need to start somewhere if you are really interested.
With practice you can tackle ever more interesting projects.
Good luck.
--
Signed email is an absolute defence against phishing. This email has
been signed with my private key. If you import my public key you can
automatically decrypt my signature and be sure it came from me. Your
email software can handle signing.