KCKishore Chandra Sahooinkish2011.hashnode.dev·Oct 6, 2024 · 2 min readHow 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 ...00
KCKishore Chandra Sahooinkish2011.hashnode.dev·Apr 23, 2024 · 2 min readFluent 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 ...00
KCKishore Chandra Sahooinkish2011.hashnode.dev·Aug 29, 2023 · 4 min readPHP | 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...00
KCKishore Chandra Sahooinkish2011.hashnode.dev·May 7, 2022 · 2 min readComposition 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...00