The twelve factors are principles for designing applications deployable in the cloud: configuration in the environment, explicit dependencies, interchangeable backing services, stateless processes, logs on standard output, parity between environments. They make portability and scaling easier.
Example
Read the database URL from the DATABASE_URL environment variable.