资源描述:
《[Introduction.to.Tornado(2012.3)].Michael.Dory.文字版》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、IntroductiontoTornadoMichaelDory,AdamParrish,andBrendanBergBeijing•Cambridge•Farnham•Köln•Sebastopol•TokyoIntroductiontoTornadobyMichaelDory,AdamParrish,andBrendanBergCopyright©2012MichaelDory,AdamParrish,andBrendanBerg.Allrightsreserved.PrintedintheUnitedStatesofAmer
2、ica.PublishedbyO’ReillyMedia,Inc.,1005GravensteinHighwayNorth,Sebastopol,CA95472.O’Reillybooksmaybepurchasedforeducational,business,orsalespromotionaluse.Onlineeditionsarealsoavailableformosttitles(http://my.safaribooksonline.com).Formoreinformation,contactourcorporat
3、e/institutionalsalesdepartment:(800)998-9938orcorporate@oreilly.com.Editors:AndyOramandMikeHendricksonCoverDesigner:KarenMontgomeryProductionEditor:MelanieYarbroughInteriorDesigner:DavidFutatoIllustrator:RobertRomanoRevisionHistoryfortheFirstEdition:2012-03-16Firstrel
4、easeSeehttp://oreilly.com/catalog/errata.csp?isbn=9781449309077forreleasedetails.NutshellHandbook,theNutshellHandbooklogo,andtheO’ReillylogoareregisteredtrademarksofO’ReillyMedia,Inc.IntroductiontoTornado,thecoverimageofanAmericanmarshhawk,andrelatedtradedressaretrade
5、marksofO’ReillyMedia,Inc.Manyofthedesignationsusedbymanufacturersandsellerstodistinguishtheirproductsareclaimedastrademarks.Wherethosedesignationsappearinthisbook,andO’ReillyMedia,Inc.,wasawareofatrademarkclaim,thedesignationshavebeenprintedincapsorinitialcaps.Whileev
6、eryprecautionhasbeentakeninthepreparationofthisbook,thepublisherandauthorsassumenoresponsibilityforerrorsoromissions,orfordamagesresultingfromtheuseoftheinformationcon-tainedherein.ISBN:978-1-449-30907-7[LSI]1331730824TableofContentsPreface............................
7、.........................................vii1.Introduction...........................................................1WhatIsTornado?2GettingStartedwithTornado3CommunityandSupport3SimpleWebServices4HelloTornado4StringService7MoreAboutRequestHandlers9NextSteps112.Formsa
8、ndTemplates...................................................13SimpleExample:PoemMakerPro13RenderingTemplates15Interpolatio