Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialkaran Badhwar
Web Development Techdegree Graduate 18,135 Pointswhat is business logic
What actually is business logic? I did not get it, I thought it might not be that imp to understand, then I encountered that term again somewhere. can somebody please explain me that
Caleb Kemp
12,755 PointsGlad to hear it helped a little bit, you're very welcome
karan Badhwar
Web Development Techdegree Graduate 18,135 PointsIt was indeed, Caleb Kemp, I have one general question, so when we want to use some library, how do we know what to code to put and how should we use, what to edit and what not too, is that everything is written inside the docs?
Caleb Kemp
12,755 PointsYea, most libraries will contain examples; or some sort of documentation about how they should be used.
1 Answer
Caleb Kemp
12,755 PointsI heard an instructor on Treehouse (a while back) refer to business logic as all of the code in your program that is unique and gives it value. That made a lot of sense to me, and I liked that definition. However, that is not the usual way it is defined. Here and here and here are some of the ways you will find that people choose to define business logic. I'm not saying any of those, in particular, are bad, but I think you can see, they don't completely agree with each other at the same time. It really is one of those fuzzy terms that kind of changes meaning depending on who you ask. For the most part, if you hear it in a course here, it will be the code that goes into the model. Sorry I couldn't be more helpful.
karan Badhwar
Web Development Techdegree Graduate 18,135 Pointskaran Badhwar
Web Development Techdegree Graduate 18,135 PointsThankyou Caleb Kemp , but I still get it somehow, don't apologize please, you are helping me a lot.. thankyou again