




















































































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!





















































































This software design specification is made with the purpose of outlining the software architecture and design of the Student Registration System in detail. The document will provide developers an insight in meeting client’s needs efficiently and effectively. Moreover the document facilitates communication and understanding of the system by providing several views of the system design.
The Software design document would demonstrate how the design will accomplish the functional and non- functional requirements captured in the Software Requirement specification (SRS). The docu- ment will provide a framework to the programmers through describing the high level components and architecture, sub systems, interfaces, database design and algorithm design. This is achieved through the use of architectural patterns, design patterns, sequence diagrams, class diagrams, rela- tional models and user interfaces.
This document is mainly for the developers and the technical and academic staff of Rajarata university of Sri Lanka and student representatives of the University.
The next chapter of the document has described architectural design of the Student Registration Sys- tem. The high level components and their interactions, suitable architectural patterns, physical ar- rangement of components and design decisions applied to the whole system.
The 3rd^ and final chapter of the System Design Specification is on Component and detailed design. Includes design patterns, sequence diagrams, class diagrams, database design in detail and user in- terface design with screen shots of the interfaces.
2.1.1 Components
Student component
This is one of the key components of the Student Registration System. This is where the student subject selection option is implemented. This also includes the result preview, semester preview and profile functions.
Authentication and user management component
This is the major sub system that is responsible for the security of the Student Registration system. It authenticate users and also handles the user management activities such as creating new user ac- counts, removing accounts from the system etc. Furthermore this component Implements the “control access privilege matrix”.
Subject component
This is the key component that implements the functions related to the subject operations of admin- istrator such as adding a new subject, editing credits of an existing subject and removing subjects etc. Subject component is also responsible for displaying the available subject list for every semester.
Publish component
Publish component is the component responsible for publishing notices created by the administrator and also the time tables. This component has the ability to publish multiple notices and time tables at the same time.
Public component
This is a relatively small subsystem compared to the other components of the Student Registration System. This is the component which is responsible for the guest viewer (public) to view student re- sults.
The Student Registration System will be developed under two main architectural styles/ patterns. De- velopment of the project will be done in MVC architectural style and also 3 tier Client/Server Archi- tecture. Client can browse the internet and access the Student Registration System provided within the local area network of the University.
2.2.1 MVC Architecture Style (Model – View – Controller)
MVC Style separates presentation and interaction from the system data. The system is structured into three logical components that interact with each other.
The Model component -Manages the system data and associated operations on that data. The View component- Defines and manages how the data is presented to the user. The Controller component- Manages user interaction and passes these interactions to the View and the Model..
We will use this MVC Style for the Student Registration System because, there are multiple ways to view and interact with data. Also used when the future requirements for interaction and presentation of data are unknown. In some software systems the code between the process logic and interface are mixed. This will reduce the modularity of application and make the system more difficult to maintain. To avoid this problem we have decided to use MVC architectural style to separate the application logic with the interface. The main advantage of this is style allows the data to change independently of its representation and vice versa. Support presentation of the same data in different ways with changes made in one representation shown all of them.
2.2.2 Three-Tier Client Server Architecture
In a client server architecture, the functionality of the system is organized into services, with each service delivered from separate server. Clients are users of these services and access servers to make use of them. We will use this 3- Tier Client Server Architecture because, when data in a shared database has to be accessed from a range of locations. Because servers can be replicated, may also be used when the load on a system is a variable.
Data Tire
The data tire maintains the applications data such as Users’ data , Departments’ data , subjects’ data , courses’ data , time tables’ data and the SQL queries. It stores these data in a relational database management system (RDBMS). All the connections with the RDBMS are managed in this tier.
Middle Tire
The middle tier ( web / application server ) implements the business logic , controller logic and presentation logic to control the interaction between the applications’ clients and data. Business rules enforced by the business logic dictate how clients and cannot access application data and how applications process data.
Client Tire
The client tire is the applications user interface connecting data entry forms and client side applications. It displays data to the user. User interact directly with the application through user inter- face. The client tier interacts with the web/ application server to make requests and to retrieve data from the database. It then displays to the user the data retrieved from the server.
Example of the 3-tier architecture in the Student Registration System
If a student needs to view his current semester subject combination, first he has to login to the system. Then he has to click “User” option, after he has to login “Summary” option. Then system will display the information. In this process, Login screen, users’ main screen and Subject combination summary screen are defined into the Client tier, data for login information and profile information and SQL queries for those information are maintained into the Data tier and controller logic for login process and loading profile information from the database are defined in Middle tier.
2.2.3 Different process and their communication
In the Student Registration System, there are number of different processes, such as database server process, web server process, connections between above servers likewise. When sending mails there should run a mail server. HTTP protocol is using to communicate with web servers, SMTP protocol is using to communicate with mail servers. They should communicate each other well to perform the functions of whole application.
Physical arrangement of devices in a typical network.
In this diagram , it shows that , the only software a client need is to access this system is a browser.
Arrangement of devices and serves
Our University Student Management System needs some specific set of servers and devices. Such as: Server to host web applications and web service applications. Database server to store and manage data. Personal computer, note book, smart phone etc… to access the website. Modem/ router/ switch/ hub/ Wi-Fi network/ cable network etc… and also need an Internet Service Provider to have the internet connectivity.
Communication among components
Above devices are communicating with each other. Personal computer communicates with web server and the database server through HTTP protocol. It communicates with mail server through SMTP protocol. Cable network or Wi-Fi network is also a communication method using in connecting dif- ferent network components.
2 .4.1 Object oriented software development methods
Reasons: Improved software maintainability. Faster development Lower cost development Improved software development productivity Higher quality software
Reasons: As more users access the system a three-tier solution is more scalable than the other solutions because you can add as many middle tiers as needed to ensure good performance. Security is also the best in the three-tier architecture because the middle layer protects the database tier.
2 .4.3 MVC Architectural Pattern
Reasons: It should interact with other machines or users effectively. For more efficient interaction system should have flexible interfaces. MVC can be taken as for a popular and easy to handle web application development style that has the feature of separating the presentation, Business & intermediate logics. Ease to coding and provide well defined interfaces within each logic.
3.1.4 Adapter Pattern
The adapter pattern is a structural pattern that translates one interface for a class to a compatible interface. This will convert the interface of a class in to another interface that the user expects. Adapter gives the opportunity for the classes with incompatible interfaces to work together.
Application: This pattern will be used in the Student Registration system when displaying information from the database.
3.1.5 Techniques Used
Prototyping
In designing the Student registration System prototyping will be used to demonstrate underpinning concepts of the designing and for user interfaces. This technique will provide the opportunity for the system users to experiment the software to a certain extent during the development process.
3.3.2 Sequence diagram 2 : Change user password
3.3.3 Sequence diagram 3 : Add users