Test Zine

theseer,
@theseer@phpc.social avatar

Working on my templating engine Templado this afternoon - but getting frustrated.

How did PHP - the language of the web - manage to lack behind DOM Standards so badly? Apart from bizarre bugs, basic things are just missing: DOMNode::isConnected or at least DOMNode::compareDocumentPosition are just missing. PHPStorm claims the latter exists, but that's just a lie... sigh

Can't we just throw away libxml2 and use a modern standard supporting implementation from someone else?

ramsey,
@ramsey@phpc.social avatar

@theseer I’m not sure whether this helps, but I came across this project that seems to be an attempt to keep up-to-date with the W3C DOM standard. https://github.com/PhpGt/Dom

nielsdos,
@nielsdos@phpc.social avatar

@theseer I'm willing to spend some time implementing some of the more recent DOM stuff. The two example you showed sound easy enough to implement. If I had a ranked list of "most wanted" DOM features then I can spend some time implementing those. It's important to prioritise. Depending on how much free time I can and want to spend on it of course.

x_daddysangel_x, (edited )
@x_daddysangel_x@mastodon.social avatar
x_daddysangel_x,
@x_daddysangel_x@mastodon.social avatar

@Jiao I don't understand this language, I'm sorry.

Jiao,

@x_daddysangel_x
oh,sorry!
My English is not high。
so,look at this。This picture is pretty much what I'm trying to say.

kitten136,
Thehedonist,

@kitten136 Absolutely! 😈 🍆 🔥 Music to my ears!

Nick_Dawn,
@Nick_Dawn@mastodon.social avatar

@Thehedonist @kitten136 yessss god I love that...or when she cums & moans ohhhh fuuuck

x_daddysangel_x, (edited )
@x_daddysangel_x@mastodon.social avatar
The_Big_Bad_Wolfie,
@The_Big_Bad_Wolfie@mastodon.social avatar

@x_daddysangel_x I'd rather it be a week at the least

Riddasadak,

@x_daddysangel_x I love you

sir_pepe, German
@sir_pepe@mastodon.social avatar

TIL: <select> hat ein IDL-Attribut "type": https://html.spec.whatwg.org/#dom-select-type

Liefert entweder "select-one" oder "select-multiple", je nachdem.

Textarea hat sowas auch, liefert immer "textarea": https://html.spec.whatwg.org/#dom-textarea-type

patrick_h_lauke,
@patrick_h_lauke@mastodon.social avatar

@sir_pepe TIL Eulenspiegel

sir_pepe,
@sir_pepe@mastodon.social avatar
schizanon, (edited )
@schizanon@mas.to avatar

My intuition tells me that 's hx-swap attr will suffice for many dynamic behaviors but there's a point where the abstractions will start to leak and you'll want full control over again.

schizanon,
@schizanon@mas.to avatar

As an example; my app is a mastodon client; it fetches a list of statuses and renders them. When the user has read them all, they may fetch the next page. With HTMX you could hx-swap the next page into the list. But what if the items have been reordered, what if some of them have been deleted or edited? A simple DOM append won't cut it.

manlycoffee,
@manlycoffee@techhub.social avatar

@schizanon yes.

I speak highly of htmx, but it isn't a "replacement" for anything; I see it more as something that is intended for a specific class of applications. Probably best for thin-client applications, that allow more than just navigating using hyperlinks, and sending form data over POST requests.

If a team is using htmx, I find that the team should be responsible to make it clear that the web application is more a thin-client application that provides a UX that is very similar to paper forms.

If stakeholders want more, it's time to transition away from htmx and onto something else, IMO

NDR, German
@NDR@ard.social avatar

🎡 Riesenrad, Zuckerwatte und Autoscooter: Am Freitag, den 21. Juli, startet der diesjährige Hamburger Sommerdom.

🎢 Besucherinnen und Besucher können sich vor allem auf zwei neue Fahrgeschäfte und ein richtiges Familien-Event freuen.

📝https://www.ndr.de/nachrichten/hamburg/Hamburger-Sommerdom-2023-startet-am-Freitag,sommerdom162.html?fbclid=IwAR2ZXJEgQ4xZ0HV3AGQEGsYIp6sqemIiwe29bfGLsKggXABIjEvNZKik-3I?at_medium=mastodon&at_campaign=NDR.de

strandbeutel,
@strandbeutel@norden.social avatar

@NDR 👎

jancrode,
@jancrode@norden.social avatar

@NDR Schreibt doch mal, wie man bequem ohne Auto zum Dom kommt.

iana,
@iana@rubber.social avatar

I have a very strong desire to use this right now.

Viola,

@iana ouch

kitten136,
YesssSex,
@YesssSex@kinky.business avatar

@kitten136 would love to see the full version of this

kitten136,

Fuck me hard and make them bounce

YesssSex,
@YesssSex@kinky.business avatar

@kitten136 absolutely stunning

lichtspielimpressionen, German

Köln wird ja im Allgemeinen die Domstadt genannt. Dabei hat Köln nur einen einzigen Dom und nur ein einziges L. Berlin hat drei Dömer. Zwei elegante (der Französische Dom und der Deutscher Dom) beide am Gendarmenmarkt und den Dicken Dom - den Berliner Dom in Alt Kölln.
Mitten in Berlin an der Spree liegt also die Domstadt Kölln (mit zwei L) und da findet man den Dom direkt neben dem Lustgarten.

lichtspielimpressionen,

@derAnhaltiner @Pearl22 Das ist ja länger als der BER gebraucht hat.

kitten136,
Thehedonist,

@kitten136 Great gif, shower sex is always fab fun. TY for the follow. 🔥 😊

ZamhoidnLA, German
@ZamhoidnLA@mastodon.social avatar

Ukrainer*innen in mit der Unterstützung des Nachbarschaftstreffs laden euch kommendes Wochenende zum Wohltätigkeitsmarkt ein.

Ort: Ländtor Landshut,
Theaterstraße, 84028 Landshut
Datum: 15.03 - 16.03.2024
Uhrzeit: 10:00 - 17:00 Uhr

nosherwan,
@nosherwan@fosstodon.org avatar

🌐 :javascript:

Ok Web Components are good but we need an open web standard to maintain dynamic state in web applications and update components based on them.




Elbwiese, German
@Elbwiese@fnordon.de avatar

Wer schon immer mal nach reisen wollte: der Donnerstag wäre ein guter Tag.
BürgerInnen der Stadt rufen zur

  1. Februar 2024 um 19 Uhr
    Marktplatz

  • All
  • Subscribed
  • Moderated
  • Favorites
  • Dom
  • Durango
  • DreamBathrooms
  • everett
  • magazineikmin
  • osvaldo12
  • Youngstown
  • khanakhh
  • slotface
  • mdbf
  • rosin
  • thenastyranch
  • kavyap
  • cubers
  • tester
  • JUstTest
  • InstantRegret
  • ethstaker
  • GTA5RPClips
  • tacticalgear
  • cisconetworking
  • ngwrru68w68
  • normalnudes
  • anitta
  • modclub
  • Leos
  • provamag3
  • megavids
  • lostlight
  • All magazines