Posts

Showing posts from October, 2012

MVC Defined

ASP.NET is a web application platform, which includes with two different frameworks as ASP.NET WebForms and ASP.NET MVC. “ASP.NET Web Forms” and “ASP.NET MVC” are the two frameworks, for development of web applications.   The Model-View-Controller (MVC) architectural pattern separates an application into three main components the model, the view, and the controller. It is a lightweight, highly testable presentation framework that (as with Web Forms-based applications) is integrated with existing ASP.NET features, such as master pages and membership-based authentication   Models . Model objects are the parts of the application that implement the logic for the application s data domain. Often, model objects retrieve and store model state in a database. For example, a Product object might retrieve information from a database, operate on it, and then write updated information back to a Products table in SQL Server.    In small applications, the mod

Design Patterns Defined

What is design pattern? Design patterns are recurring solutions for the recurring problems . According to me design is blue print or sketch of something so it can be defined as creation of something in mind. Moving to pattern, we can define it as guideline, or something that repeats. Now the definition of design pattern becomes creating something in mind that repeats or in other words capturing design ideas as a "pattern" to the problems . Advantages: ·       Speed up the development process by providing tested and proven development process. ·       Reusing design patterns helps to prevent issues that can cause major problems            Common programming problem enable large scale reuse of S/W Have a look on one of the easiest pattern Singleton namespace DesignPatterns {     public sealed class Singleton     {     private static readonly Singleton   instance = new Singleton();         private Singleton()         {         }