You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This design blueprint is proposed by @brianlong and should serve among others as starting point of discussion.
Model View Controller (MVC)
Built using a common MVC architecture for modular and maintainable code.
Router -- Receive client request, route the request to the appropriate controller, get formatted response from controller, send it to the client. Written as a stand-alone service so it is not tied to load balancer software (HAproxy, NGINX, etc).
Controller -- Get the request from the router, send it to backend, get the respsonse from the backend, send the response to the view layer for parsing, get the rendered view, and send the response to router to send back to the client.
Views -- Parse the backend response based on the client request. For example, jsonParsed TX + parsing from Anchor IDL. Requests for the default format of base64 will bypass the view later for better performance.
Model -- the backend data servers or validator RPC which will return data in base64 format.
The text was updated successfully, but these errors were encountered:
Meta
This design blueprint is proposed by @brianlong and should serve among others as starting point of discussion.
Model View Controller (MVC)
Built using a common MVC architecture for modular and maintainable code.
The text was updated successfully, but these errors were encountered: