
ãããã€ãã®äœåã¯ããããããããæ·±ãæèã®æ·±ãã§ç°ãªããŸã
ãããŠäººéæ§ã®ããè¯ãç¥è; å€åä»ã®æ¬
ç¬åµæ§ãšéã®ç¹ã§ç§ã«å£ããªãã
ãããã絶æçã§äžæ²»ã®ä¿¡é Œæ§ãåããŠããããã
ãããŸã§ã«çºèŠããããã¹ãŠã®äœåãã
J.K.ãžã§ããŒã ã ãåãããŒãã§3å¹ãç¬ãæ°ããŠããªãã
çé¢ã«åæ»ããããå«ç ããã¥ã¢ã«ãèªãã ãããã³ãã¬ãããèªãã ããITããã®æ¬¡ã®ã»ãã»ã€ã€ã³ã³ã®æ ç±çãªä¿èšŒã«è³ãåŸãããããªãããã«ãè£åºããCacheã®äžçã«è¶³ãèžã¿å ¥ããŠããã®ãããªéæ³ãªæ²¡å ¥ããå§ãããŸãã ãã®ãã¯ãããžãŒã10幎以äžïŒ1ç§ãïŒäœ¿çšããŠãã人ãšããŠããããŠããã«ã€ããŠã®ç¥èãã»ãšãã©ãªãã®ã§ããã®ç°¡åãªæ ã§ã¬ã€ãã®åœ¹å²ããã¹ã¿ãŒã§ããããšãé¡ã£ãŠããŸãã
ãã£ã¹ã«ãã·ã§ã³ã®äž»é¡ã«èå³ã®ãã人ã«ã€ããŠç°¡åã«å ±åããŸããäžæ¹ã§ãDBMSã«ã€ããŠã¯ãŸã£ããèªæã§ã¯ãªããããããçš®é¡ã®IPãCISãIARPiãªã©ã®éçºè ã«ãšã£ãŠç¹å¹è¬ã®åœ¹å²ã䞻匵ããŸãã ãªã©ãªã©ã ãœãããŠã§ã¢åžå Žãšäœãé¢ä¿ããããªããè²»ãããæéã¯å ±ãããã§ããã-ç§ã¯ããæ°å¹Žã®ç§ã®æé«ã®çµéšãããã«åããããšããŸããã ã¢ã«ãããã¯ã§ã¯ãããŸããã æ¢ã«Cacheãç解ããããšããŠå€±æããŠããå Žåã§ããç§ãä¿¡ããŠãã ãããæã«ã¯ãã²ãŒããŠã§ã€ïŒæãé©åãªãšã¹ã³ãŒããä»ããïŒããæãç«æŽŸãªæ©é¢ã«è¡ãæ¹ãå¹æçã§ãã ãããŠããªããããé ããŠè¬èã§ããããšã¯çœªãªã®ã-ãã°ãã°è¡æã®åé¡ã§ãã
ãããã£ãŠãå±éããæåã®5åã
ããããŠãçªç¶ããªãã®åªããå
ã«é£œãããã
ããªãã¯ç§ãã¡ãšäžç·ã«å ŽæãèŠã€ããã§ãããã誰ã«ãšã£ãŠãååãªéšãéãã§ããããã
V.ãã©ã€
ç¬ããŸããããã®ããã»ã¹ã§æãé£ããéšåã¯ãWebãµãŒããŒã®ã€ã³ã¹ããŒã«ãšæ§æã§ãã å«ã ã€ã³ã¿ãŒã·ã¹ãã ãºã®ååã¯ããŸãããŸãæ©èœããªãã£ãããã§ãã
ãã®ãããç§ã¯é·å¹Žã«ããã£ãŠApacheã«äŸåããŠããŸããã æ°åã®ãŠãŒã¶ãŒããããå®å šã«åãå ¥ãããããªãã·ã§ã³ã ãœãŒã·ã£ã«ãããã¯ãŒã¯ããã®ä»ã®nginxã®ã¹ãã¬ã¹ã®å€ããšã³ã¿ãŒãã€ã¡ã³ãã¯ãè°è«ãè¶ ããŠããŸãã ãã£ãã·ã¥ã¯äž»ã«DBMSã§ããããã以å€ã¯ãã¹ãŠã§ãã ãããïŒ ã¹ã±ãŒãªã³ã°ããã-ç°¡åã ä»ãã8-800-2600-ã«é»è©±ããã...ã¹ã±ãŒãªã³ã°ã ãã§ãªããããªãã®ãªãŒã©å°çšã«èšå®ããããã°ããããããã¯ããã®åå¥ã®ã¢ãã¥ã¬ããã¢ãã¥ã¬ãããè¡ããŸãã
ãããããã€ã³ãã«ã http://www.apache.org/dist/httpd/binaries/win32/ã§ããã¡ã€ã«httpd- 2.2 .22-win32-x86-no_ssl.msiãååŸããŸãã ããã«ããŒãžã§ã³22ããããŸãããåŸã®ããŒãžã§ã³ãå ¥æããå Žåãããã¯æããããŸãããäž»ãªãã®ã¯2.2ã§ãã æ¢ã«Apache WebãµãŒããŒã䜿çšããŠããå Žåã¯ããã®æé ãçç¥ããŸã-ãã£ãã·ã¥ã¯èšå®ã«æå°éã®åœ±é¿ãåãŒããŸã-ããã«ã€ããŠã¯æ¬¡ã®å³ã®åŸã§èª¬æããŸãã IISã®æ奜家ã¯ãèªåã§èšå®ã楜ããããšããææ¡ã§ããŸããããããã®ããŒãžã§ç°¡åãªæ¹æ³ãææ¡ããŸããIISã¯åžžã«ããã³ãã«ãŒã ã§åããŸãã

9åã®ã¯ãªãã¯ããlocalhostãã®2åã®å ¥åãããã€ãã®çŸœããããŠ...äžçªé£ããéšåã
次ã®ã¹ãããã¯2åç°¡åã§ãã ãã ããç»é²ããå¿ èŠããããŸãïŒ http : //download.intersystems.com/download/ ã 11ãã®ãã£ãŒã«ãã«å ¥åãã6ã€ã®ã¯ãªãã¯ãã¯ãªãã¯ããå¿ èŠããããŸãïŒæé«ã®DBMSã¡ãŒã«ãŒããæªãããŒã±ãã£ã³ã°æ åœè ã¯ããŸããïŒããã¢ãŒãã«ã¯ç ç²ãå¿ èŠã§ãã

5åã§å®äºããŸãããïŒ ç§ãïŒ
ããã§ãåºæ¥äžããããšèšããæå笊ãä»ããããšæããŸããããã-ã€ã³ã¿ãŒã·ã¹ãã ãºïŒç§ã¯ææ ã蟌ããŠãISããšèšããŸãïŒã®äººãã¡ã¯ãç§ãã¡ããã¡ã€ã«ãã©ãã ãããŸãåŠçããŠãããã瀺ãããšãã§ããŸããã
ãã¡ã€ã«CïŒ\ Program FilesïŒx86ïŒ\ Apache Software Foundation \ Apache2.2 \ conf \ httpd.confãèŠã€ããŸãã
ãã®æäžéšïŒã²ãŒããŠã§ã€ããæ¥ãããšãæãåºããŠãã ããïŒã§ã¯ããã©ãŒã ã®ã²ã©ããã¶ã€ã³ãèŠã€ããŸã
#### BEGIN-CSP-SECTIONïŒïŒ####
LoadModule csp_module_sa "CïŒ/ããã°ã©ã ãã¡ã€ã«ïŒx86ïŒ/ Apache Software Foundation / Apache2.2 / CSPGateway / CSPa22.dll"
ãšã€ãªã¢ã¹/ csp /ãCïŒ/ InterSystems / TryCache / CSP /ã
<ãã£ã¬ã¯ããªãCïŒ/ InterSystems / TryCache / CSPã>
AddTypeã¢ããªã±ãŒã·ã§ã³/ x-csp .csp .cls .zen .cxw
AllowOverrideãªã
泚æèš±å¯ãæåŠ
ãã¹ãŠããèš±å¯
</ Directory>
#### END-CSP-SECTIONïŒïŒ####
#### BEGIN-CSP-SECTIONïŒãã©ã€ãã£ãã·ã¥ïŒ####
ãšã€ãªã¢ã¹/ trycache / csp /ãCïŒ/ InterSystems / TryCache / CSP /ã
#### END-CSP-SECTIONïŒãã©ã€ãã£ãã·ã¥ïŒ####
ç§ãã¡ã¯ããã ãããåºçºããŸã
#### BEGIN-CSP-SECTIONïŒïŒ####
LoadModule csp_module_sa "CïŒ/ããã°ã©ã ãã¡ã€ã«ïŒx86ïŒ/ Apache Software Foundation / Apache2.2 / CSPGateway / CSPa22.dll"
#### END-CSP-SECTIONïŒïŒ####
å°ãè£ é£ŸããŠã次ã®ããã«ããŸãã
#### BEGIN-CSP-SECTIONïŒïŒ####
LoadModule csp_module_sa "CïŒ/ããã°ã©ã ãã¡ã€ã«ïŒx86ïŒ/ Apache Software Foundation / Apache2.2 / CSPGateway / CSPa22.dll"
<å Žæ/ csp>
Csp on
SetHandler csp-handler-sa
</å Žæ>
#### END-CSP-SECTIONïŒïŒ####
幞çŠã¯ã·ã³ãã«ãã«ãããŸãã å³å¯ã«èšãã°ãéããäœãªã®ãèŠããŠããŸããã ããããæçµçã«è¡šç€ºããããã®ã¯æ©èœããŸãã ãããŠãããã©ã®ããã«æ©èœãããã ãšã«ããããã©ã«ãã§æžãããŠããã®ã¯ãã°ã§ãã
Apacheãåæ¢ããŠåèµ·åããæ¹æ³ãç§ã¯ãããææ¡ããããšèããŠããŸãã ãã³ãïŒãã¬ã€ã«èµ€ãç¢å°ã®ä»ããèµ€ã矜ãæ¢ããŠããŸã-ããŠã¹ã«åå¿ããŸããä¿¡ããŠãã ããã
ããŠãããã§ãã£ãã·ã¥ã«ããŸãïŒ
ãã²ã©ãã²ã³ããããŸããã
ã¢ãªã¹ã¯èœã¡èãšä¹Ÿç¥ããèã®å±±ã«èœã¡ãŸããã
圌女ã¯ãŸã£ããæªæããããããã«åœŒå¥³ã®è¶³å
ã«è·³ã³ãŸãããã
L.ãã£ãã«ãäžæè°ã®åœã®ã¢ãªã¹ã
5åéã®ã³ãã¥ãã±ãŒã·ã§ã³ã®åŸãããªããCache 'ã«è¿ããã®ãã©ãã»ã©çŽ æŽããããããããªãã§ãããã ãŸããå°ãåŸã§ãæªãããããã¯ããªãã®ã€ã³ã¿ãŒãããã§ããã«ã€ããŠã¯ãç§ã¯çããŸããã
httpïŒ//localhost/csp/samples/ZENDemo.Home.cls-hypno-triangleã芳å¯ããŸããïŒ ã ãããã¹ãŠã倧äžå€«ã§ãã ãã©ãŠã¶ããSVGã³ã³ãã³ãã衚瀺ããããã«æ±ããããå ŽåããããŸããèš±å¯ããã¢ããã€ã¹ããŸãã
ãã¬ã€ã«ç«æ¹äœããã§ã«èŠãŸãããïŒ ããã§ãªãå Žåã¯ã衚瀺ããŸãïŒç»é¢ã®å³äžãèŠãŠãã ããïŒïŒ

ãã®ãã¥ãŒãããããã¹ãŠãããã«é²ãã§ãããŸãã ãã ããéè²ã®å Žåã®ã¿ã ãã ãããã¥ãŒããç°è²ã®å Žåãã€ãŸãããã£ãã·ã¥ãèµ·åããªãã£ãããšãæå³ããŸããããã¯ãCametsã®å Žåã§ãã
Apacheã®åä»ãªèšå®ãéçºè ã«èš±ããç©æ¥µçã«èª¿æŽããæãæ¥ãŸããã ããã«ãè¿ãå°æ¥ãIPã«ãã£ãŠéçºããããããã¯ç§ãã¡ã倱æããã以äžã®ãã®ã«ãªããŸãã
ããšãã°ãCache 'cubeã§ã¯ãæŒãæ¹æ³ã«é¢ä¿ãªããå³ãã¿ã³ã§ãå·Šãã¿ã³ã§ããã¡ãã¥ãŒã¯åžžã«åãã§ãã

ãŸããã·ã¹ãã 管çããŒã¿ã«ãèŠãŠãã ããã ç§ã¯ãããã䜿çšããæ¹æ³ã誰ãç¥ãããåæã«äºæ¥æãç¹æ ããããã€ãã®äŒæ¥ãç¥ã£ãŠããŸãã ããŒã¿ã«ããäœæ¥ãšãªã¢ãäœæããå¿ èŠããããŸãã
ããŒã¿ããŒã¹ãšãšãªã¢ãåºå¥ããŸãïŒ
ãã£ãã·ã¥ 'ããŒã¿ããŒã¹ïŒããŒã¿ããŒã¹ïŒã¯ãã£ã¹ã¯äžã®ãã¡ã€ã«ã§ãããã¬ã³ãŒãã¯ãã®ãã¡ã€ã«å ã«ãããšããåçŽãªçç±ã§ããŒã¿ããŒã¹ã«å±ããŸãã
ããŒã ã¹ããŒã¹ã¯ããã£ãã·ã¥ã®æ§æã®å®çŸ©ã§ãããã©ã®ããŒã¿ããŒã¹ããã³ã©ã®ç®çã§äœ¿çšãããã«é¢ããæ å ±ãåéããŸãã ãšãªã¢ã¯ãããããŒã¿ããŒã¹ããããã°ã©ã ãååŸããå¥ã®ããŒã¿ããŒã¹ããããŒã¿ãååŸã§ããŸãã ããã¯ãCacheã®ã¹ã±ãŒãªã³ã°ã®åºæ¬ã®1ã€ã§ã-ã·ã³ãã«ã§éåžžã«äŸ¿å©ã§ãã ãšãªã¢ã®å®çŸ©ãå€æŽããããšã§ãã·ã¹ãã ã®ãã¹ãŠã®ãŠãŒã¶ãŒãããã«æŽæ°ãããããã°ã©ã ã§åäœããããã«åãæ¿ããããšãã§ããŸãããçŸåšã®ããŒã¿ïŒ2é±éã«1åçšåºŠïŒã§ãã¹ãŠã®ããã°ã©ã ã®ããŒãžã§ã³ãå€æŽããŸããããŠãŒã¶ãŒã¯ã»ãšãã©æ°ä»ããŸããã
ãšãªã¢ãäœæããŸãã


ããã§ãã¡ãªã¿ã«ã ã°ããŒãã«ãšãªã¢ ïŒãã®åèªãåŠã¶-ããã¯ãã£ãã·ã¥ã«ä¿åãããããŒã¿ãšåŒã°ããŸãïŒãšããã°ã©ã ãããŸããŸãªããŒã¿ããŒã¹ããååŸã§ããããšãããããŸãã
æ°ããé åã«æ°ããããŒã¿ããŒã¹ãäœæãããã®ã§ãæåã«ãããè¡ããŸãïŒ


ããã«ãNextããåã³ãNextãããFinishã-ããŒã¿ããŒã¹ãäœæããããšãªã¢ã®äœæã«æ»ããŸããã

ãããŠããã«ïŒ

Cacheãšã®æ¬¡ã®5åéã®äŒè©±ã¯å®äºããŸããã ããã§ãå®éšçšã®ç§æåããããã£ãŒã«ããã§ããŸããã ãŸã çµæã¯ãããŸããããæ°åã§ããªããšäœãã建ãŠãŸã-ç§ã¯ä¿èšŒããŸãã
ã¹ã¿ãžãªããã¹ã¿ãžãªãžïŒ
ããããã圌ã¯ãããã©ããã§ã¬ã³ãã§æ»ãããã
ã»ããã®äžã«äœããèŠã€ãã
å
åŽã®ã©ããã§åãã
ã©ãæããŸãããè¡ããŸãããïŒã
A.ãã¯ã«ããã¹ããŒããŽã¡ã·ãªãŒã¿ãŒãã³ã
ããªãã®æãå±±ã§äœããäžããããã«ããã¿ãããŠããŸããïŒ åæããŸãã å³äžã®éãç«æ¹äœãã¯ãªãã¯ããŸãã


ã¹ã¿ãžãªã¯ãã©ã®é åã§äœæ¥ããããå°ããŸããBSãéžæããŠ[OK]ãã¯ãªãã¯ããŸãããã¹ã¯ãŒãã¯ãŸã 圹ã«ç«ã¡ãŸããã

æåã¯ãCache 'Studioã¯ããªãè€éãªãã¶ã€ã³ã§è¡šç€ºãããŸãã

ããããååæ¶ãšãã©ãã°ãå°ã䜿çšããŠãé©åãªè¡šçŸãå®çŸã§ããŸãã ãæ€æ»å®ããã衚瀺ããªã©ã å¿ èŠã«ãªããŸãããåŸã§ã次ã®åçã§ãããããªã³ã«ããæ¹æ³ã匷調ããŸãïŒäžéšã«4ã€ã®ãã¿ã³ããããŸãïŒã ç§ã«ãšã£ãŠãã®ããã«äŸ¿å©ã§ãïŒ

ãã®æç¹ã§ãå¥ã®ãHello worldïŒãããã¢ã³ã¹ãã¬ãŒã·ã§ã³ããããšããé¡æã®éã®éäºã ããã°ã©ãã³ã°ã®çŸå®ã«å¯Ÿå¿ããããšãæåŸã«åã¡ãŸãã-ç§ãã¡ã¯å€§äººã®æ¹æ³ã§ãã¬ã€ããŸãã
ããã°ã©ã ã¯ã©ãããæ¥ãã®ã§ããïŒ
ããã©ãããã¯ã·ã³ãã«ã ãéåžžã«èå³æ·±ãã¡ã«ããºã ã§ããããšãå€æãã-
å¹»æ³ãçŸå®ã«å€ããäžçš®ã®åºå®å€ã
äœããæãã€ãããããã©ãããããªã³ã«ããŠãäœæããã ãã§ãã
æ³ååã¯åšãã®äžçãšåãããããªã¢ã«ã«ãªããŸã..ã
K.ãµã€ããã¯ããã©ã³ã¹ãã¡ãŒã¹ããŒã·ã§ã³ã
æ³ååã¯ããœãããŠã§ã¢ã®èšèšã«éåžžã«åœ¹ç«ã¡ãŸãã ããããã¿ã¹ã¯ãèšå®ãããšããæªãã¢ããã€ã¶ãŒã¯ããŸãã-ãããå¿ããªãããšãéåžžã«éèŠã§ãã ãããã£ãŠãåçŽã«é²ã¿ãŸãã DatabaseAnswers.orgã¢ãã«ã®ç¡æããŒã¿ã¢ãã«ã®ã©ã€ãã©ãªã® 1ã€ã䜿çšããŸãã ãããã£ãŠãåé¡ã®ã¹ããŒãã¡ã³ãã®æ®µéãšèšèšã®äž¡æ¹ãçç¥ããŸãã ãããã«ããŠãããã£ãã·ã¥ã¯ã¢ã·ã¹ã¿ã³ãã§ã¯ãããŸããã
ããšãã°ãã¢ãã«ãåãäžããŸãã

å·Šããå³ãäžããäžã«å®è£ ããããšãææ¡ããŸãã ãŸãããŸãã¯ãã®ãããªãã®ã
ã¯ã©ã¹ã¯ç§ãã¡ã®ãã¹ãŠã§ãã Studioã»ã¯ã·ã§ã³ãå¿ããŠããCSPãã¡ã€ã«ããšããã®ä»ãã¯å¿ããŸãã ããã¯ãæ£é¢ã«èå³ãããåäŸåãã§ãã ãããŠèŠªæãªãé«éœ¢èãã£ãã·ã¥ 'é圹è»äººã
ãã®ãããå³ãã¿ã³ãå°ãåãããŠã¯ã©ã¹ãäœæããŸãã

Cacheã®ã¯ã©ã¹ã¯ããã±ãŒãžå ã«ããããšã«æ³šæããŠãã ããã ããšãã°ã次ã®ããã«ïŒ

ããã±ãŒãžåãšãã®ãã¹ãã®çºæã«ãããéåžžã«æ³šæããããšããå§ãããŸãã Occamã®ã«ããœãªã¯ ããã€ãŠç§ã«æ瀺ãããããã«ããšã³ãã£ãã£ã®æ°ãå¿ èŠä»¥äžã«å¢ããã¹ãã§ã¯ãªãããšã瀺åããŠããŸãã ããããããã«å¯ŸåŠãã人ã¯ã»ãšãã©ããŸããã çµå±ã®ãšãããæãé£ããããšã¯ããããµããã¢ã€ãã¢ãç解ããããšã§ã-ããªãã¯ãããç¥ãããšãã§ããããŸããŸãªåšå®ã§ãããåçŸããä»ã®äººã«æããããã䜿çšããããšãã§ããŸãã ãããããããç解ããªãã§ãã ããã ã«ã»ã·ã£ããªãš ã ãã€ãŒã³ãã«ã¯ ããªãã«ã ã ãµã³ãã€ããã®ååãå€ãã®äººã ã¯æ±ºããŠç解ããããšãã§ããŸããã çµå±ã圌ãã¯ãã§ã«åœŒããç解ããŠãããšç¢ºä¿¡ããŠããŸãã
ãããã£ãŠãã¯ã©ã¹ãäœæããèŠæ±ã®åŸã察å¿ãããã€ã¢ãã°ã衚瀺ãããŸãã

ããã±ãŒãžããã³ã¯ã©ã¹ãšã¯äœã§ããïŒ
ããã§ã ãã¶ã€ã³ãã¿ãŒã³ãæãåºããŸã ã ãã©ã®ãã¿ãŒã³ãããé »ç¹ã«äœ¿çšããŸããïŒããšãã質åãžã®ã€ã³ã¿ãã¥ãŒã®ç³è«è ã 圌ã¯çããŸãïŒãç°ãªã-ä»ã ã³ã³ãã¢ã¯ããŸããã£ãŠãã...ã-ããªãã¯ããã«ããªãã責任è ã§ãããæ¥åžžã®æºåãã§ããŠããããšãç解ããŸãã ãŸãããã£ãã·ã¥å ã®ããã±ãŒãžã«ååãä»ããæºåãã§ããŠããŸããã
ãã£ãã·ã¥ãã¶ã€ããŒã¯ãåžžã«ãã¡ã€ã³ãªããžã§ã¯ãïŒãã¡ã€ã³ã¢ãã«ãDMïŒãèæ ®ããå¿ èŠããããŸãã å€ã éã ã©ã³ã¿ã³ã è¬å±ã æœè±¡åã䜿çšããå Žå-çé¢ããå ¥åããŠãã ããã ããã«ã¯ãã¹ãŠãåçŽãªæ¹æ³ã§ãããŸããäŒçµ±çã«ããã¹ãŠã®çš®é¡ã®ãäŒèšèšé²ç°¿ããæµåçãªç¶æ ã«ããŠå䜵ããŸãã ããŸããã©ããã£ãŠãããDMã«åŒã¹ã°ããã®ïŒããšãã£ãèŠçã®è£åãšããŠã é ããæ©ãããå®ç§ãªçžä¹å¹æãå§ãŸããŸã-ã·ã¹ãã ã¯ãèšèšè ãæºåããªãã£ã圱é¿ã«é©åã«å¯Ÿå¿ãå§ããŸãã
ãã®ãã³ãã¬ãŒããç¥ã£ãŠãããšãããµã€ã³ã¯ç°¡åã§ãã顧客ã®æ°ãããªã¯ãšã¹ãã®ååã«å¯ŸããŠäœãããå¿ èŠã¯ãããŸããã ã·ã¹ãã ã¯å®éã®ããžãã¹ãšãŸã£ããåãããã«åäœããŸã-ããã¯ç¹æ ããŸãã
DMã¯ã¡ã€ã³ãã³ãã¬ãŒãã§ãã ãããŠã圌ã¯æåã«ç§ãã¡ã«åœ¹ç«ã€ã§ãããã
å¥ã®å°ããªçºèšïŒ
ãã£ãã·ã¥ã¯ããã¡ã€ã³ã¢ãã«ã®é©åãªå®è£ 以äžã®ãã®ãæäŸããŸãã ããã§ã¯ãéåžžã«ç°¡æœã§äŸ¿å©ãªæ段ã«ãããããŒã¿ã ãã§ãªãã察å¿ããã¯ã©ã¹ã®ãµããžã§ã¯ãé åã®ãªããžã§ã¯ãã®åäœãã«ãã»ã«åã§ããŸãã
ã ãããæã ã¯åŒã³åºããŸãïŒ

ããã«[å®äº]ãã¯ãªãã¯ããŸãã å®éã®ãšãããã次ãžããã¯ãªãã¯ãããšããŸã£ãã圹ã«ç«ããªãè¿œå ã®ãã©ãŒã ã衚瀺ããããããæéãç¡é§ã«ããããããŸããã
ããã¯ãCacheã®ç©ºã®ã¯ã©ã¹ããŸãã«ã©ã®ããã«èŠãããã§ãïŒ

ç§ã¯ããªããšã®é¢ä¿ãç¥ããŸãããããã®ãããªæ§é ãèŠããšããç§ã®å¿ã¯éŒåããŸããã ãã以äžã ãããã®æããªãpublic static void mainãã¯ãªããä»ã«ã¯stdio.hãå«ãŸããŠããŸã-èªç±ã§ãïŒ
æãããªåçŽã-ISã«ãã£ãŠèŠªåã«æäŸãããæ°åè¡ã®ã·ã¹ãã ã³ãŒãã¯ãçŸåšïŒãã¡ããã³ã³ãã€ã«åŸã«ïŒãã®ã¯ã©ã¹ã§äœæ¥ã§ããããã«ãªããŸãã ãŸã äœãããŠããŸããããã·ã¹ãã ã¯ãã®ã€ã³ã¹ã¿ã³ã¹ã®äœæãåé€ããªã¯ãšã¹ãã®å®è¡ãªã©ã®æ¹æ³ããã§ã«ç¥ã£ãŠããŸãã ãªããžã§ã¯ãã®ã¹ãã¬ãŒãžãšããããžã®ã¢ã¯ã»ã¹ãå®è£ ããïŒ Persistentã·ã¹ãã ã¯ã©ã¹ããç¶æ¿ãããŠããããã§ãã
ããããããŒã¿ããªããã°ããããè¡ãããšã¯ããŸãè³¢ããããŸããã ã¯ã©ã¹ã«ããããã£ãå ¥åããŸãïŒãŠã£ã³ããŠå ã§å³ããŠã¹ãã¿ã³ã䜿çšããŸãïŒã


ãŸããããã«ãå®äºããã¯ãªãã¯ããããšããå§ãããŸãã ã次ãžããã¿ã³ã䜿çšããŸãããå°ãåŸã§äœ¿çšããŸãã
ã¹ããŒã ã確èªããŸãã ããã¬ãŒã³ããŒã·ã§ã³ã®å Žæããšã³ãã£ãã£ã«ã¯ãããã«2ã€ã®ããããã£ããããŸãããããã¯ãå³ãã¿ã³ã§åãæ¹æ³ã§è¿œå ãããŸãã ãŸãã¯ããCtrl-C + Ctrl-Vãã䜿çšããŸãã ãã®åŸãããã«ã¯ã©ã¹ãã³ã³ãã€ã«ããããšããå§ãããŸãã

次ã«ããã®ã¯ã©ã¹ãæ©èœããããšã確èªããŸãã
ãŸãããªããžã§ã¯ããšããŠã¿ããããŸãã ç°¡åã«ããããã«ãCache 'ã¿ãŒããã«ãä»ããŠãããè¡ããŸãã ãã¬ã€å ã®ãã¥ãŒããã¯ãªãã¯ããŠããã¿ãŒããã«ããéžæããŸãã


ã³ãã³ãã©ã€ã³Cache 'ã§ã¿ãŒããã«ãŠã£ã³ããŠãååŸããŸãã ãUSERãã¯ããã©ã«ãã®é åã§ãã èšå®ã調ã¹ãŠãBSãã«å€æŽã§ããŸãã

ãããããã£ãšç°¡åãªæ¹æ³ããããŸã-ã zn ããšãªã¢ãå€æŽããã³ãã³ãã ãšãªã¢ã«ç§»åããåŸãã¯ã©ã¹ã®ã€ã³ã¹ã¿ã³ã¹ãäœæããããããã£ãå ¥åããŠä¿åããŸãã
ããŒãïŒpapahostãã€ã³ã¹ã¿ã³ã¹ïŒTRYCACHE
USER> zn "BS"
BS> set obj = ## classïŒplace.OneïŒãïŒ NewïŒïŒ //ã³ã³ã¹ãã©ã¯ã¿ãæ°ã«ããªã
BS> set obj.Name = "Big Top" //ã²ãã¿ãŒã»ãã¿ãŒãæ°ã«ããªã
BS> set obj.Description = "é§ ã®è¿ãã®é§ ã§"
BS> do objãïŒ SaveïŒïŒ //ããŒã¿ã®ä¿åæ¹æ³ãæ°ã«ããªã
å¿é ããªãã§ãã ããã ããã¯ç¢ºèªå°çšã§ãã å®éã®éçºã§ã¯ããªããžã§ã¯ããåºçŸããããææçã«ä¿åãããŸãã ããã«ã€ããŠã¯å°ãäœããªããŸãã
ãã¹ãŠã®ãªããžã§ã¯ãã¯SQLããŒãã«ãšããŠãè¡šãããŸãã å®éãããŒã¿ãžã®ã¢ã¯ã»ã¹ãããã€ããããŸã-ãããããªããžã§ã¯ããšããŠïŒäžèšã§è©ŠããŸããïŒãããŒãã«ã®ããã«ïŒä»¥äžã§è©³ãã説æããŸãïŒããããã ãçŽæ¥ã¢ã¯ã»ã¹ãã åŸè ã«ã€ããŠã¯ãäžè¬çã«ã¯é»ã£ãŠããŸããããããªããããã«ã€ããŠç¥ããªããªããããªãã¯ã»ãšãã©å€±ããŸãããããããç解ããããªããããªãã¯ããããã¹ã¿ãŒã§ãããšæããŸãã
ãã¥ãŒãäžã®ããŒã¿ã«SQLã¢ã¯ã»ã¹ããã«ã¯ããã·ã¹ãã 管çããŒã¿ã«ããéžæããSQLã¯ãšãªã«ç§»åããå¿ èŠããããŸãã

次ïŒ
1.ãšãªã¢ãBSããéžæããŸã
2.ãselect * from place.Oneããšããã¯ãšãªãå ¥åããŸã
3.ãªã¯ãšã¹ããå®è¡ããŸã
4.ä¿åãããªããžã§ã¯ãã衚瀺ãããŠããããŒãã«ã®è¡ã衚瀺ãããŸãã

SQLã¢ã¯ã»ã¹ã«ãããéåžžã®SQLæ§æãæ倧éã«æŽ»çšã§ããŸãã å®éšããããšã¯ã§ããŸãããã¢ããã€ã¹ã1ã€ãããŸãããã¡ã€ã³ã¯ã©ã¹ã§ã¯INSERTãUPDATEãããã³DELETEã³ãã³ãã䜿çšããŸããã ããªã¬ãŒãšã€ãã³ãã®åŠçïŒä¿åæãªã©ïŒã¯ç°ãªãå ŽåããããŸãã ãŸãããããã®ã³ãã³ãã䜿çšãããšããµããžã§ã¯ããšãªã¢ã®å®è£ ã«æè³ããããã¹ãŠã®åŽåã¯ç°ã«ãªããŸãã SQLã³ãã³ãã®ä»£ããã«ãã¡ãœããïŒ NewïŒïŒãïŒ SaveïŒïŒãïŒ DeleteIdïŒïŒã䜿çšããŸãã
ããã§ãããªããæåããããšãé¡ã£ãŠããŸãã ã€ãŸããåçŽãªããããã£ãæã€ã¯ã©ã¹ãäœæãããã®ããã©ãŒãã³ã¹ã確信ããŸããã
æåã®ç³è«
ããã¬ã€ããŒã€ãã£ã®ã¥ã¢ãã³ã³ã·ã£ãã«ã©ã³ãžã§ãªãŒã
ãããŠã女ã®åãæ°ããã¢ãã«ã§ãã£ãŠã...
ããããèš±å¯ããŸããé ããã«èšããŸãã
ããããèš±å¯ããŠãé£çµ¡ãåããŸããã
I.ã©ã°ãã³ã³
ã©ã®ããŒãžã§ã³ã®Cache 'ZENãç»å Žããã®ãã¯æ£ç¢ºã«ã¯èŠããŠããŸããããããããã¯ãè¶ èåã¯ã©ã€ã¢ã³ããCacheã®å¯äžãã€å¯äžã®ä»£æ¿ã¯ã©ã€ã¢ã³ãã«ãªã£ãããšã確信ããŠããŸãã CSPïŒãã£ãã·ã¥ãµãŒããŒããŒãž-ASPãJSPã·ãªãŒãºãªã©ã®æè¡ïŒã®æéäžã«ãCSP +ãã£ãã·ã¥ã®ã¿ã¹ã¯ããPHP + MySQLã®ã¿ã¹ã¯ãžããŸãã¯ãã®éãžã®ç§»è¡ãç©ããã§ã¹ã ãŒãºã ã£ãå ŽåãZEN itããããã§ã¯ãããŸãã-ZENïŒããã³ãµããžã§ã¯ããšãªã¢ãå®è£ ããããŒã¿ããŒã¹ïŒã䜿çšãã人件費ã¯éåžžã«ã°ãããŠãããããä»ã®èšèšãéçºãããã³ä¿å®ã®æ¹æ³ã¯å€§å€ãªåŽåãšèŠãªãããŸãã äžè¬ã«ãããã²ããçããããžã§ãŒã¯ã®ããã«ãæ°ããã¿ã¹ã¯ã«Cache 'ã§ZENã䜿çšããªãå Žåã¯ã顧客ã«å¯ŸããŠæããªè¡åãŸãã¯æå°æªãªè¡åããšããŸãã
ãããŠãç§ã¯ä»ãã¢ã«è²»ãããããé·ããããæžããŸããã [äœæ]ãã¯ãªãã¯ããŸãã

[Zen]ã¿ãã«ç§»åããŠã[æ°ããZenããŒãž]ãéžæããŸãã

次ã«ãå ¥åçšã®ãã©ãŒã ãæäŸãããŸãã æ£çŽã«èšããšã5幎以äžZENãšä»äºãããŠããŠããããã3床ç®ã«äŒãã§ãããã åºæ¬çã«ãããŒãžãäœæããã«ã¯ããã§ã«äœæãããŠããæé©ãªZENããŒãžã®ã³ãŒããã³ããŒããå¿ èŠãªå€æŽãå ããŸãã ããããæåã®ããŒãžã§ã¯ããã䜿çšããŸãã

zenããŒãžã¯åãã¯ã©ã¹ã§ããããšã¯æ¢ã«ç解ããŸããã ãŸãããããã¯è¢ã«æ¢±å ãããŠããŸãã ååãèããŸãããïŒ

ãããŠããã«ãå®äºããã¯ãªãã¯ããŸãã ã次ãžãã¯è§Šããªãã§ãã ããã補åãµãã©ã€ã€ã«ãšã£ãŠåä»ãªå Žæã«é£ããŠè¡ãããŸãã 次ã®ããã«ãªããŸãã

ãããŒïŒ ãã³ãã¬ãŒãã䜿çšããªãã£ããšèšã£ããšããç§ã¯ãŸãã«ãã®ãããªå¹æã念é ã«çœ®ããŠããŸããã æŽçããŠã³ã³ãã€ã«ããŸãïŒCtrl-F7ïŒïŒ

åºæ¬çã«ãã¢ããªã±ãŒã·ã§ã³ãäœæããŸããã ãHello worldïŒãã衚瀺ãããŸãããïŒ ç§ãã ããããã¢ããªã±ãŒã·ã§ã³ã¯æºåå®äºã§ãã ã¡ãã¥ãŒïŒç·šéãã¿ã³ã®å³åŽïŒãŸãã¯ãF5ãã§ã°ããŒããã¯ãªãã¯ããŠã¢ã¯ã»ã¹ã§ããŸãã ãããã2ã€ã®ãã¥ã¢ã³ã¹ããããŸãã
1.衚瀺çšã®ã¢ãã¬ã¹ã¯httpã®ããã«ãªããŸãã// localhostïŒ57772 / csp / bs / zui.Places.cls-äºå®ãCacheã®ã€ã³ã¹ããŒã«æã«ãå¿ èŠæ§ãšäœããã®çç±ã§è©Šè¡ã®ããã«ããŒã57772ã«WebãµãŒããŒããããã€ãããããéããŠãã¹ã¿ãžãªã§ã®æåã瀺ããŸãã ãã®WebãµãŒããŒã«ã¯å€ãã®å¶éãããã䜿çšããããšã¯æãŸãããããŸããã ãããã£ãŠãApacheã§Studioããã®ããŒãžã®è¡šç€ºãèšå®ããŸã-ãã®ãããStudioã¡ãã¥ãŒã§[ãããžã§ã¯ã]-[èšå®]ãéžæãã衚瀺ããããŠã£ã³ããŠã®[詳现]ã¿ãã§ããŒããã¯ãªã¢ããŸãïŒ localhostãåºãããã«ã³ãã³ãããã¹ãŠãåé€ããŸãïŒïŒ

ãã®åŸãStudioã¡ãã¥ãŒã§ãããžã§ã¯ããä¿åããŸã-[ãã¡ã€ã«]-[ãããžã§ã¯ãã®ä¿å]ã
2.å®éã«ã¯ããšãªã¢ãäœæãããšãã«ãã·ã¹ãã ããã®ããã®cspã¢ããªã±ãŒã·ã§ã³ãäœæããŸããïŒZENã¯cspã®äžã§å®è¡ãããŸãïŒã æ°ããäœæãããã¢ããªã±ãŒã·ã§ã³ãžã®ã¢ã¯ã»ã¹ã¯å¶éãããŠããŸã-ååãšãã¹ã¯ãŒãã®å ¥åãæ±ããããŸãã ãããŠããã¯ããã§ãïŒ ãã ãããŠãŒã¶ãŒãäœæããŠæš©éãå²ãåœãŠãã«ã¯ãå°ãæéãããããŸãã ãã¥ãŒããåŸ ã£ãŠããã·ã¹ãã 管çããŒã¿ã«ããéããŸã

ïŒãããŠãã€ãã«ISãDeepSeeã»ã¯ã·ã§ã³ãåé€ãããããã®ããŒã±ãã£ã³ã°æ åœè ã解éãããšãç§ã¯ãããè³Œå ¥ããŸããïŒïŒ

ãæ°èŠãŠãŒã¶ãŒã®äœæããã¿ã³ã¯éåžžã«ç®ç«ã¡ãŸã-ç¹ã«ãã·ã¢èªã«å°ã粟éããŠãã人ã®ç®ãå·ã€ããŸãã èå³æ·±ãããšã«ããã®ç¿»èš³è ãè©Šéšã«åæ ŒããŸãããïŒ ç§ãã¡ã¯æãªããã®ããæ¹ã§ã¯ãªãããã§ãã ã»ãã¥ãªãã£ã«ã€ããŠããã£ãã·ã¥ã䜿çšããå Žåã¯ã泚æããŠãã ãã-å°ãªããšããã·ã¹ãã éãã£ãã·ã¥ãDBMSã»ãã¥ãªãã£æšæºã«æ³šæããŠãã ãã-ãããã¯ãã«ã«ã©ã€ã¿ãŒã®1ãæã®äœæ¥ãéçºããŒã ã®1幎ã®è©Šç·Žããã圹ç«ã€å ŽåããããŸã-ããã¹ãã¯éåžžã«æçšã§ãã ããŒã¿ã«ã®ã»ãã¥ãªãã£ç£æ»ã®å ŽæãèŠã€ããå Žå-å¿ ã調ã¹ãŠãã ãã-èŠéãåºããŸãã
ããŒãã®ç®çã§ãç§ãã¡ã¯ãã ãããè¡ããŸã-æš©å©ïŒ Allãæã€ãŠãŒã¶ãŒãäœæããŸã-ãã¹ãŠãã€ãŸãããªãŒã«ã€ã³ã¯ã«ãŒã·ãã-ãã¹ãŠãèš±å¯ãããŠããŸã-IPã¯ããªããç¥ã®ããã«æããããšãã§ããŸãïŒæã ïŒïŒ

ååãšãã¹ã¯ãŒãã2åå ¥åããŸã-æã§ä»ã®ãã®ã«è§Šããªãã§ãã ããã ãŸãã [ä¿å]ãã¯ãªãã¯ããŠã[ããŒã«]ã¿ãã«ç§»åããŸãã ïŒ AllããŒã«ãéžæããŠããŠãŒã¶ãŒã«å²ãåœãŠãŸãã

次ã®ããã«ãªããŸãã

å®éãCache 'ïŒããã³ZENïŒã¯ããŠãŒã¶ãŒããŒã«ãªãœãŒã¹ã¢ãããŒããå®å šã«å®è£ ããŠããŸãã ããããç§ã¯ããã®ããã®ç§ã®æéã¯ååã§ã¯ãªããããããªããšæããŠããŸã-ããªãèªèº«ãå®éšããŠãã ããã å€ãã®è¯å®çãªææ ãååŸããŸãã ããé¡ã£ãŠããŸãã ããããã¹ã¿ãžãªã«æ»ã£ãŠãF5ãïŒãŸãã¯ã°ããŒãïŒãæŒããŸãã zenããŒãžã§ãŠãŒã¶ãŒåãšãã¹ã¯ãŒããå ¥åãããšãæåã®ã¢ããªã±ãŒã·ã§ã³ãéããŸãã

ãããŠåã³-ãã以äžã çŸäººïŒ ãããHelloãworldïŒãããã®ååšã§ãã®æ¥œããããããªããŒãžãå°ç¡ãã«ãããããããªããšæ³åããã®ã¯é£ããã§ãã ïŒå€åœäººãšãŒãžã§ã³ãïŒã
çµéšè±å¯ãªéçºè ã§ããã°ãç§ãæ¬åœã«æºè¶³ããŠããããšãç解ã§ããŸã-ãã¡ããããšã©ãŒã¯ãããŸããã 圌女ã¯å転ããŠããŸãïŒ äœæ¥ã®90ïŒ ãå®äºããŸããã
æåã®äœæ¥ïŒïŒïŒã¢ããªã±ãŒã·ã§ã³
ãé·éšãäœãããã£ãã®ã§ãããã€ã®ãæã«å
¥ããŸããã
é»è²ã®çžæš¡æ§ã®ãã³ã¯ã®ã€ã®ã
å°Ÿèã®ä»£ããã«ãããŒã³ã®èã«ã
äºåºŠãšãã®ã€ã®ã«äŒããããªããã
äžæãªèè
ãã®éšåã¯ãåã®éšåããå°ãçãããå¿ èŠããããŸãã èªç¶ãªããš-空çœã®ããŒãžã®åœ¢ã§åäœãäœæããããšã¯ããµãŒã«ã¹ã®ããã©ãŒãã³ã¹ã®å Žæãå ¥åããŠè¡šç€ºããããã®ãã©ãŒã ãæºåãããããã¯ããã«å°é£ã§ãã
ã¯ã©ã¹ããã¥ãŒã®å Žæãã®1ã€ã®ãªããžã§ã¯ããããŒã¿ããŒã¹ã«æ¢ã«ä¿åããŠããããšãèŠããŠããŸããïŒ ãã®è¡šç€ºã«å¯ŸåŠããŸãããããããè¡ãã«ã¯ããtablePaneããšããååã®ZENã³ã³ããŒãã³ããå¿ èŠã§ãã

以äžã§ã¯ããããŒã«ãã¡ãã¥ãŒãããããŒã«ã«ã«ã€ã³ããŒããããStudioã«ããŠã³ããŒãã§ãããœãŒã¹ãé 眮ããŸãã
ãœãŒã¹ïŒplaces1.xml
ã³ã³ãã€ã«ããŠäœãèµ·ãã£ããã確èª

ããŸããã¬ã€ã¢ãŠãã«åé¡ããããŸãããããã¯ä¿®æ£å¯èœã§ããäž»ãªããšã¯ãããŒã¿ã衚瀺ããããšãåŠãã ããšã§ãã次ã«ããŠãŒã¶ãŒã€ã³ã¿ãŒãã§ã€ã¹ããèšé²ããŸããZENã®ããã¥ã¡ã³ãã«ã¯ãMVCïŒã¢ãã«-ãã¥ãŒ-ã³ã³ãããŒã©ãŒïŒãã³ãã¬ãŒãã®å®è£ ã«ã€ããŠå€ãã®ããšãæžãããŠããŸãããç§ã¯ãããèªãã§ããããã¢ããã€ã¹ãããŠããŸããã
æåã«ãïŒ ZEN.DataModel.Adaptorããä¿åãããã¯ã©ã¹ãç¶æ¿ããå¿ èŠããã

ãŸããSource ïŒone1.xml
ãããŠãã€ã³ã¿ãŒãã§ã€ã¹ã¯ã©ã¹ã«ä»¥äžãè¿œå ããŸãã
1.ã³ã³ãããŒã©ãŒ
2.ã³ã³ãããŒã©ãŒããã®ããŒã¿ã«é¢äžããŠããããšã瀺ããã©ãŒã
3.ã€ãã³ãã®åŠçæ¹æ³ïŒããã§ã¯ã¡ãœãããããŒã¿ãä¿åããããŒãã«ãæŽæ°ããŸãïŒ

ãœãŒã¹ïŒplaces2.xml
ãã©ãŠã¶ãŒã§ïŒ

ãšã³ããªãŒãè¿œå ïŒ

æåãããïŒ
ããŒãã«è¡ãéžæãããšãã«ãªããžã§ã¯ãããŒã¿ãã³ã³ãããŒã©ãŒã«ããŒãããã«ã¯ãå°ãã®ã³ãŒããå¿ èŠã§ããåæã«ãåé€ãã€ã³ãã³ãããã®ä»ã®èšåãè¿œå ããŸãã

åºå žïŒplaces3.xml
æåŸã®èŠåºãããå§ãŸãç§ã®ããã¹ããèŠããšãç§ã¯åãã¿ãšè¬èãã®æãããªæ¬ åŠãæããŸã-ããããç§ãã¡ã¯ãããããŸãã-AJAXãªã©ã䜿çšããŠè¶ èåã¯ã©ã€ã¢ã³ãã§DBMSããŒã¿ãæäœããæ¹æ³ãåŠã³ãŸããããããäºå®äžç¥ããªãã
ã³ãã¥ãã±ãŒã·ã§ã³ãº
« ,
,
.»
.
ã€ã³ã¿ãŒã·ã¹ãã ãºã¯ããªããžã§ã¯ãéã®é¢ä¿ã«ããã€ãã®ãªãã·ã§ã³ãæäŸããŸãããã®ãã¡ã®2ã€ã¯ããªããžã§ã¯ãã¿ã€ãã®ããããã£ãš1察å€ã®é¢ä¿ã§ãã Cacheã§ã®ç§ã®ãã¹ãŠã®çµéšãæãèµ·ããããŸãããªããžã§ã¯ãã³ã¬ã¯ã·ã§ã³ããããã£ã芪åé¢ä¿ããŸãã¯ä»ã®1察1ã®é¢ä¿ã䜿çšããªãã§ãã ãããç§ã¯å人çã«ãæ¬ é¥ãèšèšããããã«ãã®ãããªã²ããããããŒãºãçºçããç¶æ³ãåå ãšããåŸåããããŸãã ã芪åãã®å®è£ ãæžããããã°ã©ããŒã®ä»äºãæ®å¿µã§ããããã®ä»äºã¯ã«ããªãŒãšäºç®ã®ç¡é§ã§ããããŽãç®±ã
1察å€ã®é¢ä¿ãšãªããžã§ã¯ãããããã£ã䜿çšãããšãã·ã¹ãã å ã®ãã¹ãŠã®ãã€ã³ãã®åé¡ãç°¡åãã€æ®éçã«è§£æ±ºã§ããŸããããã ãã§ã-äŸãã°ãµãŒã«ã¹ãèŠãŠãã ããã
ã°ã©ãã®Placesãªããžã§ã¯ãã«ã¯ãã¿ã€ã "
ãåèããããç§ãã¡ããããã¥ã¢ã«ãæ±ã£ãŠããããšã瀺ããŠããããç§ã¯çšèªã®äœ¿çšå察ã ãšããŠããªãã¡ã¬ã³ã¹ããã¯ã-ã¡ãžã£ãŒãšãŠã§ã€ãã®ãªãã¡ã¬ã³ã¹ããã¯ãŸãã¯BradisããŒãã«ãæ±ã£ãŠããªãéããæãã«ããªãã¡ã¬ã³ã¹ããã¯ïŒãªãã¡ã¬ã³ã¹å€ã®ããŒãã«ïŒãšåŒã¶ãªããžã§ã¯ãã¯ãããæç¹ã§åäœãç²åŸãããªãã¡ã¬ã³ã¹ããã¯ã«ãªãã®ããããããšããããŸã-æ°ãããã®ã衚瀺ãããŸãããããã£ãšæ°ããããžãã¯-ããã³å¶éãããããåç §ãã«èª²ãããã倧ããªä»äºã«å®³ãäžããããšãã§ããŸãã
ãããã£ãŠãã¯ã©ã¹ããã¬ãŒã³ããŒã·ã§ã³ã®å Žæã®ã¿ã€ãããäœæããŸããç§ãã¡ã®å Žæãã¯ãªãã¯ããŸãããStudioã¯ã©ã¹éå±€ã®1ã€ãããŠã¹ã®å³ãã¿ã³ã§ã¯ãªãã¯ãã[ã³ããŒ]ãéžæããåŸãã¯ã©ã¹ã³ãŒãããããã«ä¿®æ£ããŸãããåæ§ã«ããµã€ãã¿ã€ããæäœããããã®ã€ã³ã¿ãŒãã§ã€ã¹ãäœæããŸããã
ãœãŒã¹ïŒtype1.xmlãplaceTypes1.xml
ãã©ãŠã¶ãŒã§ã¯ã次ã®ããã«ãªããŸãã

次ã«ãããã¬ãŒã³ããŒã·ã§ã³ã®äŒå Žãã¯ã©ã¹ã§ãã¿ã€ããããããã£ãå®çŸ©ããå¿ èŠããããŸããå°ãèããåŸãæãŸãããªãã¿ã€ãã®åé€ã¯ç§ãã¡ã«ãšã£ãŠæãŸãããªããšããçµè«ã«éããããšãã§ããŸã-ã¿ã€ããåé€ãããšããã¿ã€ããåé€ããå Žæããªãããšã確èªããããšæããŸãããã®ããžãã¯ã¯æžãã®ãé¢åã§ããããªã¬ãŒã·ã§ã³ã·ããã®äœ¿çšã«é¢ããå¶éã¯ç®ç«ããªãããããªã¬ãŒã·ã§ã³ã·ãããã1察å€ããšããŠèª¬æããŸãã Studioã®place.Oneã¯ã©ã¹ã§ãå³ã¯ãªãã¯ããŠ[è¿œå ]-[æ°ããããããã£]ãéžæããŸãã



*ãPlacesãããããã£ã¯ãŸã place.Typeã¯ã©ã¹ã«ãããŸãã-ãããã£ãŠãç§ã¯ãããæã§å ¥åããŸãã-ã¹ã¿ãžãªããããäœæããŸãïŒ

ãã®åŸã1察å€ã®é¢ä¿ãèšè¿°ãã2ã€ã®ã¯ã©ã¹ã2ã€ã®ã¯ã©ã¹ã®èª¬æã«è¡šç€ºã
ããŸãã 1ã€ïŒ
///ãµã€ãã¿ã€ã
ãªã¬ãŒã·ã§ã³ã·ããã¿ã€ãAs place.Type [ã«ãŒãã£ããªãã£= 1ãã€ã³ããŒã¹=ãã¬ã€ã¹];
ã€ã³ããã¯ã¹ã¿ã€ã
ããã³æå®ã®å ŽæïŒã¿ã€ãïŒ
Relationship Places As place.One [ã«ãŒãã£ããªãã£=å€ãé=ã¿ã€ã];
ã³ã³ãã€ã«ããŸãã
ã€ã³ã¿ãŒãã§ã€ã¹ã®ããµã€ãã¿ã€ãããã£ãŒã«ãã®å ¥åãæŽçããããã«ãæ°ããzenã³ã³ãããŒã«ã䜿çšããŸãïŒå ¥åãã£ãŒã«ãã®åŸã«dataComboãæ¢ããŸãïŒã
<text label = "Name" dataBinding = "Name" />
<text label = "Description" dataBinding = "Description" />
<text label = "Details" dataBinding = "Details" />
<dataCombo dataBinding = "Type"
sql =ãselect IDãplace.Typeããã®èª¬æã
sqlLookup =ãplace.TypeããDescriptionãéžæãID =ïŒã
/>
sqlãã©ã¡ãŒã¿ãŒã§ããŠãŒã¶ãŒã«éžæè¢ãæäŸããæ¹æ³ãã³ã³ãããŒã«ã«æ瀺ããsqlLookupã§ã³ã³ãããŒã©ãŒããããŒã¿ãããŒãããæ¹æ³ãæ瀺ããŸããïŒããšãã°ãããŒãã«ã®æ°ããè¡ãéžæãããšãïŒã
è¡šã«è¡šç€ºããããã«ããç¢å°ããä»ããæé»ã®çµåã®éåžžã«ãæ°ã«å ¥ãã®æ©èœã䜿çšããŸãã
<tablePane id = "placesTable"
tableName = "place.One"
onselectrow = "zenPage.onSelectPlaceïŒïŒ"
valueColumn = "ID"
>
<column colName = "ID" hidden = "true" />
<column header = "Name" colName = "Name" width = "20ïŒ " />
<column header = "説æ" colName = "説æ" width = "30 ïŒ "/>
<column header ="詳现 "colName ="詳现 "width =" 30ïŒ "/>
<column header ="ã¿ã€ã "colName ="ã¿ã€ã "colExpression ="ã¿ã€ã->説æ "/>
</ tablePane>

åæ§ã«ãã€ãã³ãã¯ã©ã¹ãšãã®ã¿ã€ãããã°ããäœæã§ããŸãã

ãããžã§ã¯ãã®ãœãŒã¹ïŒ circus1.xml
çµæã®ã€ã³ã¿ãŒãã§ã€ã¹ã¯æ¬¡ã®ããã«ãªããŸãã

ããªããæ£çŽã«ç«ã¡æ¢ãŸã£ãŠæ¬¡ã®éšåãèããã延æããå¿ èŠãããæãæ¥ãŸãã-ããªã¥ãŒã ã¯äºæ³å€ã«å€§ããããšãå€æããŸããã
ãã£ãã·ã¥ã«ã€ããŠç§ãèšãããã£ãããšïŒ
ãã¡ã€ã³ãªããžã§ã¯ãããããã®é¢ä¿ãããã³åäœãèšèšããããã®åŒ·åãªããŒã«ãå ¥æããŸããã Cacheãå°ãªããšãéåççã«äœ¿çšããå Žåã¯ãããã¡ã€ã³ã¢ãã«ããã¿ãŒã³ã䜿çšããªãã§ãã ããã
ZENã䜿çšãããšãããŒã¿ããŒã¹èšèšããGUIå®è£ ã«ãã°ãã移è¡ã§ããŸããããã«ããã補åã顧客ãæºè¶³ããããŸã§ãæ°çŸã®ã¹ã±ããããããã¿ã€ããå®è¡ã§ããŸãã
æšæ¥ã®åŠçã¯æ°æ¥ã§æè¡ãèªèããŸãã 2é±éåŸã圌ãæžããã³ãŒãã¯ç°¡åã«æ¬çªç°å¢ã«å ¥ããŸãã
å€ãã®å Žåãå€æŽã¯æ¬¡ã®ãªãªãŒã¹ãŸã§åŸ ããªãããšããããŸãããŠãŒã¶ãŒã®èŠä»¶ã¯é»è©±ã§ã®äŒè©±ã§æºããããšãã§ããŸãã å€ãã®å ŽåããŠãŒã¶ãŒã¯ãF5ãã䜿çšããŠå€æŽãããã³ãŒããæäœããå¿ èŠãããããŸããã
話ãæéããªããã®ïŒ
ã¹ãã¬ãŒãžã¬ãã«ã®ç¶æ¿ã¯ãåãããŒã¿ã«ã¢ã¯ã»ã¹ããããã®ããŸããŸãªã€ã³ã¿ãŒãã§ã€ã¹ãæäŸããåªããããŒã«ã§ãã
æé»ã®åå ã ããã¹ãïŒããã³ãœãŒã¹ïŒã«äŸããããŸãããããŒã«ã®åã¯ç¢ºãã«æããã«ãããŠããŸããã
ãããŠèè ããïŒ
ç§ã¯ãã ã®ã¢ã€ãã©ãŒã ãšæã£ãŠããã ãã§ãªããæ ã®èª¬æè ã§ããããŸãã é 延äœæãããã³ãŒãã¯ããã«è¡šç€ºãããŸã-ç°¡æœã§ç解ãããããæå³ãããšããã«æ£ç¢ºãã€éåžžã«å¹ççã«å®è¡ãããŸãã æåŸã®èŠå ã¯éèŠã§ã-ããã°ã©ããŒã¯æ®éçãªã³ãŒããèããŠèšè¿°ããŸããããã®éåœã¯ãã·ã¹ãã ã®ã©ã€ããµã€ã¯ã«ã®çµãããŸã§ãã©ã¡ãŒã¿ãŒã®äºæž¬ããã質éã«ãŸã£ããäœãå ¥ãããããã°ã©ããŒãæ³åããæ°çŸã®ä»£ããã«2ã€ã®å€ã®ã¿ãè¿ãããšã§ãïŒã¢ããªã¹ããæªãå ŽåïŒã æ zyãªããã°ã©ããŒãç°¡åã«åºå¥ã§ããŸã-圌ã¯éœæ°ã§å¹ççã§ãã 圌ã¯äžä¿çãªãŽã·ãããšNoSQLããªããŒãç¥ã£ãŠããŸãã 圌ã¯åå Žã蚪ããåäŸãã¡ã«åŸäºããŠããŸãã 圌ãããã°ã©ã ããå Žåã¯ããããªãã§ã¯ã§ããªãå Žåã«ã®ã¿ã
ã€ã³ã¿ãŒã·ã¹ãã ãºã®ã¡ãªããã¯å°ãããšäž»åŒµãã人ãããŸã-äž»ãªãã®ã¯ãMèšèªãã°ããŒãã«ãããã³éæšé 建ç¯ã®ãã®ä»ã®æ¥œãã¿ã§ãïŒæåã®ããŒãžã§ã³ã§ã¯ãããã§ããã€ãã«å°å°ãããäœæ¥ãå ¥åããŸããïŒã ç§ãã¡ã®ããã°ã©ããŒã®å€ãã¯æ°å¹Žã«ããã£ãŠCacheã§äœæ¥ããŠãããã°ããŒãã«ã§äœæ¥ããããã®ã³ãã³ãããç¥ããªãã®ã§ãã
ã€ã³ã¿ãŒã·ã¹ãã ãºã®ã¡ãªããã¯ããeveryday Mããå¿ããããšãå¯èœã«ããããšã§ããå®å šã«ç°ãªãæçã®å³ã食ãã¹ãã€ã¹ãšããŠã®ã¿äœ¿çšããããšãææ¡ãããã®ã¬ã·ãã玹ä»ãå§ããŸããã
éèŠãªè泚ïŒäžèšã®ãã¹ãŠã¯ãã·ã¢ã®äŒèšåºæºã«é©çšãããŸãã-æªåé«ãRASãäŒèšãç·šæããå¿ èŠããªãå«ãªäŸã§ãã ç§ã¯äŒèšãœãããŠã§ã¢ãæžãããšã¯ãããŸããã ç§ã¯20幎åã«èªåèªèº«ã«èšããŸããã ä»çããã ã¹ããŒã«ã«ãé ç·ããªããžã§ã¯ãã¯ãããŸããïŒ ã·ã§ãŒã±ãŒã¹ã売ãæããã£ãã·ã¥ãã¹ã¯ããããŸãã 22æãŸã§ã¢ã«ã³ãŒã«ã®ãªããžã§ã¯ãããããŸãã ããããé ç·ãªããžã§ã¯ãã¯ãããŸããã ãã®é ç·ã§ããã
ãæž èŽããããšãããããŸããã