MODULE 08 · DEVELOPMENT & GIT

Dependency

Software, code, or a package that another project needs in order to work.

01

What is it?

A dependency is something your code relies on, such as a package, database client, or service.

Software, code, or a package that another project needs in order to work.

02

Think of it like...

A dependency is something your code relies on, such as a package, database client, or service.

ApplicationDependencyCapability
03

What does it do?

Provide capabilities

Share reusable code

Connect components

04

Where is it used?

Package managersBackend servicesApplication setup
05

Example

A route depends on a database client to load an order.

Route → Database Client → Order

06

How it connects

ApplicationDependencyCapability
07

Do Not Confuse

Dependency

A requirement that another project or component needs in order to work.

Configuration

Describes how to use or run the software.

A dependency is a requirement; configuration describes how to use it.

08

Topic Glossary

ENGLISH TERM中文SIMPLE ENGLISH中文小白理解
Dependency依赖Software, code, or a package that another project needs in order to work.一个项目要正常运行所需要的软件、代码或软件包。
Package软件包A bundle of reusable code.可以安装并重复使用的一组代码。
Database Client数据库客户端Software that lets an application connect to a database.让应用能够连接数据库的软件。
Service服务A component that provides a capability to another component.为其他组件提供某种能力的程序部分。
Configuration配置Settings that describe how software should run.用来说明软件应该如何运行的一组设置。
Capability能力Something a component can provide or do.一个组件能够提供或完成的功能。
09

What to Remember

A dependency is something your code relies on.

A dependency can provide capabilities, share reusable code, or connect components.

A route can depend on a database client to load an order.

↑