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
Copy file name to clipboardExpand all lines: docs/index.md
+8-12Lines changed: 8 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,20 +12,15 @@ Use a [REPL Workflow approach](introduction/repl-workflow.md) to provide instant
12
12
13
13
Clojure CLI is used to manage library dependencies and run Clojure code, enhanced with [aliases from Practicalli Clojure CLI Config](https://practical.li/clojure/clojure-cli/practicalli-config/).
14
14
15
-
Larger projects use [donut.system](service-repl-workflow/donut-system.md) (or Integrant & Integrant REPL) to manage components and state, using a reloaded REPL workflow to manage changes in addition to evaluating functions in the REPL.
15
+
Larger projects use a system library (Donut System, Integrant) to manage the life cycle of components. Component state is managed via a reloaded REPL workflow to load changes on top of evaluating functions in the REPL.
16
16
17
-
Postgresql is used for persistent storage, with next.jdbc and honeysql for database access (SQL). Additional persistence tools and services will be added in future.
17
+
18
+
Persistent storage , with next.jdbc and honeysql for database access (SQL). Additional persistence tools and services will be added in future.
18
19
19
20
tools.build is used to create Clojure artefacts for deployment, with GitHub actions and Docker used for Continuous Integration and orchestrating systems.
20
21
21
22
make is a general build tool used to support project development and support automation of wokflow tasks.
22
23
23
-
??? WARNING "Heroku deployment to be archived"
24
-
Heroku Cloud service deployment approach is being archived as the service no longer provides a developer environment (November 2022)
25
-
26
-
??? WARNING "Older content using Leiningen"
27
-
Older content uses Leiningen for project configuration. This content can be converted to a Clojure CLI project by creating a `deps.edn` file containing the relevant dependencies. Add a `build.clj` configuration to create assets to deploy, e.g. jar & uberjar.
28
-
29
24
!!! INFO "Project Templates"
30
25
Practicalli Project templates can be used with the deps-new tool to create a new project with common libraries and code to show how those libraries can be wired together.
31
26
Practicalli Clojure Web Services guides will include a template for each of the projects in this book (WIP).
@@ -35,14 +30,15 @@ make is a general build tool used to support project development and support aut
35
30
36
31
The Clojure community provides a diverse set of libraries, each focused on a specific need. Libraries are assembled to rapidly develop a tailored solution, avoiding bloat and the unnecessary complexity that comes with large frameworks. Libraries are relatively simple to replace with alternatives or used as inspiration for your own custom functions.
37
32
33
+
??? INFO "Avoid the complexity of large frameworks"
34
+
Clojure project uses targeted libraries that solve specific design challenges, avoiding generic and monolithic frameworks.
38
35
36
+
Frameworks codify a large number of design decisions and then generalised to solve a range of problems. When the same design decisions are needed, then frameworks can save time. However, there is no guarantee on how many of those decisions are relevant for the current project.
39
37
40
-
??? INFO "Avoid the complexity and inflexibility of large frameworks"
41
-
Frameworks are design decisions others have made and generalised to solve a range of problem, so there is no guarantee on how many of those decisions are relevant for the current project.
38
+
Frameworks tend to include many features not relevant to the current problem, which can be challenging to remove or replace. Frameworks can become heavily relied upon, taking away an opportunity to think about the most relevant solution.
42
39
43
-
Frameworks tend to include many features not relevant to the current problem, which can be challenging to remove or replace. Frameworks can be over relied upon, taking away an opportunity to think about the most relevant solution.
40
+
Clojure does not focus on the classic framework approach, like Rails or Spring, for this reason.
44
41
45
-
Clojure does not focus on the classic framework approach like Rails or Spring, for this reason.
0 commit comments