IBM Developer is your one-stop location for getting hands-on training and learning in-demand skills on relevant technologies such as generative AI, data science, AI, and open source.
ããã¾ã§ã®é£è¼ãéãã¦ãCouchDBã®åºæ¬çãªæ¦å¿µã¨ä½¿ãæ¹ãã¢ããªã±ã¼ã·ã§ã³ã®ä½ææ¹æ³ã¾ã§ã解説ãã¦ãã¾ãããããããã¯ããã«ä¸æ©è¸ã¿è¾¼ãã§ãCouchDBãDBãµã¼ããAPãµã¼ãã¨ãã¦å®éã«éç¨ããã¨ãã«å½¹ã«ç«ã¤æ©è½ãç´¹ä»ãã¦ããã¾ããå ·ä½çã«ã¯ã次ã®3ã¤ã®ãã¼ããåãæ±ãã¾ãã å ¨ææ¤ç´¢ãå°å ¥ããã°ãCouchDBå ã«ãããã¹ã¦ã®ããã¥ã¡ã³ãã対象ã«ãç¹å®ã®ãã¼ã¯ã¼ããæå®ãã¦æ¤ç´¢ã§ãã¾ããã¦ã¼ã¶ã¼èªè¨¼ã§ã¯ãä¾ãã°DBã®ç®¡çè 権éãç¹å®ã®ã¦ã¼ã¶ã¼ã®ã¿ã«ä»ä¸ã§ãã¾ããã¦ã¼ã¶ã¼èªè¨¼ã¯ã¾ã å å®ãã¦ããã¨ã¯ãããªãã¬ãã«ã§ãããç¾æç¹ã§ã¯ã©ã®ãããªé¸æè¢ãããããç´¹ä»ãã¦ããããã¨æãã¾ããæå¾ã«CouchDBã¸ã®è² è·ãåæ£ãããæ¹æ³ã¨ãã¦ãCouchDBã®ã¤ã³ã¹ã¿ã³ã¹ããã¼ãã¨ãã¦è¤æ°ç¨æããåããã¥ã¡ã³ããåæ£ãã¦é ç½®ããããæ¹ãç´¹ä»ãã¾ãããããã®æ段ãç®çã«å¿ãã¦çãããã¨ãã§ããã°
第3åã¯ãCouchDBãå©ç¨ãã¦Webã¢ããªã±ã¼ã·ã§ã³éçºãè¡ãããã®ãã¼ã«ã¨ãWindowsçCouchDBã«ã¤ãã¦ç´¹ä»ãã¾ããçè ã¯CouchDBãWebã¢ããªã±ã¼ã·ã§ã³éçºè ã ãã使ãã®ã§ã¯ãªããã·ã¹ãã 管çè ãMicrosoft Officeã§äºåå¦çãè¡ã£ã¦ããã¦ã¼ã¶ã¼ã«ã¨ã£ã¦ãææãªãã¼ã«ã ã¨èãã¦ããããããã£ãæ¹é¢ã§ã®æ´»ç¨ã§ããã®ã§ã¯ãªããï¼ ã¨èãã¦ãã¾ãã CouchDBã使ã£ãéçºã¯ããã¾ã¾ã§ã¨ã©ãéãã®ï¼ Webã¢ããªã±ã¼ã·ã§ã³ã®ä¸çã§ããã¾ç¾å¨ãã使ããã¦ããã®ã¯ã3層ã¢ãã«ãã¨å¼ã°ããä»çµã¿ã ã¨æãã¾ããã¯ã©ã¤ã¢ã³ãããã®ãªã¯ã¨ã¹ãã«å¯¾ããã¢ããªã±ã¼ã·ã§ã³ãµã¼ãããã¼ã¿ãã¼ã¹ãããã¼ã¿ãæã£ã¦ãã¦ãå¦çããä¸ã§ã¯ã©ã¤ã¢ã³ãã«çµæãè¿ããã¨ããã¤ã¡ã¼ã¸ã§ããCouchDBã使ã£ãä»çµã¿ã§ã¯ãCouchDBããã¹ãã£ã³ã°ãã¦ãããµã¼ããããã ãã§ããã¤ã¾ããCou
ããã¥ã¡ã³ãæåãªKVSã£ã¦ãã¨ã¨ãåé¢ãä¼¼ã¦ããã¨è¨ããã¨ãããããæ¯è¼ããæå³ããªããããªCouchDBã¨MongoDBã ãã©ããã2ï¼3ã¶æã§ä¸¡æ¹ããããªãã«çªã£è¾¼ãã§è¦ã¦ããã®ã§æ¯è¼ãã¦ã¿ããå®è£ é¢ãããã©ã¼ãã³ã¹ãã¨ãããã¨ããã¯ã©ã¡ããã¨ããã¨(ç§ãæãã)ææ³çãªãã®ããã¦ã¼ã¶å´ããã®è¦ç¹ã§ã®æ¯è¼ã å ±éããã¨ãã ããã¯ããç°¡åã«ã ããã¥ã¡ã³ãæåãã¼ã¿ãã¼ã¹ - RDBMSã®ãããªã«ã©ã ã¨è¨ã£ããã®ãæããã«ã¹ãã¼ãã¬ã¹ã§å¥½ããªæ å ±ãå ¥ãããã Javascript/JSONãä½¿ç¨ - ãã¼ã¿èªä½ãJSONã¨ããJavascriptç±æ¥ã®ãã©ã¼ãããã§æã¡(MongoDBã¯JSONãå ã«ããBSONã¨ãããã®ã ã)ããã¼ã¿ãã¼ã¹ã®ã¢ã¯ã»ã¹ã«ã¯Javascriptã使ç¨ãã ã¹ã±ã¼ã«ã¢ã¦ãããããã«èãããã¦ãã NoSQLãªæµè¡ CouchDBã®ç¹å¾´ æ©è½ãéå®ãã¦ãã
âåç©å³éâã§ç¥ãCouchDBã®ç¹å¾´ï¼ãã£ããªã©ãã¯ã¹ï¼ CouchDBãããã¨ããï¼1ï¼ï¼1/3 ãã¼ã¸ï¼ ããã¥ã¡ã³ããæ軽ã«Webã§å ¬éãããã¨ãããªã¬ã¼ã·ã§ãã«ãã¼ã¿ãã¼ã¹ã§å®è£ ãããã¨ã«éåæãè¦ãããã¨ã¯ããã¾ãããï¼ CouchDBã¯ãã®ãããªãã¼ãºã«åã£ããæ°ãããã¼ã¿ãã¼ã¹ç®¡çã·ã¹ãã ã§ããCouchDBãç¥ãããªã©ãã¯ã¹ããªããå®è£ ããã¦ããã¾ãããï¼ç·¨éé¨ï¼ CouchDBã¨ã¯ï¼ CouchDBï¼ã«ã¦ãDBï¼ã¯ããã¥ã¡ã³ãããã¼ã¿ã¨ãã¦ç®¡çããWebã§å ¬éãããã¨ã«æé©åããããã¼ã¿ãã¼ã¹ç®¡çã·ã¹ãã ã§ããCouchDBã®âããã¥ã¡ã³ãâã¯å ±åæ¸ãä»æ§æ¸ãè°äºé²ã¨ãã£ãææ¸ããååºããããã£ã¼ã«ã¨ãã£ããã¼ã¿ã®éåã®ãã¨ãæãã¦ãã¾ããã¾ããJavaScriptã®ã½ã¼ã¹ã³ã¼ããããã¥ã¡ã³ãã®ä¸é¨ã¨ãã¦é ç½®ãããã¨ãå¯è½ã§ãã OSSã¨ãã¦ä¸è¬ã¸ã®ãªãªã¼ã¹ãå§ã¾ã£ãã®
Web Application Development - SitePen Webã¢ããªã±ã¼ã·ã§ã³ã®ã¯ã©ã¤ã¢ã³ããµã¤ãã®ã¿ãªãããµã¼ããµã¤ããJavaScriptã§å®è£ ãããã¨ãã試ã¿ãããããµã¼ããµã¤ãJavaScriptã®æ¨æºåä½æ¥ãé²ãããã¦ãããªã©ãä¸å®ã®æ¯æãéãã¦ããããããã試ã¿ã®ã²ã¨ã¤ã«ããã¼ã¿ã®æ°¸ç¶åãå®ç¾ããããã«å¾æ¥ã®RDBMSã§ã¯ãªããJSONãããã¨ããããã¼ã¿å½¢å¼ã¨ããWebã¢ããªã±ã¼ã·ã§ã³åãã®ãã¼ã¿ãã¼ã¹éçºãé²ãããã¦ãããå®è£ èªèº«ãJavaScriptã§å®è£ ããã¦ãããã®ããããããããåãçµã¿ã®ã²ã¨ã¤ãPersevereã ãDojoé¢é£ããã¸ã§ã¯ãã®ã²ã¨ã¤ã¨ä½ç½®ã¥ãããã¦ããã Webã¢ããªã±ã¼ã·ã§ã³ã«ç¹åãããã¼ã¿ãã¼ã¹ã¯ä»ã«ã¯ãã¾ã£ããã®ã§ã¯ãªããããããããã¼ã¿ãã¼ã¹ã¨ãã¦ã¯ä»£è¡¨çãªãã®ã®ã²ã¨ã¤ã§ããApache CouchDBãJavaScri
ã¨ãããé¡ã§å稿ãæ¸ãã¾ãããï¼ãã¨ããã¡ã¼ã«ããã®é±æ«ã«æèªã®æç·¨éããããæ¥ãã®ã§ãããæè¡çãªãã¨ã«ã¤ãã¦ã¯æ£ç´ãªã¾ããã«ãªã£ã¦ããã®ã§å稿æãé ããã¬ãã«ã§ã¯ã¡ãã£ã¨æ¸ããªããªããã¨è °ãå¼ãã¦ãã¾ããã¨ã¯ãããä½ãæãããªãããã§ããªãã®ã§ãæ¯ãè¨ãåãæµãã¦ã¿ã¾ããå°ãæ¬å½ã«åãæµãã§ãã£ã¦çµè«ãä½ããªãã®ã§äºããäºæ¿ãã ããã ã»ãã¼ã¿ã¢ãã« ã»ã¢ã¼ããã¯ã㣠ã»æä½è¨èª æåã®ãã¼ã¿ã¢ãã«ã¨ããã®ã¯ãRDBMSã ã¨ãªã¬ã¼ã·ã§ãã«ã¢ãã«ã§ãããã¨ãããã®ã§ãããããã¯ã¼ã¯åãã¼ã¿ãã¼ã¹ã¨ãé層åãã¼ã¿ãã¼ã¹ã¨ããªãã¸ã§ã¯ãæåãã¼ã¿ãã¼ã¹ã¨ãXMLãã¼ã¿ãã¼ã¹ã¨ãè²ã ã¨ããã¾ãããè¦ããã«ã©ãããæ¦å¿µã«åºã¥ãã¦ãã¼ã¿ãæ±ãã®ãã¨ããèãæ¹ã«ã¤ãã¦ã®è©±ã§ããããããã¼ã¿ã¢ããªã³ã°ãã¨ããè¨èãããã¾ãããããã¯ã¢ããªã³ã°è¨èªï¼å³è¨èªï¼ãå©ç¨ãããã¼ã¿ãã¼ã¹ã®ã¹ãã¼ãè¨è¨ææ³ã®è©±ã§
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}