PHPnews.io

Overview for 'evertpot'

JWT should not be your default for sessions

Written by Evert Pot / Original link on May. 10, 2021

Cookies When designing web applications, (especially the traditional HTML kind), you will at one point have to figure out how to log a user in and keep them logged in between requests. The core mechanism we use for this are cookies. Cookies are small strings sent by a server to a client. After a cl…


Ketting 7 released

Written by Evert Pot / Original link on Apr. 12, 2021

We just released version 7 of Ketting. Ketting is a generic HATEOAS client for Javascript. A whole bunch of features have been added since September. We’ve been testing Ketting 7 in beta since January, so I’m excited to get this out the door. I’ve been working on this project since 2016. Normally,…


Ketting support for deprecation warnings

Written by Evert Pot / Original link on Feb. 1, 2021

Ketting is the generic REST client for Javascript. Version 7 is currently in beta, and will have support for Deprecation and Sunset headers as well as deprecated links. Deprecating Endpoints/Resources There’s currently work done on a new internet standard: draft-cedik-deprecation-header, a.k.a.: “T…


HTTP/2 Push is dead

Written by Evert Pot / Original link on Nov. 12, 2020

One of the hot features that came with HTTP/2 was PUSH frames. The main idea is that if the server can predict what requests a client might want to make, the server can preemptively send request/response pairs to the client and warm its cache. This is a feature I’ve been very interested in for a lo…


Ketting v6: Using Hypermedia APIs with React

Written by Evert Pot / Original link on Sep. 9, 2020

We just released Ketting 6. This is the accumulation of about a year of learning on how to better integrate REST APIs with frontend frameworks, in particular React. It’s packed with new features such as local state management, new caching strategies, (client-side) middleware support and change even…