this post was submitted on 05 Sep 2024
109 points (99.1% liked)

Technology

58303 readers
30 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 1 year ago
MODERATORS
109
Goodbye FireFish. (info.firefish.dev)
submitted 2 months ago* (last edited 2 months ago) by [email protected] to c/[email protected]
 

Edit: Removed the photos due to lemmy crawler displaying the toot.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 2 months ago (3 children)

Does anyone know if Mastodon have that "multiple frontends" thing Lemmy has?

[–] [email protected] 3 points 2 months ago (1 children)

There are some. Mastodon has a lot of garbagey nonsense, but they do at least have a proper API which will let you make a non-shit front end if you wanted.

[–] [email protected] 1 points 2 months ago (2 children)

That's not what I mean. Lemmy has two separate repositories: one for the backend, and one for the default frontend. New frontends can be written and straight-up hooked into the server's backend instead of making all those API calls. For example, see https://photon.lemmy.dbzer0.com/ vs https://lemmy.dbzer0.com/.

[–] [email protected] 8 points 2 months ago (1 children)

Well, Lemmy's front end talks to it's back end via an API, which is pretty much how every web app of any scale works these days.

There's really not any particular difference between a monolithic app vs a seperate front end in terms of "all those API calls" since everything is basically calling APIs at this point, if they're not made by complete incompetents. (In the case of Mastodon, though, I suppose complete incompetent is possible.)

[–] [email protected] 1 points 2 months ago

Oh, I didn't realize that.

[–] [email protected] 2 points 2 months ago

photon doesn't directly communicate with the backend, it's not intended for that. but even then, lemmy-ui is almost entirely client side (for some reason) and it makes its calls to the API