How to Create Tables in WordPress using BerlinDBI recently discovered a wonderful module in WordPress which can help you create tables in WordPress easily. Here is the Client Code. I did some modifications in the BerlinDB class as well so that I pass the table columns in the Client code. $columns ...Oct 6, 2024 · 2 min readkish2011.hashnode.dev
Fluent Interface in PHPPurpose: To write code that is easily readable like sentences in a natural language (like English). The Fluent Interface is an Interface Design Pattern that allows us to chain method calls together in a readable and intuitive manner. We must declare ...Apr 23, 2024 · 2 min readkish2011.hashnode.dev
PHP | Object Basics-I | Introduction to Object-Oriented ProgrammingThis blog will cover the following topics in detail: Classes and Objects Constructor methods Classes and Objects Classes are often described in terms of Objects; Objects are often described in terms of Classes. This is interesting. To declare a c...Aug 29, 2023 · 4 min readkish2011.hashnode.dev
Composition over Inheritance in PHPInheritance vs Composition 1. Static vs Dynamic Behavior The first difference between Inheritance and Composition comes from a flexible point of view. When you use Inheritance, you have to define which class you are extending in code, it cannot be ch...May 7, 2022 · 2 min readkish2011.hashnode.dev