You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 72264e5
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: docs/workspace.md
+5-3Lines changed: 5 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,7 @@ A base is a special kind of Polylith _brick_. It is where you would add the entr
25
25
It is a bridge between the outside world and the actual features.
26
26
27
27
## components
28
-
> A component is an encapsulated block of code that can be assembled together with a base (it's often just a single base) and a set of components and libraries into services, libraries or tools. Components achieve encapsulation and composability by separating their private implementation from their public interface. [^1]
28
+
> A component is an encapsulated block of code that can be assembled together with a base (it's often just a single base) and a set of components and libraries into services, libraries or tools. Components achieve encapsulation and composability by separating their private implementation from their public interface. [^2]
29
29
30
30
A component is also a _brick_, a building block for a feature.
31
31
It can be a "tech" brick, such as containing dictionary filtering helper functions, or a parser.
@@ -51,7 +51,7 @@ development/
51
51
```
52
52
53
53
## projects
54
-
> A project is the result of combining one base (or in rare cases several bases) with multiple components and libraries. [^1]
54
+
> A project is the result of combining one base (or in rare cases several bases) with multiple components and libraries. [^3]
55
55
56
56
Each project lives in a subdirectory of the `projects/` directory. A project is the deployable artifact: a microservice, a serverless function, a CLI or any kind of application.
57
57
@@ -64,4 +64,6 @@ projects/
64
64
In the project-specific directory, you will find a project-specific `pyproject.toml` that defines dependencies, packages and everything needed for the actual project.
65
65
It is not recommended to put Python code in here. Just add the necessary project infrastructure, such as Dockerfiles and project-specific deploy scripting.
66
66
67
-
[^1]: From the official [Polylith Architecture documentation](https://polylith.gitbook.io/polylith/architecture/2.2.-base)
67
+
[^1]: From the official Polylith Architecture [documentation about bases](https://polylith.gitbook.io/polylith/architecture/2.2.-base)
68
+
[^2]: From the official Polylith Architecture [documentation about components](https://polylith.gitbook.io/polylith/architecture/2.3.-component)
69
+
[^3]: From the official Polylith Architecture [documentation about projects](https://polylith.gitbook.io/polylith/architecture/2.6.-project)
0 commit comments