Skip to main content

A C Roynon

  • Blog
  • About
  • Contact
  • Links

Category: Object Orientated Programming

Dependency Inversion Principle

8th April 202025th January 2020 acroynon Leave a comment

The Dependency Inversion Principle is a component of The SOLID Principles. These principles set out simple rules to follow that allow us to create maintainable and easily extensible codebases. The dependency inversion principle states that any entity should depend … Click to read more

Interface Segregation Principle

6th April 202025th January 2020 acroynon Leave a comment

The Interface Segregation Principle is a component of The SOLID Principles. The SOLID principles are useful tips and rules to follow when writing software and code to create a maintainable and easily extensible codebase. The interface segregation principle states … Click to read more

Liskov Substitution Principle

3rd April 202025th January 2020 acroynon Leave a comment

The Liskov Substitution Principle is a component of The SOLID Principles which helps you create maintainable and extensible code. This principle states that any class should be able to be substituted for any of its subclasses without any issues. This … Click to read more

Open-Closed Principle

1st April 202025th January 2020 acroynon Leave a comment

The Open-Closed Principle is a component of The SOLID Principles. These principles can help you write software that is easy to extend and maintain whilst also avoiding code smells and bad design in your codebase. The open-closed principle states … Click to read more

Single Responsibility Principle (SRP)

30th March 202025th January 2020 acroynon Leave a comment

The Single Responsibility Principle (SRP) is one of the aspects of The SOLID Principles. It states that every class or object should have one purpose, one responsibility and effectively one reason for existence. This principle is concerned mainly with … Click to read more

The SOLID Principles

27th March 202026th January 2020 acroynon 4 Comments

The SOLID principles are a set of 5 rules to follow for Object-Orientated Programming (OOP). These rules or principles can be used to create software that is easy to extend and maintain while avoiding code smells and allowing simple refactoring. … Click to read more

Interfaces and Abstract Classes

22nd April 20198th May 2019 acroynon 1 Comment

Interfaces and abstract classes are used within object orientated programming to extend other classes and add additional functionality without rewriting or duplicating code. The difference between interfaces and abstract classes when compared to creating a normal base class is that … Click to read more

Inheritance and Polymorphism

15th April 20198th May 2019 acroynon Leave a comment

Inheritance is way to base one class on another class, like a template built from an existing template. You could create a class called ‘Dog’ that acts as a template for all Dog objects. We could then create another class … Click to read more

Classes and Objects

8th April 20198th May 2019 acroynon Leave a comment

A class is a template used to create objects within code. Classes are the
foundational elements of Object Orientated Programming (OOP). Imagine like a blueprint for a house, the blueprint isn’t a house but is used to create a house … Click to read more

Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Privacy Policy

Popular

  • Relational Databases Explained
  • The TCP/IP Model
  • How To Create A Simple To Do List App Using HTML, CSS, JS, and PHP – Part 8
  • How To Create A Simple To Do List App Using HTML, CSS, JS, and PHP – Part 3
  • What is Programming Syntax?
  • What is Encryption?
  • How To Create A Simple To Do List App Using HTML, CSS, JS, and PHP – Part 5
  • How To Create A Simple To Do List App Using HTML, CSS, JS, and PHP
  • The SOLID Principles
  • What is PHP?
  • Strongly Typed vs, Weakly Typed Languages
  • What is a Database?
  • Functions in JavaScript
  • HTML5 Canvas Element
  • Concurrency vs. Parallelism

Recent

  • Dependency Inversion Principle
  • Interface Segregation Principle
  • Liskov Substitution Principle
  • Open-Closed Principle
  • Single Responsibility Principle (SRP)
  • The SOLID Principles
  • What is a Firewall?
  • What is Steganography?
  • The Difference Between a LAN and a WAN
  • JavaScript Destructuring Explained
  • How To Create A Simple To Do List App Using HTML, CSS, JS, and PHP
  • How To Create A Simple To Do List App Using HTML, CSS, JS, and PHP – Part 11
  • JavaScript Spread Operator Explained
  • JavaScript Arrow Functions Explained
  • How To Create A Simple To Do List App Using HTML, CSS, JS, and PHP – Part 10
sparkling Theme by Colorlib Powered by WordPress