JavaScript


21
Jul 11

My Take on Regular Expressions

We have a new trend where I work – every week or so, we take turns to present a topic to the rest of our peers. It can be on anything cool; by cool I clearly mean technology – all the better if it’s in direct relation to business :D

A workmate suggested I do one on Regular Expressions – and regular expressions it was!

For the uninitiated (and the non-geeks out there), regular expressions – or regex as it’s affectionately known amongst software engineers – allow you to pattern-match strings and manipulate them: you can find, replace, remove, move, etc – as long as you know how to code the right pattern, of course :)

Continue reading →


27
May 11

The day that was NodeHack!

In my previous post, I promised you I would give an account of the recent NodeHack event – it was on the 21st May for those who weren’t following. It’s been a few busy days since, but here it is!

I woke up at 7am on Saturday, 21st May 2011 – not something most people normally enjoy doing, myself included. I did not get much sleep, given I had dozed off not more than two hours prior. This has pretty much been my routine for the past few days leading up to NodeHack – a meetup regarding node.js organized by 40 Square Software.

Continue reading →


17
May 11

node.JS meetup in KL!

This coming weekend – 21st May 2011 – 40 Square Software will be organizing a node.JS tech meetup. I’ll be giving a talk on JavaScript design patterns during the gathering – one of several talks that will be of interest to tech-enthusiasts! I carry mixed feelings – both excitement and anxiety – as it’s been a while since my last presentation, but I believe I’ll hold up :)

Anyways, open up your weekend for this event – it’s free and lunch is provided! Head on over to the official NodeHack website to find out more!

For those who don’t know what node.JS is, it’s essentially JavaScript for the server-side. An event-driven I/O framework written on top of the V8 – Google’s open source JavaScript engine, a beautiful construct in it’s own right – node.JS bridges the gap between client-side and server-side technologies.

It makes possible what wasn’t before – accessing the filesystem, standard I/O, and not having to worry about cross-browser compatibility are amongst some of the MANY benefits it has to offer! It’s also breathtakingly fast, being able to handle thousands of concurrent connections with minimal overhead! Best of all, its available on arguably the most popular (also the most misunderstood, as Crockford would say) programming language – JavaScript!


18
Oct 10

Expression Closures in JavaScript

Javascript version 1.8 onwards introduces expression closures – syntactic sugar akin to lambda expressions available in programming languages like Python and Haskell.

Continue reading →