How swetzell/sistema-matricula-alumnos works
Main Architectural Components
• DataBase Component: The "DataBaseMatricula" folder contains the SQL Server database files (*.MDF and *.LDF) which represent the persistent storage.
• Data Access Layer (DAL): The "Matricula_ADO" project encapsulates database connectivity and operations via ADO.NET (notably, files like ConexionADO.cs, AlumnoADO.cs, etc.).
• Business Entities (BE): The "Matricula_BE" project contains classes representing common business objects (AlumnoBE, CursoBE, DocenteBE, etc.). This layer serves as the data model shared across the system.
• Business Logic Layer (BL): The "Matricula_BL" project includes the core logic for processing student information (validation, rules enforcement, etc. – see AlumnoBL.cs, CursoBL.cs, etc.). This layer orchestrates the interaction between the presentation layer and the DAL.
• Presentation/UI Layer: The "Matricula_GUI" project consists of Windows Forms (e.g., Form1.cs, Login.cs, RegistrarAlumno.cs) and associated resources. This is the user interface that administrators use to interact with the system.
Establish the Relationships and Interactions
• The GUI (Presentation Layer) triggers user requests (e.g., student registrations, updates) by invoking methods in the Business Logic Layer.
• The Business Logic Layer consumes the Business Entities classes for data representation and uses the Data Access Layer to perform CRUD operations on the SQL Server database.
• The interaction with the Database is facilitated by ADO.NET in the DAL, which manages connections and queries/commands against the SQL Server instance stored in "DataBaseMatricula".
Architectural Patterns and Design Principles
• Layered (n-tier) architecture: Clearly separates concerns into Presentation, Business Logic, Data Access, and Data Model (entities).
• CRUD Operations: Standard final operations for managing student records.
• Use of ADO.NET for database transactions and .NET Windows Forms for the frontend.
Technologies and Frameworks
• C# and .NET Framework for overall development.
• ADO.NET for database interactions.
• SQL Server as the data store.
• Windows Forms for the GUI.