Blog

Home

PHP: Understanding MVC Basics

Model-View-Control (MVC) is a software architecture pattern, originally formulated in the late 1970. It is built on the basis of separation of concerns - keeping the presentation of data separate from the methods that interact with the data. It is widely used in web applications across multiple languages, from javascript to Ruby, PHP, ASP.Net,...
Read More

PHP: Old Projects & GitHub

One of the reasons for setting up a github account - apart from linking to other repositories & developers - was to migrate 10+ years of personal work and projects from local drive to online resources. Mainly just so I can clean down the drive, and to keep everything in one place. Of course...
Read More

Sass: Variables and modular scss stylesheets

The larger a web project, the more cumbersome the stylesheet. This is a generalisation of course, but has a basis in reality. For larger projects, or complex systems, css maintenance is an issue. Many developers mitigate this by splitting it into smaller related stylesheets. A functional approach, but not without the additional cost of...
Read More

Checking for meta data in WordPress

Meta data is key:value paired data associated with posts, taxonomies and users in WordPress. Post meta data is stored in the wp_post_meta table, taxonomy term meta data in the wp_term_meta table and user meta data in the wp_user_meta data table. Post Meta Retrieval One common question is how to check that post meta data...
Read More