April 2009 - Posts

3
Comments

About Nothing by avcajipe

These are some random realizations about matters which directly affect me in my line of work. Some are dirty coding issues affecting web developers, communication, trends, etc. They range from the most mundane to the complex. Also basing from experience...
0
Comments

Practical Javascript 5: Manipulating Highlighted Text on the Client by avcajipe

In my endless pursuit of all things pragmatic and reusable, I admired this really smart feature that the New York Times site has had for a while. If I visit any article like in this example , I can select a block of text then almost instantaneously a...
Filed under: ,
0
Comments

Practical Javascript 4: Validating email format in webforms by avcajipe

Really simple scenario: Validate if the text input conforms to an email address. There is a simple and straightforward way of achieving this via the asp : RegularExpressionValidator. However, I am the type of programmer who sometimes who wants a more...
0
Comments

Practical Javascript 3: Detecting Idle Activity in web forms by avcajipe

The common model for session handling in web forms during a post back is always to check whether a the page sessions is still in-memory, else some practical redirection to a login page would always occur. I usually did it this way via the code behind...
3
Comments

Practical Javascript 2: Trimming trailing spaces by avcajipe

I started JavaScript with the assumption that the string object already has a built-in function to trim preceding and proceeding spaces. Unlike C#/vb.net or T-SQL, the JavaScript string object doesn’t have this function. It’s just one of those...
Filed under: ,
6
Comments

Practical Javascript 1: Validating user input by avcajipe

This is the first part (and very first blog post which I had repeatedly procastinated over the years) of my javascript posts. Alright, i admit it, JavaScript is my friend! I enjoy exploiting the hell out of javascript to bring out it's practical usage...