Let's try something else on that cursed web interface needing some JS for some drag-n-drop. Plain ol' vanilla JS.
Why ? Cuz I'm straight up not having a good time dealing with big integers in JS bro.
The interface in question is a table with draggable rows. The last row is a form to add a record.
=> More informations about this toot | More toots from l4p1n@furry.engineer
Me when I'll start writing the first DOM manipulations: "Y'know what, screw it."
=> More informations about this toot | More toots from l4p1n@furry.engineer
I'm not at the stage of writing DOM manipulations in Javascript yet.
That said, I'm pretty happy with how the PHP code and blade templates turned out so far.
As for the UI state changing, I could play with GET parameters. Yes, more full page reloads, but whatever.
=> More informations about this toot | More toots from l4p1n@furry.engineer This content has been proxied by September (3851b).Proxy Information
text/gemini