New Kitten Release
(Run `kitten update` to update your dev machines. Production machines will automatically update in a couple of hours.)
• You can now add a generic script block to your markdown pages (see https://mastodon.ar.al/@aral/114432417394114105)
• Markdown pages can now be `KittenPage` instances and attach `KittenComponent` instances (so you get a full server-side component hierarchy with an event-based workflow; ideal for authenticated pages where you can be use only the author of the page will be accessing them and thus the additional memory and processing overhead are not issues. Isn’t the Small Web great? Only having instances of one makes it possible to optimise so many things for the human experience instead of vertical scale of the data farming machine.)
• Two new examples showcase the new features: https://codeberg.org/kitten/app/src/branch/main/examples/streaming-html/markdown-script-simple-components and https://codeberg.org/kitten/app/src/branch/main/examples/streaming-html/markdown-kitten-components
• Attributes with object values are no longer serialised into the DOM (but your components’ render functions will continue to receive them, of course.) This is because only string values make sense for attributes in the context of the HTML DOM. (You can still, of course, have stringified representations of objects in attributes, as used by the `data` attribute to pass data from nodes to event handers on the server.)
Oh, and here’s what it looks like if you use Kitten’s class-based pages and components instead.
(You can have the event handling encapsulated on the component itself. Kitten automatically bubbles events up the component tree on the server side.)
Coming soon: Generic script blocks in markdown pages in Kitten¹
The line between what you can do from a Markdown page vs what you can do from a JavaScript page in Kitten continues to blur… soon, you’ll be able to add a generic script block to the front matter of your Markdown pages for quick little things.
e.g., In the screenshots you see all the code necessary to create the page with the reactions component which actually persists the results to your data. That is all the code in your app. Nothing else. No scaffolding or anything else. Seriously :)
Her name is Yuriko because she does not know how to retract her claws.
Take a deep breath, relax and enjoy your day ..
Take a deep breath - handmade ink and watercolor painting
--> here: https://karen-kaspar.pixels.com/featured/take-a-deep-breath-karen-kaspar.html
Morning all! I was supposed to join @screwlisp for their Lispy Gopher Show podcast yesterday but time zone differences meant I had to send a recording instead which they discussed with questions from their mud (yep, it’s a geeky community) :)
I touched on the history of computing, the current challenge to our human rights and democracy with technofascism, and how the Small Web is one attempt to safeguard our freedoms by creating a peer-to-peer web owned and controlled by everyday people who use technology as an everyday thing. (And the role of design and simplicity in making that possible.)
Anyway, here’s the full recording I sent (as it skips around a bit in the show):
And here’s the recording of the show itself with commentary by screwlisp and the community:
https://communitymedia.video/w/kTjUgHSYCZsJwucUPVoLgx
Thanks for having me on and sorry I couldn’t be there in person.
Since the #lispyGopherClimate #technology #podcast's main mastodon instance continues to be inaccessible and we got relatively less listeners, here's the archive and a summary again):
https://communitymedia.video/w/kTjUgHSYCZsJwucUPVoLgx
@aral is presenting about his nonprofit's #decentralised #smallweb. Due to a TZ hiccup, Aral's a great recording we discuss throughout.
https://codeberg.org/kitten/app
#Kitten is the developer-centric mature component to go with the Domain and Places WIP components.
@surabax hey, I was talking to @aral who submitted a recording for today's show, just finished (https://communitymedia.video/w/kTjUgHSYCZsJwucUPVoLgx). I wonder if lisp ireland might come up with a lisp interface to their https://small-web.org/ #Kitten.
Viz unhelpful brainstorming I remember @mnl's parenscript being pretty handy still current in that nothing-much-to-be-changed-anymore #lisp way.
#lispyGopherClimate #archive! show mastodon is down/please #boost if you see this so people see this/
https://communitymedia.video/w/kTjUgHSYCZsJwucUPVoLgx
#climateCrisis #haiku from @kentpitman as always!
#smallnet #smallweb episode feat. @aral of https://small-web.org/ and #Kitten.
due to a timezone mixup, Aral is a recording. I have no idea what he has recorded.
First in a string of guest interviews.
We were planning to talk about the attacks on @Codeberg and #hyperlinks I think