Post

Let me introduce you to Tempest’s heartbeat: discovery. It’s what sets Tempest apart from any other framework. Discovery allows Tempest to scan all files, read the code, and register that code in the right places. It’s used for routing, console commands, event listeners, and a lot more

Discover works by scanning all project files and passing them to Discovery classes. These are relatively simple classes that know how what to do with specific files.

Worried about performance? Discovery is heavily optimised, even for local development. You won’t notice it’s there.

I guess "you can structure your project any way you like" works both ways - there's nothing to force you structure a way you don't want, but there's equally nothing to force you to structure it how you do want?

There will be a reference application as a starting point, but we won't force any fixed project structure

0 reposts2 likes