Learn full-stack web development using fastn in a week
Learn Now

Glossary

A fastn Glossary

document

The file with extension that are compiled using FASTN. Currently, there are two such extensions .md and .ftd.

document-name

The unique identifier of a document. See more document-name processors.

document-full-id

The document-full-id is same as the document-id. Though, in some case, it could be alias to document-id with a document-suffix added after special character /-/. In case, when document-suffix is not present, document-full-id and document-id are same.

For a document foo.ftd, the document-id is /foo/ but document-full-id could be /foo/-/x/ where /x/ is the document-suffix. Both /foo/ and /foo/-/x/ points to foo.ftd, probably with different document-metadata.

See more document-full-id processors.

document-id

The document-id is the url of the document interface returns the location from where the compiled version of document can be accessed.

For a document foo.ftd, the document-id is /foo/ See more document-id processors.

document-metadata

The document-metadata is the key-value pair data provided to document-full-id in the sitemap.

See more get-data processor.

document-suffix

The document-suffix is the special read-only property in document-full-id which is added after special character /-/.

For /foo/-/x/ as document-full-id, /x/ is document-suffix.

This can accessed using document-suffix processor.

See also sitemap.

fastn project

The unit folder that contains FASTN.ftd and any number of folders or files of any extension.

file

The unit of storage in fastn. It is uniquely identified by the filename.

filename

The unique identifier of an file.

module

The document which can be imported in other documents. These can only be with extension .ftd.

sitemap

A sitemap is a data-structure where information is provided about the files on site. A sitemap tells which pages are important in site, and placed in proper structure. See also sitemap.
Copyright © 2023 - fastn.com