15
Comments
  • 0
    I always wondered what crud is?
  • 0
    @BroCow I think it's a fun way of saying "crap"/"shit"
    Scykoh (a youtuber/gamer) uses that term very often, lol
  • 3
    @Gaetano96 @BroCow It's create read update delete.

    The four most common operations of an API. It can be a pure API using get/post/put/etc returning json, or it could generate html views and use ajax in case of a usable website.

    A very unimaginative platform consists of a page with articles, a button to create a new article, a button on each article to delete it, a link to read/show the article, and one to change/edit/update it.

    In practice, crud is rarely that simple. You often need to show a page where you can edit before clicking save, and that edit page shares a lot of code with create (apart from prefilling fields). Then you often want a batch delete/update, and showing one item is often different from showing a list of items.

    REST is the most popular set of rules for crud APIs, although it gets vague and messy in case of complicated operations. GraphQL is superior in my opinion.
  • 1
    @bittersweet I agree, thats why I'm learning GraphQL 😙😊
  • 1
    (Bane voice) it is the crud that binds us
Add Comment