News for hackers. Stuff that matters.
Re:Show HN: Hosty – Image/Text self-hosting for minimalists ... by bombtrack on Saturday December 13, 2014 @02:42PM (#8746109)
I agree with the other reply -- this isn't so much of an indictment of PHP, as it is front-end development in general.

Sure, to keep it simple you could download your JS and PHP deps once and bundle them all up in one nice zip. I think many apps provide a "dist" or "release" bundle (this one, in fact, does) in which you don't have to care about Composer, Bower or npm. However, to properly organize deps or define build processes for development, why not use some of the (frankly) common tools available?

It's funny how HN could see a simple unzip-and-go app and scoff "amateur hour hobby project". But if someone takes a more formal approach to their hobby app it can flip and scoff "over-engineered bloated setup".

Re:Show HN: Hosty – Image/Text self-hosting for minimalists ... by xrstf on Saturday December 13, 2014 @02:47PM (#8746123)
Things got more complicated when I decided not to just use CSS/JS from some CDN, but have it locally available. Then I needed to postprocess the CSS to remove @include rules.

Most of the build process is meant to create small, versioned files, so users don't need to download full jQuery/Bootstrap stuff. I would feel bad for not optimizing my assets.

Re:Show HN: Hosty – Image/Text self-hosting for minimalists ... by bombtrack on Saturday December 13, 2014 @03:05PM (#8746185)
Oh, I fully agree with how you have everything set up and organized. It's clear you tried to be as formal as possible with organizing the app, it's dependencies and build processes, for _development_. People are just misunderstanding that bit or nitpicking. Like I said, it's damned if you do, damned if you don't.
Re:Show HN: Hosty – Image/Text self-hosting for minimalists ... by okatsu on Saturday December 13, 2014 @03:10PM (#8746210)
Don't sweat it, people would've complained either way. Like you said earlier, it's a build requirement, not a runtime one, and there are advantages to using these tools.