I have a question regarding the folder structure of the application.
Next, the question arises when there is a need to write a class that integrates with an API that class would be allocated in which part? For example, this class would not have behavior of a component (it does not have any kind of business logic) but maybe of a lib (Library) that would be an interface to consume API resources. p>
Imagine the following structure:
/app/
- controllers/
- components/
- models/
- vendors/
But the question is, if API is a package written by me, it should not go to vendors (since vendors are only for third party packages), I am right? Or maybe it would be ideal to have a new librarys / directory for the application's internal packages?