>>106396363 (OP)
it is the code which does the things your business needs to do. if you run a website where people can order stuff to get delivered to their house, the code that processes orders and schedules deliveries is your business logic.
the library that you use to communicate to your database is not part of your business logic.
>>106396955
i have no idea what that means.
it is the code which you don't need to explain to a third-party who is helping you solve a problem. >i can't connect to my database >my business logic calls db_lib.load() and it doesn't work
>>106396955
Yes. It’s most stuff that isn’t infrastructure or protocol. The http server isn’t business logic, choosing Postgres isn’t business logic, cloud isn’t business logic, your CI/CD isn’t business logic.
But your data model, your services, most things beyond infrastructure and boilerplate - those are business logics.
>>106396363 (OP)
you make a web app to process sad pepe images into happy pepe images
the "business logic" would be:
1. validating the file is a supported image
2. analyzing it for a sad pepe
3. transforming it into a happy variant
4. serving the user with the new version
>>106396363 (OP)
Guys explain it to me what's the business logic of 4chan?
Is it the CRUD stuff? the mod tools? the ad selling and ad serving? all that?