Lurker News
I’d like to learn more about backend development but most of what I find while searching are results like “Build a nodejs backend in 20 minutes” or “learn backend development in an hour.” I think part of the problem is I don’t know enough to ask the right questions.

Comments (130) 48 threads

Earlier comments
Dowwie#
There are a lot of parts and roles involved with back-end development. It should be of no surprise that each response here is unique. You could make an entire career by developing deep specialization in just a part of what is discussed. Since you've said "back end" then that means you are considering client-server scenarios, potentially of the web application variety. If this were true, it's reasonable to feel confused and possibly overwhelmed by information. Because of this, many beginners have started with popular web application framework-platforms, such as Django or Ruby on Rails, and grown from there. This is a tried and true approach to learning back-end web dev.

The concepts that must be known are those that apply to a role. For instance, a "web application developer" will likely be a generalist who is able to build an entire web app back end but may not have have ever opened the hood and rebuilt "the engine" or "the transmission" (car metaphors, not literal parts). A popular web framework will have a reasonably designed public API that abstracts away the complexity under the hood.

skylark1 reply#
This is a tough question to answer. What constitutes "back end" has changed significantly over the last 5-10 years - an Amazon AWS infrastructure engineer does vastly different day to day work from a small startup engineer.

For you specifically, I'd recommend picking up a web development framework like Ruby on Rails. It will teach you every aspect of building websites: Interacting with databases, writing server endpoints, creating front end web pages, user authentication, deployment, and probably version control. I would consider all of these things to be the bread and butter of typical "back end" engineers (except for maybe the front end stuff.)
From there, you can broaden your knowledge in any direction that interests you. If you like building interactive applications, you can look into front end frameworks like React or Vue. If you want to focus more on back end, you can learn more about relational databases (Head First SQL is a great beginner resource.) Lots of directions you can go.

collyw#
Agreed, for me learning Django covered a very broad area with and pointed me in the right direction regarding best practices. Deploying it is difficult enough that you will need to learn a about servers (its not desperately difficult but you will need to understand various things to get it running). I would suggest making a point of learning SQL properly understanding how to optimize queries.
scotty79#
1. How to start (and keep) listening on a port for requests.

2. How to read request parameters.
3. How to get the stuff you're asked for from the database.
4. How to create and send a response.
Once you can do that you can create a backend.
5. How to not get swamped in a mess and complexity when you do all above faster than you are required to.

wolframhempel#
I feel the pragmatic approach would be to start with "what happens when I type a URL in a browser and hit enter?". Set up a simple HTTP server in any language and log what the browser actually sends you - the various header fields as well as the body text. From these fundamentals, you can increasingly build up an understanding of how to serve clients - layer by layer.

I appreciate this sounds like trivial advice, but I've seen countless developers (including myself initially) that e.g. start with Ruby or PHP and don't understand what happens before their script is called, what receives their request, how paths are mapped, how this magical $_POST object is populated and so on.

Load more comments