Presentation is loading. Please wait.

Presentation is loading. Please wait.

An Implementation of Client-Server Application for managing Target’s Tissues and Experimental Results Wenfu Wang Department Of Epidemiology March 2004.

Similar presentations


Presentation on theme: "An Implementation of Client-Server Application for managing Target’s Tissues and Experimental Results Wenfu Wang Department Of Epidemiology March 2004."— Presentation transcript:

1 An Implementation of Client-Server Application for managing Target’s Tissues and Experimental Results Wenfu Wang Department Of Epidemiology March 2004

2 Project Introduction Target ?  PI: Dr. Spitz at Epidemiology Department  Lung cancer prevention, biomarker development …  Big project with many sub-projects and collaborators

3 Project Introduction In Dr. Katz Lab at Pathology Department  Receive lung cancer(Target) patients tissues and process them  Generate slides from tissues  Experimental analysis using the slides (FISH) and generate results A database application needed to manage all the information flow

4 Project Requirement Analysis  Choosing a Database System MS Access can do the job but not good for data sharing Oracle then was used as the database system  Variables analysis and database design  User interface design Visual Basic was used as the tool for developing user interface

5 Table Design (ER diagram)

6 Oracle Schema Creation example REMARK Create table ExpResult CREATE TABLE EXPRESULT (SPNUM VARCHAR2(10), TISSUETYPE VARCHAR2(50), EXPTYPE VARCHAR2(50), REVALUE VARCHAR2(10), EXPDATE DATE, EXPCOMMENTS VARCHAR2(150), CONSTRAINT PK_RESULT PRIMARY KEY (SPNUM, TISSUETYPE, EXPTYPE), FOREIGN key (SPNUM) references BASICINFO(SPNUM) on delete cascade );

7 Oracle Objects Creation example Sequences:  CREATE SEQUENCE TISSUETYPE_ID_SEQ; Triggers:  CREATE TRIGGER TISSUETYPE_INSERT BEFORE INSERT ON TISSUETYPE FOR EACH ROW BEGIN SELECT TISSUETYPE_ID_SEQ.NEXTVAL INTO :NEW.TISSUETYPEID FROM DUAL; END; Views: create view qryRreport as SELECT ExpResult.spNum, BasicInfo.mdacc, ExpType | | '\' | | TissueType AS Exp, ExpResult.ReValue, ExpResult.ExpDate, ExpResult.ExpComments FROM ExpResult, BasicInfo where ExpResult.spNum = BasicInfo.spNum ORDER BY ExpResult.spNum, ExpResult.ExpType, ExpResult.TissueType

8 UI Implementation Issues Provide all the essential functionalities to the end user:  Convenient Data Entries  Flexible search functions  Experimental data Reporting  Flexibilities of adding/editing tissue types or experimental types  User authentications and management

9 UI Implementation Issues Flexibilities(Dynamic): Cep3/spF Cep3/spM Cep10/10q NBB TBB NTP TAB Experimental Type Tissue TypeResult Cep3/3pF /NBB Cep3/3pF/TBB Cep3/3pF/NTP Cep3/3pF/TAB Flexibility Feature was done by using two Active X control  FarPoint pro  MS Flex Grid Control

10 UI Implementation Issues Performance considerations:  No bound data control was used to avoid persistent database connection  Try to only bring the necessary recordset to the client side and avoid data transaction caused network traffic

11 UI Implementation In Action

12 Notes Client Data Access Access DB Oracle Some codes applied to Access does not apply to Oracle And Vice Versa


Download ppt "An Implementation of Client-Server Application for managing Target’s Tissues and Experimental Results Wenfu Wang Department Of Epidemiology March 2004."

Similar presentations


Ads by Google