JavaScript: Getter/Setter Properties with native JavaScript

The following is a rudimentary ‘iterator’ (not to be confused with JavaScript 1.7 iterator) that contains ‘next’ and ‘previous’ getter properties that range between 0 and 100, and the ‘force’ setter forces the iterator’s value.  <script>   var I = {  get next() {  return this.counter < 100 ? ++this.counter : this.counter;  },  get previous() { …


[Closed] Job Opening: Software Development Engineer (Microsoft, Bellevue, WA)

Do you like dynamic challenges in rich internet application (RIA) development? A large scale internet application on the world’s top commercial web site sounds interesting to you? Do you want to work on cutting edge web application using state of the art Web 2.0 and 3.0 technologies? If you answer yes to any of the…


KM – Knowledge Management

This is the page for Knowledge Management topics


HCI – Human Computer Interaction

March 30, 2009 – 5:25p PSTDocumented Observation #1 – Lenovo Laptop Middle Mouse Button First I must start by saying that IBM/Lenovo laptops are very stable, durable and high performance machines. Few months ago, I got an X61 Thinkpad. I was readily impressed by its sleel looks and compact size (I’m big fan of lightweight…


[Closed] Job Posting: Software Development Engineer

I have few job openings in my team for Silverlight, AJAX, WCF, WPF and SQL Server developers. Here’s the job description.  “Do you like dynamic challenges in web application development? A large scale internet applications on the world’s top commercial web site sounds interesting to you? Do you want to work on cutting edge web application…

1

Basic C# coding guidelines

C# 2.0 –     Use generic collections instead of Hashtables and ArrayList types –     If using Generic types, then refrain from using foreach loop on the collection. Rather use ForEach method to loop through via an anonymous method predicate (much faster because doesn’t create the Iterator). For non generic types try to use for loop instead of foreach…

1

Creating custom wrapper for all JavaScript functions

There might be scenarios when all JavaScript side initiated function calls need to be intercepted for logging and error reporting purposes on the client. Two approaches exist, one, calling an intermediary function and then initiating call to real function, but that could be harder to manage. Since JavaScript allows real flexibility in extending its base…


Auxiliary Saver Technique in Web Forms

As we all know state management is a big deal in web applications. We might have web forms that send important data to the server where might lie some validations in addition to the client side JavaScript validations. General challenge is to restore all the client controls to their previous selections. ViewState use can help, however…


True Asynchronous Payload

For rendering content and feature rich web pages, here are the questions that we have in front of us: 1. How to speed up the process of data fetch/load at the server to rendering it to the web client.2. Reduce the markup I discussed point 2 in my previous post (another way to reduce markup…


Determine the Payload division

Lately I’ve been thinking about devising a mechanism to determine the division of the Payload between the content that is rendered to client web browser (including markup) and the one that client browser can load, hold and process in its memory. The logic behind this idea is to reduce the network traffic on the wire…

1