clojuredesign-podcast

Discussions around the Functional Design in Clojure podcast - https://clojuredesign.club/
ghosttoaster 2019-08-05T21:35:30.078Z

So I feel like I've been stuck trying to grok boot for a while now.

ghosttoaster 2019-08-05T21:38:32.081Z

It feels clunky to create new projects. Where lein as lein new the equivalent boot statement involves putting the boot-new dependency on the commandline which i can never really remember. I also don't really grok the immutable file tree thing that happens. Like I really want to come up with a workflow using asciidoctorj and some custom plugins to produce slideshow presentations. I can't really understand how to structure my project to do that...

ghosttoaster 2019-08-05T21:41:40.083500Z

I think what I want to do is create a task that reads in asciidoc code and applies my custom syntax rules. Then I'd use that task with some other boot task that creates html slideshows?

nate 2019-08-05T21:42:43.084100Z

@cdimara have you tried doing this task with lein?

ghosttoaster 2019-08-05T21:43:01.084700Z

I have not. Its something like this possible iwth lein?

ghosttoaster 2019-08-05T21:43:49.085700Z

I wasn't sure if the customization would be there. Particularly because I want to do something for which the end product isn't really a clojure app.

nate 2019-08-05T21:44:09.086300Z

hm, I don't know if it's possible with lein

ghosttoaster 2019-08-05T21:44:58.087400Z

Yeah, I mean I was hoping to use boot's kind of generic build tool flexibility to help me create documents and slideshows, using java libraries and tools.

nate 2019-08-05T21:45:15.087900Z

ah, I see

ghosttoaster 2019-08-05T21:45:24.088300Z

But they start talking about pods... boot pods. I have no idea what that means.

nate 2019-08-05T21:45:38.088600Z

Have you tried asking in the #boot channel?

ghosttoaster 2019-08-05T21:46:03.089500Z

Yeah... I'll go back there.

ghosttoaster 2019-08-05T21:46:12.089800Z

I've asked some stuff before.

ghosttoaster 2019-08-05T21:46:18.090Z

Its tough to get a response sometimes.

nate 2019-08-05T21:46:47.090700Z

I understand

ghosttoaster 2019-08-05T21:46:48.090900Z

But they've been pretty helpful. That Sean Cornfield guy is pretty great.

nate 2019-08-05T21:46:56.091200Z

yeah, definitely

ghosttoaster 2019-08-05T21:47:54.092400Z

Anyways thats my two cents on the lein vs boot debate.

ghosttoaster 2019-08-05T21:48:00.092600Z

Deps is pretty rad.

ghosttoaster 2019-08-05T21:48:23.093100Z

I still can't set up a closurescript project to save my life though.

nate 2019-08-05T21:49:25.094400Z

I think cljs is best started off with a template so you can get going and then pick it apart and see how things fit together

nate 2019-08-05T21:49:42.095300Z

cljs has to deal with the jungle of javascript and npm

ghosttoaster 2019-08-05T21:49:43.095400Z

ah. Thats a good idea.

2019-08-05T22:43:44.100Z

@cdimara I believe boot is aimed at creating a pipeline of functionally. You can add a piece of the pipe along with importing others. This type of composing is hard in lein, which is simply configuration. Is that helpful? I'm not an expert on either.

2019-08-05T22:44:57.100200Z

That's in part why lein is easier to get started with, it's a simpler by being constrained.

ghosttoaster 2019-08-05T22:54:45.100500Z

It is!

ghosttoaster 2019-08-05T22:55:04.100700Z

I think the the generic tooling aspect is what I'm looking for though.

ghosttoaster 2019-08-05T22:55:41.100900Z

So I may have to take another crack at trying to understand boot.