PHPNews

The ingredients of a classic house track

Another great video in the Vox Earworm series, a must see for any (house) music lover. Perfect fit to watch right after their previous “The Disco Invention that Changed Pop Music” video . On June 12, 1979, thousands of disco records were destroyed at Chicago’s “Disco Demolition Night”. Within one year, Chicago …

Continue reading »

Written by Bram.us - - Aggregated on Friday August 16, 2019


5 Tips to Help You Avoid React Hooks Pitfalls

Kent C. Dodds: As hot as it is, React Hooks require a bit of a change in the way you think about React Component Lifecycles, State, and Side Effects and it can be easy to fall into problematic scenarios if you’re not thinking about React Hooks properly. So let’s look a bit at what pitfalls you could come across and …

Continue reading »

Written by Bram.us - - Aggregated on Friday August 16, 2019


React DevTools 4.0

Version 4 of the React DevTools have been released, with a lot of improvements. At a high level, this new version should offer significant performance gains and an improved navigation experience. It also offers full support for React Hooks, including inspecting nested objects. The release notes hold a detailed …

Continue reading »

Written by Bram.us - - Aggregated on Friday August 16, 2019


One-to-Many

A one-to-many relationship is the second easiest to understand. A user may have many posts. A post may have many comments. A team may have many members. In …

Written by Laracasts - - Aggregated on Friday August 16, 2019


One-to-One

A "one-to-one" database relationship is incredibly simple to understand. If you can say that a single record from one table is related to a single record from …

Written by Laracasts - - Aggregated on Friday August 16, 2019


Weekly Update 152

I made it out of Vegas! That was a rather intense 8 days and if I'm honest, returning to the relative tranquillity of Oslo has been lovely (not to mention the massive uptick in coffee quality). But just as the US to Europe jet lag passes, it's time to head back to Aus for a bit and go through the whole cycle again. …

Continue reading »

Written by Troy Hunt - - Aggregated on Friday August 16, 2019


Build free code & testing ES module imports

A bit of a mouthful of a post title, but I can assure my future self this post will be worthy of publishing because it'll save future self many angry hours shouting at build tools. The goal: no build tools, which leads to no config, which leads to no waiting around. Let's get the lie out of the way There's a …

Continue reading »

Written by Remy Sharp - - Aggregated on Friday August 16, 2019


OpenAPI Description using API key and secret

I've been working on a few OpenAPI descriptions of APIs lately, and really enjoying the benefits they bring. In particular the ability to import into Postman as a collection I think is a "killer feature" for APIs looking to get developers up and running quickly. The catch? I found that an API that needs an API key …

Continue reading »

Written by Lorna Jane - - Aggregated on Thursday August 15, 2019


PHPStan now fully supports PHP 7.4!

Once a year, new minor PHP version is released, and every few years, there’s a new major version. And as the language moves forward, the tooling that goes with it has to move forward too. That’s why I just released new version of PHPStan in the 0.11.x series (so everyone can upgrade) that fully supports the upcoming …

Continue reading »

Written by Ondřej Mirtes - - Aggregated on Thursday August 15, 2019