PHPNews

The Flexbox Holy Albatross

Great work by Heydon Pickering, in which he lets a flexbox layout respond to the size of its container, and not the viewport Sometimes you want your items to wrap in a very particular way. For instance, when you have three items, you’ll be happy with the three-abreast layout and accepting of the single-column …

Continue reading »

Written by Bram.us - - Aggregated on Wednesday January 16, 2019


Create a map of the stars with “The Night Sky“

The Night Sky lets one create a map of the stars, as seen at a certain time and location. Was it your first kiss, the birth of a child or that moment you realized your world had changed. Give a gift of the stars to always remember that special night. Prints (rather expensive ones if you ask me) can be …

Continue reading »

Written by Bram.us - - Aggregated on Wednesday January 16, 2019


Styling the select element

Scott Jehl, from Filament Group: The select element has long been difficult to style consistently across browsers. To avoid its shortcomings in the past, we have used workarounds like styling a parent element, adding pseudo-elements, and even using JavaScript to construct a select-like control out of different …

Continue reading »

Written by Bram.us - - Aggregated on Wednesday January 16, 2019


Scribit, a robot that can draw on walls

Scribit is a vertical plotter that can draw any content sourced from the web – and update it in real time. It is mounted on a wall using only 2 plugs and a wire in between. You send it an image from within the app and it will start drawing (with support for 4 colors at a time). Shipping is expected June 2019, but …

Continue reading »

Written by Bram.us - - Aggregated on Saturday January 12, 2019


Mozilla Hacks: Designing the Flexbox Inspector

With the upcoming release of Firefox 65 (due January 29tgh), its DevTools will sport a new shiny Flexbox Inspector . The new Flexbox Inspector, created by Firefox DevTools, helps developers understand the sizing, positioning, and nesting of Flexbox elements. Victoria Wang details how they UX challenges that …

Continue reading »

Written by Bram.us - - Aggregated on Saturday January 12, 2019


Speeding up Your PHPUnit tests

Some nice tips by Tim MacDonald on how to speed up your PHPUnit tests! Having a fast test suite can be just as important as having a fast application. As a developer, getting feedback quickly about the state of your code allows for a much quicker development turnaround. Here we are going to run through some tips …

Continue reading »

Written by Bram.us - - Aggregated on Saturday January 12, 2019


The ghosts of technology in today’s language

I like this post by Marcin Wichary in which he looks for remnant expressions in our language which are based on technologies that no longer exist, but that we still use. A typical example is “dialing a number” . We dial a number  — or dial someone — even though dials disappeared from phones decades ago. And we …

Continue reading »

Written by Bram.us - - Aggregated on Friday January 11, 2019


What’s new in the upcoming PHP 7.4?

Good overview by Brendt on the new features that will be landing in PHP 7.4, which is due somewhere December 2019. I’m especially looking forward to Typed properties . One thing I personally find missing though is how to typehint the contents for arrays — e.g. “I’d like an array of Foo ‘s” . The addition of a …

Continue reading »

Written by Bram.us - - Aggregated on Wednesday January 9, 2019


★ ESNext Proposals to look forward to

Yesterday I was invited as a speaker at the Full Stack Antwerp December 2018 Meetup at icapps . At the meetup I gave an adaptation of my talk “What’s Next for JavaScript” . The talk itself – which got renamed to “ESNext: Proposals to look forward to” – goes more into depth onto the proposals themselves, and …

Continue reading »

Written by Bram.us - - Aggregated on Thursday December 20, 2018


★ Fixing the valet share 301 Redirect Loop

One of the nice things of Laravel Valet is that it includes an easy way to make your local site available publicly. For this it has the aforementioned Ngrok built-in. To use it, just run the valet share command, and your local site will be shared through a *.ngrok.io subdomain. However, when combining valet …

Continue reading »

Written by Bram.us - - Aggregated on Friday November 16, 2018


★ Missing ~/.valet folder?

Earlier today I updated my Valet installation from version 2.0.x to 2.1.1. To my surprise the ~/.valet/ folder had gone missing, immediately making me think the update process somehow had gone wrong (even though Valet kept on serving sites) . Turns out that the ~/.valet/ folder got moved to ~/.config/valet/ …

Continue reading »

Written by Bram.us - - Aggregated on Tuesday October 16, 2018


The Cost Of JavaScript In 2018

Addy Osmani: Building interactive sites can involve sending JavaScript to your users. Often, too much of it. Have you been on a mobile page that looked like it had loaded only to tap on a link or tried to scroll and nothing happens? Byte-for-byte, JavaScript is still the most expensive resource we send to mobile …

Continue reading »

Written by Bram.us - - Aggregated on Friday August 3, 2018


What Made Darth Vader Visually Iconic

Always great stuff, by The Nerdwriter: About two years ago I started watching Star Wars with my children. Whilst watching the first movie (Episode IV) I kind of found Darth’s role quite disturbing. He was just floating there in the background, and all stuff that we associate with him wasn’t that well expressed. …

Continue reading »

Written by Bram.us - - Aggregated on Thursday August 2, 2018