资源描述:
《oreilly.mongodb.and.php.jan.2012外语英文电子书》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、wnloadfromWow!eBookoDMongoDBandPHPSteveFranciaBeijing•Cambridge•Farnham•Köln•Sebastopol•TokyoMongoDBandPHPbySteveFranciaCopyright©2012SteveFrancia.Allrightsreserved.PrintedintheUnitedStatesofAmerica.PublishedbyO’ReillyMedia,Inc.,1005GravensteinHighwayNorth,Sebas
2、topol,CA95472.O’Reillybooksmaybepurchasedforeducational,business,orsalespromotionaluse.Onlineeditionsarealsoavailableformosttitles(http://my.safaribooksonline.com).Formoreinformation,contactourcorporate/institutionalsalesdepartment:(800)998-9938orcorporate@oreilly.com.Editors:Mik
3、eLoukidesandShawnWallaceCoverDesigner:KarenMontgomeryProductionEditor:JasminePerezInteriorDesigner:DavidFutatoCopyeditor:ChetChinIllustrator:RobertRomanoProofreader:O’ReillyProductionServicesRevisionHistoryfortheFirstEdition:2012-01-24FirstreleaseSeehttp://oreilly.com/catalog/err
4、ata.csp?isbn=9781449314361forreleasedetails.NutshellHandbook,theNutshellHandbooklogo,andtheO’ReillylogoareregisteredtrademarksofO’ReillyMedia,Inc.MongoDBandPHPandrelatedtradedressaretrademarksofO’ReillyMedia,Inc.Manyofthedesignationsusedbymanufacturersandsellerstodistinguishtheir
5、productsareclaimedastrademarks.Wherethosedesignationsappearinthisbook,andO’ReillyMedia,Inc.wasawareofatrademarkclaim,thedesignationshavebeenprintedincapsorinitialcaps.Whileeveryprecautionhasbeentakeninthepreparationofthisbook,thepublisherandauthorassumenoresponsibilityforerrorsor
6、omissions,orfordamagesresultingfromtheuseoftheinformationcon-tainedherein.ISBN:978-1-449-31436-1[LSI]1327093111TableofContentsPreface.....................................................................vii1.WhyMongo?...........................................................1TheP
7、roblemofObjectsandRelationalDataStructures1TheProblemwithORMs2ORMsAreHairyandComplex2ORMsAren’tPerformant2ORMsNeuteredSQL2ComplicatedArchitecture2PHPIsMostlyCRUD3MongoDB,OptimizedforOperation3MongoDBIsaDocumentDatabase4Document==Array4MongoDBIsOptimizedforCRUDOperations5OptimalIn
8、terfaceforDevelopers6OptimalPerformance6