Hello,
I am talking about even more basic than this.
◾ Should I use Apache, Gunicorn, uWSGI or something else?
Honestly I have only heard of Apache and have only seen Gunicorn in
relation to Mezzanine. I have no idea what Gunicorn is!
◾ Where should I use caching to make things faster?
I know this because I've been building WordPress websites for about
a year now, so sometimes I need to worry about caching, but how to
do this with Django, I have no idea.
◾ How do I know if my database has the right indexes or if it needs
more resources?
Frankly, I know nothing about DBs other than sqlite is a nice place
to store data and is an alternative to pickling if one wishes to
save lots of data across sessions. I know most places use My SQL,
but I've never seen any reason to go away from sqlite and I just do
it because people say I should.
◾ Do I need a NoSQL database like MongoDB?
What is MongoDB?
◾ The site runs great on my laptop. Why is it so slow in production?
Erm because you either are running off your home computer which
needs to send data through your personal router or because your
server is horrible.
◾ How many servers does my site need? How big should they be?
I never considered a site would need to have more than 1...
◾ What is the 20% effort that will solve 80% of my performance
problems?
Probably using python and brython rather than PHP and Javascript...
So I know python really well, I just know nothing about web
development. The most difficult parts of django are figuring out how
get and post work, writing templates, dealing with the DB API and
deploying.
The building your first app in django tutorial is great, but I kind
of would like a couple more completely different apps. I just don't
understand how the web works from such a short tutorial.
Django claims that it is not magic, but for me, most of it is magic
at this point. Sometimes the connections are really difficult to
follow. Sometimes I don't want to know some of the connections, I
just want to know what they do and why. It is like event queues in a
game engine. One doesn't need to know what kind of event queue the
engine is running in order to capture the different events or how
they use different threads to grab input, but I do need to know that
when the user hits enter my on_input or my on_keydown function will
run.
But when people throw around terms like Ajax, caching, Gunicorn,
uWSGI, database, URI, canonical request or anything like that,
people who have never worked with the web kind of nod and say oh
yeah, yep! What ever you say!
So I would say the tutorial you pointed to looks like an
intermediate or advanced newbie tutorial. Not really basic at all.
Thanks,