文档详情

软件体系结构-第2章(英文).ppt

发布:2025-04-12约2.55万字共124页下载文档
文本预览下载声明

SoftwareArchitectureChaptertwoSoftwareArchitectureStyle

本章要点SoftwareArchitectureStyleIllustrationonTypicalArchitecturestyleCustomer/ServerStyleBrowser/ServerStyleNewArchitectureStyleSummary

SoftwareArchitectureStyleSoftwareArchitectureistodescribesystemorganizationnormalmodelforcertainapplicationareaSoftwareArchitecturestyledefinessystemfamily,orwemaysay,onearchitecturedefineavocabularylistandarestrictionSoftwarearchitecturereflectscommonstructureandcharactersofmanysystemandalsointegrateeveryindividualmodelandsubsystemintooneeffectivesystem

ThreeLevelPatternArchitecturalPatternDesignPatternCodingPatternORIdiom

TypesofArchiteturePatternFromMudtoStructureDistributedSystemsInteractiveSystemsAdaptableSystems

本章要点SoftwareArchitectureStyleIllustrationonTypicalArchitecturestyleCustomer/ServerStyleBrowser/ServerStyleNewArchitectureStyleSummary

CommonArchitecturalStylesDataflowPipesandfiltersBatchsequentialData-centeredRepositoryBlackboardVirtualMachineInterpreterRule-basedsystemCallandReturnMainprogramandsubroutineOO(Dataabstraction)LayeredIndependentomponentsCommunicatingprocessesClient/serverEventsystemsImplicitinvocationExplicitinvocation

HowcanwestudyArch.Styles?Byexaminingthefollowingforeach:Connectors,componentsKeycharacteristicsStrengthsweaknessesVariantsspecializationsExamples

Style:PipesandFiltersUnixshellps-x|grepvi|awk{printkill-9$1}kill.vipsgrepawk

Pipes/Filters

PipesandFilters:

ComponentsConnectorsComponents:FilterCompletelyindependententitiesConsumestreamsofinputsandproducestreamsofoutputsContextindependent(donotknowwhatproducedtheinputorwillconsumetheoutput)Outputstartsbeforeinputis(entirely)consumed(incrementaltransformationofdata)Connectors:PipesCarrierofdatastreamsBindingbetweencomponentports

PipesandFilters:

KeyCharacteristicsDataFlowArchitectureModel

显示全部
相似文档