fosstodon.org is one of the many independent Mastodon servers you can use to participate in the fediverse.
Fosstodon is an invite only Mastodon instance that is open to those who are interested in technology; particularly free & open source software. If you wish to join, contact us for an invite.

Administered by:

Server stats:

9.9K
active users

#php8

2 posts2 participants0 posts today

Reason #34556 I love final in libraries. #PHP8.4 introduced a new DOM extension that #LeagueCSV should use. If the class I need to update was final this would be straightforward and no-one would even notice. But because it is not, I have to perform some intellectual gymnastic to add support for modern DOM extension without BC breaking any "protected" methods to reduce BC on any class that extends the class.(which IMHO they should not have done in the first place). #OSS life

🚀 What is PSR-6? A Beginner’s Guide to PHP Caching Standards
Caching is an essential part of optimizing PHP applications, and PSR-6 is here to set the standard for it! 💡

Discover how this caching standard works and how you can implement it to boost your project’s performance.

👉 Read the full guide here: qirolab.com/posts/what-is-psr-

Qirolab · What is PSR-6? A Beginner’s Guide to PHP Caching Standards | QirolabIs your PHP application slowing down because of repeated database queries or inefficient caching? Do you wish switching between caching libraries was simpler? That’s where PSR-6 (...)

This is where I am w/ the github repo @zombiewarrior

It's really close to being "right", so to speak.

compare that to e.g.
statecollegeguitarlessons.com/

Note: my server is #LiteSpeed and i don'[t mess w/ it. But, that should not have the /public/ in the URL. If you've ever worked w/ #laravel it's like the ./index.php of the proj dir there. where there's ./index.php "reditrecting" to ./public/index.php
but you need to mod the #NGINX server {} location {} stuff for the... mod_rewrite type stuff.
i.e. the URL should be .com/giterator/ , accomplished in nginx w/ "@alias"
(sans the ./public part). you see the same thing either way. pet peeves.

EDIT: ALSO! CORRECTION -do NOT see the same! ARGGH! w/out that #mod_rewrite bit #htaccess whatever!~ the #CSS #asset paths mess up as well. Prob explains the missing SVG (masthead.php) forgot about that. oh well. hey. gimme a damn break! brain damage!
SEE "new" version here, ( i can fix that path thing. i forget the quick path top of my head momentarily. i prefer to be correct instead, anyway!)
this is NOT correct! statecollegeguitarlessons.com/

first time w/ the #namespace #php8 #composer #autoloader #PSR4 #MVC #refactoring.

i must admit, it was more challenging that i expected.

but yea. feel free to hop in there at any time, and help me polish that old turd already!
Sheesh!

✨ Nouveau tutoriel Symfony 7 disponible !
Vous voulez afficher vos articles de blog avec style ? Dans cette vidéo, nous vous guidons pas à pas :
- Création d’un contrôleur pour afficher les articles.
- Mise en place d’une vue Twig élégante.
- Ajout de CSS pour un design responsive et attrayant.

🎥 Regardez ici : youtube.com/watch?v=w2u-I1uD5G

Vous avez des questions ou des retours ? Discutez avec nous dans les commentaires ou rejoignez notre communauté.