Functions are blocks of code that run on demand without the need to manage any infrastructure. Develop on your local machine, test your code from the command line (using
doctl), then deploy to App Platform — no servers required. Learn more about functions.
A namespace is a a collection of resources containing one or more functions which is hosted on DigitalOcean. After you build a project locally or on GitHub, you deploy it to a namespace to serve its functions from the cloud.
Each App Platform functions component is essentially a single namespace that we manage for you. You can deploy one project per functions component. App platform manages versioning, rollbacks, environment variables, and more.
The Functions development namespace is a self-managed namespace. You can use it to experiment and test functions without an App Platform app. You will need to manually manage (or create your own automations to do so) environments, versioning, and other details of your functions.