That’s right. I pick out a node library to use for a project and try it and dump it for something else in a matter of days. There’s nothing wrong with that for me, working alone, at the very beginning of a very iterative approach to a novel solution. But if you aren’t me, and I assure you, you’re not, don’t worry I’ll still try to make this useful and helpful if you’re trying to decide what library you want your node project to use.
Getting SASSy
I’m not an html/css person. I like processes, line by line debugging and compiling. Html and css are largely guesswork and pixel pushing. Browsers never implement standards the same way twice, so I end up researching new best practices all the time for everything.
That being said, you can’t make a site without some markup and styling. That’s really what a site is, RIGHT?
Stylesheet Loading With Express / Less
I was trying to figure out how to get express and less to create multiple stylesheets. When you start an express(1) app, it loads in less like this:
app.use(less({ src: __dirname + '/public' }));
But I need two things as my app grows:
- Move my source less files to a different path.
- Add more files that are compiled from less to css.
The Routes in Express
I’m really enjoying express. I think this is because unlike geddy, my experience with express is more closely tied to node itself than to a RVM pattern. I’m liking this, and learning more about node.
Good-bye Geddy
Well, ‘tis official, I’ve given up on GeddyJS. My original foray started out very polite and good and productive. But in the end, I had to walk away to something that was more ‘node’. Here’s how it went down, step by step.
tl;dr: Geddyjs is RoR without the large community. Expressjs is a set of simple tools to get stuff done. I am learning this the stupid way.