Custom error rendering in Slim 4

One of the nice things about Slim 4 is that it's easier to customise the HTML generated on error without having to worry about the rest of the error handling mechanism. This is because we have separated error rendering from error handling. Slim's default ErrorHandler maintains a list of renderers, one for each …

Continue reading »

Written by Rob Allen - - Aggregated on Wednesday October 16, 2019

Pros and Cons

My kids want a dog, it’s all they’ve been talking about for a few weeks now.  As a kid, they can’t understand what all is involved in having a pet.  I told them to make a pros and cons list on having a new pet, and the only con they came up with is a puppy will chew on things. Their perspective was so skewed to what …

Continue reading »

Written by Eric L. Barnes - - Aggregated on Tuesday October 15, 2019

Systems @Scale 2019 New York recap

Building and operating systems that serve billions of people can present unprecedented and complex engineering challenges. The second Systems @Scale event of 2019 was held in New York, where engineers gathered for a day of technical talks focused on observability: tools, techniques, and approaches that can be applied …

Continue reading »

Written by Facebook Code - - Aggregated on Tuesday October 15, 2019

Basic Eloquent Relationships

Let's now switch back to Eloquent and begin discussing relationships. For example, if I have a $user instance, how might I fetch all projects that were created …

Written by Laracasts - - Aggregated on Tuesday October 15, 2019

Meetup’s Hostile Pricing Changes

It’s been all over my Twitter feed today about Meetup announcing big changes to their pricing. The way they currently charge is the user group owner pays a monthly/yearly fee for using the Meetup service. For me, this was a reasonable way to do it, but today they announced some pretty big changes to this. Your new …

Continue reading »

Written by Eric L. Barnes - - Aggregated on Tuesday October 15, 2019

★ The mixin PHP DocBlock

When using PHP, you've probably used DocBlocks . They can be used to add additional information that can't be inferred by looking at the source code alone. …

Written by - - Aggregated on Monday October 14, 2019

Explain Laravel Macros

If you browse the Laravel codebase, you'll find countless references to a trait called Macroable. This trait allows you to extend the public interface of a …

Written by Laracasts - - Aggregated on Monday October 14, 2019

Takuya Matsuyama’s take on growth

Takuya’s is the sole developer and owner of Inkdrop, a popular markdown app. He wrote setting goals to make his product better instead of bigger. I asked myself “do I really need another goal?” Because the project is just what I love to do in the first place, as I wrote in the article about grit. Making it …

Continue reading »

Written by Sebastian De Deyne - - Aggregated on Monday October 14, 2019