Mindplay - mindplay.dk - blog.mindplay.dk
General Information:
Latest News:
Software and (Mental) Health 2 Jun 2013 | 06:30 pm
I'd like to offer what I think is an insight into why some simpler (less "academic") software usually beats the more complex software, even though the more complex software often has substantially mor...
Sustainable Web Development 25 Mar 2013 | 12:58 am
This post will be a bit of a detour from my regular material - I normally take an interest mainly in technical topics, but these past couple of years, I have taken an increasing interest in the busine...
Hello "Web Languages", Where's the "Web"? 20 Mar 2013 | 04:27 am
I just have to get this off my chest. How come the leading "web languages" are all languages that don't have a single web-specific feature? Before flames start coming out of your eyes, let me explai...
The "or else" ternary operator in PHP 5.3 6 Feb 2013 | 07:25 pm
Just wanted to share this quick tip about a tiny and frequently overlooked feature in PHP 5.3. We've all had to write code like this in the past: Repeating that whole array resolution is ugly, and p...
A note about Dependencies 23 Jan 2013 | 07:39 pm
These past few years, I feel increasingly that most components can avoid difficult dependencies by adhering to one simple principle: each component should stick to a single responsibility. To use a p...
Resolving parameters as action-method arguments with the Yii-framework 16 Jun 2012 | 06:30 am
I recently returned to PHP to work on a Yii-project, and my little 2-year detour to ASP.NET/MVC taught me some new ideas. One of them is the idea of "model-binding", which basically means, taking GET...
CMS vs DMS 12 Mar 2012 | 03:30 pm
I've spent a lot of evenings over the past 5 years or so jotting down notes for my one-day to-be CMS, or so I thought. This morning I came across this post, which makes me think I've actually been des...
What's inside jQuery? 17 Feb 2012 | 05:58 pm
jQuery is probably one of the most widely used pieces of software all-round. When it first came out, it was sort of like a revelation to almost everyone in our field - so thank you for that, John Resi...
Packaging the Yii framework as an archive 23 Jan 2012 | 03:00 am
With PHP 5.3 came the new phar extension, which allows you to package scripts and other files into an archive, and enables you to run scripts or serve documents from that archive. I've built several ...
The short-sightedness of CSS3 image-fragments 17 Jan 2012 | 06:29 am
So everyone is raving about this new CSS3 feature for cropping images. example from the W3C specification (working draft 12) This is a good solution to one very specific problem. However, the reas....