All posts by Korvin

PHP basics

As a kinesthetic learner, my preference when taking a course in code is to build what I’m shown, but tweak, improve, build on and document what I learn as I go along.

Returning to professional web development after a long break, I needed a refresher course in php, so I took a look at the php basics video series from codecourse:

With a series like this, where examples have a minimal front end, I like to build a suitable front-end as I go, shaping it to the needs of the project. To me this is an ideal way to build a site, but isn’t always possible in a client project. Personal projects are ideal for this kind of discipline, and it’s amazing what can come out of it.

Continue reading PHP basics

Uploading with html5/php

Resources on handling file uploads.

http://php.net/manual/en/features.file-upload.php
http://php.net/manual/en/reserved.variables.post.php#87512
https://www.sitepoint.com/file-uploads-with-php/
https://www.sitepoint.com/monitoring-file-integrity/

Front end

https://www.quirksmode.org/dom/inputfile.html

https://www.sitepoint.com/tracking-upload-progress-with-php-and-javascript/

http://stackoverflow.com/questions/29727436/upload-progress-bar-using-session-in-php-5-4-with-codeigniter

Related

https://www.sitepoint.com/monitoring-file-integrity/

https://www.sitepoint.com/html5-native-drag-and-drop-api/

Sulphur

https://github.com/KorvinM/sulphur

Hillary Clinton’s old website

On Sunday, Hillary Rodham Clinton announced she would definitely like to be the next President of the United States of America. Before that announcement HillaryClinton.com looked like this: a holding page linking to the website of her official office.

HillaryClinton.com on 27th March 2015, retrieved from archive.org
HillaryClinton.com on 27th March 2015, retrieved from archive.org

Blue, a notoriously popular colour in web design, seems deployed here according to colour theory:always reassuringly safe, friendly and almost frivolous when light, while the darker blue brings a more serious tone. The background gradient gives an abstract sense of a horizon; the ground and the sky; don’t stop thinking about tomorrow. We’re meant to be reassured. The contrasting darker blue used for the ‘Hillary’ headline – really a logo – fits it quite well: we’re on first name terms with Mrs Clinton, but we’re still encouraged to take her name seriously as a strong and powerful proposition. The colour contrast emphasises the seriousness of ‘Hillary’ as a concept. We’re meant to be impressed.
The gradient is deployed as a background image rather than modern css: old-fashioned but fine for a lightweight single page site. There’s a technical fail, however, whereby the bottom curve of the ‘y’ descender in the logo (also deployed as an image) has been truncated by over-zealous cropping. This could have been avoided with modern web typography – or a steadier hand.

But never mind because the typography itself is interesting. Continue reading Hillary Clinton’s old website

WordPress.tv videos watched

These are some of the videos I’ve enjoyed watching earlier this year on wordpress.tv, and thought worth noting.

Michael McNeill: Things you should know about WordPress (but were always afraid to ask)

A technical overview of the structures and processes of a WordPress site.

http://wordpress.tv/2015/01/04/michael-mcneill-things-you-should-know-about-wordpress-but-were-always-afraid-to-ask/
Continue reading WordPress.tv videos watched