PHPNews

How Apple can fix 3D Touch

Apple introduced 3D Touch and its new related interactions Peek and Pop in 2014. It’s been almost 4 years since its first introduction, yet people don’t know/use 3D Touch. Why would they? Even tech-savvy users don’t know which buttons offer 3D touch. Let alone regular users. The addition of a simple visual …

Continue reading »

Written by Bram.us - - Aggregated on Wednesday June 20, 2018


Animate CSS Grid Layouts with animate-css-grid

In a new (ish) web-project I’m working on, I went all-in on CSS Grid . The website contains a page where one can filter the list of elements shown. To animate this filtering I used animate-css-grid , as other libraries typically used for this – e.g. Isotope – don’t play nice with CSS Grid. Installation per …

Continue reading »

Written by Bram.us - - Aggregated on Wednesday June 20, 2018


Switching PHP versions with Laravel Valet

For some older projects that I still need to run, I recently started using Valet. As those projects sometimes require different versions of PHP – or when I want to test them with the latest PHP version – I followed this set of instructions by Michael Dyrynda: A writeup is also available. Switching PHP …

Continue reading »

Written by Bram.us - - Aggregated on Wednesday June 20, 2018


Face detection using jQuery

Face detection is a common feature in most digital cameras today; the white or red square that pops around someones face when we are focusing the camera on that person. Face detection algorithms enables the software to pinpoint the locations and sizes of human faces in digital images, whatever the surrounding objects …

Continue reading »

Written by code-diesel - - Aggregated on Wednesday June 20, 2018


Dependency Injection with OpenWhisk PHP

Any non-trivial PHP applications use various components to do its work, from PDO though to classes from Packagist. It's fairly common in a standard PHP application to use Dependency Injection to configure and load these classes when necessary. How do we do this in a serverless environment such as OpenWhisk ? This …

Continue reading »

Written by Rob Allen - - Aggregated on Wednesday June 20, 2018


MySQL High Availability at GitHub

GitHub uses MySQL as its main datastore for all things non- git , and its availability is critical to GitHub’s operation. The site itself, GitHub’s API, authentication and more, all require database access. We run multiple MySQL clusters serving our different services and tasks. Our clusters use classic master-replica…

Continue reading »

Written by GitHub Engineering - - Aggregated on Wednesday June 20, 2018


Ketting 2.0 release

Being fresh out of a job, I had some time to work on a new release of the Ketting library. The Ketting library is meant to be a generic HATEOAS library for Javascript using a simple, modern API. Currently it only supports the HAL and HTML formats, but I’m curious what other formats folks are interested to …

Continue reading »

Written by Evert Pot - - Aggregated on Tuesday June 19, 2018


Render Functions: Part 1

So far in this series, we've used templates to declare our desired HTML structures. However, there's another way: render functions. Though you won't reach for …

Written by Laracasts - - Aggregated on Tuesday June 19, 2018


Doctrine ORM and DDD aggregates

I'd like to start this article with a quote from Ross Tuck's article "Persisting Value Objects in Doctrine" . He describes different ways of persisting value objects when using Doctrine ORM. At the end of the page he gives us the following option - the "nuclear" one: [...] Doctrine is great for the vast …

Continue reading »

Written by Matthias Noback - - Aggregated on Tuesday June 19, 2018