Petter Kjelkenes, a blog about technical stuff.

Next.js 9.3 - statically generated pages

Next.js 9.3 - statically generated pages

Posted on by Petter Kjelkenes - last updated 26. March, 2020

Next 9.3 introduced getStaticProps, getStaticPaths and getServerSideProps. Using getStaticProps and getStaticPaths, you can generate any page fully statically rendered from any CMS. Today we are going to have a look at how can create a blog statically generated with Sanity as our CMS.

My home automation setup

My home automation setup

Posted on by Petter Kjelkenes - last updated 18. March, 2020

Describing the "boxes" in my technical room. The server, patch panel, switches, hubs and so fourth. This is my home automation solution

PHP, the good and the bad

PHP, the good and the bad

Posted on by Petter Kjelkenes - last updated 11. July, 2019

This article will be a list of what I think is good, and what I dont like about PHP.

PHP 7.4, typed properties RFC

PHP 7.4, typed properties RFC

Posted on by Petter Kjelkenes - last updated 02. July, 2019

There is an ongoing vote process for typed properties. Typed properties would be really good for PHP, as PHP has already gone on the way to be a strict types language.