AucT

joined 1 year ago
 

Backstory Nearly two years (actually almost three) ago, I was migrating admin panel from bootsrap 4 to bootstrap 5 alpha. I was using a lot of jquery and a lot of jquery ajax functions that were written like 10 years ago. So to clean this mess I wanted to make single func to rule them all. With new bootstrap 5 without jquery I searched for something. I even tried htmx. But I didn't like it (it has some weird syntax that is not valid html and most editors don't like it too).

[–] AucT@kbin.social 9 points 1 year ago (9 children)

I don't understand why all fediverse CMS written in php.
If authors used go/rust/java it should handle lots of users much easier.
Imo tools that has purpose to serve thousands of concurrent users should consider energy efficiency.

https://cdn.thenewstack.io/media/2018/05/3730357d-results-energy-time-and-memory-usage-screenshot-from-research-paper.png

 

If you use font-awesome, and you don't like to load 80kb+ for few icons, this guide is for you. Caution: I'm mostly php developer, so this guide is without advanced js stuff. We will use https://github.com/omacranger/fontawesome-subset to do this Install node.js if you don't have Install fontawesome-subset npm install --save-dev fontawesome-subset Install fontawesome npm install --save-dev @fortawesome/fontawesome-free@5.15.4 Note: we use 5.15.4 version because it is much more simple and lighter.