PHPNews

The great divide

Chris Coyier consolidated an array of opinions about what it means to be a frontend developer today. On one side , an army of developers whose interests, responsibilities, and skill sets are heavily revolved around JavaScript. On the other , an army of developers whose interests, responsibilities, and skill …

Continue reading »

Written by Sebastian De Deyne - - Aggregated on Wednesday January 23, 2019


An introduction to Phoenix LiveView

The last year or two, I've been playing around with Elixir . Chris McCord, author of the Phoenix web framework, is working on a new feature for Phoenix: LiveView. Phoenix LiveView is an exciting new library which enables rich, real-time user experiences with server-rendered HTML. LiveView powered applications …

Continue reading »

Written by Sebastian De Deyne - - Aggregated on Friday January 11, 2019


Everyone has JavaScript, right?

I used to think disabled JavaScript went hand in hand with visitors explicitly blocking it. I came to the conclusion that I don't necessarily need to cater to that crowd, because the degraded user experience was by choice. After reading through this chart, I realized how wrong I was. Sometimes your JavaScript just …

Continue reading »

Written by Sebastian De Deyne - - Aggregated on Friday December 28, 2018


Not all code is the same

As a short follow-up to Everyone has JavaScript, right? , there's more to JavaScript than availability, there are also the performance implications. I don’t think most people are saying, “don’t use JavaScript.” That would be absurd. But use less, use it wisely, and don’t depend on a giant framework for simple …

Continue reading »

Written by Sebastian De Deyne - - Aggregated on Friday December 28, 2018


iA Writer 5.2 will embrace variable fonts

iA Writer is one of my favorite pieces of software, and I can't even say why. It just feels so good. In the upcoming 5.2 release, iA Writer will replace the current iA Writer Duo font with iA Writer Quattro, a variable font. While traditional fonts offer in a limited number of weights, variable fonts offer an …

Continue reading »

Written by Sebastian De Deyne - - Aggregated on Tuesday December 18, 2018


A blogging style guide

Robert Heaton shares 39 bullets to improve your blogging. A few of my favorites: Choose a few people whose style you like and copy it as hard as you can without infringing on any intellectual property. I aim for a combination of the Economist, Paul Krugman, and Terry Pratchett. If you need a quick name for a …

Continue reading »

Written by Sebastian De Deyne - - Aggregated on Monday December 17, 2018


Bézier moi

I've been reading up on SVG and Bézier curves for a side project that involves a custom-made chart (blog post about that later!). Funnily enough, this article on Bézier curves popped up on Hacker News earlier this week. One little animation in the article totally stands out, and helped me make sense of what the …

Continue reading »

Written by Sebastian De Deyne - - Aggregated on Tuesday December 11, 2018


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 Thursday December 6, 2018


Chris Ferdinandi's CSS methodology

There are a few fleshed-out articles about why utility-first CSS is a good thing. However, if you're just a little curious and want a brief introduction, Chris Ferdinandi has your back. In JavaScript, we create small, modular functions that can be reused throughout the code base to keep our code DRY. In CSS, for …

Continue reading »

Written by Sebastian De Deyne - - Aggregated on Thursday December 6, 2018


Readability is relative

When I write a library that's going to be used by others, I strive for a gentle learning curve. When someone reads code that uses my library, I want them to understand what's happening without reading a bunch of documentation first. I tend to keep my API's as explicit as possible, and try to stay away from odd or …

Continue reading »

Written by Sebastian De Deyne - - Aggregated on Thursday December 6, 2018


Readability is relative

When I write a library that's going to be used by others, I strive for a gentle learning curve. When someone reads code that uses my library, I want them to understand what's happening without reading a bunch of documentation first. I tend to keep my API's as explicit as possible, and try to stay away from odd or …

Continue reading »

Written by Sebastian De Deyne - - Aggregated on Thursday December 6, 2018


Chris Ferdinandi's CSS methodology

There are a few fleshed-out articles about why utility-first CSS is a good thing. However, if you're just a little curious and want a brief introduction, Chris Ferdinandi has your back. In JavaScript, we create small, modular functions that can be reused throughout the code base to keep our code DRY. In CSS, for …

Continue reading »

Written by Sebastian De Deyne - - Aggregated on Wednesday December 5, 2018


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 JavaScrip…

Continue reading »

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