HNHacker News
TopNewBestAskShowJobs

AlexLevacher

8 karma · joined June 26, 2018

submissionscomments
AlexLevacher··on Show HN: Lumie, an opinionated NPM module to create better apps and ship faster
You got it bluehatbrit! Yuchi is right in the sense that I got inspiration from ROR routing. But we are far away a large framework like ROR or even Sails.js, Lumie is not comparable to them, this is not the same usage, Lumie is helpful to keep organized while growing your controllers codebase.
AlexLevacher··on Show HN: Lumie, an opinionated NPM module to create better apps and ship faster
Thanks for the feedback, and for having took time to take a deep look into the project.

1. In the structured example, I decided to name my files this way because I felt it is more convenient, for example when you navigate in your code editor. Furthermore I got inspiration from Angular2+'s naming conventions. But in fact you can name your "actions" and "routing" files as you want, but you have to set in Lumie's configuration to not search for a "routing configuration" in those files. This is why a I told Lumie to exclude all .action files. So if you want to name all your actions files: "action.js", you have to exclude: "action.js".

2. You are right, this is a good point. This could be the object of my next PR

3. You can do it the same way as others, you can use whatever routes names you want. I'll add another example to illustrate it

I've made the changes to fix the broken links. Don't hesitate if you have any others questions or tell me if I was unclear in my answers

AlexLevacher··on Show HN: Lumie, an opinionated NPM module to create better apps and ship faster
We could not have found a better source, thanks
AlexLevacher··on Show HN: Lumie, an opinionated NPM module to create better apps and ship faster
maybe I was a bit clumsy with my title because this project was designed to not lock the user but to lead him to a nicely structured app architecture.