Convert a Menu to a Dropdown for Small Screens

<!DOCTYPE html>
<meta charset=’UTF-8′>
<title>Convert Menu to Dropdown</title>
* {
margin: 0;
padding: 0;
h1 {
font: 300 21px “HelveticaNeue-Light”, “Helvetica Neue Light”, “Helvetica Neue”, Helvetica, Arial, “Lucida Grande”, sans-serif;
width: 500px;
margin: 0 auto 15px;
nav {
display: block;
width: 960px;
margin: 100px auto;
text-align: center;
} Continue reading

[RFC] PHP 5.4 Strict Error Reporting

Testing with PHP 5.4 at E_ALL produces strict warning messages such as:

Strict (2048): Declaration of Product::beforeSave() should be compatible with Model::beforeSave($options = Array) [APP/Model/Product.php, line 4]

It’s an easy fix, for example in APP/Model/Product.php change:

public function beforeSave() {


public function beforeSave($options = array()) {