Universal Web Administration Tool for Database Using Flex

41
Universal web administration tool for database using flex

Transcript of Universal Web Administration Tool for Database Using Flex

Page 1: Universal Web Administration Tool for Database Using Flex

Universal web administration tool for database using flex

Page 2: 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.

Page 3: Universal Web Administration Tool for Database Using Flex

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

Page 4: Universal Web Administration Tool for Database Using Flex

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.

Page 5: Universal Web Administration Tool for Database Using Flex

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.

Page 6: Universal Web Administration Tool for Database Using Flex

Technical requirementsHardware Requirements:• Processor: Intel Pentium or more • Ram : 256 MB or more  Hard disk : 40 GB hard disk recommended for primary partition.  

Page 7: Universal Web Administration Tool for Database Using Flex

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.

Page 8: Universal Web Administration Tool for Database Using Flex

Flex

Page 9: Universal Web Administration Tool for Database Using Flex

Flex

Page 10: Universal Web Administration Tool for Database Using Flex

Flex

Page 11: Universal Web Administration Tool for Database Using 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.

Page 12: Universal Web Administration Tool for Database Using Flex

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.

Page 13: Universal Web Administration Tool for Database Using Flex

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.

Page 14: Universal Web Administration Tool for Database Using Flex

Design of the project

Uml daigrams:

1) Use case Diagrams2) Sequence Diagrams3) Class Diagram4) Activity Diagram5) DFDDiagram

Page 15: Universal Web Administration Tool for Database Using Flex

Use case diagrams

Page 16: Universal Web Administration Tool for Database Using Flex

Sequence daigrams

Page 17: Universal Web Administration Tool for Database Using Flex

Class daigrams

Page 18: Universal Web Administration Tool for Database Using Flex

Activity Diagram

Page 19: Universal Web Administration Tool for Database Using Flex

DFDDiagram

Page 20: Universal Web Administration Tool for Database Using Flex

modules

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

Page 21: Universal Web Administration Tool for Database Using Flex

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.

Page 22: Universal Web Administration Tool for Database Using Flex

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

Page 23: Universal Web Administration Tool for Database Using Flex

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.

Page 24: Universal Web Administration Tool for Database Using Flex

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.

Page 25: Universal Web Administration Tool for Database Using Flex

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.

Page 26: Universal Web Administration Tool for Database Using Flex

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

Page 27: Universal Web Administration Tool for Database Using Flex

screenshots

Page 28: Universal Web Administration Tool for Database Using Flex

Screenshots

Page 29: Universal Web Administration Tool for Database Using Flex

Screenshots

Page 30: Universal Web Administration Tool for Database Using Flex

Screenshots

Page 31: Universal Web Administration Tool for Database Using Flex

Screenshots

Page 32: Universal Web Administration Tool for Database Using Flex

screenshots

Page 33: Universal Web Administration Tool for Database Using Flex

Screenshots

Page 34: Universal Web Administration Tool for Database Using Flex

Screenshots

Page 35: Universal Web Administration Tool for Database Using Flex

screenshots

Page 36: Universal Web Administration Tool for Database Using Flex

screenshots

Page 37: Universal Web Administration Tool for Database Using Flex

Screenshots

Page 38: Universal Web Administration Tool for Database Using Flex

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. 

Page 39: Universal Web Administration Tool for Database Using Flex

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.

Page 40: Universal Web Administration Tool for Database Using Flex

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

Page 41: Universal Web Administration Tool for Database Using Flex

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