Posts

Showing posts from 2009

Implementing database concepts to develop an application in agile approach : Part 1.3 (Coding)

Image
Hello everyone. In my last two post, i have showed how to create a database according to the user's story. In this post, i will show you how to develop/code the application to access the database. I am assuming you all know how to create an application in visual studio 2008 and run it. So, i am not discussing the steps of creating a windows application in Visual Studio IDE. If you have problem in this, please find my other posts in where i have discussed about creating the desktop application in C#. Ok. Lets start. Open Visual Studio 2008 Create a desktop application named ‘ABCUniversityApplication’ Create a windows form named ‘StudentEntryUI’ We have found an object student from our problem domain. So create a class Student which have name, email address, address and phone number as its data. Create a constructor to assign these values when creating a new student object.  public class Student       {   private string name;         private string emailAddress;     

Implementing database concepts to develop an application in agile approach : Part 1.2 (Database Server)

Image
Hello everyone. In my last post, i have showed how to create a table schema from real time problem domain, which is now we called as user story. But to work on a database, we need to create tables in a database server. Since i am working on .NET Platform, i am using Microsoft's SQL Server  2005. Installing Microsoft SQL Server 2005: This server is automatically installed when we install Visual Studio 2008. Or you can download the server file from  http://www.microsoft.com/Sqlserver/2005/en/us/express.aspx . Installing Microsoft SQL Server 2005 Management Studio Express: To working on the SQL Server, you need to install a management tool. You can download this from  http://www.microsoft.com/downloads/details.aspx?familyid=C243A5AE-4BD1-4E3D-94B8-5A0F62BF7796&displaylang=en  this location. OK. Now we are ready to work on the SQL Server. When you lunch the management studio express, the following window will appear. Figure 1: SQL Server Management Studio Express I a

Implementing database concepts to develop an application in agile approach : Part 1.1 (Database Concept)

Image
Waterfall vs Agile: Most of the developers in the world start making their software in the traditional way . Traditional means first they gather most of the requirements of the client and then start designing the database where the data will be stored. After designing the database, which is called Entity-Relationship Diagram (ERD), they start coding. This approach is called waterfall . This is a very inefficient approach and it is turning obsolete day by day. New types of thinking and implementations are coming one by one to make a software robust and easily maintainable. The most popular thinking approach now a days is. AGILE The main part of agile is to start the working without waiting for the whole requirement of the client and evolve the application on the requirement of the client [Details] . In agile, we don't use 'Requirement' types of word. We rather use 'User Story' as the specification of the software given by the client. I have used a traditiona

Introduction to C# : A hands on approach (Part 2)

Image
Introduction to C#: Day 2                         In this lesson you will be familiar with different types of C# syntax some conceptual things.             Objectives:             After completing this unit you should have a clear concept on: *         Data types *         Expressions *         Conditional statements *         Iteration statements *         Methods in C# *         Enum You will be able to create applications using the following controls: *         ComboBox *         GridVeiw *         ListView etc. Topics In this lesson you will learn about the following topics *         Data types *         Data types conversions *         Data type: String *         Data type: Constant *         Expressions *         Operators *         Conditional statements *         Switch *         Iteration statements *         Enum Data types: When we instruct a machine to execute some operation, the machine changes the high level language (which we are se