Showing posts with label Coding Standard. Show all posts
Showing posts with label Coding Standard. Show all posts

Friday, 8 July 2011

Checklist for Validation messages



The following are the Validation/Messages to be checked commonly while executing Add/Edit and Search Page in any applications
ADD
1. Check for Page Title. It should be “Add a/an in
2. Check for Page Heading. It should be “Add
3. Check for the presence of Header & Footer contents.
4. Check for the Labels i.e Field name are meaning full and not having any spelling mistakes.
5. Check for the Mandatory Fields are differentiated by Red color or by red * symbol.
6. Check whether the cursor points to the first field.
7. Check whether the Tab Order is correct.
8. Check whether the required field validations are done in user side JavaScript and also in server side.
a. Check whether Starting and Ending spaces are getting trimmed.

Monday, 20 June 2011

.NET coding standard part - 1

Hello friends, in coding practice there are some coding standards that we should follow to make code more readable and maintainable. I have compiled some coding standards that I have mentioned following.

Naming Conventions and Style

1. Use Pascal casing for type and method names and constants:

public class SomeClass
{
const int DefaultSize = 100;
public void SomeMethod()
{}
}