Avatar

prtm

prtm@lemm.ee
Joined
0 posts • 29 comments
Direct message

It’s just Lemmy admins trying to give us the true Reddit experience

permalink
report
reply

The main difference is PHP is server side and react is client side. So with PHP the webpage gets rendered as HTML on the server side and that HTML gets sent to the client who displays it to the user. With react the server will have a home page with some basic HTML and the react app that get sent to the client. The react app will make API requests to the server to obtain the information needed to render the page on the client side.

There are pros and cons to each. The main pro of react compared to PHP is that it’s easier to make interactive apps that update a small component on the screen instead of refreshing the entire window. You can still do that with PHP websites as well using JavaScript though. The main pros of server side rendering is that it is easier for search engines to index your webpage and the user experience of the website will be less dependent on how fast the client is.

permalink
report
reply

Voor mijzelf ligt de grens denk ik rond de 10km (zover fietste ik naar de middelbare school). Dus 17km is wel wat ver, maar niet onmogelijk, zeker als je een speedpedelec gebruikt.

permalink
report
reply

Web sockets are meant for applications where it’s important that you receive updates fast in a push fashion. E.g. collaborative editors like Google docs or a chat application. To scroll Lemmy or open a specific Lemmy post you don’t need that at all. You can just fetch the data once and have users refresh manually if for example they want to fetch the latest comments on a post. Using websockets for that type of application just puts unnecessary strain on the server.

permalink
report
parent
reply
2 points

Someone help out our boy @TourWillem

permalink
report
reply

We should give all of lemm.ee mod rights to this community to help out Willem.

permalink
report
reply

I’m not sure exactly what in the photo is the wear is you’re referring to. I’d say if it plays fine you’re fine.

permalink
report
reply

Een jaartje deeltijdopleiding timmerman doen aan een roc misschien?

permalink
report
reply

To everyone who is saying they use adblock and haven’t seen this yet: YouTube probably rolled this out to a smaller percentage of users first. It allows them to understand how this change impacts user behaviour, e.g. how many users comply and disable their adblocker, how many more users close YouTube than usual etc. Most tech companies do this type of analysis before releasing a high impact change to all users.

permalink
report
reply

I selected multiple languages and am sometimes having trouble posting comments from apps (Liftoff and Wefwef) as they don’t give the option to select a language… When I submit the comment I get an error message telling me to select a language. It doesn’t happen all the time though. For instance this comment was written on Liftoff.

permalink
report
reply