Sunteți pe pagina 1din 41

Universal web administration tool for database using flex

Perpose of the project


1. Need of an application to administrate the SQL Server from a remote location. 2. Increase the scope of the administrator where in the administrator need not stay at the server all the time to carry out simpler tasks.

Scope of the project


This application web database explorer aims to increase the scope of database administration by building the remote administration tool to interact with sql server located over the web

Features of this project


Improves

the normal SQL explorer.

Maintains security for SQL server similar to enterprise manager. No need of installation of the SQL software in every user system.

Technical requirements
Software Requirements: Microsoft .Net framework 2.0. Microsoft ASP.Net . Microsoft C#.Net language. Microsoft Visual Studio 2000 or above IDE. Internet Information Services (IIS). Flex Builder 3 Microsoft SQL Server 2005 for testing.

Technical requirements
Hardware Requirements: Processor : Intel Pentium or more

Ram

256 MB or more

Hard disk : 40 GB hard disk recommended for primary partition.

learning
Environment: NET Frame work, Microsoft Visual Studio.NET C#, XML Web Services. Database and web server:

Microsoft SQL server 2000 and Internet Information Server (IIS) 5.0.

Flex

Flex

Flex

Ado.net overview
ADO.NET

is an evolution of the ADO data access model that directly addresses user requirements for developing scalable applications

ADO.NET

uses some ADO objects, such as the Connection and Command objects, and also introduces new objects. Key new ADO.NET objects include the DataSet, DataReader, and DataAdapter.

Ado.net overview
Connections. For connection to and managing transactions against a database. Commands. For issuing SQL commands against a database. DataReaders. For reading a forward-only stream of data records from a SQL Server data source. DataSets. For storing, remoting and programming against flat data, XML data and relational data. DataAdapters. For pushing data into a DataSet, and reconciling data against a database.

Ado.net overview
1.

ADO.NET is the next evolution of ADO for the .Net Framework.

2. ADO.NET was created with n-Tier, statelessness and XML in the forefront. Two new objects, the DataSet and DataAdapter, are provided for these scenarios. 3. ADO.NET can be used to get data from a stream, or to store data in a cache for updates.

Design of the project


Uml daigrams: 1) Use case Diagrams 2) Sequence Diagrams 3) Class Diagram 4) Activity Diagram 5) DFDDiagram

Use case diagrams

Sequence daigrams

Class daigrams

Activity Diagram

DFDDiagram

modules
1) Databases Access Module 2) Object Browser 3) . Tabbed Query Windows 4) Query Result Windows 5) . Syntax Highlighting 6) Execution Plan 7) Table Operations

Modules
Databases Access Module: In this module user can access the database by giving credentials like username, password and database name to which database he wants to connect.

Once we connect to the database then we can able to manipulate tables, views and stored procedures. And we can execute the select commands with the query parser.

Modules
Object Browser After validation user can view all the tables, views and stored procedures in the accessed database. Tabbed Query Windows Application provides tabbed query windows to execute the commands with the query parser. User can open several query windows and execute the queries User can execute the queries like selecting, updating, altering stored procedures etc,.

Modules
Query Result Windows After execution of a query result will be displayed in result window, any messages displayed in messages window and any history related to that query will be displayed in history window. Syntax Highlighting Syntax will be highlighted while writing query in query window.

Modules
Execution Plan When it comes time to analyze the performance of a specific query, one of the best methods is to view the query execution plan. A query execution plan outlines how the SQL Server query optimizer actually ran (or will run) a specific query. This information if very valuable when it comes time to find out why a specific query is running slow.

Modules
Table Operations User can insert new values into table and modify the table structure. Insert and modify user interfaces will be provided to user like we have it in enterprise manager.

Testing phase of the project


Unit Testing Unit testing is essentially for the verification of the code produced during the coding phase and the goal is test the internal logic of the module/program Integration Testing All the tested modules are combined into sub systems, which are then tested

screenshots

Screenshots

Screenshots

Screenshots

Screenshots

screenshots

Screenshots

Screenshots

screenshots

screenshots

Screenshots

Conclusions and future scope of 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 efficiently employed as a tool for SQL Enterprise Manager. It also provides the user with variable options in administering. It has been thoroughly tested and implemented.

Future enhancement
this project works only for Sql Server database only, in future this project can be implemented for other databases also. As a future enhancement we are planning to implement this project not only for database administrators but also for other users like employees in organization.
Presently

bibliography
y
y y y y y y y

The following books were referred during the analysis and execution phase of the project SOFTWARE ENGINEERING By Roger.S.Pressman Professional ASP.NET By Wrox MSDN 2002 By Microsoft

references
y y y y

1. Jeff Poise (2002). Programming Microsoft .NET. Microsoft Press. 2. Asp.net general information and tutorials: http://www.asp.net 3. Building an ASP.NET Intranet, Wrox publication 4. Flex tutorial : www.adobe.com/devnet/flex

S-ar putea să vă placă și