Posts

The importance of JavaScript 'return'

Recently, while coding for a Text Field value padded with left zeros, realised the importance of the RETURN key word for the FUNCTION written in JavaScript. Before i mention the actual importance, let me describe you the situation. Scenario: A Text box need to be padded with zeros and should have the length of 7 digits, even the data entered is less than 7. Ex: When the key board input being 88, the text box should show 00000 88. Note the ZEROs padded on left. So, started with a JavaScript function as mentioned below function PadZeros(x) { var v = x.value; while (v.length<7) { v = '0' + v; } var ss = document.getElementById(x.id); ss.value = v; } After this, the text box is padding with ZEROs and the code is perfectly running. To allow this to code execute for any given text box, all you have to do is, add the ATTRIBUTE to that text box. And while adding keep one thing in mind that, we would be calli...

C# 3.0 - What's New : {Implicit}-Part1

Recent development in my technical life is that, started working out with Orcas Beta 2. So, thought to blog about the latest happenings with C# language. The idea emerged to start a series of posts related to C# new features. This is the first of ever such kind of blogging specific to a topic. C# 3.0 has many-a-new features. To start with, let me take a concept of Implicitly Typed Variables . Implicitly Typed Variables In the good old days, the developer has to worry about the type of the variable. Say for instance, whether to use long or double for a counter. Here all that we observe is that the language that is built upon is the type specific. Hence forth the developer is not required to define the type of the variable at the time of declaration, but it is the task of the compiler to decide what type of the object the variable is. All that the developer has to do is that, use the var keyword while declaring the variable, similar to that of JScript or Visual Ba...

Intro 2 LINQ - Blog

Image
With, Introducing Microsoft LINQ , as title, Marco Russo & Paolo Pialorsi , authors of the book (title same as the head line) initiated a website, keeping the concept LINQ as the center of the gravity. The concept seems great and as on this date there is less activity from the creators of the website. Anyhow, hope that this website will become active and vibrant in short time. del.icio.us Tags: LINQ , Marco Russo , Paolo Pialorsi

PaaS or SaaS

There is a big debate going on with these two buzz words. Before we get to the point of this post, let's first examine what they are... and what they mean by to the development force. SaaS : By definition it goes like this, Software As A Service. In the good olden days, we are used to think the application as whole system and all the modules have to function only with in. But as the technology evolved and the new horizons are leading the development process to newer levels, we got a new dimension as "Web Service". This concept then further raise the functionality of the individual modules belonging to the big application turn into smaller parts of reusable components by other applications as well. Resulting the module as a service altogether for any and every consumer application. This left the architects to view their application in smaller, exportable as well as consumable by different vendors or applications. This led to the concept of designing every applicati...

What is LINQ & Lambda Expressions

LINQ By definition Linq is Language Integrated Query. That's not the concept of this post. From my understanding and experience with LINQ as well as SQL programming, i would like to make a point. Most of the ideas that are in air about LINQ is an extension to the Structured Query Language, ie., SQL. In other words it is spelled as a kind of influence by Microsoft to the SQL. Having mentioned the misconception from the people, let me correct with my understanding of LINQ is all about Reflection . So it is not about any kind of Database related query language. Lambda Expressions By definition from MSDN, they are the extension for the Anonymous methods from C# 2.0. In reality they can be interpreted as anonymous functions, such as from C# 3.0 feature some thing similar to FUNC<>. In other words, lambda expressions are nothing but the inline expressions . And the function body of the FUNC goes on the right hand side of <>

Microsoft Test Automation User Group - MTAUG.net

Image
A new user group that is taking into shape, specially for the teams that involve software testing. You can get to know more about this user group from http://mtaug.net or get onto http://groups.msn.com/mtaug This group is going to be functioning in parallel with " Hyderabad .NET User Group ", http://muag.net or http://groups.msn.com/dotNETUserGroupHyd Tomorrow, 20th July 2007, is going to be the launch of the group. Am going to be there as a speaker for C# 3.0 fundamentals.. are you ?

Blidget Promo Badge 2

Get the Blidget Promo Badge widget and many other great free widgets at Widgetbox !