Design Pattern for Web Programming