8 Aug 2018 |
richiardiandrea | what about macchiato-cljs ? | 23:03:38 |
richiardiandrea | Circle is circling, all good 😉 | 23:09:43 |
richiardiandrea | only npm deployment is missing, looking for confirming the name | 23:09:59 |
9 Aug 2018 |
yogthos | richiardiandrea fantastic 🎉 could you also update the macchiato-core library to use macchiato-http as a dependency before we forget about it 🙂 | 03:43:14 |
yogthos | might be worth a blog post as well, would be great to show how it works with lumo | 03:44:09 |
richiardiandrea | Yeah my only "concern" is cuerdas - I got rid of it in http so if core uses it some behavior might change...there are only `split`s and `replace`s but still... | 03:50:37 |
yogthos | I think that should be fine, and the scope of usage in http is pretty small, and we have tests | 12:20:16 |
richiardiandrea | Ok ported cuerdas to self-host today so we can include that if it gets accepted and merged | 19:25:08 |
14 Aug 2018 |
yogthos | awesome | 15:27:19 |
11 Oct 2018 |
| andrea.imparato joined the room. | 15:41:57 |
andrea.imparato | hello everyone! quick question, is macchiato mature enough to be used in production? | 15:41:57 |
yogthos | yup, my team is using it for some services currently, and I've talked to a few other companies who use it | 16:24:41 |
andrea.imparato | are you using it in a self hosted server or in serverless environment? yogthos | 19:38:21 |
yogthos | my team is using it on a self hosted kubernetes cluster | 19:56:57 |
3 Nov 2018 |
| justinmcp joined the room. | 02:37:35 |
justinmcp | anyone know of an example/tutorial/base project that serves a reagent app out of macchiato? | 02:37:37 |
nenadalm | You can use template with +browser profile https://github.com/macchiato-framework/macchiato-template#profiles.
It doesn't serve reagent app and the only thing that the js app does is printing into console: https://github.com/macchiato-framework/macchiato-template/blob/master/resources/leiningen/new/macchiato/src/browser/app.cljs#L5
but you can put reagent code into that js file. | 08:37:08 |
justinmcp | Thanks! That should get me started | 12:24:15 |
26 Nov 2018 |
| sova joined the room. | 15:31:11 |
sova | how did I not know about this thing ?! | 15:31:11 |
sova | 😄 | 15:31:14 |
27 Nov 2018 |
sova | I have a suggestion. Please add a default index.html with a javascript embed (cljs ) by default so that when i start a new macchiato app i can start playing in rum right away. | 13:16:28 |
sova | the way i have it set up, in the routes it serves a javascript file to the page via [:script ...] and i had to mess with the project.clj quite a bit to get it to compile my cljs separately, but finally i just created a new build called :client and invoke it with lein client | 13:17:17 |
nenadalm | If I understand you correctly, you want some basic js file in browser (compiled from cljs) that you can easilly extend.
There is such file: https://github.com/macchiato-framework/macchiato-template/blob/master/resources/leiningen/new/macchiato/src/browser/app.cljs
you just need to run
lein new macchiato app +browser
to generate it (https://github.com/macchiato-framework/macchiato-template#usage). | 19:23:13 |
sova | Question... if I wanted to incorporate web sockets into this npm/cljs divesto, what would be a good avenue? | 20:05:52 |
sova | yep that's exactly right. thank you. | 20:07:12 |
nenadalm | I used sente on one project. You just need to copy https://github.com/ptaoussanis/sente/pull/307 into your namespace | 20:16:15 |
sova | Awesome! | 20:28:16 |
sova | That simplifies a lot of work if there's already a working copy to build from. | 20:28:30 |
sova | I was reading https://macchiato-framework.github.io/docs/websockets.html but i think sente will be nicer to play with. | 20:28:57 |