Sie sind auf Seite 1von 32

CHAPTER 1

Introduction
The most important phase in system development life cycle is system
testing. The number and nature of errors in a newly designed system depends on
the system specifications and the time frame given for the design.

A newly designed system should have all the subsystems working together,
but in reality each subsystems work independently. During this phase, all the
subsystems are gathered into one pool and tested to determine whether it meets
the user requirements.

Testing is done at two level -Testing of individual modules and testing the
entire system. During the system testing, the system is used experimentally to
ensure that the software will run according to the specifications and in the way the
user expects. Each test case is designed with the intent of finding errors in the way
the system will process it.

Testing plays a very critical role in determining the reliability and efficiency
of software and hence is a very important stage in software development. Software
testing is done at different levels. They are the unit testing and system testing
which comprises of integration testing and acceptance testing.

1
1.1 SYSTEM SPECIFICATION
1.1.1 HARDWARE SPECIFICATIONS:

 PROCESSOR : PENTIUM Dual Core 2.6 GHz


 RAM : 1GB SD RAM
 MONITOR : 15” COLOR
 HARD DISK : 80 GB
 CDDRIVE : LG 52X
 KEYBOARD : STANDARD 102 KEYS

1.1.2 SOFTWARE SPECIFICATIONS:

 OPERATING SYSTEM : WINDOWS XP


 ENVIRONMENT : VISUAL STUDIO .NET 2008
 FRONT END : VB.NET
 .NET FRAMEWORK : VERSION 3.5
 BACK END : SQLSERVER 2005

2
CHAPTER 2
SYSTEM STUDY
2.1 Existing System

Current system is actually manual. In this system, the ordering cake, receiving
order from customers and Cancellation Details are done throughout the world has
relied on pens and papers. Problems such as missing orders and information sent to
the wrong place arise. Furthermore, some could not be able to handle the massive
volume of orders. Under the old manual ordering systems, it takes up too much
time to process. They have no computerized order and sales system. Due to the
manual system that they have, their services slow down.

2.2 DRAWBACKS OF EXISTING SYSTEM


 Missing Order
 Loss of data
 Wrong delivery details can possibly occur
 Very slow
 Difficult to manage cake order and sale.

2.3Proposed system:

In the proposed system, the process of ordering cakes and maintaining the
delivery details, database of customers are all made computerized. Since whenever
a customer’s makes a demand or places an order. This order can be processed
immediately. So the manual processes like placing an order, cancellation details
and billing is done easily without any paper work. To order a cake, Customers can
leisurely choose items from your cake menu and confirm the order to the sales
agent. Once the order has been completed the total cost of chosen cakes are

3
calculated by the sales agent. These ordered details of cakes are checked by the
admin of cake shop.

Advantages:

 It consumes less time


 No missing order
 Ensure data accuracy
 Easily handles large number of orders
 Customer’s details are stored with their orders
 Less human resources
 Order and payment are maintained effectively

MODULES:

This system consists of following six modules,

 Administration
 Cake details
 Customer details
 Order details
 Bill details
 Report

4
CHAPTER 3

SYSTEM DESIGN AND IMPLEMENTAION

3.1 INPUT DESIGN:

Input design is the process of converting user-originated inputs to a computer-based format.


Input design is one of the most expensive phases of the operation of computerized system and is
often the major problem of a system.

In the project, the input design is made in various window forms with various methods.

 CUSTOMER DETAILS
 ITEM DETAILS

3.2OUTPUT DESIGN:

Output design generally refers to the results and information that are generated by the
system for many end-users; output is the main reason for developing the system and the basis on
which they evaluate the usefulness of the application. In any system, the output design
determines the input to be given to the application.

In the project, the output design is made in various window forms with various methods.

 ORDER
 Billing
 REPORTS

5
3.3DATABASE DESIGN
Database designe is the process of the produsing a model of a database. This
logical data contains all the need to generate a designe in a data definition
language, which can then be used to create a database.

A fully attributed data model contains details attributes for each entity in. an
object database the entities and relationship map directly to object classes and
named relationship however the tem database design could also
Be used to apply to overall process of designing, not just the data base structure

3.4DESCRIPTUON MODULES

Administration:

In this administration module, admin can login using his username and
password. So that unauthorized access can be avoided. Admin has rights to make
changes in the system like change the menu items, change the prices, view the
order and send the ordered details to the kitchen.

Admin decides to add / delete an item from the menu because of which there
is a change in the price of some of the items.

Cake details

6
This module has the list of cake items, which contain illustrating the choice
for better understanding. It also displays the cost of each item.

Customer Details:

In this module we are going to maintain the customer details that are coming
to our concern. Customer details include their name, address, and phone number,
date of order they order.

Order details

In this module, the system takes an order as per the customer choice. Admin
will update the ordered items. Admin will send the instruction to the kitchen for
further process. Order detail includes order no, items ordered, quantity, amount
etc…

Bill details

This bill details module deals with the calculation of total amount should be
paid by customer. The system calculates and displays the final bill based on the
placed order. System calculates final bill based on the quantity of the items
multiplied by their unit price topped up by the applicable taxes if any.

Report

In this report module, the reports are generated such as ordered details, cake
details, customer details etc…

7
CHAPTER 4
SYSTEM ENVIRONMENT

4.1VISUAL BASIC.NET

SQL Server 2005 is the successor to SQL Server 2000. It included native support
for managing XML data, in addition to relational data. For this purpose, it defined an
xml data type that could be used either as a data type in database columns or as literals in
queries. XML columns can be associated with XSD schemas. XML data being stored is
verified against the schema. XML is converted to an internal binary data type before
being stored in the database.

Specialized indexing methods were made available for XML data. XML data is
queried using Query. Common Language Runtime (CLR) integration was a main feature
with this edition, enabling one to write SQL code as Managed Code by the CLR. SQL
Server 2005 added some extensions to the T-SQL language to allow embedding Query
queries in T-SQL. In addition, it also defines a new extension to Query, called XML
DML that allows query-based modifications to XML data.

SQL Server 2005 also allows a database server to be exposed over web services
using Tabular Data Stream (TDS) packets encapsulated within SOAP (protocol) requests.
When the data is accessed over web services, results are returned as XML.For relational
data, T-SQL has been augmented with error handling features (try/catch) and support for
recursive queries with CTEs (Common Table Expressions). SQL Server 2005 has also
been enhanced with new indexing algorithms, syntax and better error recovery systems.

Data pages are check summed for better error resiliency, and optimistic
concurrency support has been added for better performance. Permissions and access
control have been made more granular and the query processor handles concurrent
execution of queries in a more efficient way. Partitions on tables and indexes are

8
supported natively, so scaling out a database onto a cluster is easier. SQL CLR was
introduced with SQL Server 2005 to let it integrate with the .NET Framework.

SQL Server 2005 introduced "MARS" (Multiple Active Results Sets), a method of
allowing usage of database connections for multiple purposes.SQL Server 2005
introduced DMVs (Dynamic Management Views), which are specialized views and
functions that return server state information that can be used to monitor the health of a
server instance, diagnose problems, and tune performance.

SQL Server Configuration Manager

SQL Server Configuration Manager is a new tool in SQL Server 2005. It is used to
manage SQL Server 2005 services and connections. It has been developed as a Microsoft
Management Console (MMC) plug-in application Its window is divided into a Console
tree (left pane) and a Details pane. It can be managed through SQL Server services and
connection configurations by navigating objects in the Console tree.

Managing Services
 SQL Server
 SQL Server Agent
 SQL Server Browser
 SQL Server Integration Services
 SQL Server Analysis Services

9
4.2 Features of VB.Net

1. First of all, VB.NET provides managed code execution that runs under the
Common Language Runtime (CLR), resulting in robust, stable and secure
applications. All features of the .NET framework are readily available in
VB.NET.
2. VB.NET is totally object oriented. This is a major addition that VB6 and
other earlier releases didn't have.
3. The .NET framework comes with ADO.NET, which follows the
disconnected paradigm, i.e. once the required records are fetched the
connection no longer exists. It also retrieves the records that are expected to
be accessed in the immediate future. This enhances Scalability of the
application to a great extent.
4. VB.NET uses XML to transfer data between the various layers in the DNA
Architecture i.e. data are passed as simple text strings.
5. Error handling has changed in VB.NET. A new Try-Catch-Finally block has
been introduced to handle errors and exceptions as a unit, allowing
appropriate action to be taken at the place the error occurred thus
discouraging the use of ON ERROR GOTO statement. This again credits to
the maintainability of the code.

being stored is verified against the schema. XML is converted to an internal binary data
type before being stored in the database.

Specialized indexing methods were made available for XML data. XML
data is queried using XQuery. Common Language Runtime (CLR) integration was a
main feature with this edition, enabling one to write SQL code as Managed Code by the
CLR. SQL Server 2005 added some extensions to the T-SQL language to allow

10
embedding XQuery queries in T-SQL. In addition, it also defines a new extension to
XQuery, called XML DML that allows query-based modifications to XML data.

SQL Server 2005 also allows a database server to be exposed over web
services using Tabular Data Stream (TDS) packets encapsulated within SOAP (protocol)
requests. When the data is accessed over web services, results are returned as XML.For
relational data, T-SQL has been augmented with error handling features (try/catch) and
support for recursive queries with CTEs (Common Table Expressions). SQL Server 2005
has also been enhanced with new indexing algorithms, syntax and better error recovery
systems.

Data pages are check summed for better error resiliency, and optimistic
concurrency support has been added for better performance. Permissions and access
control have been made more granular and the query processor handles concurrent
execution of queries in a more efficient way. Partitions on tables and indexes are
supported natively, so scaling out a database onto a cluster is easier. SQL CLR was
introduced with SQL Server 2005 to let it integrate with the .NET Framework.

SQL Server 2005 introduced "MARS" (Multiple Active Results Sets), a method of
allowing usage of database connections for multiple purposes.SQL Server 2005
introduced DMVs (Dynamic Management Views), which are specialized views and
functions that return server state information that can be used to monitor the health of a
server instance, diagnose problems, and tune performance.

4.3Features of VB.Net

 Database mirroring

 T-SQL (Transaction SQL) enhancements

 CLR integration

 Service Broker
11
 DDL triggers

 Ranking functions

 Row versioning-based isolation levels

 XML integration

 TRY...CATCH

 Database Mail

 Data encryption

12
CHAPTER.5

SYSTEM TESTING AND MAINTENANCE

5.1TESTING

The most important phase in system development life cycle is system testing.
The number and nature of errors in a newly designed system depends on the
system specifications and the time frame given for the design.

A newly designed system should have all the subsystems working together,
but in reality each subsystems work independently. During this phase, all the
subsystems are gathered into one pool and tested to determine whether it meets
the user requirements.

Testing is done at two level -Testing of individual modules and testing the
entire system. During the system testing, the system is used experimentally to
ensure that the software will run according to the specifications and in the way the
user expects. Each test case is designed with the intent of finding errors in the way
the system will process it.

5.2TYPES OF TESTING

Testing plays a very critical role in determining the reliability and efficiency
of software and hence is a very important stage in software development. Software
testing is done at different levels. They are the unit testing and system testing
which comprises of integration testing and acceptance testing.

13
 Unit Testing
 System Testing
 Integration Testing
 Acceptance Testing

UNIT TESTING:

This is the first level of testing. The different modules are tested against the
specifications produced during the integration. This is done to test the internal
logic of each module. Those resulting from the interaction between modules are
initially avoided. The input received and output generated is also tested to see
whether it falls in the expected range of values. Unit testing is performed from the
bottom up, starting with the smallest and lowest modules and proceeding one at a
time.

The units in a system are the modules and routines that are assembled and
integrated to perform a specific function. The programs are tested for correctness
of logic applied and detection of errors in coding. Each of the modules was tested
and errors are rectified. They were then found to function properly.

SYSTEM TESTING:

The integration of each module in the system is checked during this level of
testing. The objective of system testing is to check if the software meets its
requirements.

System testing is done to uncover errors that were not found in earlier
tests. This includes forced system failures and validation of total system as the

14
user in the operational environment implements it. Under this testing, low
volumes of transactions are generally based on live data. This volume is
increased until the maximum level for each transactions type is reached. The
total system is also tested for recovery after various major failures to ensure that
no data are lost during the breakdown.

INTEGRATION TESTING:

In integration testing, the tested modules are combined into sub-systems,


which are then tested. The goal of integration testing to check whether the modules
can be integrated properly emphasizing on the interfaces between modules.

The different modules were linked together and integration testing done on
them.

ACCEPTANCE TESTING:

The objective of the acceptance test is to tell the user about the validity and
reliability of the system. It verifies whether the system operates as specified
and the integrity of important data is maintained. User motivation is very
important for the successful performance of the system.

All the modules were tested individually using both test data and live data.
After each module was ascertained that it was working correctly and it had been
"integrated" with the system. Again the system was tested as a whole. We hold the
system tested with different types of users. The System Design, Data Flow

15
Diagrams, procedures etc. were well documented so that the system can be easily
maintained and upgraded by any computer professional at a later

Acceptance testing is done with live data provided by the client to ensure
that the software works satisfactorily. This test focuses on the external behavior
of the system. Data was entered and acceptance testing was performed.

5.3SYSTEM IMPLEMENTATION

Implementation is the stage of the project when the theoretical design is


turned out into a working system. Thus it can be considered to be the most
critical stage in achieving a successful new system and in giving the user,
confidence that the new system will work and be effective.

The implementation stage involves careful planning, investigation of the


existing system and it’s constraints on implementation, designing of methods to
achieve changeover and evaluation of changeover methods.

Implementation is the process of converting a new system design into


operation. It is the phase that focuses on user training, site preparation and file
conversion for installing a candidate system. The important factor that should be
considered here is that the conversion should not disrupt the functioning of the
organization.

16
BIBLIOGRAPHY

BOOKS:

1. Alistair MacMonnies, “Object-oriented programming in Visual Basic.NET”, Pearson


Education, and ISBN: 81-297-0649-0, First Indian Reprint 2004.

2. Jittery R.Shapiro, “The Complete Reference Visual Basic .NET” Edition 2002, Tata
McGraw-Hill, Publishing Company Limited, New Delhi.

3. Robert D.Schneider, Jetty R.Garbus, “Optimizing SQL Server”, Second Edition, person
Education Asia, ISBN: 981-4035-20-3

WEBSITES:

1. http://www.microsoft.com/dotnet/visual basic
http://www.dotnetheaven.com

17
CHAPTER 7

CONCLUSION

It is concluded that the application works well and satisfy the needs. The
application is tested very well and errors are properly debugged. It also acts as
the sharing of network files to the valuable resources.

This system is user friendly so everyone can use easily. Proper


documentation is provided. the end user can easily understand how the whole
System is implementation by going through the documentation. The system is
Tested implemented and the performance is found to be satisfaction. All
necessary output is generated. Thus, the project is completed

Further enhancement can be made to the application, so that the


application Function very attractive and use full manner than the present one. The
speed of the transaction become more enough now

18
CHAPTER 8

SCOPE FOR FUTURE ENHANCEMENT

There is scope for future development of this project. The world of


computerbfields is not static; it is always subject to be dynamic The technology
which is famous today becomes outdate the very next day. To keep abstract of
technical improvements the system may be further enhancements.

Enhancements can be done in an efficient mannnr. We can even update the


same with further modification establishment and can be integrate with minimal
modification Thus the project is flexible and can be enhanced at anytime with
more advanced features.

19
CHAPTER 9

APPENDICES

A.SYSTEM FLOW DIAGRAM

LEVEL 1

Admin
Login

Adds
Cake Item Details
details

Adds
Customer CustomerDetails

Adds
Order
OrderDetails
Details

Order
BillDetails
Details

Reports

20
B.DATA FLOW DIGRAM

user name Retrieve

Admin Cake ordering Database


system

pwd store

21
C.TABLE DESIGN
customer details

primary key : cid

item

primary key : icode

order

primary key : no

foreign key : cid,icode

22
Bill

Primary key : no

Foreign key : cid,icode

23
D.SAMPLE CODING
Add Project
Imports System.Data.SqlClient
Public Class Item
Public con As New SqlConnection("server=.\sqlexpress;Integrated
security=true;database=Production")
Dim cmd As New SqlCommand()
Dim iid As String
Private Sub Item_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
Data()
End Sub

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As


System.EventArgs) Handles Button1.Click
con.Open()
cmd = New SqlCommand("insert into item values('" & TextBox1.Text &
"','" & TextBox2.Text & "','" & TextBox3.Text & "')", con)
cmd.ExecuteNonQuery()
MsgBox("Saved Successfully")
con.Close()
refreshform()
Data()
End Sub

Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As


System.EventArgs) Handles Button2.Click
Try
con.Open()
Dim cmd As New SqlCommand
cmd.CommandText = "update item set iname='" & TextBox2.Text &
"',price='" & TextBox3.Text & "' where icode='" & TextBox1.Text & " ' "
cmd.Connection = con
cmd.ExecuteNonQuery()
MsgBox("Updated SucussFully")
con.Close()

Catch ex As Exception

End Try
refreshform()
Data()
End Sub

Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As


System.EventArgs) Handles Button3.Click
Try
con.Open()
Dim cmd As New SqlCommand("delete from item where icode='" &
TextBox1.Text & "' ", con)
cmd.ExecuteNonQuery()
MsgBox("Deleted SucussFully")
con.Close()

24
Catch ex As Exception

End Try
Data()
refreshform()
End Sub

Private Sub Button4_Click(ByVal sender As System.Object, ByVal e As


System.EventArgs) Handles Button4.Click
refreshform()
End Sub

Private Sub Button5_Click(ByVal sender As System.Object, ByVal e As


System.EventArgs) Handles Button5.Click
Me.Close()
End Sub

Private Sub DataGridView1_CellContentDoubleClick(ByVal sender As


System.Object, ByVal e As System.Windows.Forms.DataGridViewCellEventArgs)
Handles DataGridView1.CellContentDoubleClick
con.Open()
Dim da As New SqlDataAdapter("select icode,iname,price" & _
" from item where icode='" & iid & "' ", con)
Dim ds As New DataSet
Dim dt As New DataTable
da.Fill(ds)
da.Fill(dt)

TextBox1.Text = ds.Tables(0).Rows(0).Item(0)
TextBox2.Text = ds.Tables(0).Rows(0).Item(1)
TextBox3.Text = ds.Tables(0).Rows(0).Item(2)
con.Close()
End Sub

Private Sub DataGridView1_SelectionChanged(ByVal sender As System.Object,


ByVal e As System.EventArgs) Handles DataGridView1.SelectionChanged
iid = DataGridView1.CurrentRow.Cells(0).Value
End Sub
Private Sub refreshform()
TextBox1.Text = ""
TextBox2.Text = ""
TextBox3.Text = ""
End Sub
Public Sub data()
Try
con.Open()
Dim da As New SqlDataAdapter("select * from item", con)
Dim ds As New DataSet
da.Fill(ds)
DataGridView1.DataSource = ds.Tables(0)
con.Close()
Catch ex As Exception
End Try
End Sub
End Class

25
Imports System.Data.SqlClient
Public Class Sales
Public con As New SqlConnection("server=.\sqlexpress;Integrated
security=true;database=Production")
Dim cmd As New SqlCommand()
Dim bno As String
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
If con.State = ConnectionState.Closed Then con.Open()
Try

cmd = New SqlCommand("insert into sales values('" & TextBox1.Text


& "','" & ComboBox2.Text & "','" & TextBox3.Text & "','" & TextBox4.Text &
"','" & ComboBox1.Text & "','" & TextBox5.Text & "','" & TextBox2.Text &
"','" & DateTimePicker1.Text & "'," & TextBox6.Text & ",'" & TextBox7.Text &
"')", con)
cmd.ExecuteNonQuery()
MsgBox("Saved Successfully")
con.Close()
data()
Catch ex As Exception

End Try
End Sub

Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As


System.EventArgs) Handles Button2.Click
Try
con.Open()
Dim cmd As New SqlCommand
ComboBox1.Text = ds.Tables(0).Rows(0).Item(4)
TextBox5.Text = ds.Tables(0).Rows(0).Item(5)
TextBox2.Text = ds.Tables(0).Rows(0).Item(6)
DateTimePicker1.Text = ds.Tables(0).Rows(0).Item(7)
TextBox6.Text = ds.Tables(0).Rows(0).Item(8)
TextBox7.Text = ds.Tables(0).Rows(0).Item(9)
con.Close()
End Sub

Private Sub DataGridView1_SelectionChanged(ByVal sender As System.Object,


ByVal e As System.EventArgs)
bno = DataGridView1.CurrentRow.Cells(0).Value
End Sub
Public Sub cusdata()
Try
con.Open()
Dim da As New SqlDataAdapter("select cid from customer", con)
Dim dt As New DataTable
Dim dr As DataRow
da.Fill(dt)
con.Close()
For Each dr In dt.Rows
ComboBox2.Items.Add(dr.Item(0))
Next
Catch ex As Exception

End Try

26
End Sub

Private Sub ComboBox2_SelectedIndexChanged(ByVal sender As System.Object,


ByVal e As System.EventArgs) Handles ComboBox2.SelectedIndexChanged
Try
con.Open()
Dim da As New SqlDataAdapter("select cname from customer where
cid='" & ComboBox2.Text & "' ", con)
Dim ds As New DataSet
Dim dt As New DataTable
Dim dr As DataRow
da.Fill(ds)
da.Fill(dt)
con.Close()
For Each dr In dt.Rows
TextBox3.Text = dr.Item(0)
Next
Catch ex As Exception

End Try
End Sub

Private Sub Panel1_Paint(ByVal sender As System.Object, ByVal e As


System.Windows.Forms.PaintEventArgs) Handles Panel1.Paint

End Sub

Private Sub TextBox6_TextChanged(ByVal sender As System.Object, ByVal e


As System.EventArgs) Handles TextBox6.TextChanged
TextBox7.Text = Val(TextBox2.Text) * Val(TextBox6.Text)
End Sub

Private Sub TextBox2_TextChanged(ByVal sender As System.Object, ByVal e


As System.EventArgs) Handles TextBox2.TextChanged
TextBox7.Text = Val(TextBox2.Text) * Val(TextBox6.Text)
End Sub

Private Sub DataGridView1_CellContentDoubleClick_1(ByVal sender As


System.Object, ByVal e As System.Windows.Forms.DataGridViewCellEventArgs)
Handles DataGridView1.CellContentDoubleClick
con.Open()
Dim da As New SqlDataAdapter("select
bno,cid,cname,addr,icode,iname,price,sdate,qty,amt" & _
" from sales where bno='" & bno & "' ", con)
Dim ds As New DataSet
Dim dt As New DataTable
da.Fill(ds)
da.Fill(dt)

TextBox1.Text = ds.Tables(0).Rows(0).Item(0)
ComboBox2.Text = ds.Tables(0).Rows(0).Item(1)
TextBox3.Text = ds.Tables(0).Rows(0).Item(2)
TextBox4.Text = ds.Tables(0).Rows(0).Item(3)
ComboBox1.Text = ds.Tables(0).Rows(0).Item(4)
TextBox5.Text = ds.Tables(0).Rows(0).Item(5)

27
TextBox2.Text = ds.Tables(0).Rows(0).Item(6)
DateTimePicker1.Text = ds.Tables(0).Rows(0).Item(7)
TextBox6.Text = ds.Tables(0).Rows(0).Item(8)
TextBox7.Text = ds.Tables(0).Rows(0).Item(9)
con.Close()
End Sub

Private Sub DataGridView1_SelectionChanged_1(ByVal sender As


System.Object, ByVal e As System.EventArgs) Handles
DataGridView1.SelectionChanged
bno = DataGridView1.CurrentRow.Cells(0).Value
End Sub

Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As


System.EventArgs) Handles Timer1.Tick

End Sub
End Class

28
E.SCREEN DESIGN

INPUT SCREEN

29
30
31
32

Das könnte Ihnen auch gefallen