PHPNews

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


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


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


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


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


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