When PHP 5.6 was snooping around the corner I prepared this “Getting Ready for PHP 5.6” post to get one started with the new things that made it into the language. Now that PHP 7 is in beta, it’s time to do the same for that version.
However, turns out a few bright minds on the interwebs have already done so, and have created a massive PHP7 Reference.
PHP 7 has been slated for release in November of this year (2015). It comes with a number of new features, changes, and backwards compatibility breakages that are outlined below.
A few of the new features – such as Scalar Type Hints and IIFEs – might seem familiar as they were already covered here.
At Wave, our Invoice product enables business owners to create and send invoices to their customers, and to have those invoices paid via credit card. My job was to design the credit card form, given a set of business requirements and constraints. This post is about the design considerations our team explored to arrive at the finished product.
In the screenshot above you can see a few takes for ensuring the user that the form is safe and secure.
The polyfill’s css parser was built by following the CSS Syntax 3 specification, the polyfill should be able to process any css stylesheet. It can react to dynamic pseudo-classes like ‘:hover’, to media queries changes or window resize events. It also detects changes to the DOM that may affect the layout of your grid.
There are a few quirks though:
Because the layout is done asynchronously, the polyfill may play badly with other libraries that expect layout to be performed synchronously. This is particularly true if you plan to animate your grid.
The whole polyfill is very sensitive to changes to the “box-sizing” property (and many frameworks like Bootstrap do make use of it); again, this will be ironed out soon but you have to be aware.
The polyfill doesn’t like fixed/absolutely positioned grid items. If you want to use them, just put them in a dummy wrapper, it will work fine.
To authorities responsible for the measurement and distribution of time: UTC TIME STEP on the 1st of July 2015. A positive leap second will be introduced at the end of June 2015.
The sequence of dates of the UTC second markers will be:
2015 June 30, 23h 59m 59s
2015 June 30, 23h 59m 60s
2015 July 1, 0h 0m 0s
National Geographic has a good video on this leap second phenomenon:
The International Earth Rotation and Reference Systems Service adds a leap second every few years to keep the clocks we use to measure official time and the speed of Earth’s rotation in sync. But why do we need to do this? And what kind of problems could result?
Watch your digital clocks, they should seem to be stuck for a second at midnight (UTC)
Fascinating presentation by Stephanie Rieger which I saw at the excellent (and unfortunately last)Mobilism:
This presentation will introduce you to fascinating and innovative services that are re-shaping the web to serve the consumers of tomorrow. Driven by mobile, the power of personal relationships, and the breakneck pace of globalisation, these services provide a glimpse into the business models, opportunities and challenges we will face, when growing a truly global web.
Lets face it: We “The West” are lagging behind. Asia is in the pole position.
Welcome to The Nose of El Capitan, in Yosemite National Park — the most iconic rock climb on earth. Tighten your harness and double-check your knot, to join Lynn Hill, Alex Honnold, and Tommy Caldwell on a 3,000 foot interactive journey up El Capitan.
Bram.us is the technical/geeky weblog of Bram Van Damme (nicknamed Bramus!), a 31 year old geezer raised in Deinze and living in Gent , Belgium with his girlfriend, their son Finn and their daughter Tila.
Professionally — after having worked as a web developer for several years at several web agencies — Bramus is a Lecturer Web Technologies within the study programme Professional Bachelor ICT at Odisee, Gent, Belgium. He also freelances under the 3RDS moniker.