Post Akxq7EczfvX85WXdAW by shaedrich@mastodon.online
 (DIR) More posts by shaedrich@mastodon.online
 (DIR) Post #Akxiryl3hJcoqU5ldQ by aral@mastodon.ar.al
       2024-03-10T18:38:30Z
       
       0 likes, 0 repeats
       
       Kitten update: session IDs now available in the `request.session` objects you get in your routes.Kitten lets you persist arbitrary data in session objects to make it easy to work with sessions but you cannot store custom objects (instances of custom classes) as Kitten’s default database is not aware of custom classes in your application. Now, keyed to the session id, you can store custom objects in your app’s own database.https://codeberg.org/kitten/app#sessions:kitten: 💕 #Kitten #SmallWeb #sessions
       
 (DIR) Post #Akxis04wmr80wSPAH2 by aral@mastodon.ar.al
       2024-03-10T19:01:22Z
       
       0 likes, 0 repeats
       
       (The use case for this is pretty neat: keep your interface state in custom state class instances persisted in session objects and, using the Streaming HTML workflow*, send back pieces of the interface that take those state objects as their only prop. Quite a neat separation of concerns and state is maintained only on the server in those objects.)* https://ar.al/2024/03/08/streaming-html/#Kitten #SmallWeb #state #sessions #StreamingHTML #web #dev #html #JavaScript #NodeJS #WebSockets #htmx #hypermedia
       
 (DIR) Post #Akxis1uNz5rucHTl5c by shaedrich@mastodon.online
       2024-08-14T15:49:37Z
       
       0 likes, 0 repeats
       
       @aral Including accessibility into your tutorial, was a nice surprise 👍🏻
       
 (DIR) Post #AkxpgGL7Cfl7ZtJkAa by aral@mastodon.ar.al
       2024-08-14T17:05:59Z
       
       0 likes, 0 repeats
       
       @shaedrich Wish it was the norm and wouldn’t be surprising.https://small-tech.org/about/#small-technology
       
 (DIR) Post #Akxq7EczfvX85WXdAW by shaedrich@mastodon.online
       2024-08-14T17:10:35Z
       
       0 likes, 0 repeats
       
       @aral Me, too. Actually, I was thinking something similar while watching your tutorial.However, an argument against it would be when its accessibility part was the same as from another tutorial of yours. But this could be mitigated by having chapters in the video that could be skipped/revisited. And before you think, I'm already reorganising your videos in my head, this was more of a general thought concerning tutorials and could also be applied to some tutorial's lengthy setup process 😅 😉