S
S
Sergey Sova2015-03-08 02:59:36
JavaScript
Sergey Sova, 2015-03-08 02:59:36

Are there any resources on building a proper server architecture with node.js/io.js?

At work, they set the task to write an online game for VK .
How the backend is selected by node.js .
I have been writing in JS for a long time, but I have no experience in designing an application .
Who will tell you something? Maybe there are books in general or on a specific area?
thanks for the help

Answer the question

In order to leave comments, you need to log in

2 answer(s)
T
Timur Shemsedinov, 2015-03-08
@LestaD

The architectural principles are not very related to the node, they will be approximately the same, no matter what language you write in. The first piece of advice I can give when you move from programming technology to systems architecture is like moving from bricklaying to building architecture - you need to put aside all the patterns that you knew before and rise to another level of abstraction. Namely, you need to stop thinking in terms of such concepts as DI (dependency injection), REST, MVC, ORM, RPC, template engines, components, sockets, promises, and so on - these are all technologies. What you need to understand is: layers (layers), modules, contracts, adapters, client-server, 3-tier architecture, microservices, QS (queuing systems), etc. Where everything is so collected in one place - I can’t say, I personally mastered everything bit by bit, on which he put 20 years of professional activity. Read about ISO/OSI, check out my three articleshabrahabr.ru/post/227753 and habrahabr.ru/post/204958 and habrahabr.ru/post/117791 There used to be good articles on architecture on www.osp.ru but, unfortunately, I haven't read it for a long time. You can start with Grady Booch's books and mastering UML, this uncle has formed a fairly complete approach and methodology for designing software systems, which leads the right way, but in practice, in each individual case, it can be replaced by the architect's intuition and significantly simplified. Good luck!

D
Dmitry Pavlov, 2015-03-12
@dmitry_pavlov

I can suggest reading a couple of our posts - they discuss the architecture that can be taken as a basis:

  • Why The Hell Would I Use Node.js? A Case-by-Case T...
  • Init.js: A Guide to the Why and How of Full-Stack ...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question