Professional Documents
Culture Documents
2.1. Organization Profile H-Line Soft Information Technologies Pvt. LTD
2.1. Organization Profile H-Line Soft Information Technologies Pvt. LTD
Ltd
We started in 2000 as a team in New York of web designing software development research over this year; we have evolved into an end-to-end e-business solutions and software development company, catering to 500-plus global clientele across major industry verticals. HLine Soft IT has averaged 100% annual growth in terms of revenue, profits, turnover and client base. Since its inception in 2000, H-Line soft has provided a wide array of e-nnovative ebusiness solutions and services including Web solutions, and business process automation tools to "e"power business custom software/Web applications developments across the globe. H-line Soft the offshore development/out sourcing requirements of top 10 global IT/Web solutions companies. And our Exports Division is a 100% EOU (Export Oriented Unit), registered with the Software Technology Parks of India (STPI).
BUSINESS ACTIVITIES
H-LINE prepared to deliver the complete set of services required for enabling Information Technology business solutions:
3.
4.
5.
2.3. MODULES
There are 2 main Modules in the project they are: Customer Module
o Customer can register online. o Customer can login using user name and password. o Can buy stocks. o Can view stocks available. o Can update Profile. o Can buy online through the PayPal.
Administrator Module
o Can login using User Name and Password. o Multi users can be provided for the admin. o View the complete list of customers or the users. o Registration details will be send to the users. o Activate or deactivate the user who unsubscribe. o Can view the ordered details of the users with all the items. o Can update the text in all pages using text editors. o Can add edit and delete the events using calendar application. o Can have the alerts for the events. o Can have the complete rights to add, edit, delete categories, Sub-Categories, products. o View and reply Feedback for the users or customers.
METHODOLOGY:
The potential objects required are thoroughly analyzed for identifying the class types, class hierarchies etc. Having identified the class hierarchies the screens to be displayed are identified to see weather the system is behaving the way it should, giving the required results after feeding the required input. Therefore the classes are individually tested and subsequently integrated to form the overall system. . (REFERENCED from Introduction to System Analysis and Design by---I.T.Hawryskiewcz)
SYSTEM MAINTENANCE:
As the number of computer based systems, grieve libraries of computer software began to expand. In house developed projects produced tones of thousand software program statements. Software products purchased from the outside added hundreds and thousands of new statements. A dark cloud appeared on the horizon. All of these programs, all of these source statements had to be corrected when false were detected, modified as user requirements changed, or adapted to new hardware that was purchased. These activities were collectively called software maintenance.(REFERENCED from Software Engineering - A Practitioners Approach by---Roger S. Pressman). The maintenance phase focuses on change that is associated with error correction, adaptations required as the softwares environment evolves, and changes due to enhancements brought about by changing customer requirements.
To provide a consistent object-oriented programming environment whether object code is stored and executed locally, executed locally but Internet-distributed, or executed remotely. To provide a code-execution environment that minimizes software deployment and versioning conflicts. To provide a code-execution environment that guarantees safe execution of code, including code created by an unknown or semi-trusted third party. To provide a code-execution environment that eliminates the performance problems of scripted or interpreted environments. To make the developer experience consistent across widely varying types of applications, such as Windows-based applications and Web-based applications. To build all communication on industry standards to ensure that code based on the .NET Framework can integrate with any other code. (REFERENCED from Professional ASP.Net 1.0 by Wrox)
The .NET Framework has two main components: common language runtime and the .NET Framework class library. The common language runtime is the foundation of the .NET Framework. You can think of the runtime as an agent that manages code at execution time, providing core services such as memory management, thread management, and remoting, while also enforcing strict type safety and other forms of code accuracy that ensure security and robustness. In fact, the concept of code management is a fundamental principle of the runtime. Code that targets the runtime is known as managed code, while code that does not target the runtime is known as unmanaged code. The class library, the other main component of the .NET Framework, is a comprehensive, object-oriented collection of reusable types that you can use to develop applications ranging from traditional command-line or graphical user interface
(GUI) applications to applications based on the latest innovations provided by ASP.NET, such as Web Forms and XML Web services. The following illustration shows the relationship of the common language runtime and the class library to your applications and to the overall system.
Console applications. Scripted or hosted applications. Windows GUI applications (Windows Forms). ASP.NET applications. XML Web services. Windows services.
For example, the Windows Forms classes are a comprehensive set of reusable types that vastly simplify Windows GUI development. If you write an ASP.NET Web Form application, you can use the Web Forms classes.
Client applications usually employ windows, menus, buttons, and other GUI elements, and they likely access local resources such as the file system and peripherals such as printers. The Windows Forms classes contained in the .NET Framework are designed to be used for GUI development. You can easily create command windows, buttons, menus, toolbars, and other screen elements with the flexibility necessary to accommodate shifting business needs. For example, the .NET Framework provides simple properties to adjust visual attributes associated with forms. In some cases the underlying operating system does not support changing these attributes directly, and in these cases the .NET Framework automatically recreates the forms. This is one of many ways in which the .NET Framework integrates the developer interface, making coding simpler and more consistent. Unlike ActiveX controls, Windows Forms controls have semi-trusted access to a user's computer. This means that binary or natively executing code can access some of the resources on the user's system (such as GUI elements and limited file access) without being able to access or compromise other resources. Because of code access security, many applications that once needed to be installed on a user's system can now be safely deployed through the Web. Your applications can implement the features of a local application while being deployed like a Web page.
10
ASP.NET is the hosting environment that enables developers to use the .NET Framework to target Web-based applications. However, ASP.NET is more than just a runtime host; it is a complete architecture for developing Web sites and Internet-distributed objects using managed code. Both Web Forms and XML Web services use IIS and ASP.NET as the publishing mechanism for applications, and both have a collection of supporting classes in the .NET Framework. XML Web services, an important evolution in Web-based technology, are distributed, server-side application components similar to common Web sites. However, unlike Web-based applications, XML Web services components have no UI and are not targeted for browsers such as Internet Explorer and Netscape Navigator. Instead, XML Web services consist of reusable software components designed to be consumed by other applications, such as traditional client applications, Web-based applications, or even other XML Web services. As a result, XML Web services technology is rapidly moving application development and deployment into the highly distributed environment of the Internet. For example, the Web Services Description Language tool included with the .NET Framework SDK can query an XML Web service published on the Web, parse its WSDL description, and produce C# or Visual Basic source code that your application can use to become a client of the XML Web service. The source code can create classes derived from classes in the class library that handle all the underlying communication using SOAP and XML parsing. Although you can use the class library to consume XML Web services directly, the Web Services Description Language tool and the other tools contained in the SDK facilitate your development efforts with the .NET Framework. Finally, like Web Forms pages in the managed environment, your XML Web service will run with the speed of native machine language using the scalable communication of IIS.
11
INTRODUCTION TO ADO.NET:
Overview of ADO.NET:
ADO.NET provides consistent access to data sources such as Microsoft SQL Server, as well as data sources exposed through OLE DB and XML. Data-sharing consumer applications can use ADO.NET to connect to these data sources and retrieve, manipulate, and update data. ADO.NET cleanly factors data access from data manipulation into discrete components that can be used separately or in tandem. ADO.NET includes .NET Framework data providers for connecting to a database, executing commands, and retrieving results. Those results are either processed directly, or placed in an ADO.NET DataSet object in order to be exposed to the user in an ad-hoc manner, combined with data from multiple sources, or remoted between tiers. The
12
ADO.NET DataSet object can also be used independently of a .NET Framework data provider to manage data local to the application or sourced from XML. The ADO.NET classes are found in System.Data.dll, and are integrated with the XML classes found in System.Xml.dll. When compiling code that uses the System.Data namespace, reference both System.Data.dll and System.Xml.dll. For an example of compiling an ADO.NET application using a command line compiler, see ADO.NET Sample Application. ADO.NET provides functionality to developers writing managed code similar to the functionality provided to native COM developers by ADO. ADO.NET is a set of classes that expose data access services to the .NET programmer. It provides a rich set of components for creating distributed, data-sharing applications. It is an integral part of the .NET Framework, providing access to relational data, XML, and application data. Furthermore, it was designed to meet the needs of modern applications: disconnected data architecture, tight integration with XML, and common data representation with the ability to combine data from multiple and varied data sources. ADO.NET supports a variety of development needs, including the creation of front-end database clients and middle-tier business objects. It provides consistent access to data sources such as SQL Server, as well as data sources exposed through OLE DB and XML.
it is an excellent medium for moving data between tiers making the DataSet an optimal choice for remoting data and schema context to and from an XML Web service. The DataSet can also be synchronized with an XmlDataDocument to provide relational and hierarchical access to data in real time. For more information, see Synchronizing a DataSet with an XmlDataDocument.
ADO.NET Components
The ADO.NET components have been designed to factor data access from data manipulation. There are two central components of ADO.NET that accomplish this: the DataSet, and the .NET Framework data provider, which is a set of components including the Connection, Command, DataReader, and DataAdapter objects. The ADO.NET DataSet is the core component of the disconnected architecture of ADO.NET. The DataSet is explicitly designed for data access independent of any data source. As a result it can be used with multiple and differing data sources, used with XML data, or used to manage data local to the application. The DataSet contains a collection of one or more DataTable objects made up of rows and columns of data, as well as primary key, foreign key, constraint, and relation information about the data in the DataTable objects. The other core element of the ADO.NET architecture is the .NET Framework data provider, whose components are explicitly designed for data manipulation and fast, forwardonly, read-only access to data. The Connection object provides connectivity to a data source. The Command object enables access to database commands to return data, modify data, run stored procedures, and send or retrieve parameter information. The DataReader provides a highperformance stream of data from the data source. Finally, the DataAdapter provides the bridge between the DataSet object and the data source. The DataAdapter uses Command objects to execute SQL commands at the data source to both load the DataSet with data, and reconcile changes made to the data in the DataSet back to the data source. You can write .NET Framework data providers for any data source. The .NET Framework ships with two .NET Framework data providers: the .NET Framework Data Provider for SQL Server and the .NET Framework Data Provider for OLE DB.
14
AJAX-enabled applications offer: Improved efficiency, because significant parts of a Web page's processing are performed in the browser. Familiar UI elements such as progress indicators, tooltips, and pop-up windows. Partial-page updates that refresh only the parts of the Web page that have changed. Client integration with ASP.NET application services for forms authentication, roles, and user profiles. Auto-generated proxy classes that simplify calling Web service methods from client script. A framework that lets you customize of server controls to include client capabilities. Support for the most popular and generally used browsers, which includes Microsoft Internet Explorer, Mozilla Firefox, and Apple Safari.
15
Components
Client components enable rich behaviors in the browser without postbacks.
Browser Compatibility
The browser compatibility layer provides AJAX scripting compatibility for the most frequently used browsers (including Microsoft Internet Explorer, Mozilla Firefox,
16
and Apple Safari). This enables you to write the same script regardless of which supported browser you are targeting.
Networking
The networking layer handles communication between script in the browser and Web-based services and applications. It also manages asynchronous remote method calls. In many common scenarios, such as partial-page updates that use the UpdatePanel
Script Support
AJAX features in ASP.NET are implemented by using supporting scripts that are sent from the server to the client. Depending on what AJAX features that you enable, different scripts are sent to the browser. Script support for AJAX in ASP.NET is used to provide two important features: The Microsoft AJAX Library, which is a type system and a set of JavaScript extensions that provide namespaces, inheritance, interfaces, enumerations, reflection, and additional features Partial-page rendering, which updates regions of the page by using an asynchronous postback.
Server Controls
ASP.NET AJAX server controls consist of server and client code that integrate to produce rich client behavior. When you add an AJAX control to an ASP.NET Web page, the page automatically sends supporting client script to the browser for AJAX 17
functionality. You can provide additional client code to customize the functionality of a control, but this is not required.
ScriptManager
Manages script resources for client components, partial-page rendering, localization, globalization, and custom user scripts. The ScriptManager control is required in order to use the UpdatePanel , UpdateProgress and Timer controls.
UpdatePanel
Enables you to refresh selected parts of the page, instead of refreshing the whole page by using a synchronous postback.
UpdateProgress
Provides status information about partial-page updates in UpdatePanel controls.
Timer
Performs postbacks at defined intervals. You can use the Timer control to post the whole page, or use it together with the UpdatePanel control to perform partial-page updates at a defined interval.
18
UpdateProgress control
The UpdateProgress control provides status information about partial-page updates in UpdatePanel controls. You can customize the default content and the layout of the UpdateProgress control. To prevent flashing when a partial-page update is very fast, you can specify a delay before the UpdateProgress control is displayed.
Client Classes
The two main Microsoft AJAX Library classes that raise events during the client life cycle of an ASP.NET AJAX Web page are the Application and PageRequestManager classes. The Application class is instantiated in the browser when the page contains a ScriptManager control. The Application class resembles the Page server control, which 19
derives from the Control class, but provides additional functionality for raising server events. Similarly, the Application class derives from the Sys.Component class, but raises client life-cycle events that you can handle. If a page contains a ScriptManager control and one or more UpdatePanel controls, the page can perform partial-page updates (if partial-page rendering is enabled and supported in the browser). In that case, an instance of the PageRequestManager class is automatically available in the browser. The PageRequestManager class raises client events that are specific to asynchronous postbacks.
Connection:
This component is used to establish a connection with a data source. Two of the most common connection objects used are OleDbConnection and SqlConnection.
Data Adapter:
A data adapter is integral to the working of ADO.NET since data is transferred to and from a database through a data adapter. A data adapter retrieves data from a database into a dataset and updates the database. When you make changes to the dataset, the changes in the database are actually done by the data adapter. The data adapter first compares the data in the dataset with that in the database and then updates the database. You connect to a database by configuring a data adapter. There are two types of data adapter that can be configured to connect to a database in visual studio .NET.
20
1. SqlDataAdapter: This type of data adapter is configured to access data 2. OleDbDataAdapter: This type of data adapter is configured to access data from any database that is supported by an OleDbDataProvider.
Data Command:
A data command is a sql statement or stored procedure that is used to retrieve, insert, delete or modify data in a data source. A data command is an object of the OleDbCommand or SqlCommand class. A data command derived from the OleDbCommand class can be used to work with any OleDb provider whereas data command derived from the SqlCommand class can be used to access data from SQL Server.
Data Reader:
Data reader is used to retrieve data from a data source in a read-only and forward-only mode. A data reader uses the connection object to connect to the database, the command object to execute sql statement or procedures on the database and retrieves the data in a sequential mode. Using data reader results in faster access to data and less memory usage.
21
6. UML DIGRAMS
6.1. Usecase diagram
Case 1:
customer
B2C
Admin
Case 2:
Manage(events,products,editor) View/Buy(products,events,editor) Admin b2c customer
Case 3:
View /Buy Product View customer View Editor Manage Manage Admin Manage
calender
22
Admin
Cutomers
Products
Calender
Editor
login
Manage
Manage
Manage
View
View
login\register
Buy
View orders
View details
View
23
6.3.Class Diagram
24
25
26
27
Add Category
28
Add Product
29
30
31
32
33
34
Initialization and termination errors While conducting above tests a few missing functions detected in connection establishment were incorporated.
35
9. TESTING STRATEGIES
Test cases are devised with the purpose of finding errors. A testcase is a set of data that the system will process as normal input. For this system, the test data is devised to check if the adjustments are done correctly. The other test cases devised is to check the situation in which no data is available for adjustment for a specific condition. There are many test cases designed with this mind .the flow of testing is as follows: Code testing Unit testing System testing
CODE TESTING:
Specification testing is done to check if the program does what it should do and how it should behave under various condition or combination and submitted for processing in the system and it is checked if any overlaps occur during the processing.
UNIT TESTING:
The first level of testing is called unit testing. Here different modules are tested against the specification produced during the design of the modules. Unit testing was done to test the working of the individual modules with test oracles.
SYSTEM TESTING
The next level of testing was system testing and acceptance testing. This testing was done to check if the system has met its requirements and to find the external behavior of the system.
36
11. Limitations:
To modify the project to Dot net 2.0 and extending this functionality to mobile internet platform using mobile ASP.Net platform by which the restrictions of the software and the hardware requirements can be scaled down which is possible.
12. Conclusion:
All the users in the organization have appreciated the project. It is easy to use, since it uses the GUI provided in the user dialog. User-friendly screens are provided. The usage of software increases the efficiency, decreases the effort. It has been thoroughly tested and implemented.
37
BIBLIOGRAPHY
The following books were referred during the analysis and execution phase of the project
INTRODUCTION TO SYSTEM ANALYSIS & DESIGN -- IT HAWRY SKIEWCZ SOFTWARE ENGINEERING -- BY ROGER.S. PRESSMAN UNIFIED MODELLING LANGUAGE USER GUIDE -- GRADE BOOCH -- JAMES RUMBAUGH -- JACBSON DATABASE MANAGEMENT SYSTEM -- RAGHU RAMA KRISHAN -- JOHANNES GEHRKE SQL FOR PROFESSIONALS -- BY JAIN
38