Hacker News new | ask | show | jobs
Skeleton: A CoffeeScript Node.js Project Generator (github.com)
22 points by EtienneLem 5082 days ago
9 comments

It's bad news, running CoffeeScript without compiling it to JavaScript first. If your code throws an exception it won't print line numbers. Don't take my word for it: https://github.com/isaacs/coffee-cleanse

I also take issue with the name. Node is extremely popular among front-end devs and others have pointed out the popular skeleton CSS base library.

Finally sprockets is obsolete for JavaScript, with CommonJS/AMD and tools like browserify and RequireJS. It's also obsolete for stylesheets if you're using Less or Sass.

The namespace for FOSS is getting crowded: http://www.getskeleton.com/ Not a bad thing.
This is a killer HTML/CSS boilerplate. It's clean and simple and does just enough to get a responsive layout up-and-running.
I heavily prefer it for simple sites. Once you start needing all the bells and whistles, you can look elsewhere. Right tool etc... Don't need twitter bootstrap for every blog or repo site out there.
You might also consider Stylus Skeleton: https://github.com/archware/stylus-skeleton

I ported Skeleton CSS to Stylus one day using ideas from Stylus Boilerplate.

Very cool; I'll be playing around with this a bit, looks like a nice and fast way to get started with a Node web app.

Side note: generally good practice to throw your name into Google (for example, "skeleton framework" or some combination of relevant words) to see what was returned before landing on your name (http://www.getskeleton.com/)

Yeah, I did only check on http://npmjs.org to see if the bin script name was available.

Then I made the css only logo (See and inspect @ http://heliom.ca/en/blog/skeleton) and couldn’t look back.

> Yeah, I did only check on http://npmjs.org to see if the bin script name was available.

What you've just described is called squatting.

I like the logo a lot!
I've been using a quite different approach at structuring my Node.js applications: http://bergie.iki.fi/nodext/

With NodeXT you build the application out of multiple modules (extensions), which you then "mount" into the URL structure you want to use.

Helps keeping code more decoupled and reusable.

Interesting. I will take a look, thanks.
One additional possibility is making packaged NodeXT extensions that can be plugged into any website and configured. Here is an example:

http://search.npmjs.org/#/nodext-create

Just yesterday I was searching for a decent coffeescript node.js generator, but the one's I've been using lately[1] haven't been up to date and this is exactly what I've been looking for. Thanks!!

[1]https://github.com/jamescarr/coffeescript-express-app

So glad to hear. Feel free to contribute ;)
why would you name something after an already successful project with the same name.

face palm

To tell the truth, I wasn’t aware of the "other" Skeleton.
Thank you for this, very much needed. After generating a project I am getting a 403 'Forbidden' error from express. Anyone else having this issue?
Not that I’m aware of. Feel free to open an issue https://github.com/EtienneLem/skeleton/issues and we’ll try to figure it out
same here. running 0.6.19 and 0.8.0
What's the distinction between controllers, helpers, and views?
What is the justification for CoffeeScript?