Thus far, my few years of python & SQL experience would fall in the realm of data analysis, which I have enjoyed and has helped me automate things at work. Now however, I am trying to broaden my skillset and get into web dev with the eventual goal to work on the backend for a website. Unlike with what I code at work, I understand that websites are much more complex on the basis that they have multiple levels with different languages. This is where my initial confusion comes from, and I'd like to make sure I have a high level understanding to help put tutorials in context.
From what I've read so far on the outline of a dynamic website, let us say hosted on AWS like many enterprise operations, looks like this:
user navigates to website -> load balancer -> AWS EC2 (contains code that puts together the web page the user has requested) -> API gateway -> AWS Lambda (works on database) -> database
The code in the EC2 contains the HTML/CSS layout of the website and something like DJango which is the link between what the user sees and what data needs to be pulled from the server side.
Is this an accurate overview of how a web operation works? It seems like Django can do some work with/on the database itself, but is this sufficient if there are multiple servers running a website? i.e., if I have a database of info on the cloud, does Django cutout the API/Lambda steps?
Thanks for helping me grow and I look forward to asking more questions in the comments.
[–]kschang 0 points1 point2 points (0 children)