Digital History: a Guide to Gathering, Preserving, and Presenting the Past on the Web
Total Page:16
File Type:pdf, Size:1020Kb
'LJLWDO+LVWRU\_$SSHQGL[ Digital History: A Guide to Gathering, Preserving, and Presenting the Past on the Web Appendix: Database Software, Scripting Languages, and XML Introduction KDSWHURXWOLQHGVRPHRIWKHEDVLFVRIFUHDWLQJDZHEVLWHEXWWKRVHFRQWHPSODWLQJPRUH FRPSOH[VLWHVQHHGWRWKLQNDERXWPRUHLQYROYHGWHFKQLFDOLQIUDVWUXFWXUHVHVSHFLDOO\WKHSRVVLELOLW\RI RUJDQL]LQJH[SDQVLYHUHVRXUFHVWKURXJKGDWDEDVHVRU;0/,I\RXSODQRQKDYLQJPRUHWKDQDKXQGUHG GLJLWDOREMHFWVLQDKLVWRULFDODUFKLYHFROOHFWLQJPRUHWKDQDKXQGUHGKLVWRULFDODUWLIDFWVRUGRFXPHQWV WKURXJK\RXUZHEVLWHRUDUHUHVSRQVLEOHIRUWKHPHPEHUVKLSUROORIDKLVWRULFDOVRFLHW\\RXVKRXOG FRQVLGHUDWWDFKLQJDZHEHQDEOHGGDWDEDVHWR\RXUVLWH,I\RXDUHGLJLWL]LQJDVLPLODUO\ODUJHQXPEHURI KLVWRULFDOGRFXPHQWVWKDWDUHPRVWO\RUFRPSOHWHO\WH[W\RXVKRXOGFRQVLGHUWKHSRVVLELOLW\RIPDUNLQJ XSWKRVHGRFXPHQWVZLWK;0/8VLQJHLWKHUDGDWDEDVHRU;0/JHQHUDOO\DGGVDIHZOD\HUVRI WHFKQRORJ\WRPRUHEDVLFZHEVLWHHOHPHQWVDGGLWLRQDOVRIWZDUHWRHQFRGHRUVWRUHPDWHULDOVDZD\WR GHSRVLWLQIRUPDWLRQLQWRDGDWDEDVHRUPDUNXSWH[WVZLWK;0/DQGDZD\WRH[WUDFWLQIRUPDWLRQIURP WKHGDWDEDVHRU;0/DUFKLYHWREHGLVSOD\HGRQDZHESDJH KWWSFKQPJPXHGXGLJLWDOKLVWRU\DSSHQGL[LQGH[SKS 1 'LJLWDO+LVWRU\_$SSHQGL[ Digital History: A Guide to Gathering, Preserving, and Presenting the Past on the Web Appendix: Database Software, Scripting Languages, and XML Databases 0RVWKLVWRULDQVHQFRXQWHUVLPSOHGDWDEDVHVZKHQWKH\XVHFRPPRQVRIWZDUHDSSOLFDWLRQVVXFKDV$FFHVV RU)LOHPDNHU:HEGDWDEDVHVGLIIHUIURPWKHVH³FOLHQW´RUGHVNWRSSURJUDPV7KH\UXQVLOHQWO\LQWKH ³EDFNJURXQG´RIDZHEVHUYHUDQGUHVSRQGWRVSHFLDOL]HGUHTXHVWVWKURXJKVPDOOSLHFHVRISURJUDPPLQJ FRGHUDWKHUWKDQWKURXJKWKHSRLQWDQGFOLFNDFWLRQVWKDWRFFXURQDSHUVRQDOFRPSXWHUVFUHHQ7KHVH LQYLVLEOHGDWDEDVHRSHUDWRUVSHUPLWTXLFNDQGFRPSOLFDWHG³TXHULHV´RULQVWUXFWLRQVIURPDZHESDJH <RXUEXGJHWDQGWKHRWKHUWHFKQRORJLHV\RXSODQWRXVHRQ\RXUVLWHZLOOKHOS\RXFKRRVHDQDSSURSULDWH GDWDEDVHSURJUDP,I\RXDQWLFLSDWHKDYLQJPRUHWKDQHQWULHVLQWKHGDWDEDVHDQGUHTXLUHQR FRUUXSWLRQRUORVVRILQIRUPDWLRQDQGDVHUYLFHRULHQWHGFRPSDQ\WRJRWRZLWKSUREOHPV LQRWKHUZRUGV LI\RXDUHLQFKDUJHRIDODUJHSURMHFWOLNH(OOLV,VODQG¶VZHEVLWHZKLFKVWRUHVPLOOLRQVRIQDPHVDVZHOO DVDVVRFLDWHGGRFXPHQWV \RXPD\ZDQWWRXVHVRIWZDUHIURP2UDFOHWKHKLJKHQGPDUNHWOHDGHURU VLPLODUSURGXFWVOLNH'%IURP,%07KHVHH[SHQVLYHGDWDEDVHSURGXFWVDUHRIWHQVROGZLWKWHFKQLFDO VXSSRUWDQGFRVWWKRXVDQGVRIGROODUVSHU\HDU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0DNHU7KH2SHQ'DWDEDVH&RQQHFWLYLW\SURWRFRO 2'%& HQDEOHVGLIIHUHQW FOLHQWDQGVHUYHUGDWDEDVHVRIWZDUHWRIXQFWLRQVHDPOHVVO\WRJHWKHULQWKLVZD\,I\RXDUHSODQQLQJWR HQWHU\RXUGDWDRQO\RQFHLWPD\EHHDVLHUKRZHYHUMXVWWRUHFRUGLWDV\RXZRXOGLQRQHRIWKHHDV\WR XVHFOLHQWSURJUDPV OLNH$FFHVV DQGWKHQKDQGRIIDWDEGHOLPLWHGILOH DWH[WILOHZLWKWDEVVHSDUDWLQJ HDFKSLHFHRILQIRUPDWLRQZKLFKPRVWGDWDEDVHVOLNH$FFHVVFDQHDVLO\FUHDWH WR\RXUZHEVHUYHU DGPLQLVWUDWRUIRULQJHVWLQWRDZHEGDWDEDVH 7KH6WDWXHRI/LEHUW\²(OOLV,VODQG)RXQGDWLRQAmerican Family Immigration History CenterմOLQN $ PostgreSQLմOLQN$ /RFDOLWpV/RFDOLWLHVColes County Legal History ProjectմOLQN$ 8QLYHUVLW\RI0LQQHVRWDImmigration History Research CenterմOLQN$ MySQLմOLQN$ &HQWHUIRU+LVWRU\DQG1HZ0HGLDDQG$PHULFDQ6RFLDO+LVWRU\3URMHFWThe September 11 Digital ArchiveմOLQN$ KWWSFKQPJPXHGXGLJLWDOKLVWRU\DSSHQGL[SKS 'LJLWDO+LVWRU\_$SSHQGL[ Digital History: A Guide to Gathering, Preserving, and Presenting the Past on the Web Appendix: Database Software, Scripting Languages, and XML Scripting Languages 8QIRUWXQDWHO\JHWWLQJLQIRUPDWLRQLQWRWKHGDWDEDVHLVRQO\KDOIWKHEDWWOHWRXVLQJDGDWDEDVHRQD KLVWRULFDOZHEVLWH<RXQRZQHHGWREHDEOHWRH[WUDFWELWVRIWKLVLQIRUPDWLRQIRUPDWWKHPDQGLQVHUW WKHPLQWRZHESDJHVDVYLVLWRUVWR\RXUVLWHPDNHUHTXHVWV7KHGDWDEDVHVRIWZDUHLV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