PHP 8.0 Model Classes with constructor promotion
Let’s start with what I mean by “Model Class”. A “Model Class” is nothing more than a class used to
Read moreFor the online learning world
Let’s start with what I mean by “Model Class”. A “Model Class” is nothing more than a class used to
Read moreIntroduction You’re customising your Moodle site using CSS / SCSS, perhaps with a plugin or in theme, then suddenly your
Read morePHP 8 has this amazing feature called “constructor promotion” that allows you to define the properties of a class and
Read moreI work with Moodle code a lot and on most (if not all) projects codesniffer is employed to ensure a
Read moreIntroduction For years now I’ve been developing Moodle code in Notepad++, because of its tabs and understanding of line endings
Read moreIntroduction If you’ve not read my ‘The first step’ posts (all three – one, two and three) and don’t understand
Read moreLast time in part one we setup a web server and looked at PHP output. This time in part two we will look at:
1. variables
2. functions
3. scope and globals