Tenets of Using Framework

Sunday, December 15, 2024 |

This post inspired from Rich Harris’s Tenets on GitHub sveltejs/svelte discussion.

  1. Follow the framework rules

Follow the framework rules until you’re ready to break the framework rules.

  1. Be picky when you choose third-party libraries or dependencies

Who knows they will be not maintain anymore. My personal tips is choose third-party libraries that maintain by company that work close with the framework. Example Spatie and Tighten are companies that work closely with the Laravel framework. Also, read 37Signals post: A vanilla Rails stack is plenty.

  1. Follow Rich Harris’s Quote

Frameworks are not tools for organising your code, they are tools for organising your mind.