Head First Architecture Chapter-4
In this chapter we discuss the logical components and how we would come up with them. The book suggests following the below flow chart to devise the logical components: Step 1 : Identifying initial core components: this is purely a guessing game and most likely we refactor the components we come up with into others, so we should not spend a lot of time thinking of how big or small our components are. The chapter shows two common approaches to get to the core components: 1- Work flow approach: By thinking about the major workflow of the system,or the journey the user might take through the system. 2- Actor/Action approach: This is particularly if you have multiple users in the system.First we start by identifying the various actors , then identify the primary actions they might take and assign each action to a new or existing component. Th chapter then advises against having vague names for the components especially those with names like manager , controller or su...