内容简介
Whencarefullyselectedandused,Domain-SpecificLanguages(DSLs)maysimplifycomplexcode,promoteeffectivecommunicationwithcustomers,improveproductivity,andunclogdevelopmentbottlenecks.InDomain-SpecificLanguages,notedsoftwaredevelopmentexpertMartinFowlerfirstprovidestheinformationsoftwareprofessionalsneedtodecideifandwhentoutilizeDSLs.Then,whereDSLsprovesuitable,Fowlerpresentseffectivetechniquesforbuildingthem,andguidessoftwareengineersinchoosingtherightapproachesfortheirapplications.Thisbook’stechniquesmaybeutilizedwithmostmodernobject-orientedlanguages;theauthorprovidesnumerousexamplesinJavaandC#,aswellasselectedexamplesinRuby.Whereverpossible,chaptersareorganizedtobeself-standing,andmostreferencetopicsarepresentedinafamiliarpatternsformat.Armedwiththiswide-rangingbook,developerswillhavetheknowledgetheyneedtomakeimportantdecisionsaboutDSLs—and,whereappropriate,gainthesignificanttechnicalandbusinessbenefitstheyoffer.Thetopicscoveredinclude:HowDSLscomparetoframeworksandlibraries,andwhenthosealternativesaresufficientUsingparsersandparsergenerators,andparsingexternalDSLsUnderstanding,comparing,andchoosingDSLlanguageconstructsDeterminingwhethertousecodegeneration,andcomparingcodegenerationstrategiesPreviewingnewlanguageworkbenchtoolsforcreatingDSLs
作者简介
MartinFowlerisChiefScientistatThoughtWorks.Hedescribeshimselfas“anauthor,speaker,consultant,andgeneralloudmouthonsoftwaredevelopment.Iconcentrateondesigningenterprisesoftware—lookingatwhatmakesagooddesignandwhatpracticesareneededtocomeupwithgooddesign.”Fowler’sbooksincludePatternsofEnterpriseApplicationArchitecture;UMLDistilled,ThirdEdition;and(withKentBeck,JohnBrant,andWilliamOpdyke)Refactoring:ImprovingtheDesignofExistingCode.AllarepublishedbyAddison-Wesley.