Node, Web Storage and a dash of Ext

June 30th, 2011

I'm coming to the end of my first week back at Fishrod and today was our first 20% day. A whole day that we get to dedicate to technologies that have piqued our interest but, for one reason or another, haven't got round to playing with yet. As the title gives away, I experimented with Node, Ext and web storage.

Node is pretty cool. It's really easy to get up-and-running and using Express my development sped up even more so. Express introduced me to Jade, which is very similar to HAML from what I gather, something that I've known about for a long time but not been interested to learn. Writing this very blog post in HTML feels ugly and heavy compared to the lightness that Jade, HAML and Markdown offer.

I ended up making the beginnings of a traditional PHP+MySQL user login application, fairly unsuited to the technologies I had—that's what I thought until my boss told me that there's a module for Node that lets you interact with MongoDB (another product I've been meaning to get to grips with). Before I knew about this, I introduced Ext to try and get some sort of data storage into the application but it was too reliant on using AJAX to get a server-side response and as far as I can tell, Node isn't for that kind of thing. Instead, I ended up using localStorage which is only good if you want one user at a time per browser, (although I'm sure that must have some application!).

So apart from some other bits of web storage tinkerings that was my day really, I'll get the code tomorrow to post on here (as terrible as it is) for prosperity more than anything. It was definitely a good thing to setup a Node server and see how it works hands-on and be introduced to some of the programming culture that surrounds it. I've only dipped my toe in the water but the idea of just having a web server you can deploy so easily is exciting to me.

As a closing note, I think it's awesome that companies do have days purely for self-improvement, it really makes businesses and individuals stand out and I'm lucky to be at one that encourages it.


About Development, Frameworks, and JavaScript. There are no comments (yet!).