Daily Shaarli

All links of one day in a single page.

October 8, 2022

REST API Naming Conventions and Best Practices | by Nadin Pethiyagoda | Sep, 2022 | Medium
  1. Use Nouns to represent resources / Not Verbs
  2. Use Pluralized Nouns for resources
  3. Use hyphens (-) to improve the readability of URIs
  4. Use forward slashes (/) for hierarchy but not trailing forward slash (/)
  5. Avoid using file extensions
  6. Version your APIs: http://api.example.com/v1
  7. Use query component to filter URI collection: http://api.example.com/v1/store/employees?department=IT&region=USA
Is it time to ditch Svelte, React, and VUE? | by Sean Schertell | Medium

There is an alternative to the SPA model: a new model with HTML only. It uses modern DOM-swapping interactivity libraries like Hotwire, HTMX, and Unpoly and... something that returns HTML as backend :)

Since version 7.0 has Ruby on Rails Hotwire backed-in!