in a well-designed system, the presentation layer should be a separate code base from the business logic layer. MVC and other frameworks enforce this. So in theory you should never have one function which both does logical calculations on the database (e.g. validating that data is formatted correctly) and outputs HTML.
It might be that at a small company one person does both the backend and the front-end, in which case I would describe them as a “full stack” developer.
in a well-designed system, the presentation layer should be a separate code base from the business logic layer. MVC and other frameworks enforce this. So in theory you should never have one function which both does logical calculations on the database (e.g. validating that data is formatted correctly) and outputs HTML.
It might be that at a small company one person does both the backend and the front-end, in which case I would describe them as a “full stack” developer.