SAMS Report
SAMS Report
Submitted by
Joseph Thampy
Affiliated to
CERTIFICATE
Place:
Date:
Joseph Thampy
Contents
List of Figures iv
1 INTRODUCTION 1
1.1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
1.2 Problem Statement . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
3 TESTING 9
4 RESULTS 10
4.1 Admin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
4.2 Student . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
5 CONCLUSION 14
Appendices 16
iii
List of Figures
iv
Chapter 1
INTRODUCTION
1.1 Overview
The Student Activity Management System (SAMS) is an innovative web applica-
tion designed to help students track and manage their extra-curricular activities.
With SAMS, students can easily enter details about the activities they participate
in, including the date, venue, and a certificate as proof of participation.
SAMS provides students with a user-friendly interface that allows them to add
new activities, view their added activities, and keep track of their accomplishments
over time. The system also provides an administrative view that allows authorized
personnel to access and review student activity data.
SAMS is a valuable tool for students who want to keep track of their extra-
curricular activities and showcase their achievements to potential employers or
academic institutions. The app is secure and reliable, ensuring that student data
is protected at all times. With its user-friendly interface and powerful features,
SAMS is the perfect solution for students looking to manage their extra-curricular
activities.
1
Chapter 2
2.1 DESIGN
Users
This table stores the details of all the users. The primary key is the user id.
Activity
This table stores the activity details such as venue, date and certificate of par-
ticipation. user id in this table is a foreign key.
Profile
This table stores the department and semester details of the student. user id
in this table is a foreign key.
2
2.1.2 Use Case Diagram
A use case diagram can summarize the details of your system’s users (also known as
actors) and their interactions with the system. The purpose of a use case diagram
is to demonstrate the different ways that a user might interact with a system.
The different symbols in a use diagram are:
In the use-case diagram here, there are two users: admin and user.
The student has the following processes:
3
Figure 2.3: Use Case Diagram
4
Levels or layers are used in DFDs to represent progressive degrees of detail
about the system or process. These levels include:
• Level 1: Level 1 DFDs are still a general overview, but they go into more
detail than a context diagram. In level 1 DFD, the single process node from
the context diagram is broken down into sub-processes. As these processes
are added, the diagram will need additional data flows and data stores to
link them together.
The following processes are included in the Level 1 DFD of this project:
5
Figure 2.6: DFD Level 1
6
2.2 IMPLEMENTATION
An overview of the technologies are mentioned below:
HTML
HTML or HyperText Markup Language is a markup language that defines
the structure of your content. HTML consists of a series of elements, which you
use to enclose, or wrap, different parts of the content to make it appear a certain
way, or act a certain way. The enclosing tags can make a word or image hyperlink
to somewhere else, can italicize words, can make the font bigger or smaller, and so
on. One of the biggest advantages of using HTML is that it is free, and no special
software is required. HTML does not require any plugins, so one should not have
to deal with them when working with any software.
CSS
CSS or Cascading Style Sheet or the second pillar of front-end development
after HTML is a language used for describing the presentation of web pages, which
includes the layout of the page, fonts of elements and color, animation, a lot else
as well. Thus making our web page beautiful to the user. Let us breakdown the
word CSS or Cascading Style Sheet.
• Cascading: means that styles can fall (or cascade) from one style sheet to
another. That is, there can be multiple CSS files linked to the same HTML
document, where the last one matters the most.
CSS is designed to make style sheets for web pages. It is independent, i.e., it can
be used with any XML-based markup language.
Django
Django is a high-level Python web framework that is used to build web applications
quickly and easily. It is designed to be modular and scalable, making it an excellent
choice for building complex web applications.
Django has a lot of built-in features that make it easy to create dynamic web
applications. It includes a powerful URL routing system, a robust database ORM,
and an easy-to-use administration interface.
7
One of the key features of Django is its ability to handle a wide range of web
development tasks, including user authentication, content management, and e-
commerce functionality. It is also highly customizable, with a large number of
third-party packages available to extend its functionality.
Django is an open-source framework, and it has a large and active community
of developers who contribute to its ongoing development and support. It is widely
used by developers all over the world to build a wide range of web applications,
from small personal projects to large-scale enterprise websites.
MySQL
8
Chapter 3
TESTING
Software testing is the process of evaluating and verifying that a software product
or application does what it is supposed to do. The benefits of testing include
preventing bugs, reducing development costs and improving performance.
Software testing is used to assess the feature of a software item. The testing
process ensures the quality of the product. Testing is the process that should be
done during the development of software. In other words, software testing is a
verification and validation process. Manual testing is done with given data. The
test cases and results are given below.
9
Chapter 4
RESULTS
4.1 Admin
10
Figure 4.3: Active Students
11
Figure 4.6: Activity Details
4.2 Student
12
Figure 4.9: Add Activity Page
13
Chapter 5
CONCLUSION
14
Bibliography
15
Appendices
16
Appendix A
@login required
def c r e a t e a c t i v i t y ( r e q u e s t ) :
i f r e q u e s t . method == ’POST ’ :
form = ActivityForm ( r e q u e s t . POST, r e q u e s t . FILES )
i f form . i s v a l i d ( ) :
a c t i v i t y = form . s a v e ( commit=F a l s e )
a c t i v i t y . user = request . user
a c t i v i t y . save ( )
messages . s u c c e s s ( r e q u e s t , ” Saved S u c c e s s f u l l y ” )
return r e d i r e c t ( ’ c r e a t e a c t i v i t y ’ )
else :
form = ActivityForm ( )
return r e n d e r ( r e q u e s t , ’ c r e a t e a c t i v i t y . html ’ , { ’ form ’ : form })
17