Fork me on GitHub
#mount
<
2016-03-25
>
kendall.buchanan19:03:50

I'm new to mount (having come from Component)...

kendall.buchanan19:03:26

And with Component, a healthy list of reusable components have emerged for connecting to databases, redis, etc...

kendall.buchanan19:03:33

Any such thing happening with Mount?

tolitius19:03:19

@kendall.buchanan: welcome! I am not aware of components per se, but I remember @danielsz mentioned that he is quite open to adding components that could be reused among mount projects one thing to note (a part of the reason it did not yet happen is), take an example of a jdbc Component component: https://github.com/danielsz/system/blob/master/src/system/components/jdbc.clj in mount it'll just be:

(defn connect [db-spec] 
  (jdbc/get-connection db-spec))

(defn disconnect [conn] 
  (.close conn))

kendall.buchanan19:03:10

A slightly better example (still simple) is Hikaricp...

kendall.buchanan19:03:49

Reusable components like this for mount might be useful. Enjoying mount so far, by the way. Very little boilerplate.

tolitius19:03:13

(thanks simple_smile ) yea, but having said that, I believe there is a room for reusable mount components, and it would be really cool to see more pull requests with them into something like

danielsz19:03:31

Just to confirm : I plan to add support for mount in system.

danielsz19:03:41

It's just a matter of time.

danielsz19:03:25

Since I'm busy, and if people don't want to wait, I'll gladly accept PRs.

danielsz19:03:44

The grand vision is that all the components should have their mount counterparts.

kendall.buchanan19:03:51

Thanks for the insights, guys.

tolitius19:03:00

@danielsz: thanks for chiming in, that's great simple_smile

danielsz19:03:12

👍 With great pleasure.