It’s soon OK to link to stylesheets directly from anywhere inside the <body> without having FOUCs: The plan is for each <link rel="stylesheet"> to block rendering of subsequent content while the stylesheet loads, but allow the rendering of content before it. The stylesheets load in parallel, but they apply in series. This makes <link rel="stylesheet"> …
Tag Archives: link
Typed Arrays in PHP
Tim Bezhashvyly: Typed arrays exist in PHP, at least to some degree. This wonderful feature sneaked in as a side-effect of variadic functions that were added to the language in PHP 5.6. Turns out one can actually typehint the variadic parameter, as so: <?php function foo (Product …$products) { /* … */ } Only works …
A faster, more stable Chrome on iOS
The Chromium Blog: In Chrome 48 we’ve made the switch from UIWebView to WKWebView, leading to dramatic improvements in stability, speed, responsiveness, and web compatibility. The improvements are indeed remarkable and – from a user’s point of view – very noticeable. Additionally it’s also more stable: With WKWebView’s out-of-process rendering, when the web view crashes …
Viewports Visualisation App
PPK: Instead of the work I was supposed to do I spent about a day and a half on the alpha version of a viewports visualisation app. It’s already been very useful to me, since figuring out how the viewports actually work is necessary for full understanding. I hope it does the same for you. …
Too many people have peed in the pool
Stephen Fry, on deactivating his Twitter account: Twitter has become a stalking ground for the sanctimoniously self-righteous who love to second-guess, to leap to conclusions and be offended – worse, to be offended on behalf of others they do not even know. It’s as nasty and unwholesome a characteristic as can be imagined. It doesn’t …
Cinema Seat Preview
Maybe you are familiar with those ticket booking systems where, at some point during the purchase flow, you have to choose a seat. This is usually done when selling tickets for games, movies, flights or concerts. Wouldn’t it be cool to have some kind of “realistic” preview of the seat, i.e. see the stage or …
Medis, a Redis GUI Client
Blurred Background Generator
This tool helps you to generate beautiful blurry background images that you can use in any project. It doesn’t use CSS3 gradients, but a rather unique approach. It takes a stock image, extracts a very small area (sample area) and scales it up to 100%. The browser’s image smoothing algorithm takes care of the rest. …
Scrapbook, PHP Caching Environment
// create \Memcached object pointing to your Memcached server $client = new \Memcached(); $client->addServer(‘localhost’, 11211); // create Scrapbook cache object $cache = new \MatthiasMullie\Scrapbook\Adapters\Memcached($client); // set a value $cache->set(‘key’, ‘value’); // returns true // get a value $cache->get(‘key’); // returns ‘value’ Scrapbook is a caching environment for PHP. The cornerstone is key-value-store, which sets a …
Design for the bigger problem
Great stuff by my friend Thomas Byttebier: When designing user interfaces, the same rule of thumb applies: never start designing anything until you deeply understand the problem at hand. Go back to research, talk to real users. Be that 3-year old kid again that answers every answer with another ‘why?’ until all conversations ultimately end …