edgren, to php

The more I'm thinking about it, the more I consider it.

I want to add a map for my bicycle rides, but I can't find any good PHP maps. The PHP versions of Leaflet on GitHub are no good. They don't work at all. They just gives you errors like "can't load class" or something like that.

So even if I am against it only to challenge myself, I consider using Leaflet in JS for airikr.me/biking.

Or do you have any solution in PHP that works out of the box?

almet, to javascript French
@almet@tutut.delire.party avatar
inautilo, to music
@inautilo@mastodon.social avatar


Printing music with CSS Grid · A fantastic showcase of what CSS Grid is capable of https://ilo.im/15yrr6


mobileatom, to javascript
@mobileatom@me.dm avatar

Explore our article: Frontend Madness: SPAs, MPAs, PWAs, Decoupled, Hybrid, Monolithic, Libraries, Frameworks! WTF for your PHP backend? https://symfonystation.mobileatom.net/Frontend-Madness-JS-PHP-Backend

symfonystation, to javascript
@symfonystation@newsletter.mobileatom.net avatar
jtruk, to demoscene
@jtruk@mastodon.social avatar

Thanks @outline for adopting the demoparty timezone switcher code, and best wishes for an excellent, and fruitful party!

https://outlinedemoparty.nl/timetable/

(spot any issues with the time switching? Let me know for fixing, please!)

Repo: https://github.com/creativenucleus/jtruk-timezoner.js

lordvalor, to 11ty Spanish
@lordvalor@mastodon.social avatar

Can some people learn JavaScript while make pages with ?
the answer is YEAH. I'm Learn More making web sites with 11ty and liquid...

ehmicky, to programming
@ehmicky@fosstodon.org avatar

We just released Execa 9, which is our biggest release so far.

If you're currently using Execa, you should check out the new features! Also, if you're currently using zx or Bun shell, you might be interesting in this alternative.

https://medium.com/@ehmicky/execa-9-release-d0d5daaa097f

mobileatom, to webdev
@mobileatom@flipboard.com avatar
vanilla, to javascript
@vanilla@social.spicyweb.dev avatar

It’s easy to get confused about how to work with element properties in vs. how to work with element attributes in .

@jaffathecake to the rescue!

In this article, Jake talks about value types, serialization, reflection, case sensitivity, and a host of other interesting details.

https://thathtml.blog/2024/05/props-v-attributes-go/

toxi, (edited ) to typescript
@toxi@mastodon.thi.ng avatar

New demo (and last new test case) for the upcoming https://thi.ng/geom release (and related packages): Here parsing a SVG path, converting to an SDF, deforming the SDF and sampling/converting the SDF back into SVG at multiple contour levels... all in just a few lines of code!

Demo:
https://demo.thi.ng/umbrella/geom-sdf-path/

Source:
https://github.com/thi-ng/umbrella/blob/develop/examples/geom-sdf-path/src/index.ts

(Ps. I will add more comments to the example tomorrow...✌️)

geoffrich, to javascript
@geoffrich@front-end.social avatar

I remember seeing a chart/site somewhere comparing adoption of major framework versions based on npm downloads, e.g. React 16 vs 17 vs 18 or Svelte 3 vs 4 vs 5. Anyone have a link to it?

I don't think it was just frameworks, but other packages like Redux or routers as well.

khalidabuhakmeh, to javascript
@khalidabuhakmeh@mastodon.social avatar

🚩 🚩 🚩 🚩 🚩 🚩

alexelcu, to programming
@alexelcu@social.alexn.org avatar
joelanman, to javascript
@joelanman@hachyderm.io avatar

This feels a bit wonky to me. You can't use const like this:

try {  
 const myVar = myFunc(options)  
} catch (error) {   
 console.error(error)  
}

console.log(myVar)  

as myVar doesn't exist outside the try scope. So if you need to do a try catch, you have to use let - even if you actually want to use the variable as a const (not change it later)

let myVar  
try {  
 myVar = myFunc(options)  
} catch (error) {   
 console.error(error)  
}

console.log(myVar)  

#javaScript

khalidabuhakmeh, to javascript
@khalidabuhakmeh@mastodon.social avatar

What’s genuinely shocking about #javascript isn't the complexity of the ecosystem but the fact that it's flooded by services that tie building apps to subscription services.

It's hard to find a tutorial that doesn't immediately tell you to sign up for Service X to make things work.

That’s a big red flag for me.

stvfrnzl, (edited ) to legal
@stvfrnzl@mastodon.online avatar

Currently studying for the #cpacc exam and I found the #legal part surprisingly interesting. This topic was also relevant in a workshop I gave, so here's a couple of law suits that are #accessibility related:

https://stevefrenzel.dev/posts/five-web-accessibility-law-suits/

I'm happy to expand this list if you know other interesting cases. 🤗

#a11y #WebDev #frontend #html #css #JavaScript #WebAccessibility #beyonce #dominos #walmart #BurgerKing #adidas #blind #LowVison #disability

nshki, to webdev
@nshki@ruby.social avatar

Hi fediverse. My name is Nishiki and I’m a web dev with 15+ years of experience. I’m making myself available as a mentor for one or two motivated individuals looking to land their first junior engineering position. I’m happy to be able to say over the past few years, I’ve mentored 4 wonderful people who have all managed to land their first tech jobs.

Please email me at hello@nshki.com if interested. A boost for reach is much appreciated!

chriskrycho, to typescript
@chriskrycho@mastodon.social avatar

The first of my two talks—this one, born out of my experiences with versioning and and over the past 7 years. Script and slides now, video once it’s up! https://v5.chriskrycho.com/elsewhere/cutting-edge-of-versioning/

kubikpixel, to webdev
@kubikpixel@chaos.social avatar
kubikpixel,
@kubikpixel@chaos.social avatar

Modern current code should run asynchronously if possible and useful. Slowly but steadily, it is being implemented in almost all popular programming languages, including WebDev.

»New Disposable APIs in Javascript«

🔧 https://jonathan-frere.com/posts/disposables-in-javascript/


#webdev #javascript #api #disposable #js #async #asynchrone #programming #code #moderncode #coding

kubikpixel,
@kubikpixel@chaos.social avatar

7 JavaScript language elements every developer needs:

Here's what beginning and experienced developers need to know about working with JavaScript's array, for loop, forEach, map, reduce, substring, and switch.

🔧 https://www.infoworld.com/article/3715393/7-javascript-language-elements-every-developer-needs.html


andros, to emacs
@andros@hostux.social avatar

I publish a new article: «Creating desktop applications using the Emacs core»
https://programadorwebvalencia.com/creating-desktop-applications-using-the-emacs-core/

In summary, I can use Emacs to create GUIs with an Elisp backend.

mjgardner,

@andros @marcolas The point is your architecture is the same as , replacing embedded and running with embedded running .

So every app using it has all of ’s disadvantages:
• lowest-common-denominator obviously foreign to the host OS
• non-portable shims to integrate with host OS features
• an individually bespoke runtime consuming storage, memory, and compute as if it were a separate virtual machine

mjgardner,

@andros @marcolas Web applications use to shoehorn themselves into an environment designed to browse hyperlinked documents.

And “ applications” (e.g., Org Mode, Gnus, calendar/diary, ERC, and even multiple web browsers!) use to shoehorn themselves into an environment designed to edit text documents.

You’re so blinkered by the ubiquity of apps shoehorned inside apps that you’ve forgotten the compromises they introduce.

mjgardner,

@boo_ @andros I didn’t foresee anyone turning Google’s browser engine V8 (2008) into the server (, 2009) and desktop (, 2013) runtimes that ate the world, but here we are.

And Electron was originally developed for ’s text editor (2008) before they were acquired by in 2018, subsequently discontinued in favor of in 2022.

Don’t tell me what you can’t see happening if you don’t remember what already did

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