Live data from Hacker News

Yeoman: Modern workflows for modern webapps

yeoman.io

41–50 of 77 posts

Re: Yeoman: Modern workflows for modern webapps

#41
post #11

Stop doing `curl get.whatever.com|bash` ! Seriously. I have nothing against your install script, but getting devs use to that is a terrible idea ! I spent weeks explaining to junior devs to not do that on production servers. I thought it was obvious, but apparently it isn't...

To be fair, if you ever install and execute someone else's software without either reading the code yourself or making an attempt to verify that the source is who you intend (i.e. at least checking MD5), then you're guilty of precisely the same security gaffe.

Re: Yeoman: Modern workflows for modern webapps

#42
A quick note, the bottom of that script has this section:

  if [ "$COMPASS" -eq 0 ]; then
    echo ""
    echo "Install hiccup: no compass"
    echo "Sorry chap, compass wasn't setup because there was a problem with your ruby setup. You can check the documentation here for help: [link to documentation]."
  fi
You should probably make that an actual link for when people have problems.

Very nice install script by the way, you clearly had a lot of fun making it.

Re: Yeoman: Modern workflows for modern webapps

#43

Yeoman is a robust and opinionated set of tools, libraries, and a workflow that can help developers quickly build beautiful, compelling web apps. Cool, but what does it do?

its a command line tool for web developers. It has many capabilities useful to the modern web dev workflow. Of most note to me, it acts as a "project creation" tool. AKA "A Scaffolding generator." It will pull things like HTML5 Boilerplate, jQuery, Backbone.js, etc down from github, and properly generate the project files you need to start a project with those dependencies. You dont have to worry about how any of it…

If you have already built a few web apps, wouldn't you already have your scaffolding that can be copied into a new app? And as a bonus, you will have scaffolding that you understand very well.

"You don't have to worry about how any of it fits together..." That doesn't seem like an advantage.

Re: Yeoman: Modern workflows for modern webapps

#44
post #41
post #11

Stop doing `curl get.whatever.com|bash` ! Seriously. I have nothing against your install script, but getting devs use to that is a terrible idea ! I spent weeks explaining to junior devs to not do that on production servers. I thought it was obvious, but apparently it isn't...

To be fair, if you ever install and execute someone else's software without either reading the code yourself or making an attempt to verify that the source is who you intend (i.e. at least checking MD5), then you're guilty of precisely the same security gaffe.

A lot more can be done wrong with a shell script pointing to some 3rd party domain than with an installed app, especially with sandboxing in modern OSes, app stores, and the much higher probability and ease of using `sudo` vs executing an app with higher privileges.

Re: Yeoman: Modern workflows for modern webapps

#45
post #11

Stop doing `curl get.whatever.com|bash` ! Seriously. I have nothing against your install script, but getting devs use to that is a terrible idea ! I spent weeks explaining to junior devs to not do that on production servers. I thought it was obvious, but apparently it isn't...

Worse, this script goes on to install homebrew using 'curl -k ...|ruby'. Yeah, no thanks.

Re: Yeoman: Modern workflows for modern webapps

#46
post #40

Earlier quoted context omitted.

its a command line tool for web developers. It has many capabilities useful to the modern web dev workflow. Of most note to me, it acts as a "project creation" tool. AKA "A Scaffolding generator." It will pull things like HTML5 Boilerplate, jQuery, Backbone.js, etc down from github, and properly generate the project files you need to start a project with those dependencies. You dont have to worry about how any of it…

Can this tool connect to a mysql database and generate html5 CRUD forms based on the database? I have seen a tool like phreeze.com and I am wondering why there is not more in that direction (building web app basic pages based on existing database design)?

This is a tool for front-end developers. It would have to support a myriad of server-side languages for that, which is completely out of scope, and tools that do it already exist.

Re: Yeoman: Modern workflows for modern webapps

#47
Why all the hate? If it's that bad, help out and make it cool. Make it a brew package, or npm, or gem maybe. Alternative installers for those who dont want the curl script|sh thing.

I think its a great idea!

*edit Actually just noticed that it IS an npm package that can be installed using `npm install yeoman´

Re: Yeoman: Modern workflows for modern webapps

#49
post #36

I have a similar more light-weight project template that requires no installation (except node). Pith auto-generates test module dependencies and uses Backbone too :) https://github.com/sym3tri/pith

was able to get it running on windows, so I am happy with it. Needs more in-depth guide so I know what it provides and the reasoning behind ur "sane defaults"

Re: Yeoman: Modern workflows for modern webapps

#50
post #36

I have a similar more light-weight project template that requires no installation (except node). Pith auto-generates test module dependencies and uses Backbone too :) https://github.com/sym3tri/pith

was able to get it running on windows, so I am happy with it. Needs more in-depth guide so I know what it provides and the reasoning behind ur "sane defaults"

Thanks. More documentation is on my todo list... please stay tuned.
Post reply on HN