danielhpavey

A sorta, kinda, web development and design blog...

What design is...

Thursday 2 June 2016

What Design Is... Despite popular opinion, design is not about Sketch, style guides, or pushing pixels, it is the act of intentionally solving problems.— Cameron Rogers (@cameron_rogers) June 1, 2016

Tags: #design #bookmarks #tweet

Web Making

Friday 22 April 2016

Web Making Loving this tweet... Web making: 1. Identify core functionality. 2. Make that functionality available using the simplest technology. 3. Enhance! @adactio #aeabos— Jeffrey Zeldman (@zeldman) May 17, 2016

Tags: #web development #responsive web design

Web Dev Axioms to Live By

Friday 22 April 2016

Web Dev Axioms to Live By Loving this tweet... web dev axioms to live by: #1 if you can do it in HTML, don’t use CSS#2 if you can do it in CSS, don’t use JS#3 if all else fails use JS— John Allsopp (@johnallsopp) April 12, 2016

Tags: #web development #responsive web design

Change Last Character in String to Uppercase in MySQL

Thursday 11 February 2016

How to Change the Last Character in a String to Uppercase in MySQL I have been working on a project that required the importing of some nasty old, badly formatted data in a nice new MySQL database. I ended up data in a firstname field with titles and initials, for example; Mr…

Tags: #mysql #webdev

Load A Joomla! Template File From A Separate View

Wednesday 10 February 2016

Load A Joomla! Template File From A Separate View I am working hard to improve the quality of my php code and one of significant technique is to use the DRY principle. However this can become a little harder to stick to when using a framework / CMS. I mostly work with…

Tags: #joomla #web development #php

Joomla! Template Equals Component

Monday 1 February 2016

Joomla! Template Equals Component I knew that you can modify the output of Joomla! still further by tagging "tmpl=component" onto the end the url. This should then output the content of whatever component you are viewing without the template. You might need to create a component.php file in the root of your template…

Tags: #joomla # web development

Never Design The Home Page First

Thursday 14 January 2016

Never Design The Home Page First This is something I think about doing, but really need to actually start doing it! Pro tip. Never design the homepage first. Always start with a product page, an article or a page where design thinking is really needed.— Joe Leech 红豆 乔 (@mrjoe) January 14,

Tags: #design #inspiration #web design

The Pressing Need to Overtake

Friday 18 December 2015

The Pressing Need to Overtake I cycle. Every day. Well, most working days. I cycle to work. When you cycle a lot it is very easy to develop a sizable chip on your shoulder about motorists. I try to resist this as clearly, not all motorist are evil fuckers... However there are enough who…

Tags: #cycling

2 Hard Things in Computer Science

Thursday 10 December 2015

2 Hard Things in Computer Science I've long been a fan of this quote from Phil Karlton "There are only two hard things in Computer Science: cache invalidation and naming things" However I am an even bigger fan of the slight variation on it: "There are only two hard things in Computer Science: cache

Tags: #web #web development #programming

Recursively count all the files in a directory

Friday 27 November 2015

Recursively count all the files in a directory Every now and then I need to do this... so this is here for reference... find . -type f | wc -l linux - Recursively count all the files in a directory

Tags: #terminal

Next >