Chddng3 : MQts6nh~nxetv@mohlnhHMD B
ThongtinhilltnrlIenmaytinhdmgngayeangphuet~p.Khongchilacae
d~ngmedia,taili~uhilltn1'concoth€ laband6,bangbi€u, ...Caelo~itai
li~unayl~iconhungquailh~phuet~pvoinhau.
Mo hlnhDexterdu"aramQtkie'ntruemd,ehopheptichhQpnhieuki€u du
li~ukhaenhau.Mo hlnhAmsterdamd~ttfQngHimvaovi~eke'thQpcae
du li~unguyenthuyd€ t~ora mQttrlnhdi€n phuet~p.Mo hlnhVilas-
Satiddu"ara khaini~mlink earnngueanhvaphanho~ehm~ngHMDB
thanhcaem~ngcon.
PhgnnayphantiehcaemohlnhHMDB trenvad\
17 trang |
Chia sẻ: huyen82 | Lượt xem: 1695 | Lượt tải: 0
Tóm tắt tài liệu Một số cải biên trên mô hình Dexter, để xem tài liệu hoàn chỉnh bạn click vào nút DOWNLOAD ở trên
1atrencdsddod€ de
xua'tmQts6di tie'nlIenmohlnhDexter.
I- Mdday
Dexterla mQtmohlnhma,chopheptichh<;lpnhieuki€u componentvaoh~th6ng
HMDB. Trong mo hlnh nay,tgnghill trfi'dongvai tro chinhyeu : hill trfi'cac
componentva m6i lien h~giii'acacthanhphgnvdi nhaunhugiii'acomponentva
anchor,giii'aanchorvalink.Ca'utruc,cachthlictrlnhdi€n, vi~ctudnglac vdingu'ai
dung,...cuacomponentla nhii'ngthanhphgnngoaidu<;lctichh<;lpvaotgngbelltrong
cuah~th6ng.MQtlingd~ngHMDB dU<;lcxayd11ngtrennentfmgla tgnglu'utrfi'va
tgngbelltrong.
Tuy v~y,nhudatrlnhbaytrongchuang2.1,v~ncanmQtso'va'ndedn chuy trong
mohlnhDexternhu'linkcodc1yducacthanhphc1nhu'mQtcomponentkhong?Vi~c
truyenthongso'vanh~nketquaa caclinktinhloan?Vi~cdinhnghlacaccomposite
componentvacacanchortrongcompositecomponent?...
Mo hlnhAmsterdamneuva'ndevem6ilienh~thaigiangiii'acaccomponentvava'n
dengii'canhchoanchorvalink,nghlalakhidi theomQtlinkthltrlnhdi€n hi~nthai
codungl?i haykhong,cobienma'tkhonghaychithayd6imQtphc1n?
Mo hlnhVilas-SatidSingkorapoomduara khai ni~mlink earnngii'canhd€ dieu
khi€n s11dangbQgiii'acacthanhphc1ntrongmQtcompositecomponent.Tuy nhien
mohlnhnaykhongdec~pdenkhaini~manchor.
Mo hlnhAmsterdamva mohlnhVilas-SatidSingkorapoomduara mQtkhuonm~u
trongvi~cdangbQcactrlnhdi€n multimedia.Nhu'ngchinhvi~cdu'arakhuonm~u
nhuv~y,cacmohlnhnayda "clinghoa"vi~cph6ih<;lpcacmediad€ t?OnenmQt
trlnhdi€n.
Phc1nsailsexemxetl?i cackhaini~mcdbantrongmohlnhDexter.Tu dodu'flkhai
ni~mlinkearnngii'canhcungvdimQtso'eailienkhacd€ giaiquyetcacva'ndetrong
mohlnhDexter.
II- Anchor
11.1-Binh nghiaanchor
MQttrongnhii'ngdonggapchinhcuaDexterla vi~cxacdinhro cacanchor,lam
thanhmQtdu n6i tukientrucm?ngtdi cacnQidungcomponentc~th€. Khongco
anchor,caclinkchin6itdiloanbQcomponent.Tuyv~ymohlnhnayv~nchu'adu'ara
mQtdinhnghladc1yduvat6ngquatveanchor.Mo hlnhAmsterdamdatrlnhbaymQt
dinhnghlave anchorcuacompositecomponent,xemanchorcua mQtcomposite
componentla t~pcacanchorcuacac atomiccomponentn~mavi tri nut la trongcay
phanca'pcuacompositecomponentdo.(Chu'dng2.II.5-Ngii'eanhcualink).
29
Dinhnghlaanchorphaixua"tphMtITchinhbancha'tcuano : "anchorla mQtbQph?n
cuanQidungdii'li~ucomponentva co theduqcchQnbdi nguoidung".Composite
componentduqcca'uthanhtu caccomponentconchaucuano,nhuV?ycomposite
anchorsela t?PcacbQph?ncuacaccomponentconchaucuacompositecomponent
do.Ne'ugiathie'tlacacbQph?nnaydaduqcdinhnghlatrudc- nghlaladat6nt~icac
anchorbieudi~nchung,thl compositeanchorse chinhla t~pcacanchornay.Noi
cachkhac,compositeanchortrongtrUonghqpnaysela t?Pcacanchorconchau.Day
clingchinhladinhnghlavecompositeanchortrongmohlnhAmsterdam.
Lttuy la trongdinhnghlanay,cacanchorhoanloancothegiaonhauvadieunayla
phuhqptrongcaclingd~ngthvcte'.Vi d~trongmQtcomponentband6motaday
nui traidaiquamQtqu6cgia.R6 rang,anchorxacdinhdaynuise giaovdi anchor
xacdinhqu6cgia.Ho~ctrongmQtcomponenttextg6mnhieuchudngm~c,an~horla
mQtdo~nvansebi philbdianchorlachudngm~cchliado~nvando.
11.2-NQidunganchor
NQidunganchorla cacthongtindexacdinhmQtbQph?nnQidungcomponent.NQi
dunganchorcotheduqcxacdinhb~ngcachmotahaytinhloan(xem[2]).Tacothe
chiara2 lo~ianchor- dQcl?pvdikieucuacomponent:
. Anchordanhda'u: la mQtd6i tuqngduqcxacdinhtrVctie'ptutrongnQidung
component.Vi tri cualo~ianchornaytrongnQidungcomponentdaduqcxacdinh
ch~cch~n,khongph~thuQcvaolink truyxua"tde'nanchornayva clingkhongph~
thuQchQnIvacuanguoidung..
Vi d~: trongmQtbfllld6,anchorxacdinhbiengidimQtqu6cgiaduqcxacdinhr6
rangvac6dinh.Vi tricuaanchorkhongph~thuQcvaocaclinktroyxua'tde'nanchor
nayvaclingkhongph~thuQcvaongu'oidung.
Ho~cmQtvungvanbantrongdo~nvanduqcdanhda'uthamchie'u.Anchorxac
dinhvungvanbannaydu'qcxacdinhb~ngoffsettud§udo~nvande'nvungvanban
do.DaylamQts6du'qcxacdinhr6rangtuvi trivungvanbantrongdo~nvan.
. Anchor khongdanhda'u: la khi vi tri anchortrencomponentduqcxacdinh
thongquamQts6tinhloan.
Vi d~,vdi kieudii'li~ud~ngtext,keywordla mQtlo~ianchorkhongdanhda'u.
TrongWong hqpnay,anchorla mQtchu6iky tV.Vi~cl§n theolink de'nd§un6i
chinhla vi~ctlm cac xua"thi~ncua chu6ikeywordtrongvan ban dii' li~ucua
component.Ho~ctrenmQtbangtrongcdsddii'li~uquanh~,anchorcothedu'qcxac
dinhb~ngmQtpheploanchQn(selection).
Do vi tri anchorkhongdanhda'ukhongduqcxacdinhtrUdc,nennQidungcuano la
tr6ng.Vi tri anchorkhongdanhda'uph~thuQcvaosttchQnlttacuangu'oidungho~c
ph~thuQcvaoke'tquacualink tinhloankhi troyxua'tde'nanchornay.Ngu'oidung
30
xacdinhvi tri cuaanchorkhongdanhda'ub~ngcacphuongti~nnhumenu,button,
dialogbox...
11.3-Th6ng tin trmh di~ncua anchor
Componentdungcacthongtintrlnhdi€n cuanod€ xacdinhcachhi€n thicacanchor,
cachhi€n thicacanchorgiaonhau.Ngoaira,m6ianchorconco th€ cocacthongtin
trlnhdi€n rieng.Khi do,componentsedungcacthongtintrlnhdi€n riengcu.aanchor
thaythe'chothongtintrlnhdi€n anchorcuacomponent.
TheoDexter,d~un6icochuathongtintrlnhdi€n choanchortuongungvdid~un6i
do.DieunaykhonghQp19.Vi nhuv~ythl tronghic so~nthaolink,nguoidungse
phaiso~nthaocacacthongtintrlnhdi€n anchortrongcacd~un6ivadieunaylam
bQso~nthaolinkthemphuct~p.HonmIa,VIanchormotamQtbQph~ng~nlienvdi
component;nenthongtin trlnhdi€n anchornenduQcxacdinhtITchinhanchordo
ho~ctil'cacthongtintrlnhdi€n component.
Cacanchorclingco thongtinngii'nghlariengd€ guyracacthongtintrlnhdi€n m~c
dinhchochung.Vi~cchQnthongtintrlnhdi€n choanchorduQcxacdinhtheonguyen
t~ccacthongtin camngii'canhduQcuu tienhoncacthongtin trlnhdi€n phi ngii'
canh.Hlnhsauchotha'ycacthongtintrlnhdi€n anchorvathO'tt1chQnlt1achung.
CackhaibaocuamQtlopcomponent
SinhnghlacaclOpanchor
ThOngtintrinh
di~nm{tcdinh
cho component
ThOngtintrinhdi~n
m{tcdinhchotung
lOpanchor
3
Component Anchor 1
Cacthongtintrinh
di~nrH~ngcua
component 2
Cacthongtintrinh
di~nchoanchor
ThOngtintrinhdi~n
riengcuamQtanchor
Hinh 11-Thu tll u'uti~ncuacaeth6ngtin tr'lnhdi~n
Tranghlnhtren,thongtintrlnhdi€n cos6thU'tt1nhohancodQUuliencaohan.
TrangmQtanchor,nQidunglacacthongtind€ xacdinhmQtbQph~ncuacomponent;
conthongtintrlnhdi€n la thongtind€ componenttrlnhdi€n bQph~ndo.Neutrong
anchorkhongxacdinhthongtintrlnhdi€n, thlthongtintrlnhdi€n anchordu'Qcdinh
nghlatrangph~mvi componentsedu'QcsU'dvng.Neu trangcomponentkh6ngxac
dinhthongtin trlnhdi€n anchor,thl thongtin trlnhdi€n m?cdinhchoanchortrong
dinhnghlalopcomponentnaysedu'QcsU'dvng.
11.4-Anchor cling la component
Quaphantichdtren,tatha'ym6ilopcomponentd€u codinhnghlamQts6lopanchor
dungtrangph~mvi lOpcomponentdo.M6i anchorphilithuQcvaomQtlOpnaodova
cothongtinngfi'nghlarieng.AnchorclingconQidungdfi'li~uriengvathongtintrlnh
di€n rieng- dungd€ xacdinhvatrlnhdi€n mQtbQph~ncuacomponent.Themnfi'a,
trangcompositecomponent,anchordu'QcxacdinhtITcacanchortrongcacatomic
component.Nghlala tacoth€ apdvngkhaini~mcompositechoanchor,theonghla
la anchortrangcompositecomponentla t~phQpcaeanchortITcacatomic omponent
cuacompositecomponentdo.
32
Toml<;1ianchorcungla mQtcomponent,du'QcdinhnghiatumQtlop,cothStruyxua't
tucaccomponentkhac.DodoanchornencomQtid riengvaid nayla toancvctrong
h~th6ng.
BieunaykhacVOlDexter.Trongmoh'inhDexter,anchordu'Qcxacdinhb~ngC?p(id
component,id anchor)va id anchordu'Qcdinh nghiatu'ongd6i trongph<;1mvi
componentchliaanchordo.Bieu nayd~ndencacanchord nhfi'ngcomponentkhac
nhau,cothScocungid.
Voi cacanchorla toanbQcomponent,neuthongtin tr'inhdi~nho?cthongtin ngfi'
nghlacuachungkhacnhauth'ichungsedu'Qcxacdinhla caccomponentkhacnhau.
AnchorchidentoanbQcomponentco thSla anchordanhda'uho?cla anchorkhong
danhda'u.Neula anchordanhda'uchidentoanbQcomponent,h'ianchornayconQi
dungla tr6ng.Neula anchorkhongdanhda'u,th'inQidungcuaanchornaycochiden
toanbQcomponenthaykhong,la tuythuQcvaonQidungdu'Qcxacdinhbdi ngu'oi
dungho?cdolinktruyxua'tdenanchornay.
11.5-Anchor va giaodi~nngtiOidung
. VOlcacanchorngu6n(anchorcoit nha'tmQtlinkhu'ongrakhoicomponent): neu
la10<;1idanhda'uth'icacanchornayluondu'QchiSnthicungVOlcomponent;neula
10<;1ikhongdanhda'uth'ingu'oidungse chQncacanchor10<;1inaythongquacac
dialogbox,button,menu,...
. Voi cacanchordich(anchorchico caclink hu'ongvao): chidu'QchiSnthi neu
anchornayviladu'Qctruyxua'tden.Ngoaira,ngu'oidungcondu'Qclingca'ptuy
chQnhiSnthiho?ckhonghiSnthita'tcacacanchordich,caccomponenttruyxua't
denanchornay,...
Cacanchordichco thSla 10<;1ianchorkhongdanhda'u.Vi dVtrongmQtcdsddfi'li~u
quanh~,khi ngu'oidungsli'dvngpheptoanchQndSxacdinhmQtvungCIamQtt?P
cacdong)trongbangthlinha't.SaildotheomQtlinkla pheptoanketn6i (join)dSdi
chuySnsangbangthlibal.Ket quatinhtoancualinknayla caccQtdungtrongphep
chQn.Ket quanaydu'QchuySnchoanchordich.Vi~cxacdinhvi tri cuaanchornay
du'Qctienhanhb~ngcachdungpheptoanchieu.R6 rangtrongtru'onghQpanchor
dichla10<;1ikhongdanhda'u,vi tricuaanchorchidu'Qcxacdinhvaoluctruyxua'theo
link. ..
III. Compositecomponent
Mo hlnhAmsterdamthvccha'tlamohlnhDextercothemmQts6b6sungdvatren
cacyellc~ucuah~th6nghypermedial cachdinhthaigianchocaccomponentla
mediava m6i quanh~tr'inhdi~ngifi'acac componenttrongmQtcomposite
component.
..
33
Tuy v~y,va'nded~tra la li~ucacb6sungnaycobaaquatmQitrinhdi€n co th€ co
haykhong?Vi d\,l,trinhdi€n yell cguchi th11chi~nmQtphgncuamediava l~pl<;1i
lient\,lcchode'nkhicuQnquahe'tmQtcomponentvanbankhac.
TrongmohlnhAmsterdam,compositecomponentkhongchU'anQidungdfi'li~utrlnh
di~nmachihill trfi'cacm6ilienh~thaigiangifi'acaccomponentconvam6ilienh~
thaigiangiii'acomponentcha-componentcon.Nhu'ngnhu'v~y,mohlnhnaydiicU'ng
hoavi~ct<;10mQtrinhdi€n ti1'caccomponent.
Ti1'quandi€m h~th6ngmdtrongmohlnhDexter,ta se tachcd che't6nghQpcac
componentt<;10ratrinhdi~nthanhmQtlopdu'Qcd~td tftngbell trong.Tu'dngt\fnhu'
component,vi~cdinhnghlamQtlopcompositecomponentse donhii'ngngu'aiphat
tri€n richhQpvaoh~th6ng.
B~ngcachdu'acdche't6nghQpcaccomponentthanhtrinhdi~nvaolop dinhnghla
compositecomponent,vi~cdieu khi€n s11trinh di€n cac componentcon trong
compositetrdnendad<;1ng,linhho<;1thdn;khongchiconla mQt"mftu"duynha'tdo
h~th6ngapd~tnhu'trongmohlnhAmsterdam.Nhu'v~y,khikichho<;1tmQtlinktrong
compositecomponent,caccomponentconnaotie'pt\,lctrlnhdi~n,ngu'ngl<;1i,haybie'n
ma'tlados11dieukhi€n cuacompositecomponent.
Voi ca'utrucnay,compositecomponentsekhongcodii'li~u(trinhdi€n), machico
thongtin ngii'nghla,thongtin trinhdi€n (chocaccomponentcon),danhsachcac
componentthanhphgnvadanhsachcacanchor.Ti1'thongtinngfi'nghla,h~th6ngxac
dinhdu'Qclopdinhnghlacompositecomponentnayvasedungthongtin trinhdi€n
dinhnghlatrongcomposited€ th\fchi~nvi~ctrinhdi~ncaccomponentcon,trong
compositedo.Cacanchortrongcompositecomponentdu'Qcdinhnghlala t~panchor
ti1'cacatomic omponenttrongcompositecomponentdo.
Vi d\,lt<;1omQtcompositecomponentlamQtdanhsachcacth\fcv~ts6ngdu'Qctrongsa
m<;1c.Compositecomponentseg6mt~pcaccomponentth11Cv~ts6ngtrongsam<;1c.
Lopdinhnghlacompositesexacdinhvi~ctrinhdi€n cactenth11cv~thanhmQtdanh
sach,voicacthanhphgntrongdanhsachdu'Qcla'yti1'tencuacaccomponentcon.
Compositecomponentlu'ucacthongtintrlnhdi~nla mallchfi',mallnell,kichthu'oc
vavi tri cd'as6,ki€u vacochfi',...nhu'ngnQi dungcua compositela rang, nghlala
khonglu'utencuaba'tkycomponentconnaGtru'oc.
Khi du'Qcyell du trinhdi€n, compositecomponentse n<;1ptencuacaccomponent
thanhphgnvaocomponentlistbox.Vi~cbi€u di€n cacth\fCv~ts6ngtrongsam<;1cse
docomponentlistboxth\fchit$n.
34
Compositecomponent List box
Danhsachcac componentcon Tencomponent1
Tencomponent2
cKutruccomposite Trinh dieDcomposite
mnh 12-ctu trucvas1/.trlnhdi~ncompositecomponent
Vi~cdu'adinhnghIacompositecomponentvaothanhphgnbell trongdalamchoh~
thdngcokhanangchopheptichhQpmQitrlnhdi€n coth€ comakhonglamphuct?P
themmohlnh.Khi do,cachthuct6nghQpcactrlnhdi€n thanhmQtrlnhdi€n Ionhdn
trongmohinhAmsterdamsetrdthanhmQtlopdu'QcdinhnghIatungoaivadu'QCtich
h9Pvaotc1ngbelltrongcuamohinhmaio
Ngoaifa,khaini~mkenhtrlnhdi€n sekhongconcc1nthiel,VI :
. M6i component,k€ eacompositecomponent,delidu'QcdinhnghIathanhmQtlop.
Trong dinh nghIalop da xac dinh thongtin trinh di€n mi;lcdinh cho cac
component- la mQthinhthuckhaccuakhaini~mnhomcackenhtrlnhdi€n thanh
mQtlayoutnhu'trongmohinhAmsterdam.
. Vi~cki€m tra sv quatai tai nguyencling do lop dinh nghIacompositechili trach
nhi~m.M6i loptvxacdinhcc1nhii'nglo?icomponentconnaotrongtrlnhdi€n, tu
dococachki€m traquataitainguyenthichhQp.
IV- Anchor trongcompositecomponent
NeulopdinhnghIacompositecomponentkhongxacdinhro,thltrongtru'ongh9Pcac
anchortrongcompositecogiaokhacr6ngvoinhau,taxemxetcactru'ongh9Psail:
. Khi caccomponentcoquailh~t6 lien voi nhau,tatheonguyendc u'ulien cho
cacthongtinearnngii'eanhhdncacthongtinphingii'eanh.Tuy V?y,composite
componentv~ncoth€ di;ltl?i thutvu'uliennay.
Tronghinhsail,cacanchorcuacomponent3 vacomponent4 cophgngiaolacac
anchortrongcomponent5. Vi component4 va component5 dangdu'Qckich ho?t
trongph?mvi component3,nenngii'eanhtrongtru'onghQpnayla component3.Khi
ngu'oidungchQnvaophgngiaola mQtanchortrongcomponent5, thl anchorcua
component3du'Qcu'ulienhdn.
35
~.........
,i u uu
{-
/ 8
\
3]
. i,/! \
'l/ ~
sX/i
0 atomiccomponent-
8 compositecomponent
-----
Hinh 13-811giaonhaucuacacanchortrongnhungcomponent
coquailh~t6 tieDvOinhau
. Khi caccomponentkh6ngcoquanht%t6tienvdinhau,compositecomponentphih
xacdinhcacanchorcogiaovdivungdu'QchQnvahoingu'oidungchQnanchor
naotrangs6do.Tranghlnhsau,cacanchorcuacomponent2 vacomponent4 co
phcingiaola mQtanchortrongatomiccomponent5,Ngu'oidungphilixacdinhla
hQchQnanchorthuQcomponent2 haycomponent4.
'A-" -',,: :, 0, 0
\) : 83
/ :"-/--/\
0 " "'
/
4: 8
, " 0
~ ... :
:/ ", .:" ','
" "
:: 0: ,:
0 0 5 0,': .. ,,','
: ', ',-'
0--------
Hinh 14-811giaonhaucuacacanchortrongnhung
componentkh(')ngcoquailh~t6 tieDvOinhau
36
V-Link
V.I- Link vaanchorkh6ngdanhd«u
TheomohlnhDexter,linkbaog6mmQtdaycuahaihaynhi€u d§un6ivalinkduQc
kichho(;ltsethl;l'chit?nquatrlnhchQnra mQthoiflcnhi€u anchordichtucacd§un6i
TO cualinknay.
v.l.l- Ljnk tinhtoaDxaca/nhn(Jjdunganchoraich
Theosl;l'phanrichtrongchuang2.1.7-Anchor,vi tri anchorkhongdaubda'uchiduQc
xacdinhthongquamQts6tinhroan.VI V?y,khidi dQctheomQtlinkd€ troyxua'tde'n
cacanchorkhongdaubda'u,linknayphaixacdinhnQidungcuaanchordichtucac
thongso'cuaanchorngu6n.Dodolinkconla mQtie'ntrlnhxacdinhnQidunganchor
dich.
V.1.2-Ljnk tfnhtoaDxac a/nhjd cuaanchoraich
Khi Dextercha'pnh?nlinktinhroanvaanchorkhongdaubda'u,dad~nde'nht?quala
conhii'nglinkconhii'ngd§un6iTO khongcoid anchor.Khi componentkichho(;ltlink
vatruy€nthongso',linkco th€ dl;l'atrenthongso'naymachQnfa id componentdich
vakichhO(;ltcomponentdo.
id anchordich=idanchor
Hlnh 15-Ddunolkhongxacdinhtructcid
V.2- C«u truc cualink component
VI linklamQtie'ntrlnhxU'ly nenlinksekhongcothongtintrlnhdi~n.Clingtuang
W'nhucaccomponentkhac,cacloplinknaylamQthanhph§nngoaiht?th6ng,thuQc
37
Linkcomponent
Textcomponent
Anchorkhongdanhdffu Khongcoid
Thongtintrlnhdin HuangFROM
Khongcoid
I HuangTO
vaot~nghentrong,nenchungcotheduqcb6sung,suad6iba'tky lucnaomakhong
anhhuangde'nh~th6ng.
Khaini~mcompositevaanchorclingkhongapdl,lllgchocaclinkcomponent.Nhudi'i
trlnhbay trongchuang3.11.3-Thongtin trlnhdi~nanchor,d~un6i se khongchli'a
thongtin trlnhdi~nanchor.D~un6i se chi baog6mid cuaanchorcomponentva
huang.
Vi~cd~un6ichichli'aid cuaanchorcomponentcondfinde'nmQti~nlqi khac.Trong
mohlnhDexter,khikichho~tmQtcomponentb~ngdongl~nh,nguoidungphaicho
bie'tencomponent(h~th6ngseHmduqcid tuangli'ngcuacomponent);conkhikich
ho~tcomponentdQctheolink,h~th6ngphaibie'tid componentva id anchor(trong
componentdo).Khi xemanchorla component,hl trongca hai tru'onghqp- b~ng
dongl~nhhaydQctheomQtlink- h~th6ngchidn bie'ten(ho~cid)component.Khi
anchorcomponentduqckichho~thlh~th6ngseHmduqcvakichho~tcomponent
tuangli'ngchli'aanchordo.
ffmh 16-Vi d1)v~linkcomponent
Link duQct~ob~ngbQso~nthaolink.NguoidungchQncacanchorngu6n,anchor
dich.H~th6ngsehienthicacloplink thichhQp.NguoidungsechQnmQtlop link,
d~tenvaxacdinhcacthongso'(t~othanhnQidung)cholinkvilat~o.
38
ComponentA ComponentB
Anchora Anchorb
ThOngtintrlnhdin ThOngtintrlnhdin
Link component
Id anchora
HuangFROM
Id anchorb
HuangTO
V.3- Cae link khongeh~t
Ngu'Qcl(;livdimohinhDexter,Halasz[2]du'aracac19doh6trQlinkthongch?t:
. Chopheptrlhoanvii$cciflpnhifltvathudci)llracsailcacthaotacxoacomponentva
anchor.Di€u naylac6ichkhi linkdn du'Qcxoahaythayd6idangn~mtrenmQtmay
khachaydangbikhoaboimQtngu'oidungkhac.
. C6 ichtrangcactlnhhuo'ngmadfi'lii$ucuacomponentn~mngoaisvdi€u khien
cuahi$tho'ng.Nghlala khi dfi'lii$ucuacomponentdu'Qclu'utrongcactiflptin rieng
bii$tvacactiflptinnayc6thebi xoahaybi doichuyen.
. Cacdguno'i(chiVaGanchorhaycomponentvuabi xoa)c6thedu'QCd?ttroVaG
mQtcomponenthaymQtanchornaGkhacmathongdn phaica'utrucl(;litoanbQlink.
. Caclinkthongch?tdu'Qco'tinht(;lOradedanhch6chocacnutho?cdiemneoa
dguno'icualink,macacnutho?canchornayv~nconchu'adu'Qct(;lOfa.
ClingtheoHalasz,Svhii$ndii$ncuacaclinkthongch?tnhu'viflydu'Qcgiamsatboihi$
tho'ng- ho?cb~ngli$nhho?cdu'Qcthvchii$ntvdQng.Ngu'oidungsedu'Qcnh~cno'il(;li
cacdguno'ibi "tha'tl(;lc"cualink.
C6 4 tlnhhuo'ngv€ link thongch?tnaysinhtrangmQthi$hypertextxaydvngtheo
mohinhDexter:
1)Caccomponentadguno'icualinkdabixoa.
2)Anchormalinkthamchie'uWidabi xoa.
3) Cacdo'itu'Qngdfi'lii$udu'QcnQidungcuacomponentthamchie'uWi la thongsli'
dl,lllgdu'Qc.
4)GiatrianchorthonghQpli$.
Tranghaitru'onghQpdgutien,cacthaotacxoalamthayd6icacdo'itu'Qngdich;d~n
tdivii$cnhfi'ng19ntruyxua'tsaild6bi lo(;litIll.
Hai tru'onghQpsailthu'ongla ke'tquacuacacthaotaca ngoaisvdi€u khi€n cuahi$
tho'ng.Vi dv, cacdo'itu'Qngdfi'lii$ulamnQidungcuacuacomponentse tro nen
thongdungdu'Qcne'unQidungcuacomponentla tentiflptinvatiflptinnaydabi di
chuy€nhaybi xoa(tru'onghQp3).
Trangtru'onghQp4,dfi'lii$udu'QcxacdinhboinQidunganchortronenthonghQpli$
khi cacphgnlienquancuacomponentdabi thayd6ib~ngcacbQso(;lnthaoa ngoai
hi$tho'ng.N6i chungthltlnhhuo'ngnayla thongthephathii$ndu'QC,VIcacanchorc6
thev~nla hQpli$.Vi dVkhi componentla textvaanchorla mQtdo(;lnvan.Ne'unQi
dungtext bi thayd6i boi mQtbQ so(;lnthaoa ngoaihi$tho'ng,thl anchorcua
componentnayv~nc6thexacdinhdungd~nmQtdo(;lnvantrangtextd6- nhu'ngnQi
dungtexttrangvungxacdinhboianchorlahoantoanthayd6i.
Hannfi'a,cac19Ie cho'ngl(;liHalaszconla :
39
. Co nencha'pnh?nst{trlhoanvi~cC?pnh?tvadQnnk haykhong?Dieunaycon
ph'QthuQcvaovi~cph<ittrienngonnguhotvacacrangbuQctrenHMDB.
Cacthaotacxoa,dichuy€ncaccomponentduQchfutrongcact?Ptinriengcothe
duQCnganch~nbAngcaccdche'cuah~di€u hanh.Vi~csli'ad6icomponentchI
du<;1ctie'nhanhbAngcaclingd'Qngcoh6trQchoHMDB.
Vi~cxoacaccomponentphiiituanthuch~tchetheothlitt{:xoalink,xoaanchor,
vasailcunglaxoacomponent.
.
.
V.4-Link dim ngiicanh
Mo hlnhVilas- SatidSingkorapoomduarakhatni~mlienke'tearnngudmhnhung
chideh6trQchomQtlo~itrlnhdi€n d~cbi~tla l~nluQthienthicacthongtinthliye'u
ph'QthuQcvaod~ngdanhsachcuathongtinchuye'u.TrongmohlnhVilas - Satid
khongcokhatni~manchor.
Mo hlnhAmsterdamduarakhatni~mngueanhcualink, la nhungcomponentcon
trongcompositebi anhhuangkhi linknayduQckichho~t.
(j day,tasecattie'nmohlnhDexterbAngcachdungkhatni~mlinkearnngucanh.
Link earnngueanhla link chi t6nt~itrongph~mvi mQtcompositecomponent.
Nhunglinklo~inaylakhongtha'yduQctircaccomponentkhac.
Khai ni~mlink earnngucanhcungVOlvi~cdinhnghlal~icompositecomponent
(xemIII-Compositecomponent)nh~mh6trQchovi~ct6nghQpcaccomponentthanh
mQttrlnhdi€n. Link camngucanhclingca'pst{lienh~giuacaccomponenttrong
ph~mvi composite.Cdche't6nghQptrongdinhnghlalopcompositethlxacdinhcach
thlictrlnhdi€n cacnQidungla'ytircaccomponentcon.
Tadn lu'uy st{khacnhaugiuacackhatni~mngucanh.
. "Ngucanh"trongmohlnhAmsterdamla t?Pcaccomponenttrongca'utrucdiy
phanca'pvacaccomponentnayamliccaohdncomponentcolinkduQchQil
. "Ngucanh"trongmohlnhVilas-Satidla thanhph~ncuacompositenodedang
duQckichho~t.
. "Ngueanh"duQcxetadaylat?Pcaccomponentconcuacompositenode
Vi d'Qcompositecomponentg6mcomponentla mQtdo~nvideoduQcph'Qdeb~ng
mQtcomponentla mQtdo~ntext.Giuahatcomponentnayco linkke'tn6ichungVOl
nhau.Linkke'tn6igiuachungchitha'yduQctrongph~mvi cuacompositecomponent.
Khi trlnhdi€n chungdQcl?pho~ctrlnhdi€n trongph~mvi mQtcompositecomponent
khac,st{ke'tn6igiuacomponentvideovacomponenttexttrensekhongKayfa.
40
Video Van ban
.........................................................
1llliliilii:lillllilillllllliiiillllllillllllliillllllIIIIIIII
Componentvideo
" " "",." "...................................................................................................
-
Componenttext
Hinh 17-CaccomponentdQcl~p
Video
Vanban
Hinh 18-Caccomponentrongph~mvi composite
41
V .5-Chi~udai media
TrangmahlnhAmsterdam,cachdinhthaigianchocaccomponentIii mediavii m6i
quailh<$trlnhdi~ngifi'acaccomponentdu'Qcxacdinhb~ngcacclingd6ngbe)trang
compositecomponent.Cacclingd6ngbe)dinhnghlam6ilienh<$thaigiand d<;1ngcac
khoangthaigiantr~t6ithieuvii t6idagifi'acackhoangtrlnhdi~ncuacaccomponent
media.
Xemm6ilienh<$thaigiangifi'ahaicomponentmediasail:
Thaigian
.
I!!!!!m!!!!!!!!!!!mm!!!!t::ii:@gmmmmmmmmmmmmmmCo ponent1
Anchor
Component2
llinh 19-Lien h~thO'igiangiii'acaemedia
Tronghlnhtren,sailkhi component1 trlnhdi~ndu'Qc30giaythl component2 b~t
dc1utrlnhdi~n.Tuy V?y,va'nde nay sinh Iii khi ngu'aidungyeti cc1utrlnhdi~n
component1d t6cde)nhanhga'pdaithldieucothexayra Iii component1dacha'm
dlitr6i thlcomponent2 moitrlnhdi~n.Trangthvcte',vi<$cxacdinhcomponent2 b~t
dc1utrlnhdi~nkhicomponent1trlnhdi~nde'nme)tdo<;1nniiodosehQpIy hdnIii vi<$c
xacdinhcomponent2 b~tdc1utrlnhdi~nkhi component1 trlnhdi~ndu'Qcme)thai
gianniiodo.
Nhu'V?y,ta co thethaythe'khaini<$mthaigiantrlnhdi~nmediab~ngkhaini~m
chieudiii media.ChieudiiimediaIii khaini~mdungdeIu'Qnghoasvtrlnhdi~ncua
mediado.Vi d\!,voimediaIii videothlchieudiiimediadu'Qctinhb~ngso'frame;voi
mediaIii amthanhthlchieudaimediasetinhb~ngthaigiantrlnhdi~ntheoddnvi
giayd t6cde)thu'angcuat?Ptinamthanhdo.
42
Cae ddnvi dil'li<%utrongmedia
.
Component1
Component2
ffinh 20-Lien h~giiiacaemediatheochi~udid
Voi khaini~mchieudaimedia,m6iquailh~trlnhdi€n giuacacmediasekhangphi).
thuQcvaot6cdQtrlnhdi€n cuaph§nclingho~cvaovi~cchQnchedQthtfchi~ntrlnh
di€n nhanhhaych~m.
ThaychocacclingdangbQ,tadinhnghlathemmQtlOpanchord~cbi~tchocaclop
media.Lop anchornayxacdinhmQtdol;lntrenchieudaimedia.Vi di).mediala video
cochieudaila 50frame,thlco thecomQtanchorthaigianla khoang(20,30)ch~ng
hl;ln.Nghlala trongkhoangtueanh20deneanh30cuatrlnhdi€n, nguaidungchQn
anchortrencomponentvasekfchhol;ltcaclinknaodoxua'tphMtu anchornay.Chli
y lad day,nguaidungco thechQnanchorthaigianthongquamQtphuongti~nnao
donhubuttonch~nghl;ln.
B~ngcachthemkhaini~mlinkcamngueanhvakhaini~mchieudaimediavaoma
hlnhDexter,ta co thetl;lOra cackhanangdangbQthaigiangiuacaecomponent
medianhutrongmahlnhAmsterdam.ClingdangbQgiua2 componenttrongmQt
composite(trongmahlnhAmsterdam)setuongduongnhumQtlink earnngueanh
giua2 componentdovacocacd§un6itrodencacanchorthaigian.
Tuy nhien,docompositekhangconQidungriengnenkhangthecocacanchorthai
giantrencomposite.Dieunaydfindenvi~ckhangthedinhthaigiantrlnhdi€n cho
caccomponentcontrongcompositeb~ngkhaini~mchieudaimedia.
Nhudatrlnhbaytrongchuang3.III, compositecomponentclingla mQtthanhph§n
duQcdinhnghlatungoaivaduQcd~td thanhph§nbelltrongcuah~th6ng.Tu do,ta
co thegiai quyetva'ndedinhthaigiantrlnhdi€n chocaccomponentconb~ngcac
cachsail:
. Do thaigiantrlnhdi€n caccomponentconluanduQcxacdinhke tu llic biitdc1u
trlnh di€n composite.Han nua, thai diem trlnh di€n componentcon trong
43
.compositeladQcli;lp,khongpht;lthuQcho~canhhuangde'nba'tky componentcon
naokhactrongcomposite.Taco thexemthongtinnaynhula mQthongtintrlnh
di€n cuacomposite.Nhungcachnaykhongthui;lnti<$nkhi thayd6i tdcdQtrlnh
di€n compositecomponent.
Co thedungmQtmedialamnSnxuyensudtst;l'trlnhdi€n composite.Thai gian
trlnhdi€n caccomponentconkhacduQcxacdinhtheocacanchortrenmedianSn
nay.De khonganhhuangde'nst;l'trlnhdi€n cuacaccomponentconkhac,media
nSnco thela mQtcomponentamthanhkhongtie'ng,ho~cmQtcomponentvideo
cota'tcaframedSulacach'inhtrongsudt.
._.