How oscarsantasanchez/24-25-idsw2-sdd works
Project Type and Components
• Project Type: A console-based spreadsheet application intended as a design exercise for a software engineering course.
• Core Components:
• A user interface (InterfazUsuario) to manage interactions with the user via a terminal.
• Input handling (Teclado) to capture user commands.
• The main spreadsheet functionality encapsulated in HojaCalculo.
• A matrix structure (Matriz) that organizes the spreadsheet grid.
• Individual cell representation (Celda) and its associated position (Posicion).
• Additional component abstraction (ComponenteHoja) to possibly support modular features.
Analyzing the File Structure and Documentation
• Top-level directories include:
• "src": Contains all core Java source files that implement the functionality.
• "documentos": Delivery documents that likely explain design iterations (structured as design, domain model, and object-oriented design).
• README Insights:
• The README emphasizes decomposition, modularity (agregación, composición), and clear design principles.
a. Main Components:
• User Interface Layer:
• InterfazUsuario: The entry point for user interactions.
• Teclado: Handles keyboard input and directs commands to the system.
• Business/Application Logic:
• HojaCalculo: Orchestrates operations between different modules.
• ComponenteHoja: Possibly a composite or service that extends HojaCalculo functionality.
• Data Model:
• Matriz: Represents the grid structure of the spreadsheet.
• Celda: Represents individual cells in the matrix.
• Posicion: Encapsulates the location or coordinates of each cell.
b. Relationships/Interactions:
• Data Flow: User commands enter via InterfazUsuario and Teclado, are processed by HojaCalculo, which then manipulates the Matriz. The Matriz, in turn, communicates with individual Celda instances (using Posicion to identify them).
• Composition/Aggregation: HojaCalculo is composed of or aggregates multiple components like Matriz and ComponenteHoja, indicating a modular design.
c. Architectural Patterns and Design Principles:
• Emphasis on separation of concerns (UI, processing, and data storage are clearly separated).
• Use of aggregation and composition to build a scalable system.
• Clear dependency direction: the UI calls the business logic, which then manages and updates the data model.
d. Technologies:
• The project is implemented in Java (as deduced from the .java files).