# \#component

**URL:** https://clojureverse.org/tag/component/108.md

[Latest](https://clojureverse.org/latest.md) · [Categories](https://clojureverse.org/categories.md) · [Tags](https://clojureverse.org/tags.md)

---

## [How can we directly call \`(repo/get-cust-by-id id)\`, instead of \`((:get-cust-by-id sys-map) id)\` when using component libraries?](https://clojureverse.org/t/how-can-we-directly-call-repo-get-cust-by-id-id-instead-of-get-cust-by-id-sys-map-id-when-using-component-libraries/11358)

<div class="topic-metadata">

**Author:** [@Pyi\_Soe](https://clojureverse.org/u/Pyi_Soe)\
**Replies:** 1\
**Last updated:** [April 29, 2025, 6:36am UTC](https://clojureverse.org/t/how-can-we-directly-call-repo-get-cust-by-id-id-instead-of-get-cust-by-id-sys-map-id-when-using-component-libraries/11358 "2025-04-29T06:36:26Z")

</div>

With component libraries such as Component/Integrant, when a function has a dependency on part of the system state, we usually inject the dependency and put it in a map. Assuming repo is a component with CRUD functions …

---

## [Architecture of big applications](https://clojureverse.org/t/architecture-of-big-applications/9574)

<div class="topic-metadata">

**Author:** [@NoahTheDuke](https://clojureverse.org/u/NoahTheDuke)\
**Replies:** 29\
**Last updated:** [January 7, 2023, 1:12am UTC](https://clojureverse.org/t/architecture-of-big-applications/9574 "2023-01-07T01:12:20Z")

</div>

There are many example/demo repos for Clojure demonstrating a small slice of how a web app might be structured. Most notable is @seancorfield’s usermanager-example, which has many forks and variations (using reitit, inte…

---

## [Passing dependencies into ring handlers ... on request map, or \`partial\`ed into the handler?](https://clojureverse.org/t/passing-dependencies-into-ring-handlers-on-request-map-or-partial-ed-into-the-handler/8540)

<div class="topic-metadata">

**Author:** [@rgm](https://clojureverse.org/u/rgm)\
**Replies:** 9\
**Last updated:** [February 3, 2022, 7:30pm UTC](https://clojureverse.org/t/passing-dependencies-into-ring-handlers-on-request-map-or-partial-ed-into-the-handler/8540 "2022-02-03T19:30:31Z")

</div>

I’m curious if anyone has strong opinions one way or another on the (air quotes) best way to provide dependencies like a database connection into a Ring request handler, when working with one of the dependency-injection …
