Author: admin

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

CSS3 Transitions: FadeTo – Extending Animate.css

Animate.css is a fantastic tool for adding CSS3 transitions to your site. It gives them a creative edge with a bit of a wow factor. It comes, of course, at the additional cost of loading an extra css file, which is quite chunky at 71kb, and 55kb minified. However you don't have to add...

Read More