4 ms·
To be fair, approximately half of that stank is JavaScript hipster junk not just enterprise FactoryFactorySingleton(); ASP.NET MVC 4 apps out of the box are 'cl
by iheartmemcache 10y ago
To be fair, approximately half of that stank is JavaScript hipster junk not just enterprise FactoryFactorySingleton();
ASP.NET MVC 4 apps out of the box are 'click next, get checks' for new projects (and/or solutions) in Visual Studio. We're talking like Rails 2 easy to get up and running. This is a prime example of stupid hipster stank and enterprise amalgamated into a nightmare.
The problem is multi-fold in that (i): MS just did that whole DotCore DotFX run-anywhere move with first-party POSIX support and that's not too streamlined yet, you're getting the huge modular bloat of NPM just to get Angular 2 on there[1], which is (ii): some weird set of like nine different package managers, rather than using NuGet (which is basically apt-get level of easy - i.e., pulling all the dependencies, configuring your solution to work with it, etc), (iii): you're also configuring the httpd in the process (see: the 404 added bulk in [d]) so the tutorial looks artificially larger (imagine if every tutorial had 'how to configure nginx' attached to it...).
So you get:
a) additional dependencies on npm in order to install Angular2 which
b) requires SystemJS which does..something necessary but I'm not sure what...looks like ExpressJS but I claim ignorance (see [1]), then
c) the fun task of setting up the AppModule file, the routes file, a base component file, and a service file,
d) then there's something about configuring handling custom 404's
Like I said, pretty much the definition of the worst of both worlds.
That being said, I have a few client ASP.NET MVC projects in production which were easy to setup on within an AWS instance using Ubuntu Server LTS [4,5].
-----
[1] I strategically avoided JS when I saw all the crazy shit in that ecosystem take place. First it was MEAN[2], during the NoSQL era. Now, no one talks about Mongo and 'containers' are what's vogue, except apparently for your critical data. Docker was really cool for a while except now people don't like Docker because they think Swarm is over-extending systemd style? (Not sure about that claim entirely, I just skim those articles so I have a vague idea of 'what my industry is doing') So now I have a choice between Gulp or Grunt? Just like during the Rails days I had to choose between HAML or Sass or apparently both? I have no idea where Express falls into that. Then there's something-something Microservers too, which was the same thing as the J2EE[3] SOA stuff I used 15 years ago but apparently it's different?
[2] http://meanjs.org/docs.html http://meanjs.org/docs.html If I want to set up MEAN, apparently now I have to read literally 4 manuals, along with read a SO post and perhaps watch some auxiliary Egghead videos hmmm.
[3] The most ironic thing is with Gradle and Spring, I get my '15 minute setup' (my threshold for putzing around with new technologies) which is the complete 180 of J2EE hell 15 years ago when everyone was fighting WebSphere and JBoss and bitching about .xml hell. Also, for completeness sake, I'm aware that it's colloquially JEE(tm) now, but I elected for the naître form to be era-accurate.
http://spring.io/guides/gs/gradle/ http://spring.io/guides/gs/gradle/
[4] With just my basic POSIX knowledge I've accrued putzing around with obscure *nix's over the last 15ish years... (probably not so easy for an average Win only guy who limited himself to the MSVS box though).
[5] Might as take the opportunity to self-plug, available for odd-job (literally, you'll see what I mean when you click my link's 'rate' section) collaboration work. https://news.ycombinator.com/item?id=11816020 https://news.ycombinator.com/item?id=11816020
--
Edit: Consistency within note naming schema. Sorry, it's (partially) inverted from conventional Chicago style. That's the first time I've had ever had to invoke 3 different heading styles in an internet comment. If anything, just +1 me for my attempt at rigor ahaha
- kelvin0 10y ago>To be fair, approximately half of that stank is JavaScript hipster junk >This is a prime example of stupid hipster stank Always seemed like JS had issues, none of which I ever thought were related to 'hipsters'? Are we to conclude that JS without 'hipsters' would bring about a better ecosystem for web programming? How do you spot a hipster? By the way they dress, think or speak? I am curious as to how that 'hipster' theory came into your view.