Comments on post “Mega Boilerplate”
Pete Allport
@peteallport · Founder/Developer at NoteBear
This is really awesome @evnowandforever! I would love to see an option (like with the database or css framework categories) for no template engine rather than having to use either Jade/Handlebars/whatever. Just use React/JSX or vanilla js, for instance - just a thought.
To try and catalogue all that one can do on the web today is incredibly helpful and inviting. Great job man, looking forward to updates!
2sharetweet・
Sahat Yalkabov
@evnowandforever · Full Stack JavaScript Developer
@peteallport Thanks Pete. What you suggest is something I have already considered during the early days of Mega Boilerplate, but decided against it to keep things simple. But I know what you are talking about.
The main challenge here is not even the extra work but rather UX. Let's say a user selects Template Engine "None". Then continues to CSS Framework, CSS Preprocessor, and then decides to select "None" JS Framework (No React, Angular). At this point Mega Boilerplate won't be able to generate anything meaningful since neither template engine nor JS framework were selected. I guess I could disable "None" JS Framework option if Template Engine is already set to "None", but I'd like to hear your thoughts on what would be the most intuitive and easy to follow solution.
2sharetweet・
Pete Allport
@peteallport · Founder/Developer at NoteBear
@evnowandforever I'd imagine that you can very easily go down a dark path of complicated combinations haha. I think you're right though, to then require a js framework if not already selected would be optimal. Either way, cheers! 👍🏻
upvotesharetweet・
Clayton Brand
@clay_to_n · Head of Software @ Stasis Labs
@evnowandforever @peteallport Seems like the tool is still useful with no frontend - you could, for example, make an Express app with Mocha and a Mongo connection. You can maybe show the user a pop-up message letting them know there won't be any frontend components in this case.
1sharetweet・
Sahat Yalkabov
@evnowandforever · Full Stack JavaScript Developer
@clay_to_n @peteallport I've have similar but opposite suggestions where someone wanted just the front-end - React or Angular app without any server code. It is certainly possible and shouldn't even be that difficult to implement. I will consider splitting into API only and Front-end only boilerplate generators in the near future.
upvotesharetweet・
Pete Allport
@peteallport · Founder/Developer at NoteBear
@evnowandforever @clay_to_n agreed Clayton, and Sahat I wouldn't think there'd need to be a separate flow for apps w/o a frontend? Maybe I'm misunderstanding. I suppose it's just a matter of organization. I really like the idea of a popup message for no frontend.
upvotesharetweet・