{"id":11720,"date":"2016-09-10T23:03:35","date_gmt":"2016-09-11T07:03:35","guid":{"rendered":"http:\/\/www.horace.org\/blog\/?p=11720"},"modified":"2016-09-10T23:03:35","modified_gmt":"2016-09-11T07:03:35","slug":"sql-clearly-explained-3rd-edition-jan-l-harrington","status":"publish","type":"post","link":"https:\/\/www.horace.org\/blog\/2016\/09\/10\/sql-clearly-explained-3rd-edition-jan-l-harrington\/","title":{"rendered":"SQL Clearly Explained 3rd Edition &#8211; Jan L. Harrington"},"content":{"rendered":"<p><a href=\"https:\/\/i0.wp.com\/www.horace.org\/blog\/wp-content\/uploads\/2016\/09\/sqlclearlyexplained.jpg\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"11722\" data-permalink=\"https:\/\/www.horace.org\/blog\/2016\/09\/10\/sql-clearly-explained-3rd-edition-jan-l-harrington\/sqlclearlyexplained\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.horace.org\/blog\/wp-content\/uploads\/2016\/09\/sqlclearlyexplained.jpg?fit=677%2C821&amp;ssl=1\" data-orig-size=\"677,821\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"sqlclearlyexplained\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.horace.org\/blog\/wp-content\/uploads\/2016\/09\/sqlclearlyexplained.jpg?fit=474%2C575&amp;ssl=1\" class=\"alignnone size-medium wp-image-11722\" src=\"https:\/\/i0.wp.com\/www.horace.org\/blog\/wp-content\/uploads\/2016\/09\/sqlclearlyexplained-247x300.jpg?resize=247%2C300\" alt=\"sqlclearlyexplained\" width=\"247\" height=\"300\" srcset=\"https:\/\/i0.wp.com\/www.horace.org\/blog\/wp-content\/uploads\/2016\/09\/sqlclearlyexplained.jpg?resize=247%2C300&amp;ssl=1 247w, https:\/\/i0.wp.com\/www.horace.org\/blog\/wp-content\/uploads\/2016\/09\/sqlclearlyexplained.jpg?resize=124%2C150&amp;ssl=1 124w, https:\/\/i0.wp.com\/www.horace.org\/blog\/wp-content\/uploads\/2016\/09\/sqlclearlyexplained.jpg?resize=400%2C485&amp;ssl=1 400w, https:\/\/i0.wp.com\/www.horace.org\/blog\/wp-content\/uploads\/2016\/09\/sqlclearlyexplained.jpg?w=677&amp;ssl=1 677w\" sizes=\"auto, (max-width: 247px) 100vw, 247px\" \/><\/a><\/p>\n<p>\u5b78\u7fd2\u67b6\u8a2d\u7db2\u7ad9\uff0c\u8981\u4e00\u6b65\u6b65\u6162\u5b78\uff0c\u4e0d\u8981\u5984\u60f3\u4e00\u6b65\u767b\u5929\u3002\u539f\u672c\u5b78\u5b8cRuby\u5f8c\uff0c\u6253\u7b97\u76f4\u63a5\u5b78\u5bebRAILS\uff0c\u7136\u5f8c\u767c\u73fe\u81ea\u5df2\u4e0d\u61c2SQL\u3002\u6c92\u6709SQL\u7684\u57fa\u672c\u529f\u592b\uff0c\u4e0d\u80fd\u6709\u6548\u5730\u67b6\u8a2d\u7db2\u7ad9\uff0c\u4efb\u4f55\u7db2\u7ad9\u90fd\u8981\u7528database\u4f86\u5132\u5b58\u8cc7\u6599\u554a\u3002\u8aaa\u8d77database\u7a0b\u5f0f\uff0c\u5f88\u591a\u5e74\u524d\u6211\u5b78\u904edBase III\uff0c\u5728\u4e2d\u5b78\u96fb\u8166\u79d1\u88ab\u8feb\u5b78\u4e86\u4e00\u500b\u5b78\u671f\u3002\u7576\u5e74\u89ba\u5f97\u5b78\u4e00\u500b\u904e\u6642\u7684\u8edf\u4ef6\u5f88\u6d6a\u8cbb\u6642\u9593\uff0c\u60f3\u4e0d\u5230database\u7a0b\u5f0f\u8a2d\u8a08\u7684\u6700\u57fa\u672c\u6168\u5ff5\uff0c\u5eff\u5e7e\u5e74\u5f8c\u6703\u5f9e\u5c01\u5875\u7684\u8a18\u61b6\u4e2d\u627e\u51fa\u4f86\u6709\u7528\u3002<\/p>\n<p>\u6211\u6311\u9078\u4e86\u597d\u5e7e\u672c\u5b78\u7fd2SQL\u7684\u66f8\uff0c\u601d\u524d\u60f3\u5f8c\u5230\u5e95\u7528\u90a3\u4e00\u672c\u597d\uff0c\u6700\u5f8c\u6c7a\u5b9a\u7528\u9019\u672cSQL Clearly Explained\u70ba\u4e3b\u5e79\uff0c\u518d\u7528\u5169\u672cO&#8217;Reilly\u7684\u66f8\u70ba\u8f14\u52a9\u53c3\u8003\u3002\u5f88\u591aSQL\u7684\u66f8\u53ea\u6703\u6559\u67d0\u4e00\u500bSQL server\u7684\u61c9\u7528\uff0c\u5f88\u5bb9\u6613\u898b\u6a39\u4e0d\u898b\u6797\uff0c\u5206\u4e0d\u6e05\u5230\u5e95\u90a3\u4e9b\u662fSQL\u8a9e\u8a00\u672c\u8eab\uff0c\u90a3\u4e9b\u662f\u67d0\u4e00\u500bserver\u7684syntax\u3002\u9019\u672c\u66f8\u5f9eSQL\u6a19\u6e96\u5165\u624b\uff0c\u7b2c\u4e00\u7ae0\u4e0d\u662f\u6559\u4f60\u5b89\u88dd\u8edf\u4ef6\uff0c\u800c\u662f\u5f88\u6709\u7cfb\u7d71\u5730\u8b1b\u89e3relational database\u7684\u7406\u8ad6\u3002\u53ea\u8981\u57fa\u672c\u77e5\u8b58\u6e05\u695a\u660e\u767d\uff0c\u5b78syntax\u5f88\u7c21\u55ae\uff0c\u53ef\u4ee5\u908a\u7528\u908a\u5b78\uff0c\u67e5document\u6478\u6478\u4e0b\u5c31\u4e0a\u624b\u3002\u90a3\u5169\u672cO&#8217;Reilly\u7684\u66f8\uff0c\u4e00\u672c\u6559SQLite\uff0c\u53e6\u4e00\u672c\u6559MySQL\uff0c\u5169\u5927\u5e38\u7528\u7684database\u3002\u90a3\u5169\u672c\u66f8\u4e0d\u662f\u597d\u7684\u5165\u9580\u66f8\uff0c\u5167\u5bb9\u592a\u8457\u91cd\u8b1bsyntax\uff0c\u4e0d\u904e\u537b\u662f\u5341\u5206\u6709\u7528\u7684reference\u66f8\u3002<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/www.horace.org\/blog\/wp-content\/uploads\/2016\/09\/51vowxHiIUL.jpg\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"11727\" data-permalink=\"https:\/\/www.horace.org\/blog\/2016\/09\/10\/sql-clearly-explained-3rd-edition-jan-l-harrington\/51vowxhiiul\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.horace.org\/blog\/wp-content\/uploads\/2016\/09\/51vowxHiIUL.jpg?fit=383%2C500&amp;ssl=1\" data-orig-size=\"383,500\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"51vowxhiiul\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.horace.org\/blog\/wp-content\/uploads\/2016\/09\/51vowxHiIUL.jpg?fit=383%2C500&amp;ssl=1\" class=\"alignnone size-medium wp-image-11727\" src=\"https:\/\/i0.wp.com\/www.horace.org\/blog\/wp-content\/uploads\/2016\/09\/51vowxHiIUL-230x300.jpg?resize=230%2C300\" alt=\"51vowxhiiul\" width=\"230\" height=\"300\" srcset=\"https:\/\/i0.wp.com\/www.horace.org\/blog\/wp-content\/uploads\/2016\/09\/51vowxHiIUL.jpg?resize=230%2C300&amp;ssl=1 230w, https:\/\/i0.wp.com\/www.horace.org\/blog\/wp-content\/uploads\/2016\/09\/51vowxHiIUL.jpg?resize=115%2C150&amp;ssl=1 115w, https:\/\/i0.wp.com\/www.horace.org\/blog\/wp-content\/uploads\/2016\/09\/51vowxHiIUL.jpg?w=383&amp;ssl=1 383w\" sizes=\"auto, (max-width: 230px) 100vw, 230px\" \/><\/a><a href=\"https:\/\/i0.wp.com\/www.horace.org\/blog\/wp-content\/uploads\/2016\/09\/Learning_SQL_2nd_ed.jpg\"> <img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"11728\" data-permalink=\"https:\/\/www.horace.org\/blog\/2016\/09\/10\/sql-clearly-explained-3rd-edition-jan-l-harrington\/learning_sql_2nd_ed\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.horace.org\/blog\/wp-content\/uploads\/2016\/09\/Learning_SQL_2nd_ed.jpg?fit=457%2C600&amp;ssl=1\" data-orig-size=\"457,600\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;1&quot;}\" data-image-title=\"learning_sql_2nd_ed\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.horace.org\/blog\/wp-content\/uploads\/2016\/09\/Learning_SQL_2nd_ed.jpg?fit=457%2C600&amp;ssl=1\" class=\"alignnone size-medium wp-image-11728\" src=\"https:\/\/i0.wp.com\/www.horace.org\/blog\/wp-content\/uploads\/2016\/09\/Learning_SQL_2nd_ed-229x300.jpg?resize=229%2C300\" alt=\"learning_sql_2nd_ed\" width=\"229\" height=\"300\" srcset=\"https:\/\/i0.wp.com\/www.horace.org\/blog\/wp-content\/uploads\/2016\/09\/Learning_SQL_2nd_ed.jpg?resize=229%2C300&amp;ssl=1 229w, https:\/\/i0.wp.com\/www.horace.org\/blog\/wp-content\/uploads\/2016\/09\/Learning_SQL_2nd_ed.jpg?resize=114%2C150&amp;ssl=1 114w, https:\/\/i0.wp.com\/www.horace.org\/blog\/wp-content\/uploads\/2016\/09\/Learning_SQL_2nd_ed.jpg?resize=400%2C525&amp;ssl=1 400w, https:\/\/i0.wp.com\/www.horace.org\/blog\/wp-content\/uploads\/2016\/09\/Learning_SQL_2nd_ed.jpg?w=457&amp;ssl=1 457w\" sizes=\"auto, (max-width: 229px) 100vw, 229px\" \/><\/a><\/p>\n<p>Relational database\u7684\u7406\u8ad6\uff0c\u8aaa\u96e3\u4e0d\u96e3\uff0c\u8aaa\u6613\u4e0d\u6613\uff0c\u9818\u609f\u5230\u5c31\u4e00\u7406\u901a\u767e\u7406\u660e\u3002Database\u662f\u4ec0\u9ebc\uff0c\u4e0d\u5916\u4e4e\u4e00\u5806table\u3002Table\u5c31\u597d\u4f3cExcel\u7684spreadsheet\u5481\uff0c\u6253\u6a6b\u6253\u76f4\u4e00\u884c\u884c\uff0c\u6bcf\u683c\u5c31\u662f\u4e00\u9805\u8cc7\u6599\u3002\u6bcf\u4e00\u884c\u6709\u4e00\u683c\u4fc2primary key\uff0c\u7528\u4f86look up\u90a3\u4e00\u884c\u3002\u4e00\u884c\u4e4b\u53c8\u53ef\u4ee5\u6709foriegn key\uff0c\u9023\u7d50\u53e6\u5916\u4e00\u500btable\u7684primary key\uff0c\u8868\u660etable\u8207table\u4e4b\u9593\u884c\u8207\u884c\u7684\u95dc\u4fc2\uff0c\u8b02\u4e4brelation\u662f\u4e5f\u3002\u6aa2\u67e5\u641c\u5c0bdatabase\u53ea\u67096\u500b\u57fa\u672c\u64cd\u4f5c\uff0c\u6240\u6709\u90fd\u53ea\u662f\u842c\u8b8a\u4e0d\u96e2\u5176\u4e2d\u30026\u500b\u64cd\u4f5c\u5305\u62ec\uff0cfilter\u884c(WHERE)\u6216filter\u5217(SELECT)\uff0c\u628a\u5169\u7d44\u884c\u7684\u884c\u52a0\u8d77\u4f86(UNION)\uff0c\u627e\u51fa\u76f8\u540c\u7684\u884c(INTERSECT)\uff0c\u627e\u51fa\u4e0d\u540c\u7684\u884c(EXCEPT)\uff0c\u800c\u6700\u91cd\u8981\u7684\u64cd\u4f5c\u662fJOIN\uff0c\u5373\u4fc2\u9023\u7d50\u8d77primary key\u540cforeign key\u65e2relation\u3002<\/p>\n<p>\u6b64\u66f8\u7684\u7b2c\u4e8c\u90e8\u4efd\u6559SQL Syntax\uff0c\u5be6\u7fd2\u7b2c\u4e00\u90e8\u4efd\u7684SQL\u7406\u8ad6\u3002\u9019\u672c\u66f8\u7684\u53e6\u4e00\u500b\u512a\u9ede\uff0c\u662f\u66f8\u4e2d\u9644\u5e36\u73fe\u6210\u7684database\uff0c\u4e00\u9593\u4e8c\u624b\u66f8\u5e97\u7684\u5b58\u8ca8\u8cb7\u8ce3\u8cc7\u6599\uff0c\u4e0d\u4f3c\u5176\u4ed6\u66f8\u53ea\u8b1b\u7a7a\u8ac7syntax\u3002\u6211\u628a\u66f8\u4e2d\u7684\u4f8b\u5b50\u8f38\u5165\u4e86SQLite\u6a94\u6848\uff0c\u4e26\u9644\u4e0a\u5404table\u7684csv\u6a94\u6848\uff0c\u6709\u8208\u8da3\u7684\u670b\u53cb\u53ef\u4ee5\u5728\u6b64\u4e0b\u8f09<a href=\"http:\/\/www.horace.org\/blog\/wp-content\/uploads\/2016\/09\/sql_clearly_explained.7z\">SQL\u3000Clearly Explained Sample Database<\/a>\u3002\u5b78\u7fd2SQL\u7684\u6b21\u5e8f\uff0c\u6700\u5148\u5b78\u641c\u67e5\uff0c\u5982\u4f55\u5728database\u4e2d\u627e\u51fa\u4f60\u60f3\u8981\u7684\u8cc7\u6599\uff0c\u5176\u6b21\u5b78\u5982\u4f55\u66f4\u65b0\u8cc7\u6599\uff0c\u6700\u5f8c\u624d\u5b78\u5982\u4f55\u5efa\u7acb\u8a2d\u8a08database\u7684table\u3002\u6240\u4ee5\u6709\u4e00\u500b\u73fe\u6210\u7684database\uff0c\u518d\u8ddf\u8457\u66f8\u4e2d\u7684\u4e0d\u540c\u61c9\u7528\u4f8b\u5b50\uff0c\u5b78\u641c\u67e5\u5f88\u65b9\u4fbf\uff0c\u4e8b\u534a\u529f\u90e8\u3002\u66f4\u65b0\u8cc7\u6599\u7684syntax\u5f88\u7c21\u55ae\uff0c\u6709\u5f88\u8f14\u52a9function\u8b93\u4f60\u53ef\u4ee5\u5beb\u5c11\u5e7e\u884ccode\uff0c\u6700\u91cd\u8981\u7684\u6168\u5ff5\u662fACID transaction\uff0c\u8aaa\u7a7f\u4e86\u5c31\u662fmulti-threads\u7684synchronization problem\uff0c\u53ea\u662f\u6539\u4e86\u500b\u597d\u807d\u7684acronym\u3002\u8a2d\u8a08table\u90a3\u4e00\u7ae0\u6559CREATE\u7684syntax\uff0c\u4e0d\u904e\u6211\u60f3\u6c92\u6709\u4eba\u6703\u7528SQL\u53bb\u76f4\u63a5\u8d77table\uff0c\u4e0d\u662f\u6709\u5176\u4ed6GUI\u5de5\u5177\u66f4\u597d\u7528\u55ce\u3002\u8d77\u4e00\u500b\u6709\u6548\u7387\u7684table\u662f\u9580\u5f88\u9ad8\u6df1\u7684\u5b78\u554f\uff0c\u5165\u9580\u66f8\u6559syntax\u53ea\u662f\u6559\u4e86table design\u7684\u76ae\u6bdb\u3002<\/p>\n<p>\u9918\u4e0b\u7684\u7b2c\u4e09\u90e8\u4efd\u548c\u7b2c\u56db\u90e8\u4efd\uff0c\u6211\u53ea\u662f\u5feb\u901f\u7565\u8b80\u3002SQL\u672c\u8eab\u662f\u4e00\u500bturing-complete\u7684\u7a0b\u5f0f\u8a9e\u8a00\uff0c\u7b2c\u4e09\u90e8\u4efd\u6559SQL\u5beb\u4e00\u822c\u7a0b\u5f0f\u7684syntax\uff0c\u53ea\u662f\u6211\u4e0d\u660e\u767d\u6709\u4ec0\u9ebc\u4eba\u6703\u7528\uff0cSQL\u7684PROCEDURE\u548cTRIGGER\u53ea\u662fsearch filter\u7684\u8f14\u52a9\u5de5\u5177\uff0c\u771f\u6b63\u8981\u505aheavy lifting\u8cc7\u6599\u904b\u7b97\uff0c\u70ba\u4ec0\u9ebc\u4e0d\u628a\u8cc7\u6599\u8b80\u51fa\u4f86\u5f8c\uff0c\u7528host\u529f\u80fd\u66f4\u5f37\u5927\u7684programming langauge\u53bbprocess\u3002\u7b2c\u56db\u90e8\u4efd\u6559SQL\u4e2dXML\u7684\u529f\u80fd\u548cObject Relational Data Model\uff0c\u4e0d\u904e\u9664\u4e86Oracle\u6216Microsft\u90a3\u4e9b\u5546\u7528\u7d1a\u7684server\uff0cSQLite\u548cMySQL\u90fd\u4e0d\u652f\u63f4\u9019\u4e9b\u529f\u80fd\uff0c\u4e0d\u904e\u8981\u641c\u67e5\u66f4\u65b0XML\uff0c\u7528DOM\u4e0d\u662f\u66f4\u65b9\u4fbf\u55ce\uff1f\u6211\u60f3\u4e0d\u5230\u6709\u4ec0\u9ebc\u7406\u7531\uff0c\u8981\u628aXML\u76f4\u63a5\u7576\u6578\u64da\u5132\u5b58\u5728database\u4e2d\uff0c\u70ba\u4ec0\u9ebc\u4e0d\u5148\u89e3\u8b80\u4e86XML\u4e2d\u7684\u8cc7\u6599\uff0c\u518d\u6709\u7cfb\u7d71\u5730\u5132\u653e\u5165table\u4e2d\u5462\uff1fOpen Source\u7684server\u4e2d\uff0c\u53ea\u6709PostgreSQL\u652f\u63f4Object Relational Data Model\uff0c\u7c21\u55ae\u4f86\u8aaa\u5c31\u662f\u628aOOP\u4e2d\u7684object\u5132\u5b58\u5728database\u4e2d\uff0c\u61c2OOP\u7684\u4eba\u5b78Object Model\u5f88\u7c21\u55ae\u3002Object Relation\u5c31\u5728table\u7684\u4e00\u683c\u5167\uff0c\u53ef\u4ee5\u5132\u5b58\u4e00\u500bobject\uff0c\u6216array\uff0cset\u7b49\u7b49\uff0c\u539f\u672ctable\u7684\u4e00\u683c\u53ea\u53ef\u4ee5\u5132\u5b58\u4e00\u500b\u6578\u503c\u3002\u53e6\u5916\u4e00\u884c\u53ef\u4ee5\u7528pointer\u76f4\u63a5link\u53bb\u53e6\u4e00\u884c\u5ea6\uff0c\u6bd4\u7528foreign key\u66f4\u6709\u6548\u7387\uff0c\u56e0\u70ba\u4e0d\u7528\u505asearch\u3002<\/p>\n<p>\u5b78\u5b8cSQL\uff0c\u5ffd\u7136\u5f15\u8d77\u6211\u5c0ddatabase\u7684\u8208\u8da3\uff0c\u66ab\u6642\u653e\u4e0bRAILS\uff0c(\u53cd\u6b63\u8981\u7b49RAILS-5\u7684\u65b0\u66f8\u51fa\u7248\uff0c\u6c92\u6709\u7406\u7531\u8d70\u53bb\u5b78RAILS-4\uff09\uff0c\u6c7a\u5b9a\u5148\u5b78\u5176\u4ed6No-SQL database\uff0c\u770b\u770b\u9084\u6709\u4ec0\u9ebc\u5176\u4ed6\u5132\u5b58\u8cc7\u6599\u7684\u5176\u4ed6\u65b9\u6cd5\uff0c\u624d\u6c7a\u5b9a\u7db2\u7ad9\u8a72\u63a1\u7528\u90a3\u7a2edatabase\u6700\u597d\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5b78\u7fd2\u67b6\u8a2d\u7db2\u7ad9\uff0c\u8981\u4e00\u6b65\u6b65\u6162\u5b78\uff0c\u4e0d\u8981\u5984\u60f3\u4e00\u6b65\u767b\u5929\u3002\u539f\u672c\u5b78\u5b8cRuby\u5f8c\uff0c\u6253\u7b97\u76f4\u63a5\u5b78\u5bebRAILS\uff0c\u7136\u5f8c\u767c\u73fe\u81ea\u5df2\u4e0d\u61c2SQL\u3002\u6c92\u6709SQL\u7684\u57fa\u672c\u529f\u592b\uff0c\u4e0d\u80fd\u6709\u6548\u5730\u67b6\u8a2d\u7db2\u7ad9\uff0c\u4efb\u4f55\u7db2\u7ad9\u90fd\u8981\u7528database\u4f86\u5132\u5b58\u8cc7\u6599\u554a\u3002\u8aaa\u8d77database\u7a0b\u5f0f\uff0c\u5f88\u591a\u5e74\u524d\u6211\u5b78\u904edBase III\uff0c\u5728\u4e2d\u5b78\u96fb\u8166\u79d1\u88ab\u8feb\u5b78\u4e86\u4e00\u500b\u5b78\u671f\u3002\u7576\u5e74\u89ba\u5f97\u5b78\u4e00\u500b\u904e\u6642\u7684\u8edf\u4ef6\u5f88\u6d6a\u8cbb\u6642\u9593\uff0c\u60f3\u4e0d\u5230database\u7a0b\u5f0f\u8a2d\u8a08\u7684\u6700\u57fa\u672c\u6168\u5ff5\uff0c\u5eff\u5e7e\u5e74\u5f8c\u6703\u5f9e\u5c01\u5875\u7684\u8a18\u61b6\u4e2d\u627e\u51fa\u4f86\u6709\u7528\u3002 \u6211\u6311\u9078\u4e86\u597d\u5e7e\u672c\u5b78\u7fd2SQL\u7684\u66f8\uff0c\u601d\u524d\u60f3\u5f8c\u5230\u5e95\u7528\u90a3\u4e00\u672c\u597d\uff0c\u6700\u5f8c\u6c7a\u5b9a\u7528\u9019\u672cSQL Clearly Explained\u70ba\u4e3b\u5e79\uff0c\u518d\u7528\u5169\u672cO&#8217;Reilly\u7684\u66f8\u70ba\u8f14\u52a9\u53c3\u8003\u3002\u5f88\u591aSQL\u7684\u66f8\u53ea\u6703\u6559\u67d0\u4e00\u500bSQL server\u7684\u61c9\u7528\uff0c\u5f88\u5bb9\u6613\u898b\u6a39\u4e0d\u898b\u6797\uff0c\u5206\u4e0d\u6e05\u5230\u5e95\u90a3\u4e9b\u662fSQL\u8a9e\u8a00\u672c\u8eab\uff0c\u90a3\u4e9b\u662f\u67d0\u4e00\u500bserver\u7684syntax\u3002\u9019\u672c\u66f8\u5f9eSQL\u6a19\u6e96\u5165\u624b\uff0c\u7b2c\u4e00\u7ae0\u4e0d\u662f\u6559\u4f60\u5b89\u88dd\u8edf\u4ef6\uff0c\u800c\u662f\u5f88\u6709\u7cfb\u7d71\u5730\u8b1b\u89e3relational database\u7684\u7406\u8ad6\u3002\u53ea\u8981\u57fa\u672c\u77e5\u8b58\u6e05\u695a\u660e\u767d\uff0c\u5b78syntax\u5f88\u7c21\u55ae\uff0c\u53ef\u4ee5\u908a\u7528\u908a\u5b78\uff0c\u67e5document\u6478\u6478\u4e0b\u5c31\u4e0a\u624b\u3002\u90a3\u5169\u672cO&#8217;Reilly\u7684\u66f8\uff0c\u4e00\u672c\u6559SQLite\uff0c\u53e6\u4e00\u672c\u6559MySQL\uff0c\u5169\u5927\u5e38\u7528\u7684database\u3002\u90a3\u5169\u672c\u66f8\u4e0d\u662f\u597d\u7684\u5165\u9580\u66f8\uff0c\u5167\u5bb9\u592a\u8457\u91cd\u8b1bsyntax\uff0c\u4e0d\u904e\u537b\u662f\u5341\u5206\u6709\u7528\u7684reference\u66f8\u3002 Relational database\u7684\u7406\u8ad6\uff0c\u8aaa\u96e3\u4e0d\u96e3\uff0c\u8aaa\u6613\u4e0d\u6613\uff0c\u9818\u609f\u5230\u5c31\u4e00\u7406\u901a\u767e\u7406\u660e\u3002Database\u662f\u4ec0\u9ebc\uff0c\u4e0d\u5916\u4e4e\u4e00\u5806table\u3002Table\u5c31\u597d\u4f3cExcel\u7684spreadsheet\u5481\uff0c\u6253\u6a6b\u6253\u76f4\u4e00\u884c\u884c\uff0c\u6bcf\u683c\u5c31\u662f\u4e00\u9805\u8cc7\u6599\u3002\u6bcf\u4e00\u884c\u6709\u4e00\u683c\u4fc2primary key\uff0c\u7528\u4f86look up\u90a3\u4e00\u884c\u3002\u4e00\u884c\u4e4b\u53c8\u53ef\u4ee5\u6709foriegn key\uff0c\u9023\u7d50\u53e6\u5916\u4e00\u500btable\u7684primary key\uff0c\u8868\u660etable\u8207table\u4e4b\u9593\u884c\u8207\u884c\u7684\u95dc\u4fc2\uff0c\u8b02\u4e4brelation\u662f\u4e5f\u3002\u6aa2\u67e5\u641c\u5c0bdatabase\u53ea\u67096\u500b\u57fa\u672c\u64cd\u4f5c\uff0c\u6240\u6709\u90fd\u53ea\u662f\u842c\u8b8a\u4e0d\u96e2\u5176\u4e2d\u30026\u500b\u64cd\u4f5c\u5305\u62ec\uff0cfilter\u884c(WHERE)\u6216filter\u5217(SELECT)\uff0c\u628a\u5169\u7d44\u884c\u7684\u884c\u52a0\u8d77\u4f86(UNION)\uff0c\u627e\u51fa\u76f8\u540c\u7684\u884c(INTERSECT)\uff0c\u627e\u51fa\u4e0d\u540c\u7684\u884c(EXCEPT)\uff0c\u800c\u6700\u91cd\u8981\u7684\u64cd\u4f5c\u662fJOIN\uff0c\u5373\u4fc2\u9023\u7d50\u8d77primary key\u540cforeign key\u65e2relation\u3002 \u6b64\u66f8\u7684\u7b2c\u4e8c\u90e8\u4efd\u6559SQL Syntax\uff0c\u5be6\u7fd2\u7b2c\u4e00\u90e8\u4efd\u7684SQL\u7406\u8ad6\u3002\u9019\u672c\u66f8\u7684\u53e6\u4e00\u500b\u512a\u9ede\uff0c\u662f\u66f8\u4e2d\u9644\u5e36\u73fe\u6210\u7684database\uff0c\u4e00\u9593\u4e8c\u624b\u66f8\u5e97\u7684\u5b58\u8ca8\u8cb7\u8ce3\u8cc7\u6599\uff0c\u4e0d\u4f3c\u5176\u4ed6\u66f8\u53ea\u8b1b\u7a7a\u8ac7syntax\u3002\u6211\u628a\u66f8\u4e2d\u7684\u4f8b\u5b50\u8f38\u5165\u4e86SQLite\u6a94\u6848\uff0c\u4e26\u9644\u4e0a\u5404table\u7684csv\u6a94\u6848\uff0c\u6709\u8208\u8da3\u7684\u670b\u53cb\u53ef\u4ee5\u5728\u6b64\u4e0b\u8f09SQL\u3000Clearly Explained Sample Database\u3002\u5b78\u7fd2SQL\u7684\u6b21\u5e8f\uff0c\u6700\u5148\u5b78\u641c\u67e5\uff0c\u5982\u4f55\u5728database\u4e2d\u627e\u51fa\u4f60\u60f3\u8981\u7684\u8cc7\u6599\uff0c\u5176\u6b21\u5b78\u5982\u4f55\u66f4\u65b0\u8cc7\u6599\uff0c\u6700\u5f8c\u624d\u5b78\u5982\u4f55\u5efa\u7acb\u8a2d\u8a08database\u7684table\u3002\u6240\u4ee5\u6709\u4e00\u500b\u73fe\u6210\u7684database\uff0c\u518d\u8ddf\u8457\u66f8\u4e2d\u7684\u4e0d\u540c\u61c9\u7528\u4f8b\u5b50\uff0c\u5b78\u641c\u67e5\u5f88\u65b9\u4fbf\uff0c\u4e8b\u534a\u529f\u90e8\u3002\u66f4\u65b0\u8cc7\u6599\u7684syntax\u5f88\u7c21\u55ae\uff0c\u6709\u5f88\u8f14\u52a9function\u8b93\u4f60\u53ef\u4ee5\u5beb\u5c11\u5e7e\u884ccode\uff0c\u6700\u91cd\u8981\u7684\u6168\u5ff5\u662fACID transaction\uff0c\u8aaa\u7a7f\u4e86\u5c31\u662fmulti-threads\u7684synchronization problem\uff0c\u53ea\u662f\u6539\u4e86\u500b\u597d\u807d\u7684acronym\u3002\u8a2d\u8a08table\u90a3\u4e00\u7ae0\u6559CREATE\u7684syntax\uff0c\u4e0d\u904e\u6211\u60f3\u6c92\u6709\u4eba\u6703\u7528SQL\u53bb\u76f4\u63a5\u8d77table\uff0c\u4e0d\u662f\u6709\u5176\u4ed6GUI\u5de5\u5177\u66f4\u597d\u7528\u55ce\u3002\u8d77\u4e00\u500b\u6709\u6548\u7387\u7684table\u662f\u9580\u5f88\u9ad8\u6df1\u7684\u5b78\u554f\uff0c\u5165\u9580\u66f8\u6559syntax\u53ea\u662f\u6559\u4e86table design\u7684\u76ae\u6bdb\u3002 \u9918\u4e0b\u7684\u7b2c\u4e09\u90e8\u4efd\u548c\u7b2c\u56db\u90e8\u4efd\uff0c\u6211\u53ea\u662f\u5feb\u901f\u7565\u8b80\u3002SQL\u672c\u8eab\u662f\u4e00\u500bturing-complete\u7684\u7a0b\u5f0f\u8a9e\u8a00\uff0c\u7b2c\u4e09\u90e8\u4efd\u6559SQL\u5beb\u4e00\u822c\u7a0b\u5f0f\u7684syntax\uff0c\u53ea\u662f\u6211\u4e0d\u660e\u767d\u6709\u4ec0\u9ebc\u4eba\u6703\u7528\uff0cSQL\u7684PROCEDURE\u548cTRIGGER\u53ea\u662fsearch filter\u7684\u8f14\u52a9\u5de5\u5177\uff0c\u771f\u6b63\u8981\u505aheavy lifting\u8cc7\u6599\u904b\u7b97\uff0c\u70ba\u4ec0\u9ebc\u4e0d\u628a\u8cc7\u6599\u8b80\u51fa\u4f86\u5f8c\uff0c\u7528host\u529f\u80fd\u66f4\u5f37\u5927\u7684programming langauge\u53bbprocess\u3002\u7b2c\u56db\u90e8\u4efd\u6559SQL\u4e2dXML\u7684\u529f\u80fd\u548cObject Relational Data Model\uff0c\u4e0d\u904e\u9664\u4e86Oracle\u6216Microsft\u90a3\u4e9b\u5546\u7528\u7d1a\u7684server\uff0cSQLite\u548cMySQL\u90fd\u4e0d\u652f\u63f4\u9019\u4e9b\u529f\u80fd\uff0c\u4e0d\u904e\u8981\u641c\u67e5\u66f4\u65b0XML\uff0c\u7528DOM\u4e0d\u662f\u66f4\u65b9\u4fbf\u55ce\uff1f\u6211\u60f3\u4e0d\u5230\u6709\u4ec0\u9ebc\u7406\u7531\uff0c\u8981\u628aXML\u76f4\u63a5\u7576\u6578\u64da\u5132\u5b58\u5728database\u4e2d\uff0c\u70ba\u4ec0\u9ebc\u4e0d\u5148\u89e3\u8b80\u4e86XML\u4e2d\u7684\u8cc7\u6599\uff0c\u518d\u6709\u7cfb\u7d71\u5730\u5132\u653e\u5165table\u4e2d\u5462\uff1fOpen Source\u7684server\u4e2d\uff0c\u53ea\u6709PostgreSQL\u652f\u63f4Object Relational Data Model\uff0c\u7c21\u55ae\u4f86\u8aaa\u5c31\u662f\u628aOOP\u4e2d\u7684object\u5132\u5b58\u5728database\u4e2d\uff0c\u61c2OOP\u7684\u4eba\u5b78Object Model\u5f88\u7c21\u55ae\u3002Object Relation\u5c31\u5728table\u7684\u4e00\u683c\u5167\uff0c\u53ef\u4ee5\u5132\u5b58\u4e00\u500bobject\uff0c\u6216array\uff0cset\u7b49\u7b49\uff0c\u539f\u672ctable\u7684\u4e00\u683c\u53ea\u53ef\u4ee5\u5132\u5b58\u4e00\u500b\u6578\u503c\u3002\u53e6\u5916\u4e00\u884c\u53ef\u4ee5\u7528pointer\u76f4\u63a5link\u53bb\u53e6\u4e00\u884c\u5ea6\uff0c\u6bd4\u7528foreign key\u66f4\u6709\u6548\u7387\uff0c\u56e0\u70ba\u4e0d\u7528\u505asearch\u3002 \u5b78\u5b8cSQL\uff0c\u5ffd\u7136\u5f15\u8d77\u6211\u5c0ddatabase\u7684\u8208\u8da3\uff0c\u66ab\u6642\u653e\u4e0bRAILS\uff0c(\u53cd\u6b63\u8981\u7b49RAILS-5\u7684\u65b0\u66f8\u51fa\u7248\uff0c\u6c92\u6709\u7406\u7531\u8d70\u53bb\u5b78RAILS-4\uff09\uff0c\u6c7a\u5b9a\u5148\u5b78\u5176\u4ed6No-SQL database\uff0c\u770b\u770b\u9084\u6709\u4ec0\u9ebc\u5176\u4ed6\u5132\u5b58\u8cc7\u6599\u7684\u5176\u4ed6\u65b9\u6cd5\uff0c\u624d\u6c7a\u5b9a\u7db2\u7ad9\u8a72\u63a1\u7528\u90a3\u7a2edatabase\u6700\u597d\u3002<\/p>\n","protected":false},"author":2,"featured_media":11722,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"lc_iscn_info":[],"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"\u5b78SQL database\uff0c\u8aaa\u96e3\u4e0d\u96e3\uff0c\u8aaa\u6613\u4e0d\u6613","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[8],"tags":[261,1198],"class_list":["post-11720","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-_books","tag-programming","tag-sql"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>SQL Clearly Explained 3rd Edition - Jan L. Harrington - \u54f2\u5b50\u6232 Philosophist\u2019s Camp<\/title>\n<meta name=\"description\" content=\"\u5b78\u7fd2\u67b6\u8a2d\u7db2\u7ad9\uff0c\u8981\u4e00\u6b65\u6b65\u6162\u5b78\uff0c\u4e0d\u8981\u5984\u60f3\u4e00\u6b65\u767b\u5929\u3002\u539f\u672c\u5b78\u5b8cRuby\u5f8c\uff0c\u6253\u7b97\u76f4\u63a5\u5b78\u5bebRAILS\uff0c\u7136\u5f8c\u767c\u73fe\u81ea\u5df2\u4e0d\u61c2SQL\u3002\u6c92\u6709SQL\u7684\u57fa\u672c\u529f\u592b\uff0c\u4e0d\u80fd\u6709\u6548\u5730\u67b6\u8a2d\u7db2\u7ad9\uff0c\u4efb\u4f55\u7db2\u7ad9\u90fd\u8981\u7528database\u4f86\u5132\u5b58\u8cc7\u6599\u554a\u3002\u8aaa\u8d77database\u7a0b\u5f0f\uff0c\u5f88\u591a\u5e74\u524d\u6211\u5b78\u904edBase\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.horace.org\/blog\/2016\/09\/10\/sql-clearly-explained-3rd-edition-jan-l-harrington\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"SQL Clearly Explained 3rd Edition - Jan L. Harrington - \u54f2\u5b50\u6232 Philosophist\u2019s Camp\" \/>\n<meta property=\"og:description\" content=\"\u5b78\u7fd2\u67b6\u8a2d\u7db2\u7ad9\uff0c\u8981\u4e00\u6b65\u6b65\u6162\u5b78\uff0c\u4e0d\u8981\u5984\u60f3\u4e00\u6b65\u767b\u5929\u3002\u539f\u672c\u5b78\u5b8cRuby\u5f8c\uff0c\u6253\u7b97\u76f4\u63a5\u5b78\u5bebRAILS\uff0c\u7136\u5f8c\u767c\u73fe\u81ea\u5df2\u4e0d\u61c2SQL\u3002\u6c92\u6709SQL\u7684\u57fa\u672c\u529f\u592b\uff0c\u4e0d\u80fd\u6709\u6548\u5730\u67b6\u8a2d\u7db2\u7ad9\uff0c\u4efb\u4f55\u7db2\u7ad9\u90fd\u8981\u7528database\u4f86\u5132\u5b58\u8cc7\u6599\u554a\u3002\u8aaa\u8d77database\u7a0b\u5f0f\uff0c\u5f88\u591a\u5e74\u524d\u6211\u5b78\u904edBase\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.horace.org\/blog\/2016\/09\/10\/sql-clearly-explained-3rd-edition-jan-l-harrington\/\" \/>\n<meta property=\"og:site_name\" content=\"\u54f2\u5b50\u6232 Philosophist\u2019s Camp\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/horace.org\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/horace.org\" \/>\n<meta property=\"article:published_time\" content=\"2016-09-11T07:03:35+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/i0.wp.com\/www.horace.org\/blog\/wp-content\/uploads\/2016\/09\/sqlclearlyexplained.jpg?fit=677%2C821&ssl=1\" \/>\n\t<meta property=\"og:image:width\" content=\"677\" \/>\n\t<meta property=\"og:image:height\" content=\"821\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"hevangel\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@horaceorg\" \/>\n<meta name=\"twitter:site\" content=\"@horaceorg\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"hevangel\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.horace.org\\\/blog\\\/2016\\\/09\\\/10\\\/sql-clearly-explained-3rd-edition-jan-l-harrington\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.horace.org\\\/blog\\\/2016\\\/09\\\/10\\\/sql-clearly-explained-3rd-edition-jan-l-harrington\\\/\"},\"author\":{\"name\":\"hevangel\",\"@id\":\"https:\\\/\\\/www.horace.org\\\/blog\\\/#\\\/schema\\\/person\\\/c8d9e8e7a71d343b4b2c4ef4365cdb4c\"},\"headline\":\"SQL Clearly Explained 3rd Edition &#8211; Jan L. Harrington\",\"datePublished\":\"2016-09-11T07:03:35+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.horace.org\\\/blog\\\/2016\\\/09\\\/10\\\/sql-clearly-explained-3rd-edition-jan-l-harrington\\\/\"},\"wordCount\":178,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.horace.org\\\/blog\\\/#\\\/schema\\\/person\\\/c8d9e8e7a71d343b4b2c4ef4365cdb4c\"},\"image\":{\"@id\":\"https:\\\/\\\/www.horace.org\\\/blog\\\/2016\\\/09\\\/10\\\/sql-clearly-explained-3rd-edition-jan-l-harrington\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/i0.wp.com\\\/www.horace.org\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/09\\\/sqlclearlyexplained.jpg?fit=677%2C821&ssl=1\",\"keywords\":[\"programming\",\"SQL\"],\"articleSection\":[\"\u66f8\u8a55\"],\"inLanguage\":\"en-CA\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.horace.org\\\/blog\\\/2016\\\/09\\\/10\\\/sql-clearly-explained-3rd-edition-jan-l-harrington\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.horace.org\\\/blog\\\/2016\\\/09\\\/10\\\/sql-clearly-explained-3rd-edition-jan-l-harrington\\\/\",\"url\":\"https:\\\/\\\/www.horace.org\\\/blog\\\/2016\\\/09\\\/10\\\/sql-clearly-explained-3rd-edition-jan-l-harrington\\\/\",\"name\":\"SQL Clearly Explained 3rd Edition - Jan L. Harrington - \u54f2\u5b50\u6232 Philosophist\u2019s Camp\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.horace.org\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.horace.org\\\/blog\\\/2016\\\/09\\\/10\\\/sql-clearly-explained-3rd-edition-jan-l-harrington\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.horace.org\\\/blog\\\/2016\\\/09\\\/10\\\/sql-clearly-explained-3rd-edition-jan-l-harrington\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/i0.wp.com\\\/www.horace.org\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/09\\\/sqlclearlyexplained.jpg?fit=677%2C821&ssl=1\",\"datePublished\":\"2016-09-11T07:03:35+00:00\",\"description\":\"\u5b78\u7fd2\u67b6\u8a2d\u7db2\u7ad9\uff0c\u8981\u4e00\u6b65\u6b65\u6162\u5b78\uff0c\u4e0d\u8981\u5984\u60f3\u4e00\u6b65\u767b\u5929\u3002\u539f\u672c\u5b78\u5b8cRuby\u5f8c\uff0c\u6253\u7b97\u76f4\u63a5\u5b78\u5bebRAILS\uff0c\u7136\u5f8c\u767c\u73fe\u81ea\u5df2\u4e0d\u61c2SQL\u3002\u6c92\u6709SQL\u7684\u57fa\u672c\u529f\u592b\uff0c\u4e0d\u80fd\u6709\u6548\u5730\u67b6\u8a2d\u7db2\u7ad9\uff0c\u4efb\u4f55\u7db2\u7ad9\u90fd\u8981\u7528database\u4f86\u5132\u5b58\u8cc7\u6599\u554a\u3002\u8aaa\u8d77database\u7a0b\u5f0f\uff0c\u5f88\u591a\u5e74\u524d\u6211\u5b78\u904edBase\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.horace.org\\\/blog\\\/2016\\\/09\\\/10\\\/sql-clearly-explained-3rd-edition-jan-l-harrington\\\/#breadcrumb\"},\"inLanguage\":\"en-CA\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.horace.org\\\/blog\\\/2016\\\/09\\\/10\\\/sql-clearly-explained-3rd-edition-jan-l-harrington\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-CA\",\"@id\":\"https:\\\/\\\/www.horace.org\\\/blog\\\/2016\\\/09\\\/10\\\/sql-clearly-explained-3rd-edition-jan-l-harrington\\\/#primaryimage\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/www.horace.org\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/09\\\/sqlclearlyexplained.jpg?fit=677%2C821&ssl=1\",\"contentUrl\":\"https:\\\/\\\/i0.wp.com\\\/www.horace.org\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/09\\\/sqlclearlyexplained.jpg?fit=677%2C821&ssl=1\",\"width\":677,\"height\":821},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.horace.org\\\/blog\\\/2016\\\/09\\\/10\\\/sql-clearly-explained-3rd-edition-jan-l-harrington\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.horace.org\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"SQL Clearly Explained 3rd Edition &#8211; Jan L. Harrington\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.horace.org\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.horace.org\\\/blog\\\/\",\"name\":\"\u54f2\u5b50\u6232 Philosophist\u2019s Camp\",\"description\":\"\u860b\u679c\u65e5\u5831\u4f5c\u8005 - \u9673\u99ac\uff1a\u66f8\u8a55\uff0c\u5f71\u8a55\uff0c\u52d5\u6f2b\uff0c\u65c5\u884c\uff0c\u54f2\u5b78\u7b46\u8a18\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.horace.org\\\/blog\\\/#\\\/schema\\\/person\\\/c8d9e8e7a71d343b4b2c4ef4365cdb4c\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.horace.org\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-CA\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/www.horace.org\\\/blog\\\/#\\\/schema\\\/person\\\/c8d9e8e7a71d343b4b2c4ef4365cdb4c\",\"name\":\"hevangel\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-CA\",\"@id\":\"https:\\\/\\\/i0.wp.com\\\/www.horace.org\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/11\\\/spocky.jpg?fit=1313%2C1259&ssl=1\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/www.horace.org\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/11\\\/spocky.jpg?fit=1313%2C1259&ssl=1\",\"contentUrl\":\"https:\\\/\\\/i0.wp.com\\\/www.horace.org\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/11\\\/spocky.jpg?fit=1313%2C1259&ssl=1\",\"width\":1313,\"height\":1259,\"caption\":\"hevangel\"},\"logo\":{\"@id\":\"https:\\\/\\\/i0.wp.com\\\/www.horace.org\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/11\\\/spocky.jpg?fit=1313%2C1259&ssl=1\"},\"sameAs\":[\"http:\\\/\\\/www.horace.org\",\"https:\\\/\\\/www.facebook.com\\\/horace.org\"],\"url\":\"https:\\\/\\\/www.horace.org\\\/blog\\\/author\\\/hevangel-2\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"SQL Clearly Explained 3rd Edition - Jan L. Harrington - \u54f2\u5b50\u6232 Philosophist\u2019s Camp","description":"\u5b78\u7fd2\u67b6\u8a2d\u7db2\u7ad9\uff0c\u8981\u4e00\u6b65\u6b65\u6162\u5b78\uff0c\u4e0d\u8981\u5984\u60f3\u4e00\u6b65\u767b\u5929\u3002\u539f\u672c\u5b78\u5b8cRuby\u5f8c\uff0c\u6253\u7b97\u76f4\u63a5\u5b78\u5bebRAILS\uff0c\u7136\u5f8c\u767c\u73fe\u81ea\u5df2\u4e0d\u61c2SQL\u3002\u6c92\u6709SQL\u7684\u57fa\u672c\u529f\u592b\uff0c\u4e0d\u80fd\u6709\u6548\u5730\u67b6\u8a2d\u7db2\u7ad9\uff0c\u4efb\u4f55\u7db2\u7ad9\u90fd\u8981\u7528database\u4f86\u5132\u5b58\u8cc7\u6599\u554a\u3002\u8aaa\u8d77database\u7a0b\u5f0f\uff0c\u5f88\u591a\u5e74\u524d\u6211\u5b78\u904edBase","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.horace.org\/blog\/2016\/09\/10\/sql-clearly-explained-3rd-edition-jan-l-harrington\/","og_locale":"en_US","og_type":"article","og_title":"SQL Clearly Explained 3rd Edition - Jan L. Harrington - \u54f2\u5b50\u6232 Philosophist\u2019s Camp","og_description":"\u5b78\u7fd2\u67b6\u8a2d\u7db2\u7ad9\uff0c\u8981\u4e00\u6b65\u6b65\u6162\u5b78\uff0c\u4e0d\u8981\u5984\u60f3\u4e00\u6b65\u767b\u5929\u3002\u539f\u672c\u5b78\u5b8cRuby\u5f8c\uff0c\u6253\u7b97\u76f4\u63a5\u5b78\u5bebRAILS\uff0c\u7136\u5f8c\u767c\u73fe\u81ea\u5df2\u4e0d\u61c2SQL\u3002\u6c92\u6709SQL\u7684\u57fa\u672c\u529f\u592b\uff0c\u4e0d\u80fd\u6709\u6548\u5730\u67b6\u8a2d\u7db2\u7ad9\uff0c\u4efb\u4f55\u7db2\u7ad9\u90fd\u8981\u7528database\u4f86\u5132\u5b58\u8cc7\u6599\u554a\u3002\u8aaa\u8d77database\u7a0b\u5f0f\uff0c\u5f88\u591a\u5e74\u524d\u6211\u5b78\u904edBase","og_url":"https:\/\/www.horace.org\/blog\/2016\/09\/10\/sql-clearly-explained-3rd-edition-jan-l-harrington\/","og_site_name":"\u54f2\u5b50\u6232 Philosophist\u2019s Camp","article_publisher":"https:\/\/www.facebook.com\/horace.org","article_author":"https:\/\/www.facebook.com\/horace.org","article_published_time":"2016-09-11T07:03:35+00:00","og_image":[{"width":677,"height":821,"url":"https:\/\/i0.wp.com\/www.horace.org\/blog\/wp-content\/uploads\/2016\/09\/sqlclearlyexplained.jpg?fit=677%2C821&ssl=1","type":"image\/jpeg"}],"author":"hevangel","twitter_card":"summary_large_image","twitter_creator":"@horaceorg","twitter_site":"@horaceorg","twitter_misc":{"Written by":"hevangel","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.horace.org\/blog\/2016\/09\/10\/sql-clearly-explained-3rd-edition-jan-l-harrington\/#article","isPartOf":{"@id":"https:\/\/www.horace.org\/blog\/2016\/09\/10\/sql-clearly-explained-3rd-edition-jan-l-harrington\/"},"author":{"name":"hevangel","@id":"https:\/\/www.horace.org\/blog\/#\/schema\/person\/c8d9e8e7a71d343b4b2c4ef4365cdb4c"},"headline":"SQL Clearly Explained 3rd Edition &#8211; Jan L. Harrington","datePublished":"2016-09-11T07:03:35+00:00","mainEntityOfPage":{"@id":"https:\/\/www.horace.org\/blog\/2016\/09\/10\/sql-clearly-explained-3rd-edition-jan-l-harrington\/"},"wordCount":178,"commentCount":0,"publisher":{"@id":"https:\/\/www.horace.org\/blog\/#\/schema\/person\/c8d9e8e7a71d343b4b2c4ef4365cdb4c"},"image":{"@id":"https:\/\/www.horace.org\/blog\/2016\/09\/10\/sql-clearly-explained-3rd-edition-jan-l-harrington\/#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/www.horace.org\/blog\/wp-content\/uploads\/2016\/09\/sqlclearlyexplained.jpg?fit=677%2C821&ssl=1","keywords":["programming","SQL"],"articleSection":["\u66f8\u8a55"],"inLanguage":"en-CA","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.horace.org\/blog\/2016\/09\/10\/sql-clearly-explained-3rd-edition-jan-l-harrington\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.horace.org\/blog\/2016\/09\/10\/sql-clearly-explained-3rd-edition-jan-l-harrington\/","url":"https:\/\/www.horace.org\/blog\/2016\/09\/10\/sql-clearly-explained-3rd-edition-jan-l-harrington\/","name":"SQL Clearly Explained 3rd Edition - Jan L. Harrington - \u54f2\u5b50\u6232 Philosophist\u2019s Camp","isPartOf":{"@id":"https:\/\/www.horace.org\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.horace.org\/blog\/2016\/09\/10\/sql-clearly-explained-3rd-edition-jan-l-harrington\/#primaryimage"},"image":{"@id":"https:\/\/www.horace.org\/blog\/2016\/09\/10\/sql-clearly-explained-3rd-edition-jan-l-harrington\/#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/www.horace.org\/blog\/wp-content\/uploads\/2016\/09\/sqlclearlyexplained.jpg?fit=677%2C821&ssl=1","datePublished":"2016-09-11T07:03:35+00:00","description":"\u5b78\u7fd2\u67b6\u8a2d\u7db2\u7ad9\uff0c\u8981\u4e00\u6b65\u6b65\u6162\u5b78\uff0c\u4e0d\u8981\u5984\u60f3\u4e00\u6b65\u767b\u5929\u3002\u539f\u672c\u5b78\u5b8cRuby\u5f8c\uff0c\u6253\u7b97\u76f4\u63a5\u5b78\u5bebRAILS\uff0c\u7136\u5f8c\u767c\u73fe\u81ea\u5df2\u4e0d\u61c2SQL\u3002\u6c92\u6709SQL\u7684\u57fa\u672c\u529f\u592b\uff0c\u4e0d\u80fd\u6709\u6548\u5730\u67b6\u8a2d\u7db2\u7ad9\uff0c\u4efb\u4f55\u7db2\u7ad9\u90fd\u8981\u7528database\u4f86\u5132\u5b58\u8cc7\u6599\u554a\u3002\u8aaa\u8d77database\u7a0b\u5f0f\uff0c\u5f88\u591a\u5e74\u524d\u6211\u5b78\u904edBase","breadcrumb":{"@id":"https:\/\/www.horace.org\/blog\/2016\/09\/10\/sql-clearly-explained-3rd-edition-jan-l-harrington\/#breadcrumb"},"inLanguage":"en-CA","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.horace.org\/blog\/2016\/09\/10\/sql-clearly-explained-3rd-edition-jan-l-harrington\/"]}]},{"@type":"ImageObject","inLanguage":"en-CA","@id":"https:\/\/www.horace.org\/blog\/2016\/09\/10\/sql-clearly-explained-3rd-edition-jan-l-harrington\/#primaryimage","url":"https:\/\/i0.wp.com\/www.horace.org\/blog\/wp-content\/uploads\/2016\/09\/sqlclearlyexplained.jpg?fit=677%2C821&ssl=1","contentUrl":"https:\/\/i0.wp.com\/www.horace.org\/blog\/wp-content\/uploads\/2016\/09\/sqlclearlyexplained.jpg?fit=677%2C821&ssl=1","width":677,"height":821},{"@type":"BreadcrumbList","@id":"https:\/\/www.horace.org\/blog\/2016\/09\/10\/sql-clearly-explained-3rd-edition-jan-l-harrington\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.horace.org\/blog\/"},{"@type":"ListItem","position":2,"name":"SQL Clearly Explained 3rd Edition &#8211; Jan L. Harrington"}]},{"@type":"WebSite","@id":"https:\/\/www.horace.org\/blog\/#website","url":"https:\/\/www.horace.org\/blog\/","name":"\u54f2\u5b50\u6232 Philosophist\u2019s Camp","description":"\u860b\u679c\u65e5\u5831\u4f5c\u8005 - \u9673\u99ac\uff1a\u66f8\u8a55\uff0c\u5f71\u8a55\uff0c\u52d5\u6f2b\uff0c\u65c5\u884c\uff0c\u54f2\u5b78\u7b46\u8a18","publisher":{"@id":"https:\/\/www.horace.org\/blog\/#\/schema\/person\/c8d9e8e7a71d343b4b2c4ef4365cdb4c"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.horace.org\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-CA"},{"@type":["Person","Organization"],"@id":"https:\/\/www.horace.org\/blog\/#\/schema\/person\/c8d9e8e7a71d343b4b2c4ef4365cdb4c","name":"hevangel","image":{"@type":"ImageObject","inLanguage":"en-CA","@id":"https:\/\/i0.wp.com\/www.horace.org\/blog\/wp-content\/uploads\/2021\/11\/spocky.jpg?fit=1313%2C1259&ssl=1","url":"https:\/\/i0.wp.com\/www.horace.org\/blog\/wp-content\/uploads\/2021\/11\/spocky.jpg?fit=1313%2C1259&ssl=1","contentUrl":"https:\/\/i0.wp.com\/www.horace.org\/blog\/wp-content\/uploads\/2021\/11\/spocky.jpg?fit=1313%2C1259&ssl=1","width":1313,"height":1259,"caption":"hevangel"},"logo":{"@id":"https:\/\/i0.wp.com\/www.horace.org\/blog\/wp-content\/uploads\/2021\/11\/spocky.jpg?fit=1313%2C1259&ssl=1"},"sameAs":["http:\/\/www.horace.org","https:\/\/www.facebook.com\/horace.org"],"url":"https:\/\/www.horace.org\/blog\/author\/hevangel-2\/"}]}},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/www.horace.org\/blog\/wp-content\/uploads\/2016\/09\/sqlclearlyexplained.jpg?fit=677%2C821&ssl=1","jetpack_shortlink":"https:\/\/wp.me\/pwn21-332","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":15586,"url":"https:\/\/www.horace.org\/blog\/2023\/08\/18\/database-design-for-mere-mortals-michael-j-hernandez\/","url_meta":{"origin":11720,"position":0},"title":"Database Design for Mere Mortals &#8211; Michael J. Hernandez","author":"hevangel","date":"August 18, 2023","format":false,"excerpt":"\u9019\u4e0d\u662f\u4e00\u672c\u6559\u5982\u4f55\u4f7f\u7528SQL\u7684\u66f8\uff0c\u53cd\u800c\u82b1\u4e86\u5f88\u9577\u7bc7\u5e45\u8aaa\u5982\u4f55\u8a2a\u554fdatabase\u7684\u7528\u5bb6\u3002","rel":"","context":"In &quot;\u66f8\u8a55&quot;","block_context":{"text":"\u66f8\u8a55","link":"https:\/\/www.horace.org\/blog\/category\/_books\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.horace.org\/blog\/wp-content\/uploads\/2023\/08\/51rnXAEryqL._SX403_BO1204203200_.jpg?fit=405%2C500&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":14748,"url":"https:\/\/www.horace.org\/blog\/2021\/04\/25\/seven-databases-in-seven-weeks-2nd-edition-luc-perkins\/","url_meta":{"origin":11720,"position":1},"title":"Seven Databases in Seven Weeks 2nd Edition &#8211; Luc Perkins","author":"hevangel","date":"April 25, 2021","format":false,"excerpt":"\u5f88\u591a\u5e74\u4f86\u6211\u4e00\u76f4\u53ea\u61c2SQL\uff0c\u6c92\u6709\u5b78\u7fd2\u5176\u4ed6database\uff0c\u65e9\u5341\u5e74NoSQL\u9084\u662f\u525b\u5192\u8d77\uff0c\u6211\u9084\u6709\u9ede\u770b\u8f15\u5b83\uff0c\u89ba\u5f97\u5b83\u5187\u7528\u3002\u4fd7\u8a9e\u6709\u4e91\uff0c\u7576\u4f60\u624b\u62ff\u8457\u939a\u5b50\uff0c\u6240\u6709\u7684\u554f\u984c\u90fd\u8b8a\u6210\u91d8\u5b50\u3002\u53ea\u61c2SQL\uff0c\u5f88\u81ea\u7136\u7fd2\u6163\u628a\u6240\u6709\u554f\u984c\u90fd\u7528Relational Database\u53bb\u89e3\u6c7a\uff0c\u5118\u7ba1\u8981\u82b1\u66f4\u52a0\u591a\u7684\u6c23\u529b\uff0c\u6709\u6642\u6bba\u96de\u4ea6\u8981\u7528\u725b\u5200\uff0c\u56e0\u70ba\u53ea\u5f97\u4e00\u628a\u5200\u3002 \u9019\u672c\u66f82018\u5e74\u51fa\u7248\uff0c\u5df2\u7d93\u662f\u7b2c\u4e8c\u7248\uff0c\u5f88\u591a\u5e74\u524d\u7b2c\u4e00\u7248\u6642\u5df2\u7d93\u60f3\u770b\u3002\u53ea\u4e0d\u904e\u662f\u77ed\u77ed\u4e09\u5e74\uff0c\u66f8\u4e2d\u6709\u4e9bcode\u5df2\u7d93\u904e\u6642\u4e86\uff0c\u65b0\u7248\u672cdatabase\u7684syntax\u6709\u9ede\u4e0d\u4e00\u6a23\uff0c\u4e0d\u904e\u57fa\u790e\u7406\u8ad6\u6c92\u6709\u6539\u8b8a\uff0c\u4ecd\u7136\u5408\u7528\u3002NoSQL\u6709\u592a\u591a\u9078\u64c7\uff0c\u60f3\u5b78\u7fd2\u4e5f\u8001\u9f20\u62c9\u9f9c\u7121\u5f9e\u5165\u624b\u3002\u9019\u672c\u66f8\u4ecb\u7d39\u6700\u71b1\u9580\u7684\u4e03\u500bdatabase\uff0c\u5f9e\u50b3\u7d71SQL\u7684Postgres\u70ba\u8d77\u9ede\u958b\u59cb\uff0c\u7136\u5f8c\u9010\u4e00\u8b1b\u89e3\u5176\u4ed6NoSQL DB\u7684\u512a\u52a3trade-off\uff0c\u4ec0\u9ebc\u60c5\u6cc1\u9069\u5408\u61c9\u7528\u3002\u6bd4\u8d77\u6bcf\u6b21\u53ea\u6559\u4e00\u7a2edatabase\u7684\u66f8\uff0c\u8b93\u8b80\u8005\u6709\u5b8f\u89c0\u7684\u8996\u91ce\u3002 \u56e0\u70ba\u4e00\u672c\u66f8\u8981\u6559\u4e03\u500bDB\u7684\u95dc\u4fc2\uff0c\u9019\u672c\u66f8\u7684\u5167\u5bb9\u975e\u5e38\u58d3\u7e2e\uff0c\u7c21\u55ae\u7684\u57fa\u672c\u64cd\u4f5c\u751a\u81f3\u7565\u904e\u4e0d\u8ac7\uff0c\u76f4\u63a5\u53eb\u8b80\u8005\u53bb\u770b\u5b98\u65b9document\u3002\u6bcf\u500bDB\u7684\u6559\u7a0b\u5206\u70ba\u4e09\u90e8\u4efd\uff0c\u8b93\u8b80\u8005\u53ef\u4ee5\u9023\u7e8c\u4e03\u500b\u661f\u671f\uff0c\u6bcf\u500b\u9031\u7528\u4e09\u65e5\u5b78\u5b8c\u3002\u6211\u4e00\u53e3\u6c23\u4e00\u6b21\u904e\u770b\u5b8c\uff0c\u4e00\u7ae0\u5927\u7d04\u8981\u7528\u56db\u500b\u5c0f\u6642\uff0c\u4e0d\u904e\u6211\u53ea\u662f\u8ddf\u8457example\u6253code\u73a9\u4e0b\u500bDB\uff0c\u6c92\u6709\u500b\u6bcf\u65e5\u7684\u529f\u8ab2\uff0c\u82e5\u679c\u505a\u57cb\u529f\u8ab2\uff0c\u5927\u7d04\u8981\u5169\u500d\u6642\u9593\u3002 \u7b2c\u4e00\u7ae0Postgres\u662f\u6eab\u7fd2SQL\uff0c\u6211\u4ee5\u524d\u7528\u958bMySQL\u540cSQLite\uff0c\u4e5f\u7b97\u662f\u5b78\u65b0\u91ce\u3002\u7b2c\u4e8c\u7ae0\u6559HBase\u662fcolumnar database\uff0c\u6c92\u6709\u96a8\u610fsearch\u7684\u529f\u80fd\uff0c\u8981\u9760index\u53bb\u8b80data\uff0c\u4f46\u662f\u975e\u5e38scalable\uff0c\u662fGoogle Cloud Bigtable\u7684\u958b\u6e90\u7248\u3002\u7b2c\u4e09\u7ae0\u6559MongoDB\u662fdocument DB\uff0csearch JSON\u7684\u529f\u80fd\u5f88\u5f37\u5927\uff0c\u4e0d\u7528\u5bebschema\u5f88\u65b9\u4fbf\u3002\u7b2c\u4e94\u7ae0\u6559couchdb\uff0c\u8207MongoDB\u4e00\u6a23\u90fd\u662f\u5bebJSON object\uff0c\u4f46couchdb\u7684read\u8981\u4e8b\u5148\u5efa\u7acbviews\uff0c\u53e6\u5916\u76e3\u8996change\u7684\u529f\u80fd\u4e5f\u5f88\u597d\u7528\u3002 \u7b2c\u516d\u7ae0\u6559\u662f\u6211\u6700\u6709\u8208\u8da3\u7684Neo4J\uff0c\u4f46\u66f8\u4e2d\u6559\u4e86graph DB\u7684\u5f88\u76ae\u6bdb\uff0c\u9023Cypher\u8a9e\u6cd5\u5982\u4f55\u95b1\u8b80\u4e5f\u6c92\u6709\u6559\uff0c\u6211\u8981\u4e0a\u7db2\u518d\u627e\u8cc7\u6599\u81ea\u5b78\u3002Graph DB\u540cSQL\u5f88\u5927\u5206\u5225\uff0c\u5b8c\u5168\u662f\u53e6\u4e00\u500b\u985e\u578b\u7684\u61c9\u7528\uff0c\u5b78\u4e86\u5927\u958b\u773c\u754c\u3002\u7b2c\u4e03\u7ae0\u6559AWS DynamoDB\uff0c\u500bdatabase\u672c\u8eab\u5f88\u5e73\u5e73\u7121\u5947\uff0c\u5f37\u5927\u662fAWS\u5f8c\u53f0\u7684\u652f\u63f4\uff0c\u9023\u8457AWS\u5176\u4ed6\u529f\u5177\u4e00\u8d77\u6559\uff0c\u5b78\u7fd2\u5bebdata pipeline\uff0c\u63d0\u5347\u7528DB\u7684\u53e6\u4e00\u500b\u5c64\u6b21\uff0c\u771f\u6b63\u7684big data\u3002\u6700\u5f8c\u4e00\u7ae0\u6559redis\uff0c\u7c21\u55ae\u6613\u7528\u5920\u65b9\u4fbf\uff0c\u6211\u8a8d\u70baredis\u61c9\u8a72\u65e9\u4e9b\u6559\uff0cin memory key-value store\u90fd\u5571\u505a\u4e00\u4e9bquick and dirty job\u3002 \u9019\u662f\u4e00\u672c\u4e0d\u9069\u5408\u65b0\u624b\u7684\u5165\u9580\u66f8\uff0c\u6559\u7684\u6771\u897f\u5f88\u5ee3\u95ca\u4f46\u5f88\u819a\u6dfa\uff0c\u4e3b\u8981\u662f\u7d66\u8b80\u8005\u4e00\u500bperspective\uff0c\u4e4b\u5f8c\u8b80\u8005\u5c31\u8981\u9760\u81ea\u5df1\u53bb\u770bdocument\u4e86\u3002\u82e5\u679c\u8981\u770b\u5b8c\u4e00\u672c\u66f8\u5c31\u80fd\u7acb\u5373\u4e0a\u624b\u63fcproject\uff0c\u62d6\u8457\u4e00\u6b65\u6b65\u6559\u5c0e\u5982\u4f55\u5efa\u7ad9\uff0c\u9019\u672c\u66f8\u4e26\u4e0d\u9069\u5408\u4f60\u3002\u53cd\u800c\u9019\u672c\u66f8\u66f4\u50cf\u662fsampler\uff0c\u6dfa\u5690\u6bcf\u7a2eDB\u7684\u5473\u9053\uff0c\u4e26\u4f8b\u4e00\u8d77\u89c0\u5bdf\u5b83\u5011\u7684\u7570\u540c\uff0c\u7136\u5f8c\u89ba\u5f97\u90a3\u500bDB\u6709\u7528\uff0c\u5c31\u518d\u4e0a\u7db2\u53bb\u627e\u8cc7\u8a0a\u6df1\u9020\u3002\u8b80\u9019\u672c\u66f8\u6709\u4e00\u500b\u597d\u8655\uff0c\u8b80\u5b8c\u5f8c\u57fa\u790e\u7406\u8ad6\u6253\u4e86\u5e95\uff0c\u8b80official document\u5feb\u5f88\u591a\uff0c\u53ef\u4ee5\u76f4\u63a5\u8df3\u904e\u4e0d\u7528\u770b\u5176\u4ed6\u66f8\uff0c\u53cd\u6b63\u53bb\u5230\u6700\u5f8c\u90fd\u4fc2\u8981\u7ffb\u67e5\u53c3\u8003official document\u3002","rel":"","context":"In &quot;\u66f8\u8a55&quot;","block_context":{"text":"\u66f8\u8a55","link":"https:\/\/www.horace.org\/blog\/category\/_books\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.horace.org\/blog\/wp-content\/uploads\/2021\/04\/pwrdata-scaled.jpg?fit=1000%2C1200&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.horace.org\/blog\/wp-content\/uploads\/2021\/04\/pwrdata-scaled.jpg?fit=1000%2C1200&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.horace.org\/blog\/wp-content\/uploads\/2021\/04\/pwrdata-scaled.jpg?fit=1000%2C1200&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.horace.org\/blog\/wp-content\/uploads\/2021\/04\/pwrdata-scaled.jpg?fit=1000%2C1200&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":11358,"url":"https:\/\/www.horace.org\/blog\/2016\/07\/05\/visual-quickstart-guide-ruby-larry-ullman\/","url_meta":{"origin":11720,"position":2},"title":"Visual Quickstart Guide Ruby &#8211; Larry Ullman","author":"hevangel","date":"July 5, 2016","format":false,"excerpt":"\u9019\u672c\u66f8\u8cb7\u4e86\u597d\u5e7e\u5e74\uff0c\u4e00\u76f4\u63d0\u4e0d\u8d77\u52c1\u53bb\u8a8d\u771f\u770b\uff0c\u6b64\u66f8\u7576\u5e74\u51fa\u7248\u6642Ruby\u7248\u672c\u9084\u662f1.9\uff0c\u73fe\u5728\u5df2\u7d93\u53bb\u52302.3\u3002\u56e0\u70ba\u8981\u67b6\u8a2d\u7db2\u7ad9\uff0c\u624d\u81e8\u6025\u62b1\u4f5b\u8173\u53bb\u8b80\u66f8\uff0c\u5148\u5b78\u616c\u57fa\u672c\u7684Ruby\u7a0b\u5f0f\u8a9e\u8a00\uff0c\u624d\u53ef\u4ee5\u9032\u968e\u5b78\u7fd2Ruby on Rails\u7db2\u7ad9framework\u3002\u67b6\u8a2d\u7db2\u7ad9\u70ba\u4ec0\u9ebc\u4e0d\u7528\u8fd1\u671f\u6d41\u884c\u7684Node.js\uff1f\u4e00\u4f86\u6211\u5c0dJavascript\u6c92\u6709\u597d\u611f\uff0cJavascript\u5468\u8eab\u5200\u5187\u5f35\u5229\uff0c\u4e8c\u4f86\u64da\u8aaa\u5beb\u5f8c\u53f0Ruby\u6bd4Javascript\u5beb\u8d77\u66f4\u5f97\u5fc3\u61c9\u624b\uff0c\u6700\u91cd\u8981\u662f\u9664\u4e86\u5f04\u597d\u500b\u7db2\u7ad9\u5916\u5916\uff0c\u6211\u9084\u60f3\u9806\u4fbf\u5b78\u7fd2\u65b0\u7684\u7a0b\u5f0f\u8a9e\u8a00\uff0c\u505a\u96fb\u8166\u9019\u4e00\u884c\uff0c\u82e5\u679c\u4e0d\u8207\u6642\u4e26\u9032\uff0c\u5f88\u5feb\u4fbf\u7d66\u6dd8\u6c70\u4e86\u3002 Ruby\u6613\u4e0d\u6613\u5b78\uff1f\u6211\u89ba\u5f97\u5f88\u5bb9\u6613\u5b78\uff0c\u53ea\u7528\u5169\u500b\u661f\u671f\u5de6\u4fbf\u4e0a\u624b\uff0c\u6bcf\u665a\u770b\u66f8\u592a\u7d04\u4e00\u5169\u500b\u5c0f\u6642\u3002\u4e0d\u904e\u6211\u7684C\/C++\u529f\u592b\u624e\u5be6\uff0c\u52a0\u4e0a\u56e0\u5de5\u4f5c\u9700\u8981\u7528\u4e86tcl\u9019\u500b\u975e\u5e38\u53e4\u602a\u7684\u7a0b\u5f0f\u8a9e\u8a00\u5341\u591a\u5e74\uff0cRuby\u7684object orient programming\u90e8\u4efd\u6709C++\u5e95\u5b50\u5f88\u6613\u660e\uff0c\u81f3\u65bcRuby\u7684dynamic programming\u90e8\u4efd\uff0c\u76f8\u4fe1\u6c92\u6709\u4efb\u4f55\u7a0b\u5f0f\u8a9e\u8a00\u6bd4tcl\u66f4dynamic\u3002Ruby\u7684\u6700\u5927\u7279\u9ede\u662f\u6240\u6709\u6771\u897f\u90fd\u662fobject\uff0c\u5305\u62ec\u4efb\u4f55variable\uff0c\u4efb\u4f55literal\uff0c\u751a\u81f3class\u548cmodule definition\u90fd\u662fobject\u3002\u56e0\u70ba\u6240\u6709\u6771\u897f\u90fd\u662fobject\uff0c\u5728\u7a0b\u5f0f\u57f7\u884c\u6642\uff0c\u53ef\u4ee5\u91cd\u5beb\u4efb\u4f55method\uff0c\u52a0\u6e1bclass\u4e2d\u7684variables\uff0c\u5bebcode\u8d77\u4f86\u5341\u5206\u65b9\u4fbf\uff0c\u4e0d\u904e\u4e00\u4e0d\u5c0f\u5fc3\u4ea6\u5f88\u5bb9\u6613\u51fa\u932f\u3002\u56e0\u70ba\u6240\u6709binding\u90fd\u662f\u5728run time\u9032\u884c\uff0c\u5728\u50b3\u7d71static\u6216dynamic typing\u5916\u5916\uff0cRuby\u7368\u6709\u7684duck typing\uff0c\u53ea\u8981\u500bobject\u6709\u540c\u540d\u7684method\uff0c\u4e0d\u7406\u90a3\u500bobject\u662f\u4ec0\u9ebc\u5c31\u53ef\u4ee5call\u3002 \u9019\u672c\u66f8\u5beb\u5f97\u5341\u5206\u6dfa\u767d\uff0c\u66f8\u4e2d\u7684\u4f8b\u5b50\u4ee5irb\u5be6\u6642\u57f7\u884c\uff0c\u4f5c\u8005\u4e00\u908a\u6559\u5bebsyntax\uff0c\u4e00\u908a\u7528irb\u7684output\u53bb\u89e3\u91cb\uff0c\u70ba\u4ec0\u9ebc\u57f7\u884c\u9019\u500b\u6307\u4ee4\uff0c\u6703\u5f97\u51fa\u9019\u500b\u7d50\u679c\u3002\u4e0d\u904e\u6211\u8a8d\u70baRuby\u4e26\u4e0d\u9069\u5408\u521d\u5b78\u7a0b\u5f0f\u8005\uff0c\u56e0\u70ba\u5b83\u5167\u5efa\u592a\u591a\u597d\u4f7f\u597d\u7528\u7684\u9b54\u6cd5\uff0c\u4e0d\u5229\u5b78\u751f\u89c0\u6e2c\u96fb\u8166\u5982\u4f55\u57f7\u884c\u7a0b\u5f0f\u3002\u66f8\u4e2d\u5c0d\u4e00\u4e9b\u9ad8\u7d1aRuby\u9b54\u6cd5\u7565\u904e\u89e3\u91cb\uff0c\u53ea\u662f\u53eb\u5b78\u751f\u80cc\u66f8\u822c\u4e0d\u6c42\u751a\u89e3\u8a18\u4e0bsyntax\u548c\u7528\u6cd5\uff0c\u5982symbol\uff0cclass attr\uff0cmodule include\/extend\u7b49\u3002\u6211\u770b\u66f8\u6642\u5b8c\u5168\u770b\u4e0d\u660e\u767d\uff0c\u8981\u53e6\u884c\u4e0a\u7db2\u770bruby.org\u7684\u5b98\u65b9\u8ab2\u672c\u548cRuby Monk\u7684\u7db2\u4e0a\u6559\u6750\uff0c\u7d50\u679c\u6211\u4e00\u53e3\u6c23\u770b\u4e86\u4e09\u672cRuby\u8ab2\u672c\u3002\u771f\u6b63\u8b93\u6211\u958b\u7ac5\uff0c\u660e\u767dRuby\u7684\u7cbe\u9ad3\uff0c\u662f\u5b98\u65b9\u8ab2\u672c\u8b1bruby.h\u90a3\u4e00\u7ae0\u3002Ruby\u6574\u500b\u7a0b\u5f0f\u8a00\u662f\u7528C\u5beb\u6210\uff0cruby.h\u4fbf\u662fC\u7a0b\u5f0f\u7684\u6e90\u78bc\uff0c\u8b93\u958b\u767c\u54e1\u628aRuby\u7a0b\u5f0f\u9023\u7d50\u5176\u4ed6\u8a9e\u8a00\u7684\u7a0b\u5f0f\u3002\u7576\u6211\u770b\u898bruby.h\u4e2d\uff0cRuby\u662f\u5982\u4f55create\u4e00\u500bobject\uff0c\u6bcf\u4e00\u500bobject\u4e4b\u9593\u7684\u95dc\u4fc2\uff0c\u4e00\u4efd\u719f\u6089\u7684\u611f\u89ba\u6cb9\u7136\u800c\u751f, ruby.h\u4e0d\u6b63\u5c31\u662ftcl.h\u7684\u5b56\u751f\u5144\u5f1f\u55ce\u3002 \u66f8\u4e2d\u6700\u5f8c\u4e00\u7ae0\u8b1bRails\uff0c\u4e0d\u904eRails\u6bd4Ruby\u672c\u8eab\u9032\u5316\u5f97\u66f4\u5feb\uff0c\u66f8\u4e2d\u6559\u7684\u90a3\u500b\u820a\u7248\u672c2.x\u5df2\u5b8c\u5168\u904e\u6642\uff0c\u53ea\u6709\u5341\u5e7e\u9801\u7d19\u5b8c\u5168\u4e0d\u5920\u6642\u9593\u53bb\u6559Rails\uff0c\u770b\u5b8c\u4e5f\u662f\u6c34\u904e\u9d28\u80cc\uff0c\u9084\u662f\u53bbRails\u7684\u5b98\u65b9\u7db2\u7ad9\u770buser guide\u3002\u5176\u5be6\u5b78\u5beb\u7a0b\u5f0f\uff0c\u771f\u7684\u4e0d\u7528\u4ffe\u9322\u4e0a\u5802\uff0c\u7db2\u4e0a\u6709\u5f88\u591a\u514d\u8cbb\u6559\u6750\uff0c\u8cb7\u672c\u66f8\u4e5f\u5341\u5206\u4fbf\u5b9c\uff0c\u81ea\u5df2\u8ddf\u8457\u4f8b\u5b50\u53bb\u73a9\u4e0b\uff0c\u5beb\u4e0b\u5beb\u4e0b\u4fbf\u81ea\u81ea\u7136\u7136\u5b78\u8b58\u4e86\u3002\u76ee\u6a19Ruby\u9054\u6210\uff0c\u4e0b\u4e00\u500b\u76ee\u6a19Rails\u3002","rel":"","context":"In &quot;\u66f8\u8a55&quot;","block_context":{"text":"\u66f8\u8a55","link":"https:\/\/www.horace.org\/blog\/category\/_books\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.horace.org\/blog\/wp-content\/uploads\/2016\/07\/ShowCover.aspx_.jpg?fit=500%2C644&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":5486,"url":"https:\/\/www.horace.org\/blog\/2011\/08\/29\/programming-linguistics-david-gelernter-and-suresh-jagannathan\/","url_meta":{"origin":11720,"position":3},"title":"Programming Linguistics &#8211; David Gelernter and Suresh Jagannathan","author":"hevangel","date":"August 29, 2011","format":false,"excerpt":"\u65e9\u524d\u56e0\u5de5\u4f5c\u4e0a\u7684\u9700\u8981\uff0c\u8981\u8a2d\u8a08\u4e00\u500b\u65b0\u7684\u7a0b\u5f0f\u8a9e\u8a00\uff0c\u5728\u7db2\u4e0a\u627e\u53c3\u8003\u8cc7\u6599\u6642\uff0c\u9047\u4e0a\u4e86\u9019\u672c\u65e9\u5df2\u7d55\u7248\u7684\u5947\u66f8\u3002\u5dee\u4e0d\u591a\u6bcf\u7bc7\u6709\u95dc\u7a0b\u5f0f\u8a9e\u8a00\u8a2d\u8a08\u7684\u8ad6\u6587\uff0c\u5fc5\u5b9a\u5f15\u7528\u9019\u672c\u66f8\u3002\u9019\u5f15\u767c\u6211\u7684\u597d\u5947\u5fc3\uff0c\u65bc\u662f\u6211\u5927\u5b78\u7684\u5716\u66f8\u9928\u4e2d\uff0c\u627e\u4f86\u9019\u672c\u66f8\u501f\u4f86\u4e00\u8b80\u3002\u4e0d\u770b\u7336\u81ea\u53ef\u770b\u7f77\u65b9\u77e5\u81ea\u5df2\u4e95\u86d9\u89c0\u5929\uff0c\u96d6\u7136\u81ea\u4e2d\u5b78\u4ee5\u4f86\u5beb\u4e86\u7a0b\u5f0f\u8d85\u904e\u4e8c\u5341\u591a\u5e74\uff0c\u537b\u5f9e\u4f86\u6c92\u6709\u601d\u8003\u904e\u4f55\u8b02\u7a0b\u5f0f\u9019\u500b\u6700\u57fa\u672c\u7684\u554f\u984c\u3002\u4e00\u76f4\u9084\u4ee5\u70ba\u81ea\u5df2\u5beb\u7a0b\u5f0f\u529f\u592b\u4e0d\u932f\uff0c\u539f\u4f86\u4e0d\u904e\u662f\u5b78\u5230\u5e7e\u500b\u62db\u5f0f\u5957\u62f3\u7684\u5916\u529f\uff0c\u9019\u672c\u66f8\u8aaa\u7684\u537b\u662f\u5beb\u7a0b\u5f0f\u7684\u6613\u7b4b\u7d93\u5fc3\u6cd5\u3002\u8b80\u904e\u9019\u672c\u66f8\uff0c\u9762\u5c0d\u4efb\u4f55\u7a0b\u5f0f\u8a9e\u8a00\uff0c\u4e5f\u90fd\u53ef\u4ee5\u4e00\u7406\u901a\u767e\u7406\u660e\u3002 \u4e00\u822c\u6559\u5beb\u7a0b\u5f0f\u7684\u66f8\u85c9\uff0c\u901a\u5e38\u5f9e\u7a0b\u5f0f\u7684\u6587\u6cd5\u548c\u61c9\u7528\u4f8b\u5b50\u4f5c\u6559\u6750\uff0c\u5b78\u751f\u8ddf\u8457\u7df4\u7fd2\u984c\u53bb\u5b78\uff0c\u6162\u6162\u4fbf\u53ef\u4ee5\u5beb\u51fa\u50cf\u6a23\u7684\u7a0b\u5f0f\uff0c\u53ef\u662f\u59cb\u7d42\u6709\u9ede\u5152\u50cf\u9e1a\u9d61\u5b78\u820c\uff0c\u6c92\u932f\u80fd\u5920\u5beb\u7a0b\u5f0f\uff0c\u4f46\u537b\u4e0d\u660e\u767d\u7a0b\u5f0f\u662f\u4ec0\u9ebc\u3002\u4f46\u9019\u672c\u66f8\u6c92\u6709\u6559\u4efb\u4f55\u4e00\u7a2e\u7279\u5b9a\u7684\u7a0b\u5f0f\u8a9e\u8a00\uff0c\u800c\u662f\u5f9e\u8a9e\u8a00\u5b78\u7684\u89d2\u5ea6\uff0c\u53bb\u5206\u6790\u6b77\u53f2\u4e0a\u91cd\u8981\u7684\u7a0b\u5f0f\u8a9e\u8a00\uff0c\u5230\u5e95\u65b0\u7684\u6587\u6cd5\u5e36\u4f86\u4ec0\u9ebc\u7684\u8f49\u8b8a\uff0c\u800c\u540c\u6642\u4ea6\u6307\u51fa\u4e0d\u8ad6\u4ec0\u9ebc\u8f49\u8b8a\uff0c\u4e5f\u90fd\u662f\u842c\u8b8a\u4e0d\u96e2\u5176\u4e2d\u7684\u57fa\u672c\u89c0\u5ff5\u3002 \u66f8\u672c\u4e00\u958b\u59cb\u4fbf\u6f84\u6e05\u4ec0\u9ebc\u662f\u7a0b\u5f0f\uff0c\u7a0b\u5f0f\u4e0d\u662f\u8edf\u4ef6\u6216\u786c\u4ef6\u7684\u5206\u5225\uff0c\u751a\u81f3\u96fb\u8166\u672c\u8eab\u662f\u5426\u5b58\u5728\u4e5f\u4e0d\u91cd\u8981\uff0c\u7a0b\u5f0f\u662f\u4e00\u500b\u62bd\u50cf\u7684\u6a5f\u5668\uff0c\u53ea\u662f\u77e5\u8a0a\u7684\u67d0\u4e00\u7a2e\u72c0\u614b\u3002\u7a0b\u5f0f\u8a9e\u8a00\u53ea\u662f\u4ee3\u8868\u7a0b\u5f0f\u7684\u7b26\u865f\uff0c\u4efb\u4f55\u7a0b\u5f0f\u8a9e\u8a00\u5728\u62bd\u50cf\u7684\u5c64\u9762\u4e5f\u662f\u5171\u901a\u548c\u7b49\u540c\u7684\uff0c\u53ea\u662f\u4e0d\u540c\u8a9e\u8a00\u8a2d\u8a08\u7684\u91cd\u9ede\u53d6\u5411\uff0c\u6709\u610f\u7121\u610f\u5de6\u53f3\u4e86\u7a0b\u5f0f\u7de8\u5beb\u54e1\u7684\u601d\u8003\u6a21\u5f0f\u3002\u6574\u672c\u66f8\u7684\u9748\u9b42\u4fbf\u662f\u7b2c\u4e8c\u7ae0\u4e2d\uff0c\u63d0\u51fa\u7684\u5b8c\u7f8e\u7a0b\u5f0f\u6a5f\u5668\u7684\u6a21\u578b\u3002\u4e0d\u8ad6\u4efb\u4f55\u7a0b\u5f0f\uff0c\u4e5f\u53ef\u4ee5\u7528\u6642\u9593\uff08\u51fd\u6578\uff09\u548c\u7a7a\u9593\uff08\u8a18\u61b6\uff09\u53bb\u8868\u9054\uff0c\u800c\u9019\u5169\u8005\u662f\u53ef\u4ee5\u4e92\u76f8\u8f49\u63db\u3002\u975c\u6b62\u7684\u7a0b\u5f0f\u6e90\u78bc\u548c\u904b\u884c\u4e2d\u7684\u7a0b\u5f0f\uff0c\u5728\u62bd\u50cf\u5c64\u9762\u662f\u540c\u4e00\u6a23\u6771\u897f\uff0c\u4e0d\u904e\u662f\u6642\u9593\u548c\u7a7a\u9593\u7684\u95dc\u4fc2\u6539\u8b8a\u4e86\u3002 \u63a5\u4e0b\u4f86\u7684\u6240\u6709\u7ae0\u7bc0\uff0c\u90fd\u662f\u56de\u9867\u7a0b\u5f0f\u8a9e\u8a00\u7684\u767c\u5c55\uff0c\u628a\u6bcf\u4e00\u500b\u91cd\u8981\u91cc\u7a0b\u7891\u7684\u8a9e\u8a00\uff0c\u7528\u5b8c\u7f8e\u7a0b\u5f0f\u6a5f\u5668\u53bb\u5206\u6790\u4f5c\u6bd4\u8f03\u3002\u66f8\u4e2d\u63d0\u53ca\u7684\u7a0b\u5f0f\u8a9e\u8a00\uff0c\u96a8\u4e86\u505a\u5b78\u8853\u7814\u7a76\u5916\uff0c\u73fe\u4eca\u5df2\u6c92\u6709\u4ec0\u9ebc\u4eba\u7528\u3002\u53cd\u89c0\u73fe\u5728\u6700\u6d41\u884c\u7684\u5e7e\u7a2e\u8a9e\u8a00\uff0c\u672c\u8eab\u4e26\u6c92\u6709\u7368\u5275\u6027\u53ef\u8a00\uff0c\u53ea\u662f\u5728\u8d70\u524d\u4eba\u958b\u767c\u51fa\u4f86\u7684\u8def\u3002\u9019\u672c\u66f8\u5beb\u65bc\u4e00\u4e5d\u4e5d\u96f6\u5e74\uff0c\u8d85\u904e\u4e8c\u5341\u5e74\u524d\u3002\u53ef\u662f\u904e\u53bb\u4e8c\u5341\u5e74\uff0c\u7a0b\u5f0f\u8a9e\u8a00\u7684\u767c\u5c55\u537b\u505c\u6eef\u4e0d\u524d\uff0c\u53ea\u662f\u4e0d\u65b7\u5efa\u7acb\u66f4\u591a\u7684\u7a0b\u5f0f\u5eab\uff0c\u4f46\u6700\u5728\u57fa\u672c\u7684\u7a0b\u5f0f\u8a9e\u8a00\u7684\u601d\u8003\u65b9\u6cd5\u4e0a\uff0c\u8207\u4e8c\u5341\u5e74\u524d\u6bd4\u8f03\u6c92\u6709\u591a\u5c11\u7a81\u7834\u3002 \u59cb\u7d42\u9019\u662f\u4e00\u672c\u5927\u90e8\u982d\u7684\u5b78\u8853\u66f8\uff0c\u6211\u5f88\u96e3\u5728\u6b64\u4ee5\u6709\u9650\u7684\u6587\u5b57\uff0c\u7528\u4e09\u8a00\u5169\u8a9e\u628a\u66f8\u4e2d\u6168\u5ff5\u8868\u9054\u6e05\u695a\u3002\u6211\u7279\u5225\u60f3\u8aaa\u7684\u662f\uff0c\u7576\u6211\u8b80\u5230\u5b8c\u7f8e\u7a0b\u5f0f\u6a5f\u5668\u7684\u7406\u8ad6\uff0c\u6211\u611f\u5230\u53ee\u4e00\u8072\u958b\u7ac5\u7684\u611f\u89ba\uff0c\u591a\u5e74\u4f86\u5beb\u7a0b\u5f0f\u4e0d\u660e\u6240\u4ee5\u7684\u5730\u65b9\uff0c\u5c31\u5728\u9019\u4e00\u523b\u8c41\u7136\u9818\u609f\u4e86\u3002\u82e5\u679c\u5beb\u7a0b\u5f0f\u4e5f\u6709\u79aa\u7684\u8a71\uff0c\u9019\u7121\u7570\u4fbf\u662f\u9813\u609f\u7684\u5883\u754c\u3002\u8b80\u96fb\u8166\u7684\u670b\u53cb\uff0c\u9760\u5beb\u7a0b\u5f0f\u7dad\u751f\u7684\u670b\u53cb\uff0c\u9019\u662f\u4e00\u672c\u6703\u6539\u8b8a\u4f60\u60f3\u6cd5\u7684\u66f8\u3002\u9019\u66f8\u672c\u5b78\u6821\u4e0d\u6703\u6559\u4ea6\u7121\u6cd5\u6559\uff0c\u56e0\u70ba\u8981\u5beb\u7a0b\u5f0f\u591a\u5e74\uff0c\u5fc3\u4e2d\u7522\u751f\u7121\u6578\u554f\u865f\uff0c\u624d\u53ef\u4ee5\u770b\u61c2\u7a0b\u5f0f\u7684\u7384\u5999\u3002","rel":"","context":"In &quot;\u66f8\u8a55&quot;","block_context":{"text":"\u66f8\u8a55","link":"https:\/\/www.horace.org\/blog\/category\/_books\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.horace.org\/blog\/wp-content\/uploads\/2011\/05\/eaf2f205480053d593868705841434d414f4541.jpg?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":6311,"url":"https:\/\/www.horace.org\/blog\/2012\/03\/30\/%e8%a9%a9%e8%a9%9e%e6%8c%88%e9%a0%98\/","url_meta":{"origin":11720,"position":4},"title":"\u8a69\u8a5e\u6308\u9818","author":"hevangel","date":"March 30, 2012","format":false,"excerpt":"\u4ee5\u524d\u8b80\u66f8\u6642\u559c\u6b61\u770b\u6b66\u4fe0\u5c0f\u8aaa\uff0c\u770b\u898b\u90a3\u4e9b\u53e4\u4eba\u51fa\u53e3\u6210\u8a69\u597d\u4e0d\u7fa8\u6155\uff0c\u89ba\u5f97\u6587\u7e10\u7e10\u7684\u5341\u5206\u6709\u6587\u5316\u5f88\u5e2b\u3002\u53ef\u60dc\u6211\u4e2d\u6587\u5e95\u5b50\u5dee\uff0c\u4e0d\u8981\u8aaa\u5beb\u8a69\uff0c\u9023\u770b\u8a69\u4e5f\u4e0d\u61c2\u3002\u9023\u8a08\u4ee5\u524d\u5b78\u6821\u8ab2\u672c\u6559\u7684\uff0c\u5927\u6168\u6211\u61c2\u80cc\u5f97\u51fa\u7684\u8a69\uff0c\u5341\u96bb\u624b\u6307\u53ef\u4ee5\u6578\u5b8c\u3002\u4eba\u5bb6\u8aaa\u300c\u8b80\u719f\u5510\u8a69\u4e09\u767e\u9996\uff0c\u4e0d\u6703\u541f\u8a69\u4e5f\u6703\u5077\u300d\uff0c\u597d\u5e7e\u6b21\u62ff\u8d77\u672c\u5510\u8a69\u4e09\u767e\u9996\u4f86\u770b\uff0c\u8b80\u4e0d\u4e86\u5e7e\u9996\u4fbf\u56e0\u70ba\u592a\u60b6\u653e\u68c4\u4e86\u3002\u5e02\u9762\u4e0a\u8f2f\u9304\u53e4\u8a69\u52a0\u4ee5\u6ce8\u91cb\u7684\u66f8\u5f88\u591a\uff0c\u82e5\u679c\u9023\u8a69\u7684\u6700\u57fa\u672c\u4e5f\u4e0d\u61c2\uff0c\u4e0d\u77e5\u8a72\u5982\u4f55\u53bb\u7406\u89e3\u4e00\u53e5\u8a69\u53e5\uff0c\u770b\u90a3\u4e9b\u6ce8\u91cb\u66f8\u6703\u5341\u5206\u5403\u529b\u3002 \u67d0\u6b21\u56de\u9999\u6e2f\u901b\u66f8\u5e97\u6642\uff0c\u770b\u898b\u9019\u672c\u300c\u8a69\u8a5e\u6308\u9818\u300d\uff0c\u7531\u6dfa\u5165\u6df1\u6559\u8b80\u8a69\u5beb\u8a69\uff0c\u4fbf\u8cb7\u7acb\u5373\u4e0b\u4f86\u3002\u4e0d\u904e\u8cb7\u4e86\u56de\u4f86\u5728\u66f8\u67b6\u4e0a\u5c01\u5875\u5f88\u591a\u5e74\uff0c\u76f4\u5230\u6700\u8fd1\u8981\u5e6b\u5c0f\u5bf6\u5bf6\u6539\u4e2d\u6587\u540d\uff0c\u627e\u500b\u6709\u9ede\u6587\u91c7\u597d\u807d\u7684\u540d\u5b57\uff0c\u60f3\u8d77\u9019\u672c\u66f8\u5f9e\u8a69\u4e2d\u627e\u9748\u611f\u3002\u4f5c\u8005\u58eb\u6703\u53ea\u662f\u500b\u7b46\u540d\uff0c\u4e0a\u7db2\u4e5f\u627e\u4e0d\u5230\u4ed6\u7684\u8cc7\u6599\uff0c\u4e0d\u904e\u4ed6\u96a8\u4e86\u5beb\u95dc\u65bc\u8a69\u7684\u66f8\u5916\uff0c\u9084\u6709\u5beb\u6559\u96fb\u8166\u7a0b\u5f0f\u7684\u66f8\uff0c\u60f3\u5fc5\u662f\u611b\u597d\u8b80\u8a69\u7684\u500b\u96fb\u8166\u4eba\u3002\u4ee5\u524d\u4e2d\u570b\u6587\u5b78\u8001\u5e2b\u6559\u8a69\uff0c\u8b1b\u6b23\u8cde\u4ec0\u9ebc\u7f8e\u4ec0\u9ebc\u610f\u5883\uff0c\u5f88\u7121\u804a\u5168\u5b8c\u807d\u4e0d\u660e\u767d\u3002\u9019\u672c\u66f8\u4e0d\u8ac7\u90a3\u4e9b\u4e3b\u89c0\u7684\u611f\u89ba\uff0c\u5f88\u5be6\u5728\u7684\u8b1b\u89e3\u5206\u6790\u5beb\u8a69\u7684\u898f\u5247\u683c\u5f0f\uff0c\u751a\u81f3\u9084\u7528\u96fb\u8166\u6578\u64da\u4f8b\u51fa\u5716\u8868\u5206\u6790\u8a69\u53e5\u7684\u898f\u5f8b\u3002\u96d6\u7136\u8a69\u7684\u898f\u5247\u6709\u5f88\u591a\uff0c\u4e5f\u6709\u4e0d\u5c11\u7279\u6b8a\u7684\u4f8b\u5916\uff0c\u4f46\u6211\u662f\u96fb\u8166\u4eba\u7fd2\u6163\u770b\u8907\u96dc\u7684\u7cfb\u7d71\uff0c\u5225\u4eba\u4e5f\u8a31\u6703\u89ba\u5f97\u9019\u672c\u66f8\u60b6\uff0c\u4f46\u6211\u537b\u5982\u9b5a\u5f97\u6c34\u4e00\u770b\u4fbf\u61c2\u3002\u8b80\u5b8c\u9019\u672c\u66f8\u5f8c\u518d\u770b\u5510\u8a69\u4e09\u767e\u9996\uff0c\u679c\u7136\u4ee5\u524d\u6709\u6ce8\u91cb\u4e5f\u770b\u4e0d\u660e\u767d\u7684\u8a69\uff0c\u73fe\u5728\u4e00\u770b\u4fbf\u61c2\u5982\u4f55\u89e3\u78bc\u5957\u5165\u8a69\u7cfb\u7d71\u4e2d\u3002\u770b\u660e\u4e86\u5167\u5bb9\u624d\u61c2\u6b23\u8cde\u8a69\u7684\u610f\u5883\uff0c\u770b\u6e05\u7528\u5b57\u7684\u5de5\u6574\u5de7\u5999\uff0c\u624d\u61c2\u6b23\u8cde\u8a69\u7684\u7f8e\u3002 \u8fd1\u9ad4\u8a69\u6700\u8b1b\u7a76\u5e73\u4ec4\uff0c\u6211\u4ee5\u524d\u5b78\u6975\u4e5f\u5b78\u4e0d\u61c2\u5e73\u4ec4\u3002\u6240\u4ee5\u6211\u6700\u618e\u90a3\u4e9b\u61f6\u9192\u7684\u4eba\uff0c\u8aaa\u5e73\u4ec4\u5f88\u6613\u5b78\uff0c\u4e94\u5206\u9418\u5c31\u5b78\u61c2\u3002\u9019\u672c\u66f8\u5f9e\u6700\u57fa\u672c\u7684\u5e73\u4e0a\u53bb\u5165\u56db\u8072\u958b\u59cb\u6559\u8d77\uff0c\u5c0d\u7167\u53e4\u97f3\u548c\u73fe\u4ee3\u666e\u901a\u8a71\u8207\u7cb5\u8a9e\u3002\u6700\u91cd\u8981\u662f\u9644\u9304\u7684\u5e73\u6c34\u8af3\uff0c\u5c31\u7b97\u4e0d\u77e5\u9053\u67d0\u4e00\u500b\u5b57\u7684\u5e73\u4ec4\uff0c\u4e5f\u5927\u7d04\u660e\u767d\u4e86\u5e73\u4ec4\u7684\u7279\u6027\u3002\u4f5c\u8005\u5f9e\u4e94\u8a00\u8a69\u958b\u59cb\uff0c\u5148\u628a\u5e73\u4ec4\u683c\u5f0f\u5206\u70ba\u56db\u5927\u985e\uff0c\u5f9e\u8072\u5b78\u89d2\u5ea6\u89e3\u91cb\u5e73\u4ec4\uff0c\u5c0d\u8214\uff0c\u6551\u62d7\u7b49\uff0c\u518d\u7531\u57fa\u672c\u53e5\u5f0f\u6f14\u8b8a\u51fa\u5176\u4ed6\u53e5\u5f0f\uff0c\u4e94\u8a00\u53e5\u52a0\u5169\u5b57\u6f14\u8b8a\u51fa\u4e03\u8a00\u53e5\u3002\u53e4\u8a69\u548c\u8fd1\u9ad4\u8a69\u7684\u6700\u5927\u5206\u5225\uff0c\u4fbf\u662f\u5510\u4ee3\u4ee5\u524d\u53e4\u4eba\u9084\u5b8c\u5168\u638c\u63e1\u5e73\u4ec4\u898f\u5f8b\uff0c\u6240\u4ee5\u53e4\u8a69\u5e73\u4ec4\u548c\u7528\u97fb\u6bd4\u8f03\u5bec\u9b06\u3002 \u8981\u770b\u61c2\u4e00\u9996\u8a69\u6700\u91cd\u8981\u660e\u767d\u5167\u5bb9\uff0c\u5f88\u591a\u6642\u5019\u8a69\u53e5\u4e2d\u6bcf\u500b\u5b57\u4e5f\u8b58\u8b80\uff0c\u4f46\u653e\u5728\u4e00\u8d77\u537b\u4e0d\u77e5\u8aaa\u4ec0\u9ebc\u3002\u9019\u672c\u66f8\u628a\u767e\u5510\u8a69\u7684\u53e5\u5b50\u6574\u7406\uff0c\u6b78\u7d0d\u70ba\u4e8c\u767e\u591a\u7a2e\u4e0d\u540c\u53e5\u5f0f\uff0c\u6bcf\u4e00\u53e5\u518d\u6a19\u6ce8\u5206\u5225\u90a3\u90e8\u4efd\u662f\u4e3b\u8a9e\uff0c\u8cd3\u8a9e\uff0c\u8b02\u8a9e\uff0c\u5b9a\u8a9e\uff0c\u72c0\u8a9e\uff0c\u6bcf\u500b\u5b57\u5c6c\u65bc\u540d\u8a5e\uff0c\u52d5\u8a5e\uff0c\u4ecb\u8a5e\uff0c\u865b\u8a5e\uff0c\u90a3\u4e9b\u662f\u5e38\u7528\u7684\u5012\u88dd\u53e5\u7b49\u7b49\u3002\u9019\u662f\u5f88\u5927\u91cf\u7684\u8cc7\u6599\uff0c\u4f46\u53ea\u8981\u770b\u904e\u8a18\u4f4f\u4e86\uff0c\u89e3\u8b80\u8a69\u53e5\u4fbf\u6beb\u7121\u96e3\u5ea6\u3002\u9664\u4e86\u53e4\u8a69\u5510\u8a69\u5916\uff0c\u9019\u672c\u66f8\u4e5f\u540c\u6a23\u5206\u6790\u5b8b\u8a5e\uff0c\u5f88\u6709\u7cfb\u7d71\u6574\u7406\u8a5e\u8b5c\uff0c\u7528\u97fb\uff0c\u5c0d\u4ed7\u548c\u6587\u6cd5\u7279\u9ede\uff0c\u96d6\u7136\u591a\u4f46\u5f88\u7c21\u55ae\u4e00\u770b\u4fbf\u61c2\uff0c\u53ea\u4e0d\u904e\u662f\u53e6\u4e00\u5957\u7528\u5b57\u898f\u5247\u3002 \u6211\u5b78\u4e86\u5341\u5e7e\u5e74\u4e2d\u6587\uff0c\u7adf\u7136\u9023\u8b02\u8a9e\u662f\u4ec0\u9ebc\u672a\u807d\u904e\uff0c\u66f4\u4e0d\u7528\u8aaa\u4e0d\u540c\u865b\u8a5e\u7684\u61c9\u7528\uff0c\u90fd\u4e0d\u77e5\u9053\u4ee5\u524d\u5b78\u6821\u600e\u6a23\u6559\u4e2d\u6587\u3002\u82e5\u679c\u5b78\u6821\u7528\u9019\u672c\u66f8\u7684\u65b9\u6cd5\u6559\uff0c\u5beb\u8a69\u5176\u5be6\u4e0d\u96e3\uff0c\u53ea\u8981\u6309\u516c\u5f0f\u591a\u52a0\u7df4\u7fd2\uff0c\u6bcf\u53e5\u8a69\u4e5f\u67e5\u8868\u53cd\u8986\u4fee\u6b63\u7528\u5b57\uff0c\u8ab0\u4eba\u4e5f\u53ef\u4ee5\u5beb\u51fa\u4e00\u9996\u5de5\u6574\u7684\u8a69\u3002\u5b78\u751f\u5927\u6168\u88ab\u51fa\u53e3\u6210\u8a69\u7684\u5f62\u50cf\u4f59\u6bd2\uff0c\u4ee5\u70ba\u5beb\u8a69\u662f\u4e00\u4ef6\u5f88\u6d6a\u6f2b\u5f88\u85dd\u8853\u7684\u4e8b\u3002\u5176\u5be6\u5beb\u8a69\u597d\u50cf\u756b\u7d20\u63cf\uff0c\u53ea\u8981\u57fa\u790e\u529f\u592b\u719f\u7df4\uff0c\u4fbf\u53ef\u4ee5\u50cf\u780c\u7a4d\u6728\u822c\uff0c\u5beb\u51fa\u4e00\u9996\u4f3c\u6a21\u4f3c\u6a23\u7684\u8a69\u3002\u800c\u4e45\u7d93\u935b\u7df4\u901f\u5ea6\u52a0\u5feb\uff0c\u9700\u8981\u53cd\u8986\u4fee\u6b63\u7684\u9010\u6f38\u6b21\u6578\u6e1b\u5c11\uff0c\u81ea\u81ea\u7136\u7136\u4fbf\u80fd\u5920\u51fa\u53e3\u6210\u8a69\u3002","rel":"","context":"In &quot;\u66f8\u8a55&quot;","block_context":{"text":"\u66f8\u8a55","link":"https:\/\/www.horace.org\/blog\/category\/_books\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.horace.org\/blog\/wp-content\/uploads\/2012\/03\/9789621419095.jpg?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":12857,"url":"https:\/\/www.horace.org\/blog\/2018\/06\/02\/head-first-python\/","url_meta":{"origin":11720,"position":5},"title":"Head First Python","author":"hevangel","date":"June 2, 2018","format":false,"excerpt":"\u8aaa\u5230\u8981\u5b78\u96fb\u8166\u7a0b\u5f0f\u8a9e\u8a00\uff0cPython\u76f8\u4fe1\u662f\u8fd1\u5e74\u6700\u7099\u624b\u53ef\u71b1\u7684\u8a9e\u8a00\u4e86\uff0c\u4e00\u4f86Syntax\u6613\u5b78\u6613\u7528\uff0c\u4e8c\u4f86library\u652f\u63f4\u773e\u591a\uff0c\u66f4\u662f\u8fd1\u671f\u6700\u71b1\u9580\u4eba\u5de5\u667a\u80fd\u7684\u4e3b\u8981\u8a9e\u8a00\uff0c\u6211\u6700\u8fd1\u56e0\u5de5\u4f5c\u9700\u8981\u4e5f\u8981\u5b78Python\u3002\u4ee5\u524d\u6211\u8b80\u5927\u5b78\u6642\u7a0b\u5f0f\u5165\u9580\u8ab2\u6559C\uff0c\u7136\u5f8c\u904e\u5e7e\u4e86\u5e74\u9032\u5316\u70ba\u6559Java\uff0c\u4e0d\u904e\u6700\u8fd1\u9678\u7e8c\u8f49\u70ba\u6559Python\u4e86\u3002\u516c\u53f8\u65b0\u8acb\u56de\u4f86\u7684\u5927\u5b78\u751f\u500b\u500b\u90fd\u61c2Python\uff0c\u543e\u7b49\u8001\u6d77\u9bae\u4e5f\u8981\u8207\u6642\u4e26\u9032\u624d\u4e0d\u6703\u88ab\u6dd8\u6c70\u3002 \u539f\u672c\u516c\u53f8\u5167\u90e8\u500b\u5169\u4e0d\u540c\u90e8\u9580\u4f7f\u7528\u4e0d\u540c\u8a9e\u8a00\uff0cchip testing\u548capps\u90a3\u908a\u4ee5\u524d\u7528tcl\uff0c\u8caatcl\u4e0d\u7528compile\u65b9\u4fbf\u64cd\u4f5c\uff0c\u6211\u5011software testing\u90a3\u908a\u5247\u4ee5C++\u70ba\u4e3b\uff0c\u56e0\u70ba\u9700\u8981OOP\u548cstatic type\u4f86\u67b6\u69cb\u8edf\u4ef6\u6e2c\u8a66\u7cfb\u7d71\u3002\u5169\u500b\u90e8\u9580\u6709\u5f88\u591a\u57fa\u790e\u7684\u61c9\u7528\u7a0b\u5f0f\u529f\u80fd\u91cd\u58d8\uff0c\u4e0d\u904e\u56e0\u70ba\u4f7f\u7528\u4e0d\u540c\u8a9e\u8a00\uff0c\u540c\u4e00\u500b\u529f\u80fd\u9700\u8981\u5beb\u5169\u6b21\u3002\u9ad8\u5c64\u8a8d\u70ba\u4e00code\u5169\u5beb\u5f88\u6c92\u6709\u6548\u7387\uff0c\u4e0b\u4ee4\u6211\u5011\u7d71\u4e00\u4f7f\u7528\u540c\u4e00\u8a9e\u8a00\uff0c\u5728\u96d9\u65b9\u5217\u51fa\u5c0d\u8a9e\u8a00\u7684\u8981\u6c42\u5f8c\uff0cPython\u6210\u70ba\u5f88\u81ea\u7136\u7684\u9078\u64c7\u3002Python\u662finterpreter language\u4e0d\u7528compile\uff0c\u540c\u6642\u53c8\u652f\u63f4OOP\u548ctype checking\uff0c\u4e00\u6b21\u904e\u6eff\u8db3\u6211\u5011\u5169\u500b\u90e8\u9580\u7684\u9858\u671b\u3002 \u5b78\u7fd2\u65b0\u7a0b\u5f0f\u8a9e\u8a00\uff0c\u5f88\u591a\u4eba\u559c\u6b61\u8b80\u7db2\u4e0a\u8ab2\u7a0b\uff0c\u4e0d\u904e\u6211\u6bd4\u8f03\u50b3\u7d71\u559c\u6b61\u770b\u66f8\uff0c\u6211\u5acc\u7db2\u4e0a\u8ab2\u7a0b\u770b\u5f71\u7247\u592a\u5625\u6642\u9593\uff0c\u770b\u66f8\u5bb9\u6613\u660e\u7684\u90e8\u4efd\u53ef\u4ee5\u901f\u8b80\uff0c\u96e3\u660e\u7684\u90e8\u4efd\u53ef\u4ee5\u82b1\u591a\u6b64\u6642\u9593\u91cd\u770b\u5e7e\u904d\u3002\u5b78\u7fd2\u5beb\u7a0b\u5f0f\u6700\u91cd\u8981\u662f\u843d\u624b\u843d\u8173\u5bebcode\uff0c\u8ddf\u8ab2\u672c\u7684\u7df4\u7fd2\u505a\u540c\u505a\u7db2\u4e0a\u8ab2\u7a0b\u7684\u529f\u8ab2\u5206\u5225\u4e0d\u5927\uff0c\u53cd\u6b63\u7a0b\u5f0f\u5beb\u5f97\u597d\u5c31work\u6709bug\u5c31\u5514work\uff0c\u6c92\u6709\u9700\u8981\u6539\u529f\u8ab2\u5c0d\u7b54\u6848\u7684\u554f\u984c\u3002\u5728\u82b8\u82b8\u773e\u591a\u672cPython\u66f8\u4e2d\uff0c\u6211\u6311\u9078\u4e86\u9019\u672c\u300aHead First Python\u300b\uff0c\u770b\u96fb\u8166\u66f8\u4e0d\u662f\u5927\u5927\u672c\u5f88\u539a\u591a\u5b57\u5c31\u597d\uff0c\u6700\u91cd\u8981\u662f\u628a\u61c9\u7528\u6168\u5ff5\u89e3\u91cb\u6e05\u695a\uff0c\u6709\u6642\u4e00\u5f35\u5716\u6216\u4e00\u500b\u4f8b\u5b50\u53ef\u4ee5\u62b5\u5f97\u4e0a\u4e09\u7248\u7d19\u67af\u71e5\u7684\u6587\u5b57\u3002\u9019\u672c\u66f8\u958b\u5b97\u660e\u7fa9\u4e0d\u662f\u6559\u5beb\u7a0b\u5f0f\uff0c\u800c\u662f\u5beb\u7d66\u5df2\u61c2\u5176\u4ed6\u8a9e\u8a00\u7684\u4eba\u5b78\u7fd2Python\u8a9e\u6cd5\u3002\u9019\u672c\u66f8\u6700\u512a\u52dd\u4e4b\u8655\u7684\u55ae\u5143\u7684\u7de8\u6392\uff0c\u6574\u672c\u66f8\u5c31\u662f\u5beb\u4e00\u500b\u6709\u8da3\u7684\u5c0f\u5c0f\u7db2\u4e0a\u61c9\u7528\u7a0b\u5f0f\uff0c\u6bcf\u7ae0\u90fd\u6559\u4e00\u4e9b\u65b0\u6771\u897f\u70ba\u7a0b\u5f0f\u52a0\u4e0a\u65b0\u529f\u80fd\uff0c\u770b\u66f8\u5c31\u597d\u4f3c\u4e00\u8def\u505aproject\u5481\u4e0d\u6703\u60b6\u3002\u6700\u6015\u6709\u4e9b\u7a0b\u5f0f\u66f8\u53ea\u662f\u628a\u8a9e\u6cd5\u7531\u982d\u5230\u5c3e\u5217\u51fa\u4f86\uff0c\u518d\u53e3\u6c34\u591a\u904e\u8336\u5730\u52a0\u9e7d\u52a0\u918b\u5730\u9577\u7bc7\u5927\u8ad6\u8b1b\u89e3\u3002 \u6700\u521d\u770bPython\u5f88\u4e0d\u7fd2\u6163\u90a3\u500bindent style\uff0c\u5beb\u4e86\u5481\u591a\u5e74\u7a0b\u5f0f\u90fd\u4fc2\u7528curly bracket, \u552f\u6709Python\u5225\u6a39\u4e00\u683c\u5f37\u8febindent\uff0c\u4e0d\u904e\u5beb\u5e7e\u500b\u661f\u671f\u7fd2\u6163\u4e86\u5c31\u4e0d\u518d\u89ba\u5f97\u7919\u773c\u3002\u540cC++\u6216Java\u6bd4\uff0cPython\u540cRuby\u7b97\u662f\u7b2c\u56db\u4ee3\u7684\u7a0b\u5f0f\u8a9e\u8a00\uff0c\u53bb\u5e74\u5b78\u904eRuby\u6240\u4ee5Python\u5f88\u5feb\u4e0a\u624b\uff0c\u5169\u8005\u7684\u8a2d\u8a08\u7406\u5ff5\u4e0d\u540c\uff0c\u4e0d\u904e\u6700\u6838\u5fc3\u7684\u672c\u8cea\u5176\u5be6\u4e00\u6a23\uff0c\u660e\u767d\u4e86\u500b\u80cc\u5f8c\u7528C\u5beb\u7684Ruby\/Python\u500binterpreter\uff0c\u7747\u57cb\u500binterpreter\u5165\u9762\u7684internal data-structure\uff0c\u5481\u6210\u500b\u8a9e\u8a00\u5c31\u4e00\u7406\u901a\u767e\u7406\u660e\u3002Ruby\u5c31\u4e5c\u90fd\u4fc2object\uff0cPython\u96d6\u7136\u6709\u4eba\u90fd\u4fc2\u5481\u8b1b\uff0c\u4f46\u6211\u8a8d\u70baPython\u7684\u771f\u8482\u5176\u5be6\u4e5c\u90fd\u4fc2callable\uff0c\u9023class declaration\u90fd\u4fc2\u4e00\u500bfunction\u3002\u660e\u767d\u4e86\u9019\u4e00\u9ede\u5f8c\uff0cPython\u6240\u6709\u65b0feature concept\uff0c\u5982generator\uff0cdeclaration\uff0ccontext manager\uff0cfuture, asyncio\u7b49\u7b49\u5c31\u80fd\u6e05\u695a\u7406\u89e3\u660e\u767d\u3002 \u7747\u5b8c\u672c\u66f8\u8ddf\u4f4f\u5b83\u505a\u5b8c\u500bproject\u4ed4\uff0c\u518d\u4e0aPython\u5b98\u7db2\u770b\u4e00\u6b21\u5b98\u65b9tutorial\uff0c\u628astandard library\u7684\u6240\u6709API\u4fc2\u5481\u610f\u7747\u4e00\u6b21\uff0c\u5927\u6168\u77e5\u9053\u6709\u4e5cfunction\u4e5clibrary\u53ef\u4ee5\u7528\uff0c\u9047\u5230\u554f\u984c\u5c31\u554fstack overflow\u5927\u795e\u6c42\u6551\uff0c\u9084\u6709\u529f\u80fd\u5f37\u5927\u7684PyCharm\u76f8\u52a9\uff0c\u5176\u5be6Python\u5f88\u5bb9\u6613\u4e0a\u624b\u3002\u8d8a\u5beb\u8d8a\u89ba\u5f97Python\u597d\u4f7f\u597d\u7528\uff0c\u5927\u6709\u76f8\u9022\u6068\u591c\u7684\u611f\u89ba\u3002\u73fe\u5728\u5b78\u4e86\u7528\u4e86Python\u5169\u500b\u591a\u6708\uff0c\u81ea\u554f\u81f3\u5c11\u8ffd\u4e0a\u516c\u53f8\u65b0\u4ed4\u7684\u6c34\u5e73\uff0creview\u4f62\u5730\u5beb\u7684code\u4e5f\u4e0d\u6703\u5931\u79ae\u554f\u767d\u75f4\u554f\u984c\u3002","rel":"","context":"In &quot;\u66f8\u8a55&quot;","block_context":{"text":"\u66f8\u8a55","link":"https:\/\/www.horace.org\/blog\/category\/_books\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.horace.org\/blog\/wp-content\/uploads\/2018\/05\/lrg.jpg?fit=500%2C578&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]}],"jetpack_likes_enabled":false,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.horace.org\/blog\/wp-json\/wp\/v2\/posts\/11720","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.horace.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.horace.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.horace.org\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.horace.org\/blog\/wp-json\/wp\/v2\/comments?post=11720"}],"version-history":[{"count":6,"href":"https:\/\/www.horace.org\/blog\/wp-json\/wp\/v2\/posts\/11720\/revisions"}],"predecessor-version":[{"id":11733,"href":"https:\/\/www.horace.org\/blog\/wp-json\/wp\/v2\/posts\/11720\/revisions\/11733"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.horace.org\/blog\/wp-json\/wp\/v2\/media\/11722"}],"wp:attachment":[{"href":"https:\/\/www.horace.org\/blog\/wp-json\/wp\/v2\/media?parent=11720"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.horace.org\/blog\/wp-json\/wp\/v2\/categories?post=11720"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.horace.org\/blog\/wp-json\/wp\/v2\/tags?post=11720"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}