In the real world, 'business logic' is sometimes mixed with 'business rules'. The examples and definition I've given are with respect to how the term is used in real life and may not exactly match the textbook definition.
@iAmTheSquidThing
2 жыл бұрын
Thank you for this. The phrase "business logic" is thrown around so much without anyone ever explaining what it means.
@marna_li
Жыл бұрын
The "business logic" is actually the most important part of your code. As a software developer, your task is to translate them into code using your technical skills. That is no easy task. You sometimes have to stop thinking in coding terms. That is the challenge that distinguishes a junior developer from an experienced developer who are confident in the tech and spends most of his or her time instantly translating these rules. It is all about the big vs the small picture. When you know how to confidently write and structure code and can focus more on business concerns independent from details in code.
@kokoloism
3 жыл бұрын
Thanks for the video. The most difficult part is to differentiate business logic from other types of logic and other parts of your system. There is UI layer, protocol/communications, application, security, storage, caching, validation... You have taken the original cargo shipping as an example, from the blue book, which is nice since it is a very valid model for learning purposes. I found two terms in your video that are not really part of the domain - first is data (what is data in the context of business?). The second one is representation - what is representation?
@osempo
3 жыл бұрын
Super simple and strigh to the point explaination, thanks!
@BeABetterDev
3 жыл бұрын
You're very welcome!
@supreme_nova
3 жыл бұрын
How do you put business logic into a document? Can it be explained with diagrams?
@BeABetterDev
3 жыл бұрын
Hi Nova, Absolutely it can be explained with diagrams. In fact, one of the most common ways to demonstrate business logic is through flow diagrams that guide the user through the experience.
@VortekShow
3 жыл бұрын
Thank you!
@BeABetterDev
3 жыл бұрын
You're welcome!
@RXGLine
3 жыл бұрын
So MVC MVVM VIPER , we should put business logic in Model / Entity
@TECH_JAIPAL
Жыл бұрын
Woww simply won...
@crazylegs85
2 жыл бұрын
Hmmm strange that this specific example is very similar to the one given by Eric Evans when talking about domain driven design. Check the talk in the link below (Hint: increase playback speed): kzitem.info/news/bejne/0YOrz4qip3minaA
@BeABetterDev
2 жыл бұрын
I think I made this video right after reading Eric's DDD book !
Пікірлер: 18