1. Software design emphasizes "decomposition" -.- we decompose our software into several loosely coupled modules. In sof
Posted: Thu Jul 14, 2022 2:18 pm
1. Software design emphasizes "decomposition" -.- we decompose our software into several loosely coupled modules. In software implementation, we then organize and break the code into several directories to match these modules, with each directory representing a module. For example, you may break the code base of a web application (myWebCode) into three directories: WebApp, DAL (data access layer), and Backend. Now you want to use source code for your project. In principle, there are two ways for you to choose and maintain repository/repositories for your project. 1) You can have one single repository for myWebCode, with three sub-directories inside (for WebApp, DAL, and Backend); or 2) you can create three individual repositories for the three components, i.e., one for WebApp, one for DAL, and one for Backend. Which solution will you choose? Reason the advantage and disadvantage for your choice. (4pt)