I'm trying to make a component diagram for some missing animal search system.
- pet911.js (scripts) is a component that is used to handle events on the client side. Scripts process the data that users enter on the system pages and send this data to the server for further processing.
- pet911.html(Web interface) is a component that provides user interaction with the system. It contains various pages.
- pet911-payment.js is a component that provides payment processing through third-party payment systems.
- pet911-server.js is a component that runs a server application and processes requests from clients
- pet911-router.js is a component that handles request routing on the server
- pet911-controller.js is a component that processes application logic on the server
- pet911-utils.dll - is a component with utilities for various jobs such as data encryption and decryption for exmp..
- pet911-data-access.js is a component that provides functions for interacting with the database
- pet911-db-connector.dll - is a component for connecting to the database
- pet911.db - is a database
I am bad at software architecture and would like to ask if I have correctly depicted the connections between the components.I would also like to get recommendations about whether some components are redundant, or whether some more need to be added?
Also I have a little question about pet911-payment.js . I decided to put this in a separate component, since it will use payment services (that is, something third-party) Is it possible to somehow depict this on a component diagram?
I would also like to know how I can supplement my diagram? Because it looks rather crude, for example, to specify database tables, etc., to provide some additional information.I would be grateful if you would provide resources where i can get acquainted with this and see examples.
(my diagram is similar to the Modeling source code technique, i guess..but I don't see any additional information on the diagram, except for various files.(this is a diagram from the internet as an example) )