




















Étudies grâce aux nombreuses ressources disponibles sur Docsity
Gagnz des points en aidant d'autres étudiants ou achete-les avec un plan Premium
Cette page n'est pas visible dans l'aperçu
Ne manques pas les parties importantes!





















Software design is a process by which the software requirements are translated into a representation of software components, interfaces, and data necessary for the implementation phase.
The SDD shows how the software system will be structured to satisfy the requirements.
It is the primary reference for code development and, therefore, it must contain all the information required by a programmer to write code.
The SDD is performed in two stages. The first is a preliminary design in which the overall system architecture and data architecture is defined. In the second stage, i.e. the detailed design stage, more detailed data structures are defined and algorithms are developed for the defined architecture.
This template is an annotated outline for a software design document adapted from the IEEE Recommended Practice for Software Design Descriptions.
You can refer to IEEE Std 1016 2009 (first version 1998) ) for the full IEEE Recommended Practice for Software Design Descriptions.
(Collaborative Interests & Resources Community for Learning & Exchange)
Date: (10/16/2024)
This document aims to provide a detailed architectural design for the CIRCLE platform, a platform designed for creating specialized educational communities. It outlines the overall system architecture, various components, and their interactions. The document is intended to assist developers, project managers, and stakeholders in understanding the technical details of the application and implementing it in an organized and structured manner.
The CIRCLE project aims to build a community-based platform that allows users to join specialized communities based on their areas of interest and expertise levels (beginner, intermediate, expert). The platform will offer functionalities such as sharing educational resources, posting job opportunities, creating and participating in discussions. The system will also include community management by admins and support for submitting reports on inappropriate content.
The application’s goal is to enhance the process of knowledge exchange in organized communities, improving the professional and educational learning experience for users while reducing the dispersion of content across general social media platforms.
This document is organized into the following sections:
Chapter 2: Provides an overview of the system Chapter 3 : Provides an system Architecture Chapter 4: Including an entity-relationship diagram (ERD). Chapter 6 : Focuses on the design of the user interface, with detailed descriptions of the design for different screens and interfaces. Chapter 7: Requirement matrix
CIRCLE Project SRS Document: Contains the functional and non-functional requirements for the system.
SDD: Software Design Document. SRS: Software Requirements Specification.
management, and community operations. A MySQL database stores information such as user profiles, community content, job listings, and reports.
The architecture of the CIRCLE platform is modularly designed in a client-server structure, ensuring scalability, maintainability, and clear separation of responsibilities across subsystems. The mobile app serves as the primary user interface, interacting with backend services that handle authentication, community management, content sharing, and reporting. Each subsystem plays a distinct role, working together to create a seamless user experience.
Subsystems and Their Functions:
Relationships Between Subsystems:
User Interface → Django REST API: The UI sends user actions to the backend via API calls.
API → Authentication & Authorization System: The API facilitates authentication by verifying user credentials and managing sessions.
Authentication → MySQL Database: User credentials are securely stored in the database.
Community Management System:
Verifies user roles for community access and interacts with the database to manage community data.
This section presents an object-oriented decomposition of the system, focusing on the interaction between key subsystems through class diagrams, sequence diagrams, and activity diagrams. Each diagram illustrates how components collaborate to achieve the desired functionality.
Subsystems Overview:
Authentication & Authorization: Manages user login, registration, and roles.
Community Management: Handles community membership and levels.
Discussion Module: Manages topics, threads, and replies.
Job and Training System: Supports job postings and discussions.
Resource Sharing Module: Facilitates uploading and accessing resources.
Reporting & Moderation: Handles reports and admin actions.
Class diagram
Sequence Diagrams:
The sequence diagrams outline core user interactions, such as:
User profile
Report management
Job management
Login
Join community
The architectural structure was chosen based on several factors:
In this section, we explain how the information domain of the CIRCLE system is transformed into data entities and stored in the database. The CIRCLE system stores, processes, and organizes data related to users, communities, resources, discussions, job opportunities, and reports. All these entities are stored in a relational database and are interconnected using foreign keys to represent relationships (such as one-to-many or many-to-many relationships).
Entity-Relationship Diagram
ERD: Entity-Relationship Diagram Pk: primary key Fk: Forign key Id: identity document M: many
This chapter provides a systematic overview of how each core component operates. We describe the member functions and methods for each object within the primary subsystems. The focus here is on presenting the main operations using Procedural Description Language (PDL) or pseudocode.
5.1 Authentication & Authorization System
Main Components:
User Object: Manages login, registration, and profile management. Admin Object: Inherits from the User object with additional privileges to manage content and users.
Pseudocode for User Login:
: function loginmemail, passtordf etUsereyEmailmemailf user = De.g
e m ymm ey meoyeo 2.
: Main oomponents
.Topic gbject: Manages the creation and management of discussion threads
: Pseudocode for Starting a uet Topic
:mtyID, title, content function createTopicmuserID, communi : if not De.userIsMembermuserID, communityIDf o return oUser not a member of this community
topicID = De.saveTopicmuserID, communityID, title, contentf o return foTopic created tith ID stopicIDr
unction verifies if the user is part of the community, and if so, a net ETplanation: This f .discussion topic is created
met ayo nha y yn nummoC 2.
: Main oomponents
.sob gbject: Manages job postings and applications
: Pseudocode for Posting a sob
:munityID, jobData function postsobmuserID, comm : if not De.userIsMembermuserID, communityIDf o return oAccess denied
jobID = De.savesobmjobDataf o return fosob posted tith ID sjobIDr
the ETplanation: This function checks thether the user has permission to post jobs in .community before saving the job in the database
eotehm yn t meooham ey nummoC 2.
: Main oomponents
.Report gbject: Manages user reports on inappropriate content .Admin gbject: Manages reviet and moderation actions
: Pseudocode for Submitting a Report
: function submitReportmuserID, contentID, descriptionf reportID = De.saveReportmuserID, contentID, descriptionf notifyAdminmreportIDf o return foReport submitted tith ID sreportIDr
notifies an admin for ETplanation: This function logs the report in the database and .reviet
The interface is designed to be user-friendly, allowing seamless interaction with educational communities, resource sharing, discussions, and job opportunities. When users open the app, they are welcomed by the Home Screen, which presents a personalized feed showing recent posts, discussions, and shared resources from the communities they’ve joined.
A persistent Navigation Bar at the bottom offers quick access to core features: Home: Navigate back to the main feed. Communities: Manage existing communities or discover new ones. Jobs & Opportunities: Browse job listings and opportunities shared within the platform. Profile: View and update personal information.
Users can quickly sign up by providing essential details like their name, email, and password, along with optional information such as job title and profile picture. The User Profile page displays this information, with the option to update it at any time.
In the Communities section, users can: View descriptions of their joined communities. Browse and join new communities aligned with their interests.
Upon selecting a community, users can:
Choose their skill level (Beginner, Intermediate, Expert) via a Floating Action Button (FAB), which tailors the discussions and content they see. Engage in discussions relevant to their skill level. Share and access educational resources.
The Resource Sharing feature allows users to upload files, share links, and post content. In the Discussions section, users can create threads, comment, and engage with other community members.
In the Jobs & Opportunities section, users can: Browse job postings and opportunities shared by members. Create new job listings. Comment on job posts to request more information or engage in discussions.
Admins have access to an Admin Dashboard with tools for moderation, reporting, and community management, ensuring a productive and safe environment. Throughout the app, feedback is provided through confirmation messages, alerts, and visual indicators to enhance the user experience and keep users informed about their actions.