News for hackers. Stuff that matters.
Re:Ask HN: How to switch from front-end to back-end by throwaway2016a on Tuesday January 31, 2017 @10:59AM (#13531621)
First start by defining "backend". It means something different depending on the size of the project. Many systems now are three tier meaning front-end, middle-tier, and backend.

What you probably want to focus on is the middle tier. In those three tier systems the backend is actually very low level (data processing, storage, replication, message brokering, etc) and is often handled by third-party products such as database engines.

Some (many) projects combine backend-and middle tier as if they are the same thing. And in some systems the middle-tier is very thin and just slightly abstracts the backend.

So definitions aside... if you want to transition to middle tier...

- Learn API development. Especially focus on REST and possibly GraphQL. Learn the difference between a 422 and a 401 error, GET/POST/PATCH/PUT etc, etc.

If you want to really get into backend...

- Learn hardware limitations

- Learn Linux very well

- Learn about job queues, Message busses, and interprocess communication

- Learn about service discovery and the differences between eventually consistent and strongly consistent

- Learn about containerization

- Learn about system operations

- Learn algorithms. Including graph algorithms and how to determine algorithmic complexity

Useful for both...

- Learn SQL

- Learn a few NoSQL systems... MongoDB, Elastic Search, Redis

- Learn about security

Don't worry about specific languages. The concepts carry over to any language. If you have to pick, Node.js, GoLang, Ruby, and Python are all acceptable choices for middle-tier.

Re:Ask HN: How to switch from front-end to back-end by tedmiston on Tuesday January 31, 2017 @05:05PM (#13535717)
I think this answer kind of puts the cart before the horse.

I've been doing backend dev for many years and my perspective is that it's better to dive in and learn things as you go along.

Yes, all of these pieces listed above are important, BUT if you focus on learning each one well, it'll be a long time before you actually ship backend code. You don't need to understand things like containers, deployment, queues, distributed systems, etc to just start.

I'm going to take an opposite approach and say that the best way to get started in backend is from the top of the stack. Build a simple web app or API, for example a journal or bookmarking service.

Language and framework choice don't really matter at this point. Fundamentals are not radically different across them aside from the biggest difference being asynchronous vs synchronous paradigms. Start simple.

Re:Ask HN: How to switch from front-end to back-end by throwaway2016a on Wednesday February 01, 2017 @11:36AM (#13542164)
Just to clarify, I was not suggesting someone needs to learn all of this before they get started.

Although having a meaningful product with either knowing most of this or having a mentor who can help and/or potential write code as well is difficult and you will en dup with a lot of technical debt and or problems as the product grows.

Re:Ask HN: How to switch from front-end to back-end by boomlinde on Wednesday February 01, 2017 @02:51AM (#13539128)
Define "middle-tier". The difference between backend and frontend seem pretty clear to me in the case of web services. Some code is clearly executed in the client's browser, and the rest is not.

You can perhaps use "middle-tier" to be more specific about which aspects of development you mean, but there's no use in fuzzing what is actally a very clear and helpful distinction.

Re:Ask HN: How to switch from front-end to back-end by bloomca on Tuesday January 31, 2017 @12:43PM (#13533035)
Thank you for advice!

Actually, I know that language is not that important, but as I said, without prior experience, I am afraid that if I will market myself as just a "backend/software developer", companies will be afraid, and with a single language it seems easier.

So, the best way just to pick a topic and go deeper, there are no resources that cover them together?

Re:Ask HN: How to switch from front-end to back-end by samblr on Tuesday January 31, 2017 @02:04PM (#13534017)
Backend is full of rabbit holes.

So build something simple (blogger) which touches on primary concepts : api-router, auth, access control, storage, db, cache, cloud, tests, continuous integration & deployment. Even for a small app - one will have to make lot of choices from existing components/frameworks/packages. So begin in a language you are comfortable or you like to get a hang of concepts.

Re:Ask HN: How to switch from front-end to back-end by throwaway2016a on Tuesday January 31, 2017 @03:25PM (#13534861)
Personally I would pick API development and go from there.

Decide you want to build a REST API, design it properly (it is easy to make a not-really-REST API), write unit tests, and build it.

Re:Ask HN: How to switch from front-end to back-end by CodeSheikh on Tuesday January 31, 2017 @11:30AM (#13532011)
And don't solely rely on node.js as a backend. It can be a gateway to backend dev but not the best option out there.