Thursday, November 1, 2012

iOS safari choppy scrolling

Try adding this to your container:

-webkit-overflow-scrolling: touch;

Now enjoy smooth scrolling :)

Friday, June 8, 2012

nodejs

I've given myself too much excuses, but this time round, i've finally did something using node.js

nodejs express quickstart

I'm still pretty new to this, but i took a couple of days to set up amazon ec2 micro instance (free), mess around with unix, install nodejs, dynamic dns (dyndns.org) and now i have a running instance in the cloud!

Check it out from time to time http://ec2.dyndns.biz (i've lost the dns after letting the ec2 instance dead for too long, i've registered a new ec2 instance at http://murugaratham.dyndns.biz), i'll update the site as i improve the starter :)

Wednesday, January 18, 2012

Microsoft technologist's view on nodejs

Most of my enterprise experience is bound to the Microsoft stack (.Net, SharePoint 2007 & 2010, SQL Server, IIS, Windows 2003, 2008, 2008 R2, the list goes on and on)

Pretty much of this change ever since i took my part time degree and i was brought back to hardcore software development, design and documentation. C++, C, php, rdms, 3NF, data structures & abstraction, algorithms, big O notation, etc.

I sat down and gave it a thought, the very existence of IT in most businesses are mostly for complimenting a business. We can leave Facebook, twitter, google and yahoo out of the picture, as they had caught on a market niche while their respective industry are in their infancy.

In the last project that i was involved in, i've opened up my mindset, i told myself, not to listen to microsoft all the time. I said no to ajaxcontrol toolkit, i said no to grid view binding to datasets. This time i wan to go hardcore and be able to know exactly what i am doing and how is it being done.

Enter: jQuery. There is no need for me to introduce this excellent javascript framework, but what it did for me was more than being a javascript framework. It allow me to be exposed to the open source communities on IRC, mailing lists and several forums. Underscore.js, less.js and Zurb foundation soon found their way into my IDE.

Soon enough, i've heard and tried a few node.js one page applications. The concept was clear and easy. The one language that most, if not all web developers are familiar with: Javascript. Using it for your user interface, server application and even database, one language to rule them all.

Author Ryan Dahl initially insisted that node be a 1 process thingy, lately, i believed due to many feedback and Joyent's direction, now they provide process forking.

My main roadblock for implementation in production is the stability, better debugging capabilities & easier fail-over. There are ways to implement fail over, but due to the fact that it is still under very rapid development, breaking API changes & deprecation caused a few sample apps that i created having problems.

I will look forward to v1.0 and implement it on our production servers.