Friday Issue Nr.95

2024-01-12

back

This week presents us with a nicely written post about Imperative vs Declarative. It is a fascinating read on URL parts, an easy guide on how to Build NextJS, J/S quirks observation and CSS @Property. For Friday’s mode, there is a fun story about AI Town and who lives there.

JavaScript News

URL parts

I doubt if there is an even better resource to understand URLs. For example, what is the difference between site and origin?

https://web.dev/articles/url-parts

The tool: https://url-parts.glitch.me/?url=https://foo.com.au:1234/bar/foo.html#bar

Imperative vs Declarative

“Many (if not all) declarative APIs have some sort of imperative implementation.” So, this article walks through and explains those two implementations in detail.

https://ui.dev/c/react/imperative-vs-declarative

Building Nextjs App

It looks like a nice step-by-step tutorial on starting with Nextjs. It covers Vercel, GitHub, Postgres DB and the basics of Nextjs.

https://bejamas.io/blog/how-to-create-a-guestbook/

Beautifully explained some of JS's quirks

“JavaScript doesn’t have the responsibility to accommodate all developers, but each developer has the responsibility to understand the language and embrace its strengths while being mindful of its quirks.”

Plenty of articles explain that quirk 0.1 + 0.2, but this goes into depth and explains in detail all the bits (pun intended) and integers.

https://www.smashingmagazine.com/2023/12/making-sense-of-senseless-javascript-features/

JavaScript Frameworks - Heading into 2024

Another interesting observation article about the current state of the JS world and where we are heading

https://dev.to/this-is-learning/javascript-frameworks-heading-into-2024-i3l

CSS News

CSS @Property

Basically, @property is like a typescript for CSS. It also gives new possibilities for Themes and Animations. This is a lovely post with loads of colourful examples.

https://utilitybend.com/blog/taking-a-closer-look-at-property-in-css/

The Implied Web

Useful information about HTML elements, roles, and what an aria-label is for.

https://www.htmhell.dev/adventcalendar/2023/21/

Mixed News

The package that broke NPM

https://uncenter.dev/posts/npm-install-everything/

AI Town (video)

Build your town with characters (each with a different personality), and let them live and learn. Basically, it is a Matrix with you in control (maybe not).

https://www.convex.dev/ai

Andris Švarcs

Somehow, I've survived over 15 years as a web developer without losing my interest in the craft. Quite the opposite, with so many great improvements in the Web standards, what was nearly impossible now is easy to make.

My career has been a wild ride through small agencies and big corporations, building everything from finance apps to health dashboards.

I'm that annoying person who needs to understand products beyond just slinging code. I ask questions like 'Why is this feature important?' and 'How will this improve the customer journey?' – you know, the kind of questions that make project managers reach for the pint aspirin. This curiosity has led me down the rabbit holes of design, accessibility, and SEO. Because apparently, making websites pretty, usable, and findable wasn't challenging enough on its own.

P.S. If this bio sounds too polished, blame my evil AI twin. I'm still working on teaching it sarcasm.

Copyright © since 2021, Andris Švarcs. All rights reserved.

Lets connect

bluesky

youtube

linkedin