PHPNews

Mo' models mo' problems

One of the best things about Vue templates is the special v-model prop. v-model allows you two quickly map prop getters and setters without breaking unidirectional data flow. Props down, events up. <!-- People.vue --> <template> <filter v-model="filter"></filter> <ul> …

Continue reading »

Written by Sebastian De Deyne - - Aggregated on Tuesday August 14, 2018


Vue templates in JSX

In my most recent project at work, I'm experimenting with JSX templates in Vue. Vue offers first-party support for JSX with near-zero configuration, but it doesn't seem to be commonly used in the ecosystem. Here's the tl;dr. Every one of these is discussed in detail below. PRO The full power of …

Continue reading »

Written by Sebastian De Deyne - - Aggregated on Friday May 25, 2018


Vue templates in JSX

In my most recent project at work, I'm experimenting with JSX templates in Vue. Vue offers first-party support for JSX with near-zero configuration, but it doesn't seem to be commonly used in the ecosystem. Here's the tl;dr. Every one of these is discussed in detail below. PRO The full power of …

Continue reading »

Written by Sebastian De Deyne - - Aggregated on Friday May 25, 2018


I'm starting a newsletter

For the past few months, I've been looking for a new home to share articles, projects, podcasts, or other things that leave an impression on me. I considered adding them to my blog, but I'd rather keep that for original, long-form content. Twitter on the other hand feels like shouting into an abyss. After further …

Continue reading »

Written by Sebastian De Deyne - - Aggregated on Monday May 14, 2018


I'm starting a newsletter

For the past few months, I've been looking for a new home to share articles, projects, podcasts, or other things that leave an impression on me. I considered adding them to my blog, but I'd rather keep that for original, long-form content. Twitter on the other hand feels like shouting into an abyss. After further …

Continue reading »

Written by Sebastian De Deyne - - Aggregated on Monday May 14, 2018


A good issue

Maintaining a number of open source projects comes with a number of issues. Reporting a good issue will result in a more engaged approach from project maintainers. Don't forget: there's a human behind every project. A good issue is detailed Report issues as detailed as possible. Share code. Share configuration. …

Continue reading »

Written by Sebastian De Deyne - - Aggregated on Tuesday April 24, 2018


A good issue

Maintaining a number of open source projects comes with a number of issues. Reporting a good issue will result in a more engaged approach from project maintainers. Don't forget: there's a human behind every project. A good issue is detailed Report issues as detailed as possible. Share code. Share configuration. …

Continue reading »

Written by Sebastian De Deyne - - Aggregated on Tuesday April 24, 2018


A good issue

Maintaining a number of open source projects comes with a number of issues. Reporting a good issue will result in a more engaged approach from project maintainers. Don't forget: there's a human behind every project. A good issue is detailed Report issues as detailed as possible. Share code. Share configuration. …

Continue reading »

Written by Sebastian De Deyne - - Aggregated on Tuesday April 24, 2018


Code splitting with Laravel Mix

Code splitting is bundler feature—if you're using Laravel Mix, you're bundling your assets with Webpack—that allows you to split application scripts in multiple files. These can then conditionally be loaded at a later stage. You might already be code splitting with Mix! If you do vendor extraction with mix.extrac…

Continue reading »

Written by Sebastian De Deyne - - Aggregated on Monday April 16, 2018


Code splitting with Laravel Mix

Code splitting is bundler feature—if you're using Laravel Mix, you're bundling your assets with Webpack—that allows you to split application scripts in multiple files. These can then conditionally be loaded at a later stage. You might already be code splitting with Mix! If you do vendor extraction with mix.extrac…

Continue reading »

Written by Sebastian De Deyne - - Aggregated on Monday April 16, 2018


Code splitting with Laravel Mix

Code splitting is bundler feature—if you're using Laravel Mix, you're bundling your assets with Webpack—that allows you to split application scripts in multiple files. These can then conditionally be loaded at a later stage. You might already be code splitting with Mix! If you do vendor extraction with mix.extrac…

Continue reading »

Written by Sebastian De Deyne - - Aggregated on Monday April 16, 2018


Server side rendering JavaScript from PHP

Server side rendering is a hot topic when it comes to client side applications. Unfortunately, it's not an easy thing to do, especially if you're not building things in a Node.js environment. I published two libraries to enable server side rendering JavaScript from PHP: spatie/server-side-rendering and spatie/lar…

Continue reading »

Written by Sebastian De Deyne - - Aggregated on Sunday March 11, 2018


Server side rendering JavaScript from PHP

Server side rendering is a hot topic when it comes to client side applications. Unfortunately, it's not an easy thing to do, especially if you're not building things in a Node.js environment. I published two libraries to enable server side rendering JavaScript from PHP: spatie/server-side-rendering and spatie/lar…

Continue reading »

Written by Sebastian De Deyne - - Aggregated on Wednesday March 7, 2018


Blade component aliases in Laravel 5.6

Laravel 5.6 adds the ability to register alias directives for Blade components. Let's review some background information and examples. Blade components 101 I've been using Blade components since they were added back in Laravel 5.4. For those who don't know what a Blade component is, it's a directive to include …

Continue reading »

Written by Sebastian De Deyne - - Aggregated on Monday February 5, 2018