4 ms·
Was in my todo to investigate scaffolding tools. Was thinking of using: https://github.com/norskeld/arx https://github.com/norskeld/arx Curious what everyone
by nikivi 4y ago
Was in my todo to investigate scaffolding tools. Was thinking of using:
https://github.com/norskeld/arx https://github.com/norskeld/arx
Curious what everyone else uses? Or you still start each project with empty folders and manually add things?
- noworriesnate 4y agoI would love it if there were a massive, correctly-tagged list of starter templates for all kinds of combinations of frameworks/libraries. The question is, how should you manage that list? One idea I've been implementing for fun lately is a git repository where each branch represents a combination of optional features that can be generated. E.g., the branch `aad/aspnetcore/hotchocolate` is the starter code for an ASP.NET Core GraphQL server that uses Azure Active Directory for authentication. Whenever I make a change in the aad/develop branch, it automatically merges to aad/aspnetcore, aad/aspnetcore/hotchocolate, aad/aspnetcore/rest, etc. The problem is there are a lot of merge conflicts as you can imagine.
- klodolph 4y agoI start each project with a README, and then slowly add stuff. Very few of my projects existing templates closely enough that I feel like I could get away with using a scaffolding tool. When I first used create-react-app, I spent a half day ripping apart the results and adding the parts I liked to a new project, incrementally. I feel like copying build scripts, configuration, and project structure from existing projects you have experience with is no worse than using a scaffolding tool. Copying isn't a bad thing.
- Nzen 4y agoI use [0] maven's archetype plugin [1]. I sense, though, from the other responses and yeoman's generator list [2], my expectations are on the low end. Other than setting up the source package, I mostly have it fill in documentation templates. [0] https://bitbucket.org/Nzen/zaftig-offal-hamisha/src/master/src/main/resources/archetype-resources/ https://bitbucket.org/Nzen/zaftig-offal-hamisha/src/master/s... (file templates) [0] https://bitbucket.org/Nzen/zaftig-offal-hamisha/src/master/src/main/resources/META-INF/maven/archetype-metadata.xml https://bitbucket.org/Nzen/zaftig-offal-hamisha/src/master/s... (plugin config) [1] https://maven.apache.org/archetype/maven-archetype-plugin/usage.html https://maven.apache.org/archetype/maven-archetype-plugin/us... [2] https://yeoman.io/generators/ https://yeoman.io/generators/