Restful architecture and application integration
Restful architecture
- modular hexagonal or layered architecture
Architecture can further be divided into a module or layered and each layer/module is responsible for one functionality, like layer MVC or module in node.js
- Presentation — UI
A UI is only responsible to present view to the user like button, chart, table, and will communicate with backend via a protocol like HTTP
- Business logic — the application’s business logic.
All business logic will be present in a Controller like we have in ruby on rails
- Database access —
there can be a database access layer or models which will communicate to database or map data to the database like we have sequelize js/ mongoose in node.js
- Application integration — integration with other services (e.g. via messaging or REST API).
Most application are now dependent on other services like twillio apis, google map apis, braintree , stripe
so integration with other application is also important
0 comments: