Tags: 
Every document has a directory. A Directory is the logical representation of a nested structure of names in .
A path route identifies a directory and a document at the same time. Path /cars is a document /cars and a directory or /cars/honda and /cars/toyota. Both things are optional: there could be nothing in the directory or no document. If there’s no document and nothing in the directory, then this path doesn’t exist.
Example:
We could have names
cars/toyotaandcars/hondain our namespace but nothing namedcars. This way when a user navigates to<account-id>/carsthere’s no document under this name. But we can show a “virtual” document listing the underlyingcars/toyotaandcars/hondadocuments.We could also indeed have a document named
cars, in which case we could render both the documentcarsand the directory ofcars/*on the same page.It’s important that the document
carshas no relationship to documentcars/toyotaorcars/honda. It’s not more important, it’s not a parent, and doesn’t enforce anything on other document sharing the same name prefix.
Do you like what you are reading?. Subscribe to receive updates.
Unsubscribe anytime