142 - 5 Ways to improve your business logic - podcast episode cover

142 - 5 Ways to improve your business logic

Jan 07, 202236 minSeason 4Ep. 142
--:--
--:--
Download Metacast podcast app
Listen to this episode in Metacast mobile app
Don't just listen to podcasts. Learn from them with transcripts, summaries, and chapters for every episode. Skim, search, and bookmark insights. Learn more

Episode description

Business logic isn't just for businesses in the money making sense.   

Business logic encapsulates entities and the business rules or policies that solve real world problems.  Business logic is used to model entities that relate to business objects. For example your application may require orders, order items, payments, customers and the addresses.  

5 ways to improve Business logic  

  1. Keep it portable 
  2. Keep it out of view logic 
  3. Small isolated rules 
  4. Avoid large recalculations of data 
  5. Don't over abstract

Watch the show on YouTube

Contact me and let me know your thoughts or get something read out on air.

My web development courses

➡️ Learn How to build a JavaScript Tip Calculator 

➡️ Learn JavaScript arrays

➡️ Learn PHP arrays

➡️ Learn Python

✉️ Get my weekly newsletter

⏰ My current live coding schedule (Times are BST)

Thursdays 20:00 = Live Podcast YouTube

Sundays 14:30 - Live coding on Twitch

For the best experience, listen in Metacast app for iOS or Android