亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? tiofp documentation - a worked example of using the tiopf.htm

?? tiOPF 面向對象的數據庫持久層持久層開發的框架
?? HTM
?? 第 1 頁 / 共 5 頁
字號:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0074)http://www.techinsite.com.au/tiOPF/Doc/5_AWorkedExampleOfUsingTheTIOPF.htm -->
<HTML><HEAD><TITLE>tiOFP Documentation - A worked example of using the tiOPF</TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312"><!-- InstanceBegin template="/Templates/TechInsite_Template.dwt" codeOutsideHTMLIsLocked="false" --><!-- InstanceBeginEditable name="doctitle" --><!-- InstanceEndEditable --><!-- InstanceBeginEditable name="head" --><!-- InstanceEndEditable --><LINK 
href="tiOFP Documentation - A worked example of using the tiOPF_files/TechInsite.css" 
type=text/css rel=stylesheet>
<META content="MSHTML 6.00.3790.1830" name=GENERATOR></HEAD>
<BODY>
<SCRIPT type=text/javascript>function Go(){return}</SCRIPT>

<SCRIPT 
src="tiOFP Documentation - A worked example of using the tiOPF_files/MainMenu_TechInsite.js" 
type=text/javascript></SCRIPT>

<SCRIPT 
src="tiOFP Documentation - A worked example of using the tiOPF_files/HVMenu.js" 
type=text/javascript></SCRIPT>
<NOSCRIPT>Your browser does not support script</NOSCRIPT> 
<DIV id=Container><IMG height=75 alt="" 
src="tiOFP Documentation - A worked example of using the tiOPF_files/Banner01.jpg" 
width=600 border=0> 
<TABLE cellPadding=5 valign="middle">
  <TBODY>
  <TR>
    <TD>
      <DIV id=pageheader1>TechInsite</DIV></TD>
    <TD>
      <DIV id=pageheader2>Home of the TechInsite Object Persistence 
      Framework<BR>Melbourne, Australia</DIV></TD></TR></TBODY></TABLE>
<HR>

<TABLE>
  <TBODY>
  <TR>
    <TD>
      <DIV id=HMenu style="POSITION: relative"></DIV></TD></TR></TBODY></TABLE><BR>
<HR>
<!-- InstanceBeginEditable name="Page title" -->
<H1>5. A Worked Example of Using the tiOFP </H1><!-- InstanceEndEditable --><!-- InstanceBeginEditable name="Page body" -->
<H2 class=Normal>The aims of this chapter</H2>
<P>In the previous chapters, we have seen how to use the Visitor pattern, along 
with the Template Method to map a business object model into a relational 
database. We have also developed an abstract business object, and collection 
object to descend our concrete classes from. In this chapter, we will build on 
what we have covered and create a working application using the TechInsite 
object persistence framework.</P>
<P>We shall work through the following steps:</P>
<OL>
  <LI>Write a brief use case for the system we will build 
  <LI>Draw a class diagram of the business object model (using the UML design 
  tool minUML) 
  <LI>Design the database schema, and document the mapping between objects and 
  tables, properties and columns 
  <LI>Code the business object model 
  <LI>Write the SQL create script for the database 
  <LI>Look at alternative BOM – database mapping strategies:<BR>a) Hard code the 
  SQL<BR>b) Use the tiSQLManager<BR>c) Auto generate the SQL 
  <LI>Write the GUI and hook it up to the BOM 
  <LI>Modify the application so it will connect to different databases </LI></OL>
<P>The order that we work through these steps shall be 1 to 5, then we will 
implement one of the strategies in 6 so we can write the GUI in 7. We will then 
return to 6 and implement the other two strategies before moving on to 8 where 
we will implement the swappable database connection layer.</P>
<P>At the end of this chapter we will have build a contact management 
application that will seamlessly connect to either Interbase using IBExpress, 
Paradox using the BDE or Access using ADO.</P>
<H2>Prerequisites</H2>
<P>This chapter builds on the concepts introduced in chapters 2, 3 and 4 so it 
will be a good idea to read these first. It also assumes that you have installed 
the tiOPF, details of which are described in chapter 5.</P>
<H2>Application design: The use case</H2>
<P>There are two actors and two use cases in the system: Administrators who are 
responsible for maintaining the contact list, and users who will be searching 
for a contact by name. These actors may or may not be the same person so a read 
only view will be necessary to prevent users from modifying data that only 
administrators should have access to. A diagram representing this is shown 
below:</P>
<P><IMG height=114 
src="tiOFP Documentation - A worked example of using the tiOPF_files/6_AWorkedExampleOfUsingTheTIOPF_clip_image001.gif" 
width=427> </P>
<H2>Look and feel</H2>
<P>The application will use a tree view on the left-hand side of the main form 
to browse and search for the contacts in the database. Initially, all the 
contacts will be loaded when the application starts, but we will probably want 
to change as the size of the database grows to provide database level 
searching.</P>
<H2>Use case #1 Search for a contact</H2>
<OL>
  <LI>Start the application and enough data about each entry in the database 
  will load to allow a human to navigate. 
  <LI>Scroll down the tree view and click on the required person – the person’s 
  details will load and be shown on the right hand side of the application. 
</LI></OL>
<H2>Use case #2 Maintain contacts</H2>
<OL>
  <LI>Navigate to the contact to be changed as in use case #1, or click insert 
  to add a new contact. 
  <LI>Navigate to the part of the contact to be maintained (e.g., name, and 
  phone number, postal address) and make edits. 
  <LI>Click save button. </LI></OL>
<H2>The class diagram</H2>
<P>We shall implement the contact management application with 7 classes as shown 
in the class diagram below:</P>
<P><IMG height=246 
src="tiOFP Documentation - A worked example of using the tiOPF_files/6_AWorkedExampleOfUsingTheTIOPF_clip_image001_0000.gif" 
width=576> </P>
<P>These classes have the following purposes:</P>
<TABLE cellSpacing=0 cellPadding=0>
  <TBODY>
  <TR class=Normal>
    <TD vAlign=top width=111>
      <P><STRONG>Class </STRONG></P></TD>
    <TD vAlign=top width=104>
      <P><STRONG>Parent </STRONG></P></TD>
    <TD vAlign=top width=369>
      <P><STRONG>Description </STRONG></P></TD></TR>
  <TR class=Normal>
    <TD vAlign=top width=111>
      <P>TContactMgr</P></TD>
    <TD vAlign=top width=104>
      <P class=Normal>TPerObjAbs</P></TD>
    <TD vAlign=top width=369>
      <P>The top of the hierarchy. Initially, this class will just be a holder 
      for an instance of TPeople, but later we may extend it to contain lookup 
      list data, and perhaps an instance of TCompanies</P></TD></TR>
  <TR class=Normal>
    <TD vAlign=top width=111>
      <P>TPeople</P></TD>
    <TD vAlign=top width=104>
      <P>TPerObjList</P></TD>
    <TD vAlign=top width=369>
      <P>A collection of TPeople</P></TD></TR>
  <TR class=Normal>
    <TD vAlign=top width=111>
      <P>TPerson</P></TD>
    <TD vAlign=top width=104>
      <P>TPerObjAbs</P></TD>
    <TD vAlign=top width=369>
      <P>A person object owned by TPeople. Has published properties for 
      LastName, FirstName, Title and Initials. Has a property of type TAdrsList 
      and TEAdrsList.</P></TD></TR>
  <TR class=Normal>
    <TD vAlign=top width=111>
      <P>TAdrsList</P></TD>
    <TD vAlign=top width=104>
      <P>TPerObjList</P></TD>
    <TD vAlign=top width=369>
      <P>A container for TAdrs objects</P></TD></TR>
  <TR class=Normal>
    <TD vAlign=top width=111>
      <P>TEAdrsList</P></TD>
    <TD vAlign=top width=104>
      <P>TPerObjList</P></TD>
    <TD vAlign=top width=369>
      <P>A container for TEAdrs objects</P></TD></TR>
  <TR class=Normal>
    <TD vAlign=top width=111>
      <P>TAdrs</P></TD>
    <TD vAlign=top width=104>
      <P>TPerObjAbs</P></TD>
    <TD vAlign=top width=369>
      <P>Holds a conventional street or post office box address. Has published 
      properties AdrsType, lines, suburb, state, postcode and country.</P></TD></TR>
  <TR class=Normal>
    <TD vAlign=top width=111>
      <P>TEAdrs</P></TD>
    <TD vAlign=top width=104>
      <P>TPerObjAbs</P></TD>
    <TD vAlign=top width=369>
      <P>An electronic address object that belong to the TPerson. Has properties 
      Address type and address text.</P></TD></TR></TBODY></TABLE>
<H2>The database schema &amp; object – database mapping</A></H2>
<P>We shall store the data modelled by these seven classes in three tables in 
the database as shown in the table below:</P>
<TABLE cellSpacing=0 cellPadding=0>
  <TBODY>
  <TR class=Normal>
    <TD vAlign=top width=83>
      <P><STRONG>Class </STRONG></P></TD>
    <TD vAlign=top width=95>
      <P><STRONG>Table </STRONG></P></TD>
    <TD vAlign=top width=94>
      <P><STRONG>Property </STRONG></P></TD>
    <TD vAlign=top width=104>
      <P><STRONG>Column </STRONG></P></TD>
    <TD vAlign=top width=132>
      <P><STRONG>Notes </STRONG></P></TD></TR>
  <TR class=Normal>
    <TD vAlign=top width=83>
      <P>TPerson</P></TD>
    <TD vAlign=top width=95>
      <P>Person</P></TD>
    <TD vAlign=top width=94>
      <P>OID</P></TD>
    <TD vAlign=top width=104>
      <P>OID</P></TD>
    <TD vAlign=top width=132>
      <P>Primary key </P></TD></TR>
  <TR class=Normal>
    <TD vAlign=top width=83>
      <P> </P></TD>
    <TD vAlign=top width=95>
      <P> </P></TD>
    <TD vAlign=top width=94>
      <P>FirstName</P></TD>
    <TD vAlign=top width=104>
      <P>First_Name </P></TD>
    <TD vAlign=top width=132>
      <P> </P></TD></TR>
  <TR class=Normal>
    <TD vAlign=top width=83>
      <P> </P></TD>
    <TD vAlign=top width=95>
      <P> </P></TD>
    <TD vAlign=top width=94>
      <P>LastName</P></TD>
    <TD vAlign=top width=104>
      <P>Last_Name </P></TD>
    <TD vAlign=top width=132>
      <P> </P></TD></TR>
  <TR class=Normal>
    <TD vAlign=top width=83>
      <P> </P></TD>
    <TD vAlign=top width=95>
      <P> </P></TD>
    <TD vAlign=top width=94>
      <P>Title</P></TD>
    <TD vAlign=top width=104>
      <P>title </P></TD>
    <TD vAlign=top width=132>
      <P> </P></TD></TR>
  <TR class=Normal>
    <TD vAlign=top width=83>
      <P> </P></TD>
    <TD vAlign=top width=95>
      <P> </P></TD>
    <TD vAlign=top width=94>
      <P>Initials</P></TD>
    <TD vAlign=top width=104>
      <P>initials </P></TD>
    <TD vAlign=top width=132>
      <P> </P></TD></TR>
  <TR class=Normal>
    <TD vAlign=top width=83>
      <P> </P></TD>
    <TD vAlign=top width=95>
      <P> </P></TD>
    <TD vAlign=top width=94>
      <P>Notes</P></TD>
    <TD vAlign=top width=104>
      <P>notes </P></TD>
    <TD vAlign=top width=132>
      <P> </P></TD></TR>
  <TR class=Normal>
    <TD vAlign=top width=83>
      <P>TAdrs</P></TD>
    <TD vAlign=top width=95>
      <P>Adrs</P></TD>
    <TD vAlign=top width=94>
      <P>OID</P></TD>
    <TD vAlign=top width=104>
      <P>oid</P></TD>
    <TD vAlign=top width=132>
      <P>Primary key </P></TD></TR>
  <TR class=Normal>
    <TD vAlign=top width=83>
      <P> </P></TD>
    <TD vAlign=top width=95>
      <P> </P></TD>
    <TD vAlign=top width=94>
      <P>Owner.OID</P></TD>
    <TD vAlign=top width=104>
      <P>owner_oid </P></TD>
    <TD vAlign=top width=132>
      <P>Foreign key to Person </P></TD></TR>
  <TR class=Normal>
    <TD vAlign=top width=83>
      <P> </P></TD>
    <TD vAlign=top width=95>
      <P> </P></TD>
    <TD vAlign=top width=94>
      <P>AdrsType</P></TD>
    <TD vAlign=top width=104>
      <P>lines adrs_type </P></TD>
    <TD vAlign=top width=132>
      <P> </P></TD></TR>
  <TR class=Normal>
    <TD vAlign=top width=83>
      <P> </P></TD>
    <TD vAlign=top width=95>
      <P> </P></TD>
    <TD vAlign=top width=94>
      <P>Suburb</P></TD>
    <TD vAlign=top width=104>
      <P>suburb </P></TD>
    <TD vAlign=top width=132>
      <P> </P></TD></TR>
  <TR class=Normal>
    <TD vAlign=top width=83>
      <P> </P></TD>
    <TD vAlign=top width=95>
      <P> </P></TD>
    <TD vAlign=top width=94>

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲视频在线一区观看| 欧美一区二区视频网站| 亚洲国产精品v| 高清日韩电视剧大全免费| 久久精品一级爱片| 不卡的看片网站| 一区二区三区四区不卡在线 | 日韩欧美国产一区在线观看| 亚洲国产精品人人做人人爽| 欧美日韩在线精品一区二区三区激情| 亚洲丝袜另类动漫二区| 欧美亚洲一区二区在线观看| 日日摸夜夜添夜夜添国产精品 | 亚洲成人tv网| 日韩一级片在线观看| 国产乱国产乱300精品| 国产精品国产三级国产| 欧美视频完全免费看| 欧美aⅴ一区二区三区视频| 久久久精品免费免费| 99久久国产综合精品女不卡| 午夜伊人狠狠久久| ww亚洲ww在线观看国产| 91丨九色丨蝌蚪富婆spa| 亚洲图片欧美色图| 久久先锋影音av鲁色资源| 白白色 亚洲乱淫| 日韩二区三区在线观看| 国产欧美日韩卡一| 欧美日韩卡一卡二| 国产精品自拍av| 亚洲福中文字幕伊人影院| www日韩大片| 欧美偷拍一区二区| 国产一区在线精品| 亚洲高清不卡在线观看| 国产丝袜在线精品| 欧美精品电影在线播放| 成人午夜激情在线| 日本亚洲天堂网| 自拍视频在线观看一区二区| 欧美一级高清片在线观看| 91在线观看成人| 国产在线精品一区二区三区不卡 | 亚洲精品一区二区三区影院| 91丨九色丨黑人外教| 韩国女主播一区| 亚洲成国产人片在线观看| 国产精品国产三级国产aⅴ中文 | 欧美少妇xxx| 国产精品99久久久久久宅男| 丝瓜av网站精品一区二区| 亚洲欧美韩国综合色| 久久久亚洲午夜电影| 91精品国产综合久久久久久漫画| av电影在线观看完整版一区二区| 精品中文字幕一区二区| 国产成人午夜99999| 午夜伊人狠狠久久| 亚洲精品国产高清久久伦理二区| 久久精品网站免费观看| 欧美xxxxx牲另类人与| 91福利在线看| 色噜噜狠狠成人中文综合| 成人精品鲁一区一区二区| 国产一区二区三区久久悠悠色av| 免费观看日韩电影| 偷拍一区二区三区四区| 亚洲午夜激情网页| 亚洲摸摸操操av| 亚洲欧美国产77777| 成人免费一区二区三区视频 | 成人免费看黄yyy456| 精品无人码麻豆乱码1区2区 | 日韩福利视频网| 五月激情综合婷婷| 亚洲一区二区偷拍精品| 亚洲精品免费一二三区| 亚洲老妇xxxxxx| 亚洲伊人色欲综合网| 亚洲精品成人精品456| 亚洲精品免费播放| 亚洲一区二区三区视频在线播放| 一区二区三区在线视频免费观看| 亚洲精品视频在线观看免费| 国产精品系列在线观看| 成人精品国产一区二区4080| kk眼镜猥琐国模调教系列一区二区| 不卡一区二区中文字幕| 99在线精品视频| 欧美系列亚洲系列| 欧美一区午夜视频在线观看| 日韩视频不卡中文| 久久综合九色综合97婷婷| 国产欧美综合在线| 亚洲色图一区二区三区| 亚洲成a人片在线观看中文| 麻豆精品一区二区av白丝在线| 久草热8精品视频在线观看| 国产91在线观看| 97久久超碰国产精品| 欧美色区777第一页| 日韩一区二区三区视频在线| 久久久美女艺术照精彩视频福利播放| 久久久久9999亚洲精品| 亚洲色图在线看| 秋霞电影网一区二区| 国产99精品视频| 欧美午夜不卡在线观看免费| 精品国产91九色蝌蚪| 亚洲同性同志一二三专区| 日韩激情在线观看| 高清在线成人网| 欧美日韩精品三区| 爽好久久久欧美精品| 国产黄色成人av| 欧美视频在线不卡| 久久精品一区四区| 亚洲亚洲人成综合网络| 国产伦精一区二区三区| 欧美又粗又大又爽| 久久亚洲综合色一区二区三区 | av亚洲精华国产精华精华| 欧美精品高清视频| 中文字幕不卡在线观看| 亚洲123区在线观看| 成人免费视频caoporn| 欧美高清视频在线高清观看mv色露露十八 | 日韩欧美国产麻豆| 国产精品久久久久久久浪潮网站| 日韩精品亚洲一区| 97国产一区二区| 欧美大片免费久久精品三p | 亚洲综合色区另类av| 国产成人免费在线视频| 欧美精品在线视频| 成人免费在线观看入口| 国内精品视频666| 欧美精品在欧美一区二区少妇| 国产精品视频在线看| 久久99精品国产91久久来源| 在线亚洲人成电影网站色www| 久久久久99精品一区| 日韩精品成人一区二区三区| 日本高清免费不卡视频| 欧美激情一区二区在线| 国产在线精品一区二区夜色| 制服丝袜日韩国产| 91蜜桃在线观看| 国产精品国产自产拍高清av| 国产一区二区三区最好精华液| 777午夜精品视频在线播放| 亚洲综合色在线| 91网页版在线| 亚洲日本在线看| aa级大片欧美| 亚洲欧美中日韩| 不卡视频在线观看| 国产精品美女久久久久久久| 国产69精品久久久久毛片 | 久久―日本道色综合久久| 麻豆精品久久久| 日韩精品一区在线| 日韩激情av在线| 91精品国产黑色紧身裤美女| 爽爽淫人综合网网站| 91精品国产综合久久香蕉的特点| 日韩制服丝袜av| 欧美一区二区视频观看视频| 蜜桃视频免费观看一区| 日韩一二三区视频| 激情综合一区二区三区| 久久久久青草大香线综合精品| 国产精品综合视频| 国产色一区二区| aaa国产一区| 亚洲久草在线视频| 欧美在线免费观看亚洲| 午夜精品一区在线观看| 91麻豆精品国产91久久久资源速度 | 欧美福利电影网| 日韩成人一区二区| 精品嫩草影院久久| 春色校园综合激情亚洲| 亚洲三级小视频| 欧美日韩精品免费| 久久91精品久久久久久秒播 | 国产婷婷色一区二区三区四区| 国产高清精品在线| 国产精品毛片a∨一区二区三区| 色综合久久久久久久久| 五月婷婷激情综合| 日韩视频在线永久播放| 国产精品1区二区.| 亚洲黄色小说网站| 91麻豆精品国产91久久久久| 国产乱子伦一区二区三区国色天香| 中文字幕电影一区| 欧美日韩国产美| 国产一区二区三区在线观看免费 |