Open navigation menu
Close suggestions
Search
Search
en
Change Language
Upload
Sign in
Sign in
Download free for days
0 ratings
0% found this document useful (0 votes)
47 views
34 pages
Report
Student information project report
Uploaded by
minchuu2330
AI-enhanced title
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF or read online on Scribd
Download
Save
Save report For Later
Share
0%
0% found this document useful, undefined
0%
, undefined
Print
Embed
Report
0 ratings
0% found this document useful (0 votes)
47 views
34 pages
Report
Student information project report
Uploaded by
minchuu2330
AI-enhanced title
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF or read online on Scribd
Carousel Previous
Carousel Next
Download
Save
Save report For Later
Share
0%
0% found this document useful, undefined
0%
, undefined
Print
Embed
Report
Download
Save report For Later
You are on page 1
/ 34
Search
Fullscreen
CONTENTS CHAPTER 1:- INTRODUCTION Page No 1.1 Introduction 1 1.2 DBMS 2 1.3 PHP 2 1.4 Problem Statement 3 3 1.5 Objectives CHAPTER 2:- HARWARE AND SOFTWARE REQUIREMENTS. 2.1 Hardware tools 5 2.2 Software tools 5 CHAPTER 3:- DESIGN 3.1 ER Diagram 67 3.2 Schema Diagram 8 CHAPTER 4:- IMPLEMENTATION 4.1 Code 16-18 CHAPTER 5:- SNAPSHOTS 19-25 CONCLUSION AND FUTURE WORK 26 REFERENCES 27CHAPTER 1 INTRODUCTION 1.1 Introduction This project mainly focuses on providing the citizens ofa particular city/town to register their complaints towards the municipal corporation through internet by visiting the website from web browser. This can be done using mobile phones and computer systems. This process helps citizens to register their complaints online through their devices which will save the valuable time and money of the citizens. BACKGROUND and MOTIVATION The definition of our problem lies in manual system and a fully automated system. : The fanual Proces ystem is time consuming. [n this process the citizens have to visit the municipal corporation office personally and register their complaints and it will take lot of time due to heavy crowd. And again the citizens have to go to the municipal office to enquire about their complaint status. © Technical system: With the advent of latest technology we can register the complaints right from our mobile phones and computers by visiting the website . and this will save the valuable time of the citizens’ and the citizens can view their complaint status by visiting the website which willsave time and money. 1.2 DBMS (DATABASE MANAGEMENT SYSTEM) Database is a collection of related data and data is a collection of facts and figures that can be processed to produce information, Mostly data represents recordable facts. Data aids in producing information, which is based on facts. For example, if we have data about marks obtained by all students, we can then conclude about toppers and average maui A database management system (DBMS) is a sofiware package designed to define, manipulate, retrieve and manage data in a database. A DBMS generally manipulates the data itself, the data format, field names, record] structure and file structure. It also defines rules to validate and manipulate this data A DBMS relieves users of framing programs for data maintenance, Fourth-generation query languages, such as SQL, are used along with the DBMS pa -kage (o interact with a database. Some other DBMS examples include: «MySQL + SQL Server «© Oracle »* dBASE + FoxPro1.3 PHP (HYPERTEXT PREPROCESSOR) PHP is the most popular and widely used server side scripting language for web development. It is used to make the Dynamic pages in websites. Rasmus Lerdorf was the creator of PHP in 1995. PHP codes are embedding in HTML source codes for making the page dynamic. PHP can deal with most of the requirements in web development like Database, File handling, String operations, Arrays, Graphics, File Uploads, Data processing, ete. PHP can be used in any operating system with a web server Supports PHP. Apache web server is one of the popular web server dealing with PHP + MySQL. Moreover PHP is absolutely five to use. 1.4 Problem Statement A citizen is signed up for first time by providing the essential details of his/h sand gets. And then the citizen| registers the complaint in the website and that complaint is assigned with a unique complaint id. The complaint registered by the citizen is displayed in the Admin panel, and then the admin decides whether to accept the complaint or not. If the admin accepts the complaint request then it will be displayed on the user panel, And if the admin declines the complaint request then it will be displayed on the citizen panel, in this way a citizen can register, view the status of the complaint registered. 1.5 Objectives In today’s competitive world, information plays a vital role in the growth of any industry. Right information available at the right time makes the decision making process as efficient and effective. The main objectives of this project are * To develop an online web-based complaint management system in Municipal corporations that can be used effectively to save the time and money of the citizens. © Toimplement Municipal complaint management system,CHAPTER 2 REQUIREMENT SPECIFICATION 2.1 Hardware requirements The hardware required for the development of this project is © Processor: Intel Core i3 © Processor speed:1.7 GHz © RAM:2 GB RAM © System Type:32/64-Bit Operating System 2.2 Software requirements The software required for the development of this project is: © = Sofiware-XAMPP © Operating System: Windows 7 (and other higher version) = Front End:HTML,CSS: © Programming Language:PHP © = Data Base Environment:MySQL and PHPMyAdmin © Server: APACHEStudents Management System CHAPTER-1 Ll 1.2 NTRODUCTION OBJECTIVES: The main objective of the project is to design and develop a user friendly-system Easy to use and an efficient computerized system, To develop an accurate and flexible system, it will eliminate data redundancy. To study the functioning of Students management System. To make a software fast in processing, with good user interface. To make software with good user interface so that user can change it and it should be used fora long time without error and maintenance. To provide synchronized and centralized farmer and seller database. Computerization can be helpful as a means of saving time and money. To provide better Graphical User Interface (GUI). Less chances of information leakage. Provides Security to the data by using login and password method. To provide immediate storage and retrieval of data and information. Improving arrangements for students coordination, Reducing paperwork LIMITATIONS: Time consumption in data entry as the records are to be manually maintained faculties alot of time. Lot of paper work is involved as the records are maintained in the files and registers. Storage Requires as files and registers are used the storage space requirement is increased. Less Reliable use of papers for storing valuable data information is not at all reliable. Aadhar linkage with the official aadhar database has not been done.Students Management System CHAPTER-2 STUDY OF EXISTING SYSTEM 2.1 CASE STUDY The success of any organization such as School of Public Health, University of Ghana hinges on its ability to acquire accurate and timely data about its operations, to manage this data effectively, and to ust to analyze and guide its acti es, Integrated student database system offer users (Student, Registrar, HOD) with a unified view of date from multiple sources. To provide a single consistent result for every object represented in these data sources, data fusion is concerned with resolving data inconsistency present in the heterogeneous sources of data, The main objective of this project is to build a rigid and robust integrated student database system that will track and store records of students, This easy-to-use, integrated database application is geared towards reducing time spent on administrative tasks, The system is intended to accept process and generate report accurately and any user can access the system at any point in time provided intemet facility is available. The system is also intended to provide better services to users, provide meaningful, consistent, and timely data and information and finally promotes efficiency by converting paper processes to electronic form. The system was developed using technologies such as, HTML, CSS ,JS and MySQL. PYTHON- FLASK, HTML and CSS are used (o build dhe user interface and database was built using MySQL. The system is free of errors and very e jent and less time consuming due to the care taken to develop it. All the phases of software development cycle are employed and itis worthwhile to stale that the system is very robust, Provision is made for future development in the system, 2.2 PROPOSED SYSTEM While there has been no consensus on the definition of Students Management in the literature, they have proposed that researchers adopt the below definition to allow for the coherent development of theory in the colleges. In order to have a successful students management, we need to make many decisions related to the flow of marks, attendance, and data, Each records. should be added in a way to increase the scalability. Student management is more complex in colleges end other universities because of the impact on people’s number requiring adequate and accurate information of students need,Students Management System CHAPTER 3 3. DATABASE DESIGN 3.1 SOFTWARE REQUIREMENTS SPECIFICATION 3.1.2 SOFTWARE REQUIREMENTS: Frontend- HTML, CSS, Java Script, Bootstrap Backend-Python flask (Python 3.7) , SQLAlehemy, Operating System: Windows 10 Google Chrome/Internet Explorer XAMPP (Version-3.7) Python main editor (user interface): PyCharm Community workspace editor: Sublime text 3 HARDWARE REQUIREMENTS: Computer with a 1.1 GHz or faster processor Minimum 2GB of RAM or more 2.5 GB of available hard-disk space $400 RPM hard drive 1366 * 768 or higher-resolution display DVD-ROM drive‘Students Management System. 3.2 CONCEPTUAL DESIGN: 3.2.1 E-R DIAGRAM: Cn Cy re cD) >)Students Management System 3.2.2 SCHEMA DIAGRAM:Students Management System 3.3 IMPLEMENTATION: An “implementation” of Python should be taken to mean a program or environment which provides support for the execution of programs written in the Python language, as represented by the CPython reference implementation ‘There have been and are several distinct software packages providing of what we all recognize as Python, although some of those are more like distributions or variants of some existing implementation than a completely new implementation of the language. Back End (MySQL) Database: ‘A Database Management System (DBMS) is computer software designed for the purpose of managing databases, a large set of structured data, and run operations on the data requested by numerous users. Typical examples of DBMSs include Oracle, DB2, Microsoft Access, Microsoft SQL Server, Firebird, PostgreSQL, MySQL, SQLite, FileMaker and Sybase Adaptive Server Enterprise, DBMSs are typically used by Database administrators in the creation of Database systems, Typical examples of DBMS use include accounting, human resources and customer support systems. Originally found only in large companies with the computer hardware needed to support large data sets, DBMSs have more recently emerged as a fairly standard part of any company back office. A DBMS is a complex set of software programs that controls the organization, storage, management, and retrieval of data in a database, A DBMS include > A modeling language to define the schema of each database hosted in the DBMS, according to the DBMS data model. ‘The dominant model in use today is the ad hoc one embedded in SQL, despite the objections of purists who believe this model a corruption of the relational model, since it violates several of its fundamental principles for the sake of practicality and performance. Many DBMSs also support the Open Database Connectivity API that supports a standard way for programmers to access the DBMS, > Data structures (fields, records, files and objects) optimized to deal with very large amounts of data stored on a permanent data storage device (which implies relatively slow access compared to volatile main memory).A database query language andreportStudents Management System writer to allow users to interactively interrogate the database, analyze its data and update it according to the users privileges on data. > Data security prevents unauthorized users from viewing or updating the database. Using passwords, users are allowed access to the entire database or subsets of it called sub schemas. For example, an employee database can contain all the data about an individual employee, but one group of users may be authorized to view only payroll data, while others are allowed access to only work history and student data > If the DBMS provides a way to interactively enter and update the database, as well as interrogate it, this capability allows for managing personal databases. However, it may not leave an audit trail of actions or provide the kinds of controls necessary in a multi-user organization. These controls are only available when a set of application programs are customized for each data entry and updating function. Y A transaction mechanism, that ideally would guarantee the ACID properties, in order to ensure data integrity, despite concurrent user accesses (concurrency control), and faults (fault tolerance). > Italso maintains the integrity of the data in the database. > The DBMS can maintain the integrity of the database by not allowing more than one user to update the same record at the same time. The DBMS can help prevent duplicate records via unique index constraints; for example, no two customers with the same customer numbers (key fields) can be entered into the database. See ACID properties for more information (Redundancy avoidance) When a DBMS js used, information systems can be changed much more easily as the organization's information requirements change. to the Organizations may use one kind of DBMS for daily transaction processing and then move the detail onto another computer that uses another DBMS better suited for random inquiries and analysis. Overall systems design decisions are performed by data administrators and systems analysts. Detailed database design is performed by database administrators. SQL: Structured Query Language (SQL) is the language used to manipulate relational databases. SQL is tied very closely with the relational model.Students Management System * In the relational model, data is stored in structures called relations or tables. SQL statements are issued for the purpose of: © Data definition: Defining tables and structures in the database (DDL used to create, alter and drop schema objects such as tables and indexes) 4.2 : Stored Procedure Routine name: proc Type: procedure Definition: Select * from register; 4. Itis the special kind of stored procedure that automatically executes when an event oceurs in riggers the database. ‘Triggers used : 1; Trigger name: on insert Table: register Time: after Event: insert INSERT INTO trig VALUES(null, NEW. rid,'Farmer Inserted'NOW()) 2: Trigger name: on delete Table: register Time: after Event; delete Definition: INSERT INTO trig VALUES(nullOLD.rid’FARMER DELETED'NOW() 3: Trigger name: on update Table: register Time: after Event: update Definition; INSERT INTO trig VALUES(null, NEW.rid;FARMER UPDATED',NOWQ)Students Management Syste: BACKEND PYHTON WITH MYSQL CODE from flask import Flask.render_template,request,session,redirect,url_for,flash from flask_sqlalchemy import SQLAlchemy from flask_ogin import UserMixin from werkzeug.security import generate_password_hash,check_password_hash from flask_login import login_user,logout_user,login_manager,LoginManager from flask_login import login_required,current_user import json #MY db connection local_server= True app = Flask(_name_) app.secret_key="kusumachandashwini for getting unique user access login_manager=LoginManager(app) Jogin_manager.login_view="login’ @login_manager.user_loader def load_user(user_id): return User.query.get{int(use # app.config['SQLALCHEMY_DATABASE_URL'}- ‘mysqld/fusername:password@localhost/databas_table_ name’ app.configl'SQLALCHEMY _DATABASE_URT']='mysql:/root:@localhost/students’ db=SQLAlchemy(app) #here we will create db models that is tables class Test(db. Model): id=db. Column(db.Integer;primary_key=True) name=db.Column(db.String(100)) il=db.Column(db.String(100))Students Management System class Department(db.Model): cid-db.Column(db Integer primary_key=True) ‘branch=db,Column(db.String(100)) class Attendence(db Model): aid=db.Column(db.Integer,primary_key=True) rollno=db.Column(db.String(100)) attendance=db Column db Integer) class Trig(db.Model): tid=db.Column(db. Integer, primary_key=True) rollno=db.Columa(db.String(100)) action=db,Column(db String(100)) timestamp=db.Column(db.String(100)) class User(UserMixin db. Model): id=db.Column(db.Integer,primary_key=True) uusername=db,Column(db,String(50)) email=db,Column(db String(50),unique=True) password=db.Column(db.String(1000)) class Student(db. Model): id=db,Column(db.Integer,primaty_key=True) rollno=db.Column(db.String(S0)) sname=db,Column(db String(50)) sem=db.Column(db.Integer) gender=db.Column(db.String(50)) branch=db Column(db.String(50)) email=db,Column(db String(50)) number=db.Column(db.String(12)) address=db. Column(db String(100))Students Management System Gap route") def index(): return render_template(‘index.htm!’) @app coute(/studentdetails’) def studentdetails(): query=db engine execute("SELECT * FROM ‘student™) return render_template(’studentdetails. html query=query) @app route( triggers’) def triggers(): query=db engine.execute(P'SELECT * FROM “trig™) return render_template(‘triggers.html',query=query) @app.route(department’methods=[POST,'GET]) def department() if request.method="POST"; dept=request.form.get(dept’) query=Department.query.filter_by(branch=dept).first() if query: flash("Department Already Exist ‘waming") return redireet( department’) partment(brane! dep db session.add(dep) db session.commit() flash( "Department Addes","suevess") return render_template(department htm’) @app route(’/addattendance’ methods={‘POST"/GET'}) def addattendance(): query=db.engine.execute(f"SELECT * FROM ‘student "POST" if request.methos rollno=request.form.get(‘rollno’) attend=request.form.get(‘atend’) print(attend,rollno) atte=Attendence(rolino=rollno,attendance=attend) db.session.add(atte) db.session.commit()Students Management System flash("Attendance added”," warning") return render_template(attendance.himl’,query=query) @app route(/search’,methods=[POSTGET]) def search(); if requestmethod="POST": rollno=request.form.get( roll’) student. query filter_by(rolIno=rollno).first() ttendence.query.filter_by(rollno=rollno).first() return render_template('search.him!',bio=bio.attend=attend) return render_template(‘search.htm') @app.route("idelete/
" methods=[POST'GET]) @login_required def delete(id): db.engine.execute(fDELETE FROM ‘student’ WHERE ‘student’ .‘id’= flash("Slot Deleted Successful langer") return redirect('studentdetails’) ") @app.route("/edit/
", method =(POST,'GET')) @login_required def edit(id dept=ab.engine.execute("SELECT * FROM “department’") posts=Student.query.filter_by(id=id).first() OST" rollno=request.form.get(‘ollno') if requestmetho. sname=request.form get(sname’) sem=request.form.get(’sem') gender=request.form get('gender') ‘branch=request.form.get(‘branch’) email-request form. get(‘email’) num=request.form.get(’num') address=request.form.get(’address’) query=db engine.execute(f"UPDATE ‘student’ SET ‘rollno'="{rollno}',’sname'="{sname}','sem’=" {sem}',"gender'=" {gender} branch’ ail’, number’="{num}',"address'="{address}") ‘branch}’,’email’='{emStudents Management System flash("Slot is Updates","success") return redirect{'/studentdetails') return render_template('edit htm)’ posts posts,dept=dept) @app route(/signup’methods=["POST,'GET')) def signup(): if request method = "POST": uusermame=request form. get('username’) email=request form. gei(email’) password=request.form.get(‘password) user=User.query. filter_by(email=email)first() if user: flash("Email Already Exist","warning") return render_template(/signup.htm’) encpassword=generate_password_hash(password) new_user=db.engine.execute(INSERT INTO ‘user’ (‘username',"email’,’ password’) VALUES, ( {usemame}',' {email} ’{encpassword}')") # this is method 2 to save data in db # newuser=User(username=username,email=email,password=encpassword) ion.add(newuser) ion.commit() flash("Signup Succes Please Login", "success") return render_template((login.htm!') return render_template(‘signup.htm!") @app.route(‘Mogin’,methods=[POST/GET}) def login): if request. method = "POST": email-request form. get(‘email") password=request.form.get(‘password!) user=User. query filter_by(emailemail).first()Students Management System if user and check_password_hash(user.password password) Jogin_user(user) flash(""Login Success","primary") index’)) return render_template(‘login.htm!') return render_template("login. html’) @app.route(‘/logout’) @login_required def logout(): logout_user() flash("Logout SuecessFul","warning") return redirect(url_for(’login’)) @app.route(/addstudent’,methods=[POST''GET]) @login_required def addstudent(): dept=db.engine.execute("SELECT * FROM "department™) if request.method=="POST": rollno=request.form,get(rollno) stame=request.form.get('sname') sem=request form get(’sem") ‘gender=request.form.get('gender’) branch=request.form.get(’branch’) email=request.form.get(‘email') num=request form. get(num’) address=request.form.get(‘address’) query=db.engine.execute(f"INSERT INTO student" (Crollno’,'sname’,sem’,’ gender’, branch’,’ email’, number’,'address') VALUES ( {rolino}'){sname}'s{sem}'{ gender}','{branch}"/{email}''{num)',"faddress}’)")Students Management System flash("Booking Confirmed'',"info") return render_template('student.htm!',dept=dept) @app.route(/test’) def test() try: Test.query.all() return ‘My database is Connected’ except: return 'My db is not Connected’ app.run(debug=True)Students Management System FRONT END CODE
{% block title %} {% endblock title %} ‘
{% block style %} {% endblock style %}
ts/owl.carousel.min.css" rel="stylesheet">
Students Management System jeader =
s="pull-left"> ‘scrollto">S.M.S
"{% block home %} {% endblock home %}">
Home
Students
Attendance
Department
Records
Student Details
Search
About
{% if current_user. uthenticated %}
Logout
(% else %}
Signin
{% endif %}
~Jnav>Instagram
Facebook
Facebook
Pinterest
Pinterest
Get our free apps
About
About Scribd, Inc.
Everand: Ebooks & Audiobooks
SlideShare
Join our team!
Contact us
Legal
Terms
Privacy
Copyright
Do not sell or share my personal information
Support
Help / FAQ
Accessibility
Purchase help
AdChoices
Social
Instagram
Instagram
Facebook
Facebook
Pinterest
Pinterest
Get our free apps
Documents
Language:
English
Copyright © 2025 Scribd Inc.
We take content rights seriously.
Learn more
in our FAQs or
report infringement here
.
We take content rights seriously.
Learn more
in our FAQs or
report infringement here
.
Language:
English
Copyright © 2025 Scribd Inc.