W
W
wawa2018-11-27 13:12:29
Software design
wawa, 2018-11-27 13:12:29

What is the procedure for designing a web service?

1) I wrote what problems my software should solve.
2) From this I isolated the domain objects.
What to do next is not clear:
a) from (2) to design an interface or
b) from (2) to design a database schema or
c) from (2) to design an API (will be SPA)?
What is the order?
Can you briefly explain on the fingers?
Are there any good articles or books by recognized gurus on this subject (M.Fowler, R.Martin,...)? I'm interested in some brief introduction, which made it possible to understand exactly the basics (because the Talmud would rather confuse and move me away from practice).

Answer the question

In order to leave comments, you need to log in

4 answer(s)
A
Artemy, 2018-11-27
@MetaAbstract

Not a great expert in marketing, but you forgot to conduct a market analysis as the first point. If there is no demand, then there is no point in doing it, if this is how the business is planned. And from a technical point of view, the best option is to file an MVP.

S
stratosmi, 2018-11-27
@stratosmi

MVP

V
Vitaliy Orlov, 2018-11-27
@orlov0562

Any web service, this is ultimately an interface to the database, or rather to the data that is stored in it. Therefore, at the beginning of the database structure, then api (i.e. methods for accessing data in the database), then the application itself, which will use these api methods. The application will be further divided into design (i.e. application layout) and SPA development

S
Sergey Egorov, 2018-12-21
@SergeyEgorov

The ideal design scenario is to write tests first. Write API tests for example in Javascript + Node.js + Jasmine + Request. In tests, implement API requests in the most convenient way in your opinion. Wrote a test, you can implement the end corresponding API connection point. At the initial stage, you can not use the database at all, operate with data in memory, in arrays or hashes to speed up.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question