S
S
Stas2018-06-03 12:49:12
Backend
Stas, 2018-06-03 12:49:12

Is it true that >80% of the backend's work is to "saw" CRUD-API?

Observing myself and my colleagues, I noticed that each project follows the same scenario:

  • created models;
  • wrote tests for them;
  • wrote CRUD controllers for each model (accept data; connect to the database via ORM; render json);
  • wrote tests for them;
  • moved on to a new project;

Of course, there are more interesting tasks like:
write a deferred tasks worker; write a data aggregation script; configure morphological or prefix search; optimize endpoint operation in order to reduce response time; optimize the work of any script; etc;
But their number is not large in each project.
Interested in the experience of colleagues. Is this true or is the world of backend development more diverse?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
d-stream, 2018-06-03
@stasretrovv

The draft part of the business logic relies on the interaction of models, which as a rule should have something like CRUD. Often there is a lot of code writing, especially in the presence of various verifications, so their writing is noticeable by the time spent, and the highlights are they are a little earlier (architecture) and a little later (interaction, behavior), but hardly noticeable precisely due to a well-prepared foundation in the form of tested " bricks."

A
Artem, 2018-06-03
@proudmore

No, it's not. CRUD is a very small layer of tasks. It so happened that the business logic in the vast majority of cases goes beyond crud, so there are more tasks

T
TheAthlete, 2018-06-04
@TheAthlete

On a modern project where there is a React / Vue / Angular SPA application, yes, the backend is needed to drive JSON to / from the client
. much moved to the front

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question