1. Trang chủ
  2. » Khoa Học Tự Nhiên

CakePHP cookbook

158 2 0

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 158
Dung lượng 1,14 MB

Nội dung

&DNH3+3 &RRNERRN  %HJLQQLQJ :LWK &DNH3+3 :HOFRPH WR WKH &RRNERRN WKH PDQXDO IRU WKH &DNH3+3 ZHE DSSOLFDWLRQ IUDPHZRUN WKDW PDNHV GHYHORSLQJ D SLHFH RI FDNH 7KLV PDQXDO DVVXPHV WKDW \RX KDYH D JHQHUDO XQGHUVWDQGLQJ RI 3+3 DQG D EDVLF XQGHUVWDQGLQJ RI REMHFWRULHQWHG SURJUDPPLQJ 223  'LIIHUHQW IXQFWLRQDOLW\ ZLWKLQ WKH IUDPHZRUN PDNHV XVH RI GLIIHUHQW WHFKQRORJLHV ² VXFK DV 64/ -DYD6FULSW DQG ;0/ ² DQG WKLV PDQXDO GRHV QRW DWWHPSW WR H[SODLQ WKRVH WHFKQRORJLHV RQO\ KRZ WKH\ DUH XVHG LQ FRQWH[W :KDW LV &DNH3+3" :K\ 8VH LW" &DNH3+3 LV D IUHH RSHQVRXUFH UDSLG GHYHORSPHQW IUDPHZRUN IRU 3+3 ,W¶V D IRXQGDWLRQDO VWUXFWXUH IRU SURJUDPPHUV WR FUHDWH ZHE DSSOLFDWLRQV 2XU SULPDU\ JRDO LV WR HQDEOH \RX WR ZRUN LQ D VWUXFWXUHG DQG UDSLG PDQQHU±ZLWKRXW ORVV RI IOH[LELOLW\ &DNH3+3 WDNHV WKH PRQRWRQ\ RXW RI ZHE GHYHORSPHQW :H SURYLGH \RX ZLWK DOO WKH WRROV \RX QHHG WR JHW VWDUWHG FRGLQJ ZKDW \RX UHDOO\ QHHG WR JHW GRQH WKH ORJLF VSHFLILF WR \RXU DSSOLFDWLRQ ,QVWHDG RI UHLQYHQWLQJ WKH ZKHHO HYHU\ WLPH \RX VLW GRZQ WR D QHZ SURMHFW FKHFN RXW D FRS\ RI &DNH3+3 DQG JHW VWDUWHG ZLWK WKH UHDO JXWV RI \RXU DSSOLFDWLRQ &DNH3+3 KDV DQ DFWLYH GHYHORSHU WHDP DQG FRPPXQLW\ EULQJLQJ JUHDW YDOXH WR WKH SURMHFW ,Q DGGLWLRQ WR NHHSLQJ \RX IURP ZKHHOUHLQYHQWLQJ XVLQJ &DNH3+3 PHDQV \RXU DSSOLFDWLRQ¶V FRUH LV ZHOO WHVWHG DQG LV EHLQJ FRQVWDQWO\ LPSURYHG +HUH¶V D TXLFN OLVW RI IHDWXUHV \RX¶OO HQMR\ ZKHQ XVLQJ &DNH3+3 $FWLYH IULHQGO\ FRPPXQLW\ )OH[LEOH OLFHQVLQJ &RPSDWLEOH ZLWK YHUVLRQV  DQG  RI 3+3 ,QWHJUDWHG &58' IRU GDWDEDVH LQWHUDFWLRQ $SSOLFDWLRQ VFDIIROGLQJ &RGH JHQHUDWLRQ 09& DUFKLWHFWXUH 5HTXHVW GLVSDWFKHU ZLWK FOHDQ FXVWRP 85/V DQG URXWHV %XLOWLQ YDOLGDWLRQ )DVW DQG IOH[LEOH WHPSODWLQJ 3+3 V\QWD[ ZLWK KHOSHUV 9LHZ +HOSHUV IRU $-$; -DYD6FULSW +70/ )RUPV DQG PRUH (PDLO &RRNLH 6HFXULW\ 6HVVLRQ DQG 5HTXHVW +DQGOLQJ &RPSRQHQWV )OH[LEOH $&/ 'DWD 6DQLWL]DWLRQ )OH[LEOH &DFKLQJ /RFDOL]DWLRQ :RUNV IURP DQ\ ZHE VLWH GLUHFWRU\ ZLWK OLWWOH WR QR $SDFKH FRQILJXUDWLRQ LQYROYHG  8QGHUVWDQGLQJ 0RGHO9LHZ&RQWUROOHU  2YHUYLHZ &DNH3+3 IROORZV WKH 09& VRIWZDUH GHVLJQ SDWWHUQ 3URJUDPPLQJ XVLQJ 09& VHSDUDWHV \RXU DSSOLFDWLRQ LQWR WKUHH PDLQ SDUWV  7KH 0RGHO UHSUHVHQWV WKH DSSOLFDWLRQ GDWD  7KH 9LHZ UHQGHUV D SUHVHQWDWLRQ RI PRGHO GDWD  7KH &RQWUROOHU KDQGOHV DQG URXWHV UHTXHVWV PDGH E\ WKH FOLHQW )LJXUH  $ %DVLF 09& 5HTXHVW )LJXUH  VKRZV DQ H[DPSOH RI D EDUHERQHV 09& UHTXHVW LQ &DNH3+3 7R LOOXVWUDWH DVVXPH D FOLHQW QDPHG 5LFDUGR MXVW FOLFNHG RQ WKH ³%X\ $ &XVWRP &DNH 1RZ ´ OLQN RQ \RXU DSSOLFDWLRQ¶V KRPH SDJH 5LFDUGR FOLFNV WKH OLQN SRLQWLQJ WR KWWSZZZH[DPSOHFRPFDNHVEX\ DQG KLV EURZVHU PDNHV D UHTXHVW WR \RXU ZHE VHUYHU 7KH GLVSDWFKHU FKHFNV WKH UHTXHVW 85/ FDNHVEX\ DQG KDQGV WKH UHTXHVW WR WKH FRUUHFW FRQWUROOHU 7KH FRQWUROOHU SHUIRUPV DSSOLFDWLRQ VSHFLILF ORJLF )RU H[DPSOH LW PD\ FKHFN WR VHH LI 5LFDUGR KDV ORJJHG LQ 7KH FRQWUROOHU DOVR XVHV PRGHOV WR JDLQ DFFHVV WR WKH DSSOLFDWLRQ¶V GDWD 0RGHOV XVXDOO\ UHSUHVHQW GDWDEDVH WDEOHV EXW WKH\ FRXOG DOVR UHSUHVHQW /'$3 HQWULHV 566 IHHGV RU ILOHV RQ WKH V\VWHP ,Q WKLV H[DPSOH WKH FRQWUROOHU XVHV D PRGHO WR IHWFK 5LFDUGR¶V ODVW SXUFKDVHV IURP WKH GDWDEDVH 2QFH WKH FRQWUROOHU KDV ZRUNHG LWV PDJLF RQ WKH GDWD LW KDQGV LW WR D YLHZ 7KH YLHZ WDNHV WKLV GDWD DQG JHWV LW UHDG\ IRU SUHVHQWDWLRQ WR WKH FOLHQW 9LHZV LQ &DNH3+3 DUH XVXDOO\ LQ +70/ IRUPDW EXW D YLHZ FRXOG MXVW DV HDVLO\ EH D 3') ;0/ GRFXPHQW RU -621 REMHFW GHSHQGLQJ RQ \RXU QHHGV 2QFH WKH YLHZ KDV XVHG WKH GDWD IURP WKH FRQWUROOHU WR EXLOG D IXOO\ UHQGHUHG YLHZ WKH FRQWHQW RI WKDW YLHZ LV UHWXUQHG WR 5LFDUGR¶V EURZVHU $OPRVW HYHU\ UHTXHVW WR \RXU DSSOLFDWLRQ ZLOO IROORZ WKLV EDVLF SDWWHUQ :H OO DGG VRPH GHWDLOV ODWHU RQ ZKLFK DUH VSHFLILF WR &DNH3+3 VR NHHS WKLV LQ PLQG DV ZH SURFHHG  %HQHILWV :K\ XVH 09&" %HFDXVH LW LV D WULHG DQG WUXH VRIWZDUH GHVLJQ SDWWHUQ WKDW WXUQV DQ DSSOLFDWLRQ LQWR D PDLQWDLQDEOH PRGXODU UDSLGO\ GHYHORSHG SDFNDJH &UDIWLQJ DSSOLFDWLRQ WDVNV LQWR VHSDUDWH PRGHOV YLHZV DQG FRQWUROOHUV PDNHV \RXU DSSOLFDWLRQ YHU\ OLJKW RQ LWV IHHW 1HZ IHDWXUHV DUH HDVLO\ DGGHG DQG QHZ IDFHV RQ ROG IHDWXUHV DUH D VQDS 7KH PRGXODU DQG VHSDUDWH GHVLJQ DOVR DOORZV GHYHORSHUV DQG GHVLJQHUV WR ZRUN VLPXOWDQHRXVO\ LQFOXGLQJ WKH DELOLW\ WR UDSLGO\ SURWRW\SH 6HSDUDWLRQ DOVR DOORZV GHYHORSHUV WR PDNH FKDQJHV LQ RQH SDUW RI WKH DSSOLFDWLRQ ZLWKRXW DIIHFWLQJ RWKHUV ,I \RX YH QHYHU EXLOW DQ DSSOLFDWLRQ WKLV ZD\ LW WDNHV VRPH JHWWLQJ XVHG WR EXW ZH UH FRQILGHQW WKDW RQFH \RX YH EXLOW \RXU ILUVW DSSOLFDWLRQ XVLQJ &DNH3+3 \RX ZRQ W ZDQW WR GR LW DQ\ RWKHU ZD\  %DVLF 3ULQFLSOHV RI &DNH3+3 7KH 6WDUW RI %HFRPLQJ D 6PDUW &RRNLH  &DNH3+3 6WUXFWXUH &DNH3+3 IHDWXUHV &RQWUROOHU 0RGHO DQG 9LHZ FODVVHV EXW LW DOVR IHDWXUHV VRPH DGGLWLRQDO FODVVHV DQG REMHFWV WKDW PDNH GHYHORSPHQW LQ 09& D OLWWOH TXLFNHU DQG PRUH HQMR\DEOH &RPSRQHQWV %HKDYLRUV DQG +HOSHUV DUH FODVVHV WKDW SURYLGH H[WHQVLELOLW\ DQG UHXVDELOLW\ WR TXLFNO\ DGG IXQFWLRQDOLW\ WR WKH EDVH 09& FODVVHV LQ \RXU DSSOLFDWLRQV 5LJKW QRZ ZH¶OO VWD\ DW D KLJKHU OHYHO VR ORRN IRU WKH GHWDLOV RQ KRZ WR XVH WKHVH WRROV ODWHU RQ  &RQWUROOHU ([WHQVLRQV $ &RPSRQHQW LV D FODVV WKDW DLGV LQ FRQWUROOHU ORJLF ,I \RX KDYH VRPH ORJLF \RX ZDQW WR VKDUH EHWZHHQ FRQWUROOHUV RU DSSOLFDWLRQV D FRPSRQHQW LV XVXDOO\ D JRRG ILW $V DQ H[DPSOH WKH FRUH (PDLO&RPSRQHQW FODVV PDNHV FUHDWLQJ DQG VHQGLQJ HPDLOV D VQDS 5DWKHU WKDQ ZULWLQJ D FRQWUROOHU PHWKRG LQ D VLQJOH FRQWUROOHU WKDW SHUIRUPV WKLV ORJLF \RX FDQ SDFNDJH WKH ORJLF VR LW FDQ EH VKDUHG &RQWUROOHUV DUH DOVR ILWWHG ZLWK FDOOEDFNV 7KHVH FDOOEDFNV DUH DYDLODEOH IRU \RXU XVH MXVW LQ FDVH \RX QHHG WR LQVHUW VRPH ORJLF EHWZHHQ &DNH3+3¶V FRUH RSHUDWLRQV &DOOEDFNV DYDLODEOH LQFOXGH EHIRUH)LOWHU H[HFXWHG EHIRUH DQ\ FRQWUROOHU DFWLRQ ORJLF EHIRUH5HQGHU H[HFXWHG DIWHU FRQWUROOHU ORJLF EXW EHIRUH WKH YLHZ LV UHQGHUHG DIWHU)LOWHU H[HFXWHG DIWHU DOO FRQWUROOHU ORJLF LQFOXGLQJ WKH YLHZ UHQGHU 7KHUH PD\ EH QR GLIIHUHQFH EHWZHHQ DIWHU5HQGHU DQG DIWHU)LOWHU XQOHVV \RX¶YH PDQXDOO\ PDGH D FDOO WR UHQGHU LQ \RXU FRQWUROOHU DFWLRQ DQG KDYH LQFOXGHG VRPH ORJLF DIWHU WKDW FDOO  9LHZ ([WHQVLRQV $ +HOSHU LV D FODVV WKDW DLGV LQ YLHZ ORJLF 0XFK OLNH D FRPSRQHQW XVHG DPRQJ FRQWUROOHUV KHOSHUV DOORZ SUHVHQWDWLRQDO ORJLF WR EH DFFHVVHG DQG VKDUHG EHWZHHQ YLHZV 2QH RI WKH FRUH KHOSHUV $MD[+HOSHU PDNHV $MD[ UHTXHVWV ZLWKLQ YLHZV PXFK HDVLHU 0RVW DSSOLFDWLRQV KDYH SLHFHV RI YLHZ FRGH WKDW DUH XVHG UHSHDWHGO\ &DNH3+3 IDFLOLWDWHV YLHZ FRGH UHXVH ZLWK OD\RXWV DQG HOHPHQWV %\ GHIDXOW HYHU\ YLHZ UHQGHUHG E\ D FRQWUROOHU LV SODFHG LQVLGH D OD\RXW (OHPHQWV DUH XVHG ZKHQ VPDOO VQLSSHWV RI FRQWHQW QHHG WR EH UHXVHG LQ PXOWLSOH YLHZV  0RGHO ([WHQVLRQV 6LPLODUO\ %HKDYLRUV ZRUN DV ZD\V WR DGG FRPPRQ IXQFWLRQDOLW\ EHWZHHQ PRGHOV )RU H[DPSOH LI \RX VWRUH XVHU GDWD LQ D WUHH VWUXFWXUH \RX FDQ VSHFLI\ \RXU 8VHU PRGHO DV EHKDYLQJ OLNH D WUHH DQG JDLQ IUHH IXQFWLRQDOLW\ IRU UHPRYLQJ DGGLQJ DQG VKLIWLQJ QRGHV LQ \RXU XQGHUO\LQJ WUHH VWUXFWXUH 0RGHOV DOVR DUH VXSSRUWHG E\ DQRWKHU FODVV FDOOHG D 'DWD6RXUFH 'DWD6RXUFHV DUH DQ DEVWUDFWLRQ WKDW HQDEOH PRGHOV WR PDQLSXODWH GLIIHUHQW W\SHV RI GDWD FRQVLVWHQWO\ :KLOH WKH PDLQ VRXUFH RI GDWD LQ D &DNH3+3 DSSOLFDWLRQ LV RIWHQ D GDWDEDVH \RX PLJKW ZULWH DGGLWLRQDO 'DWD6RXUFHV WKDW DOORZ \RXU PRGHOV WR UHSUHVHQW 566 IHHGV &69 ILOHV /'$3 HQWULHV RU L&DO HYHQWV 'DWD6RXUFHV DOORZ \RX WR DVVRFLDWH UHFRUGV IURP GLIIHUHQW VRXUFHV UDWKHU WKDQ EHLQJ OLPLWHG WR 64/ MRLQV 'DWD6RXUFHV DOORZ \RX WR WHOO \RXU /'$3 PRGHO WKDW LW LV DVVRFLDWHG WR PDQ\ L&DO HYHQWV -XVW OLNH FRQWUROOHUV PRGHOV DUH IHDWXUHG ZLWK FDOOEDFNV DV ZHOO EHIRUH)LQG DIWHU)LQG EHIRUH9DOLGDWH EHIRUH6DYH DIWHU6DYH EHIRUH'HOHWH DIWHU'HOHWH 7KH QDPHV RI WKHVH PHWKRGV VKRXOG EH GHVFULSWLYH HQRXJK WR OHW \RX NQRZ ZKDW WKH\ GR 3RVW @> LG @ "!WG! WG! "SKS HFKR KWPO!OLQN SRVW> 3RVW @> WLWOH @ SRVWVYLHZ  SRVW> 3RVW @> LG @  "! WG! WG!"SKS HFKR SRVW> 3RVW @> FUHDWHG @ "!WG! WU! "SKS HQGIRUHDFK "! WDEOH! +RSHIXOO\ WKLV VKRXOG ORRN VRPHZKDW VLPSOH LG @ "!WG! WG! "SKS HFKR KWPO!OLQN SRVW> 3RVW @> WLWOH @ SRVWVYLHZ  SRVW> 3RVW @> LG @ "! WG! WG! "SKS HFKR KWPO!OLQN 'HOHWH SRVWVGHOHWH^ SRVW> 3RVW @> LG @` QXOO $UH \RX VXUH" WG! WG!"SKS HFKR SRVW> 3RVW @> FUHDWHG @ "!WG! WU! "SKS HQGIRUHDFK "! WDEOH! 1RWH 7KLV YLHZ FRGH DOVR XVHV WKH +WPO+HOSHU WR SURPSW WKH XVHU ZLWK D -DYD6FULSW FRQILUPDWLRQ GLDORJ EHIRUH WKH\ DWWHPSW WR GHOHWH D SRVW  (GLWLQJ 3RVWV 3RVW HGLWLQJ KHUH ZH JR 3RVW @ ^ WKLV!IODVK 3RVW @> LG @ "!WG! WG! "SKS HFKR KWPO!OLQN SRVW> 3RVW @> WLWOH @ SRVWVYLHZ  SRVW> 3RVW @> LG @ "! WG! WG! "SKS HFKR KWPO!OLQN 'HOHWH SRVWVGHOHWH^ SRVW> 3RVW @> LG @` QXOO $UH \RX VXUH" "! "SKS HFKR KWPO!OLQN (GLW SRVWVHGLW  SRVW> 3RVW @> LG @ "! WG! WG!"SKS HFKR SRVW> 3RVW @> FUHDWHG @ "!WG! WU! "SKS HQGIRUHDFK "! WDEOH!  5RXWHV 1H[W OHW V WDON DERXW 5RXWHV )RU VRPH &DNH3+3 V GHIDXOW URXWLQJ ZRUNV ZHOO HQRXJK 'HYHORSHUV ZKR DUH VHQVLWLYH WR XVHUIULHQGOLQHVV DQG JHQHUDO VHDUFK HQJLQH FRPSDWLELOLW\ ZLOO HQMR\ XQGHUVWDQGLQJ KRZ 85/V PDS WR VSHFLILF IXQFWLRQ FDOOV LQ &DNH3+3 KRZHYHU :H UH RQO\ JRLQJ WR PDNH D TXLFN FKDQJH WR URXWHV LQ WKLV WXWRULDO )RU PRUH LQIRUPDWLRQ RQ DGYDQFHG URXWLQJ WHFKQLTXHV VHH &KDSWHU 'HYHORSLQJ ZLWK &DNH3+3 VHFWLRQ 5RXWHV &RQILJXUDWLRQ  5LJKW QRZ &DNH3+3 V ZLOO WDNH D SHUVRQ YLVLWLQJ WKH URRW RI \RXU VLWH LH KWWSZZZH[DPSOHFRP WR WKH 3DJHV&RQWUROOHU DQG UHQGHU D YLHZ FDOOHG KRPH 5DWKHU WKDQ GR WKDW ZH OO ZDQW XVHUV RI RXU EORJ DSSOLFDWLRQ WR JR WR RXU 3RVWV&RQWUROOHU &DNH V URXWLQJ LV IRXQG LQ DSSFRQILJURXWHVSKS

Ngày đăng: 16/10/2021, 15:40

TÀI LIỆU CÙNG NGƯỜI DÙNG

  • Đang cập nhật ...

TÀI LIỆU LIÊN QUAN