this post was submitted on 05 Sep 2024
108 points (98.2% liked)

Technology

59578 readers
6091 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
108
Goodbye FireFish. (info.firefish.dev)
submitted 2 months ago* (last edited 2 months ago) by [email protected] to c/technology
 

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 (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