Universal Web Administration Tool for Database Using Flex

Post on 28-Nov-2014

110 views 0 download

Tags:

Transcript of Universal Web Administration Tool for Database Using Flex

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 requirementsHardware Requirements:• Processor: Intel Pentium or more • Ram : 256 MB or more  Hard disk : 40 GB hard disk recommended for primary partition.  

learningEnvironment:•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 Diagrams2) Sequence Diagrams3) Class Diagram4) Activity Diagram5) DFDDiagram

Use case diagrams

Sequence daigrams

Class daigrams

Activity Diagram

DFDDiagram

modules

1) Databases Access Module2) Object Browser3) . Tabbed Query Windows4) Query Result Windows 5) . Syntax Highlighting6) Execution Plan 7) Table Operations

ModulesDatabases 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,.

ModulesQuery 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 projectUnit 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/programIntegration 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 •Presently 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.

bibliography

The following books were referred during the analysis and execution phase of the project

SOFTWARE ENGINEERINGBy Roger.S.PressmanProfessional ASP.NET By WroxMSDN 2002By Microsoft

references1. Jeff Poise (2002). Programming

Microsoft .NET. Microsoft Press.2. Asp.net general information and

tutorials: http://www.asp.net3. Building an ASP.NET Intranet, Wrox

publication4. Flex tutorial :

www.adobe.com/devnet/flex