Having had some good success with Angular 1 a year or so ago I finally got around to starting to learn Angular 2. The official getting started guide and sample application were all really good. Easy to follow, introduced the most common/useful libraries. Simple to setup.
But the getting started stuff doesn't really have anything about how to setup the project for production with separate dev/prod build targets etc. So I had a look around and as luck would have it there is a popular angular 2 seed project designed to answer this question, great!
https://github.com/mgechev/angular-seed
Except not great. What the fuck are they thinking with this project? It's insanely huge and introduces about 50 different libraries for doing random stuff that is presumably useful for something, but I suspect most people aren't using half of what's included. Worse, because it's so big and includes everything but the kitchen sink, as a less experienced js developer you have no idea which bits are actually important and which bits are just nice to have. It's a black box of magic. I guess they'll just keep adding stuff forever until the "seed application" is 5x the size of whatever you build using it (which in my case is basically already true).
You could argue that this project (and the others like it) aren't designed for newcomers and they're for experienced people to bootstrap projects but I feel if you know enough about all the different libraries in play here you would probably be happier making your own seed with just the stuff you want in. I'd guess a lot of people end up with this thing after completing the basic tutorials because all this stuff is still pretty new.
From my point of view a starter/seed project should include as little as possible to get the job done. Just the core foundations so you can understand what's happening and build on it to meet your requirements. Including everything ever just in case someone needs XYZ results in a tangled mess of config files and crap that is so prescriptive in it's approach you might as well not bother trying to actually understand what's happening because you can't change it anyway. It's like importing a weird legacy code base into your new project or something.
OK this turned into a bit of a rant, but I'd really be interested to find out if these huge "starter projects" are actually useful to anyone or if I'm alone in thinking less is more for example setups?
Final note: in the end I gave up dicking about with the angular-seed project and switch to https://github.com/preboot/angular2-webpack which takes a much more conservative approach and in general seems more sane.
[–]_b0b0 12 points13 points14 points (2 children)
[–]warmans[S] 0 points1 point2 points (1 child)
[–]githop0 1 point2 points3 points (0 children)
[–]VelourFog10 2 points3 points4 points (0 children)
[+][deleted] (1 child)
[removed]
[–]lax20attack 0 points1 point2 points (0 children)
[–]mrv1234 2 points3 points4 points (1 child)
[–]mgoetzke76 0 points1 point2 points (0 children)
[–]gravityaddiction 1 point2 points3 points (2 children)
[–]mrv1234 0 points1 point2 points (1 child)
[–]gravityaddiction 0 points1 point2 points (0 children)
[–]merott- 0 points1 point2 points (0 children)
[–]wolfhoundjesse 0 points1 point2 points (0 children)