How To Code Well

142 - 5 Ways to improve your business logic


Listen Later

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
  6. 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

    ...more
    View all episodesView all episodes
    Download on the App Store

    How To Code WellBy Peter Fisher

    • 5
    • 5
    • 5
    • 5
    • 5

    5

    11 ratings


    More shows like How To Code Well

    View all
    The Laravel Podcast by Taylor Otwell, Matt Stauffer

    The Laravel Podcast

    59 Listeners

    Software Engineering Daily by Software Engineering Daily

    Software Engineering Daily

    628 Listeners

    Timcast IRL by Timcast Media

    Timcast IRL

    7,393 Listeners