e-r modeler: a database modeling toolkit for eclipse hui wu wuh -at- cis.uab.edu academic advisor :...
TRANSCRIPT
![Page 1: E-R Modeler: A Database Modeling Toolkit for Eclipse Hui Wu wuh -at- cis.uab.edu Academic Advisor : Dr. Jeff Gray gray -at-](https://reader036.vdocument.in/reader036/viewer/2022083007/56649e985503460f94b9af9d/html5/thumbnails/1.jpg)
E-R Modeler: A Database Modeling Toolkit for Eclipse
Hui Wuwuh -at- cis.uab.edu
http://www.cis.uab.edu/wuh
Academic Advisor : Dr. Jeff Graygray -at- cis.uab.edu
http://www.gray-area.org
University of Alabama at BirminghamDepartment of Computer & Information Sciences
![Page 2: E-R Modeler: A Database Modeling Toolkit for Eclipse Hui Wu wuh -at- cis.uab.edu Academic Advisor : Dr. Jeff Gray gray -at-](https://reader036.vdocument.in/reader036/viewer/2022083007/56649e985503460f94b9af9d/html5/thumbnails/2.jpg)
Motivation• Enhance DB Modeling
Capability of Eclipse• Provide capabilities
such as XML and DDL generation, DB connection as well as DB schema creation
• Support reverse engineering of existing databases
![Page 3: E-R Modeler: A Database Modeling Toolkit for Eclipse Hui Wu wuh -at- cis.uab.edu Academic Advisor : Dr. Jeff Gray gray -at-](https://reader036.vdocument.in/reader036/viewer/2022083007/56649e985503460f94b9af9d/html5/thumbnails/3.jpg)
E-R Modeler Architecture
![Page 4: E-R Modeler: A Database Modeling Toolkit for Eclipse Hui Wu wuh -at- cis.uab.edu Academic Advisor : Dr. Jeff Gray gray -at-](https://reader036.vdocument.in/reader036/viewer/2022083007/56649e985503460f94b9af9d/html5/thumbnails/4.jpg)
System Design – Primary Function Modules
• Diagram editor– A UML-style diagramming tool to construct and modify
E-R models.
• Outline view and Property view– Communicate and synchronize with the drawing Canvas
to display the outline, composition and properties of entities and relationships
• File IO– Store/load the E-R diagram to/from a binary file– Store the internal data structure (entities, attributes,
primary keys and relationships, etc) into an XML file
![Page 5: E-R Modeler: A Database Modeling Toolkit for Eclipse Hui Wu wuh -at- cis.uab.edu Academic Advisor : Dr. Jeff Gray gray -at-](https://reader036.vdocument.in/reader036/viewer/2022083007/56649e985503460f94b9af9d/html5/thumbnails/5.jpg)
System Design – Primary Function Modules (cont’d)
• Data Definition Language (DDL) generation – Load the XML file as a DOM tree and traverse
the DOM tree– Generate physical DDL based on the
underlying database
• DB table generation– Connect to the underlying database
(Access/SQL Server/SQL Plus) – Execute the physical DDL to create database
schema
![Page 6: E-R Modeler: A Database Modeling Toolkit for Eclipse Hui Wu wuh -at- cis.uab.edu Academic Advisor : Dr. Jeff Gray gray -at-](https://reader036.vdocument.in/reader036/viewer/2022083007/56649e985503460f94b9af9d/html5/thumbnails/6.jpg)
Implementation – What extension points we extent
• perspectives – framework
• newWizards – new project & files
• editors – diagram & XML & SQL editor
• actionSets – toolbar actions
• propertyPages – property view
• preferencePages – color changing of characters in the XML editor
• toc – online help
![Page 7: E-R Modeler: A Database Modeling Toolkit for Eclipse Hui Wu wuh -at- cis.uab.edu Academic Advisor : Dr. Jeff Gray gray -at-](https://reader036.vdocument.in/reader036/viewer/2022083007/56649e985503460f94b9af9d/html5/thumbnails/7.jpg)
The E-R Modeler Framework
Model explorer
Model outline view
Modelproperty view
Diagram editor
DB connection Dialog
![Page 8: E-R Modeler: A Database Modeling Toolkit for Eclipse Hui Wu wuh -at- cis.uab.edu Academic Advisor : Dr. Jeff Gray gray -at-](https://reader036.vdocument.in/reader036/viewer/2022083007/56649e985503460f94b9af9d/html5/thumbnails/8.jpg)
Future Work
• Implement support for reverse engineering
• Provide automatic layout support
• Support for additional file types
• Enrich ER object types like weak entity
• Add extension-points for other plug-ins to build on
![Page 9: E-R Modeler: A Database Modeling Toolkit for Eclipse Hui Wu wuh -at- cis.uab.edu Academic Advisor : Dr. Jeff Gray gray -at-](https://reader036.vdocument.in/reader036/viewer/2022083007/56649e985503460f94b9af9d/html5/thumbnails/9.jpg)
CreditsLeading Developers:
Song Zhou, Chris Xu
Supporting Programmers: Hui Wu,Yuehua Lin, Jing Zhang,
Juanqin WangAdvisors:
Dr. Jeff Gray, Dr. Barrett Bryant
![Page 10: E-R Modeler: A Database Modeling Toolkit for Eclipse Hui Wu wuh -at- cis.uab.edu Academic Advisor : Dr. Jeff Gray gray -at-](https://reader036.vdocument.in/reader036/viewer/2022083007/56649e985503460f94b9af9d/html5/thumbnails/10.jpg)
Demo
![Page 11: E-R Modeler: A Database Modeling Toolkit for Eclipse Hui Wu wuh -at- cis.uab.edu Academic Advisor : Dr. Jeff Gray gray -at-](https://reader036.vdocument.in/reader036/viewer/2022083007/56649e985503460f94b9af9d/html5/thumbnails/11.jpg)
Thanks