1. Trang chủ
  2. » Giáo Dục - Đào Tạo

A social network for student job market

50 0 0

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Cấu trúc

  • ABRREVATIONS

  • INTRODUCTION

    • 1.1 Motivation

    • 1.2 Contribution and Thesis Overview

  • Chapter 2

  • RELATED WORK

    • 2.1 Basic Knowledge

    • 2.2 Related Work

    • On this section, I will cover about some website systems. These websites have some similar attributes with my system.

  • Chapter 3

  • SYSTEM ANALYSIS AND DESIGN

    • 3.1. System Analysis

    • 3.2. Database Design

    • On this section, database design is presented. I will discuss about entities of system, the relationships between them. I also show the results of database design as a list of database tables. The last thing is mention about system modules.

    • 3.3 System Module

    • On this section, I will discuss about modules in system. There are five modules in my system. Each module does some unique job. Function of each module is shown below:

  • IMPLEMENTATION AND RESULTS

    • 4.1 Platform and technology

    • In my project, I have use CakePHP version 2.2 and Xampp version 1.7.4 for Windows 64 bits. Code editor used is Notepad++ version 6.3.2 for Windows. All images and icons in my website is designed and edited by Photoshop CS3 program. On this section, I will mention about technology I used.

    • 4.2 User Interface

    • On this section, user interfaces are presented. They show what actually user see and do with.

  • Chapter 6

  • CONCLUSIONS

  • In conclusion, this thesis describes process of building the website called Internship Social Network – a channel for students and manager of companies to contact as well as for student to test their knowledge. Finally, system is built with full functions that are declared in requirements specification step. My goal is to build a website in which student and manager could sign up as member and become part of a social network. Manager could easily render announcement to student as well as student could test his knowledge. I have chosen develop a website on CakePHP framework using MySQL relational database management system.

Nội dung

VIETNAM NATIONAL UNIVERSITY, HANOI UNIVERSITY OF ENGINEERING AND TECHNOLOGY Nguyen Trong Viet A SOCIAL NETWORK FOR STUDENT JOB MARKET Major: Computer Science HA NOI - 2013 i LUAN VAN CHAT LUONG download : add luanvanchat@agmail.com VIETNAM NATIONAL UNIVERSITY, HANOI UNIVERSITY OF ENGINEERING AND TECHNOLOGY Nguyen Trong Viet SOCIAL NETWORK FOR STUDENT JOB MARKET Major: Computer Science Supervisor: Dr Le Sy Vinh HA NOI - 2013 LUAN VAN CHAT LUONG download : add luanvanchat@agmail.com AUTHORSHIP “I hereby declare that the work contained in this thesis is of my own and has not been previously submitted for a degree or diploma at this or any other higher education institution To the best of my knowledge and belief, the thesis contains no materials previously published or written by another person except where due reference or acknowledgement is made.” Signature:……………………………………………… LUAN VAN CHAT LUONG download : add luanvanchat@agmail.com SUPERVISOR’S APPROVAL “I hereby approve that the thesis in its current form is ready for committee examination as a requirement for the Bachelor of Computer Science degree at the University of Engineering and Technology, Vietnam National University, Hanoi.” Signature:……………………………………………… LUAN VAN CHAT LUONG download : add luanvanchat@agmail.com ACKNOWLEDGEMENT Firstly, I would like to express my respect and my special thank to my supervisor Dr Le Sy Vinh, University of Engineering and Technology, Vietnam National University, Hanoi for the enthusiastic guidance, warm encouragement and useful research experiences Secondly, I am grateful to all the teachers of University of Engineering and Technology, Vietnam National University, Hanoi for their invaluable knowledge which they taught to me during four academic years I greatly appreciate, University of Engineering and Technology, VNU, Hanoi for their encouragements and insightful comments Moreover, I thank to my classmates in K54CA Computer Science: Vu Trung Kien, Do Thi Bac, Tran Van Binh, Pham Van Hoa, Nguyen Van Thang for supporting me during four years and especially helping me to complete testing this system Last but not least, my family is really the biggest motivation behind me My parents and my brother always encourage me when I have stress and difficulties I would like to send them my gratefulness and love iv LUAN VAN CHAT LUONG download : add luanvanchat@agmail.com ABSTRACT The purpose of this study was to investigate to build a website that acts as a social network for students and manager of companies The website provides environment for students to test knowledge and skills It also helps managers as a channel for contacting students in easy way Another aim was to build a big and plentiful data source of multiple choice questions by contributing from manager users of system Finally, the process of building a website was pointed out To accomplish, software development process was applied to build a website The first step, system requirements specification was done There were many requirements they consisted of functional and non-functional requirements listed The second, database was analyzed and designed The website used MySQL – an open source relation database management system – to manage database The works of collecting data have been started when database was created The third, website was designed layout and implemented The CakePHP framework was used as platform for developing The fourth, from the first version to existing version were tested and tried by my classmates they helped me point out system logic errors and graphical user interface errors The works of upgrading and errors correcting were consecutively done The website could be applied in fact from existing version but it still has been upgrading and developing with more function The results of this study were a powerful website with many functions and friendly user interface The database was also contributed more than 200 multiple choice questions Besides, finishing this project gave me more experiences and skills for website development as well as system development I also enriched my knowledge and tried solve problems in fact v LUAN VAN CHAT LUONG download : add luanvanchat@agmail.com Tables of Contents List of Figure v List of Table vii ABRREVATIONS viii Chapter INTRODUCTION 1.1 Motivation 1.2 Contribution and Thesis Overview Chapter RELATED WORK 2.1 Basic Knowledge 2.2 Related Work Chapter SYSTEM ANALYSIS AND DESIGN 3.1 System Analysis 3.2 Database Design 12 3.3 System Module 21 Chapter IMPLEMENTATION AND RESULTS 24 4.1 Platform and technology 24 4.2 User Interface 27 Chapter CONCLUSIONS 38 References………………………………………………………………… 39 vi LUAN VAN CHAT LUONG download : add luanvanchat@agmail.com List of Figures Figure 2-1 - Client-server illustration…………………………………………………7 Figure 2-2-1 - Website www.freelancer.com Figure 2-2-2 - Website www.vietnamworks.com Figure 2-2-3- Website kenhsinhvien.net………………………………………………6 Figure 2-2-4: OpenViki Social Network………………………………………………7 Figure 2-2-5: Zing me Social Network……………………………………………… Figure 3-1-1-1 - Student User Use-Case…………………………………………… 10 Figure 3-1-1-2 - Manager User Use-Case……………………………………………10 Figure 3-1-1-3 Admin Users Use-Case………………………………………………11 Figure 3-2-1-1 - User Entity Diagram……………………………………………… 12 Figure 3-2-1-2 - Question Entity Diagram………………………………………… 13 Figure 3-2-1-3 - Wall Entity Diagram……………………………………………… 13 Figure 3-2-1-4 - Post Entity Diagram……………………………………………… 14 Figure 3-2-1-5 – Category Entity Diagram………………………………………… 14 Figure 3-2-1-5 – Point Entity Diagram………………………………………………15 Figure 3-2-2 – Relationship Between Entities Diagram…………………………… 16 Figure 4-2-1 – Home Page………………………………………………………… 27 Figure 4-2-2 – Login Page………………………………………………………… 28 Figure 4-2-3 – Register Page…………………………………………………………28 Figure 4-2-4-1 – List Post Page………………………………………………………29 Figure 4-2-4-2 – Detail Post Page……………………………………………………29 vii LUAN VAN CHAT LUONG download : add luanvanchat@agmail.com Figure 4-2-5 User Profile Page……………………………………………………….30 Figure 4-2-6 User’s Wall Page……………………………………………………….30 Figure 4-2-7 List Student Page……………………………………………………….31 Figure 4-2-8 List Company Page…………………………………………………… 31 Figure 4-2-9-1 Setting Page………………………………………………………… 32 Figure 4-2-9-2 Answer Sheet Page………………………………………………… 32 Figure 4-2-10 Question Management Page………………………………………… 33 Figure 4-2-11 User Management Page……………………………………………….33 Figure 4-2-12 Creating Post Page…………………………………………………….34 Figure 4-2-13-1 Adding New Question Page……………………………………… 34 Figure 4-2-13-2 Upload File Page……………………………………………………35 Figure 4-2-14 Filter Page…………………………………………………………….35 viii LUAN VAN CHAT LUONG download : add luanvanchat@agmail.com List of Tables Table 3.2.3.1 - User Table…………………………………………………… 18 Table 3.2.3.2 - User category table…………………………………………….19 Table 3.2.3.3 - Question table………………………………………………….20 Table 3.2.3.4 - Question category table……………………………………… 20 Table 3.2.3.5 - Wall table………………………………………………………21 Table 3.2.3.6 - Post table……………………………………………………….21 Table 3.2.3.7 - Comment table…………………………………………………21 Table 3.2.3.8 - Point table………………………………………………………22 Table 3.2.3.9 - Answered Question Table………………………………………23 ix LUAN VAN CHAT LUONG download : add luanvanchat@agmail.com 4.1.3 Using MySQL On CakePHP MySQL is open source relational database management system (RDBMS) that runs as a server providing multi-user access to a number of databases To using MySQL to store and manage data in CakePHP, we must config in CakePHP source code: Open app/Config/ and then rename database.php.default to database.php after that open it Code: Term datasource is what of RDBMS, and here is Database/Mysql for Mysql using Term host is name of hosting here I develop my website in localhost so I choose localhost Term login is username of account in MySql, here I put root because my account is root Term password is password of account in MySql, here I put empty blank because I use no password Term database is name of database that we have created to store data in MySql, my database is internship so I put it internship The last term is encoding, I put utf8 for Vietnamese 4.1.4 Model-View-Controller Pattern On CakePHP Model–view–controller (MVC) is a software architecture pattern which separates the representation of information from the user's interaction with it The model consists of 25 LUAN VAN CHAT LUONG download : add luanvanchat@agmail.com application data, business rules, logic, and functions A view can be any output representation resentation of data, such as a chart or a diagram Multiple views of the same data are possible, such as a bar chart for management and a tabular view for accountants The controller mediates input, converting it to commands for the model or view The central ral ideas behind MVC are code reusability and separation of concerns Figure 4-1-4: Model-View-Controller pattern A controller can send commands to its associated view to change the view's presentation of the model A model notifies its associated views and controllers when there has been a change in its state This notification allows the views to produce updated output, and the controllers to change the available set of commands A view requests from the model the information that it needs to generate an output representation to the user 26 LUAN VAN CHAT LUONG download : add luanvanchat@agmail.com 4.2 User Interface On this section, user interfaces are presented They show what actually user see and with 4.2.1 Home Page The home page figure shows view of website whenever everyone visits website It displays links for logging in and registering It also contains link for viewing company’s posts Figure 4-2-1 – Home Page If someone has logged in, whenever clicking on these links it will direct to homepage again The layout of home page is also main layout of all pages in website 4.2.2 Login Page The login page shows login form for signing in system system User must type username and password that have registered before Whenever user type password, it will auto hidden in password type After logging in user will go to home page of website 27 LUAN VAN CHAT LUONG download : add luanvanchat@agmail.com Figure 4-2-2 - Login Page 4.2.3 Register Page Register page can be got from home page It helps people sign up new account for advance using People must type username, password and email The usern username is exclusive,, the password is not shorter than three characters Figure 4-2-3 - Register Page 28 LUAN VAN CHAT LUONG download : add luanvanchat@agmail.com 4.2.4 Company Post Page 4.2.4.1 List Posts Page This page shows a list of posts that given by managers It shows a list and paging icons Whenever the list is full of twenty items, it will auto display the next items in next page of list User could click forward and backward icon for viewing the previous and the next page of list posts Figure 4-2-4-1 - List Post Page 4.2.4.2 Detail Post Page Detail post page displays information of each post in detail Whenever user clicks on post link, it will show a new page with title of post, content of post, the date that post created and modified It also shows author of post This view is designed for user who is student could see all information rmation of post As well as students could see link links for visiting author of post to contact if they care about recruitment information of the post After visiting post in detail, user could back to post list page by click on backward icon in the last of page pa 29 LUAN VAN CHAT LUONG download : add luanvanchat@agmail.com Figure 4-2-4-2 - Detail Post Page 4.2.5 User Profile Page User profile page show personal information of users It also shows links for updating profile and go to wall of anyone is owner of profile Figure 4-2-5 - User Profile Page 30 LUAN VAN CHAT LUONG download : add luanvanchat@agmail.com 4.2.6 User Wall Page User wall page shows wall of each user In the left part, it shows all messages status that posted in your wall It also makes input forms for user to update his status as well as comment on a status In the right part, it show status of people who is followed by user Figure 4-2-6 - User Wall Page In each status, website will display content of message, in footer website will display the time message was created and modified Besides, it also views author of message and link for delete this message 4.2.7 List Student Page This page show a list of student that register in system The website displays a list of students with name, email and address of theirs Besides, the website also display link for session user follow any student from the list As well as the website display link for session user visit any student’s wall The list student page is available for manager and student users The purpose of this page is to help managers could find and contact with student and a student could find each other 31 LUAN VAN CHAT LUONG download : add luanvanchat@agmail.com Figure 4-2-7 - List Student Page 4.2.8 List Company Page This page shows a list of manager users that registered in system It displays a list with name, email contact and address It also display link for students to follow managers and visit walls Figure 4-2-8 - List Company Page 32 LUAN VAN CHAT LUONG download : add luanvanchat@agmail.com 4.2.9 Testing Page One of the most important functions of website is testing phase These two fig figure show how a test is done 4.2.9.1 Setting Page This page show form for users to select setting of contest Users would select number of questions and category of question After choosing them, user must click on Fighting button for starting contest Figure 4-2-9-1 - Setting Page 4.2.9.2 Answer Sheet Page This page show how a contest is acting It will show a list of multiple choice questions User must click on radio button for choosing right answer With each question, user could only choose an answer After finishing test, student must click on Submit button for check out results The website is designed for test knowledge and skills not a learning site so the results just display the number of right right answers per number of questions The system will not display right answer of each question When a student completes all questions of system, they will be noticed and a congratulations script is showed for users 33 LUAN VAN CHAT LUONG download : add luanvanchat@agmail.com Figure 4-2-9-2 - Answer Sheet Page 4.2.10 Question Management Page This page shows tool to manage questions On manager session, users could see link for list their contributed questions of all categories Manager could adding new question by click on New Question link Managers also upload a CSV file for adding many questions a time Manager could delete questions contributed by him Figure 4-2-10 - Question Management Page 34 LUAN VAN CHAT LUONG download : add luanvanchat@agmail.com On admin session, admin could see all questions that located in system As manager, admin could add new question by use link, upload a CSV file Different from manager, admin could delete any questions in system despite who is author of questions 4.2.11 User Management Page User management page shows advance function of admin Visiting this page, admin could view a list of users with these attributes: username, email, type of user, created Admin can delete any user by click Delete Whenever admin clicks to delete users the website will display a notice to confirm whether admin want to delete or not Paging technical is also used in this view The paging number is still twenty items Figure 4-2-11 - User Management Page 4.2.12 Creating Post Page Creating post page is user interface for manager to post a notice in system Visiting this page, manager could enter title of post and content of post In the part content input, I use FCK editor for easy to make a post This is “what you see is what you get” module, so user just selects wanted content and then click on button on FCK bar, the effects immediately are displayed in form After finishing create post, manager must click on Post submit button to update post In the work of creating post, title of post and content of post is not null Title of post must be longer than five characters 35 LUAN VAN CHAT LUONG download : add luanvanchat@agmail.com Figure 4-2-12 Creating Post Page 4.2.13 Creating Question Page 4.2.13.1 Adding New Question Page This page refers how to add new question to system It is available for manager and admin First of all, user must choose category of question After that typing content of question, using FCK editor likes below: Figure 4-2-13-1 - Adding New Question Page Next, user must input four options for question And the last, user must choose right answer for this question To finish adding new question, user clicks on “Add this question” button 36 LUAN VAN CHAT LUONG download : add luanvanchat@agmail.com 4.2.13.2 Upload File Page This page show the way admin and manager to upload a CSV file First, user selects a given formatted CSV file from computer Then user clicks on Upload button to upload questions to system Only well-formatted file is added to system Figure 4-213-2 - Upload File Page 4.2.14 Filter Page This page show how to filter some wanted student Manager could filter to find some appropriate student by choosing category and range of point that student get in that category After choosing appropriate setting, user must press Filter button to finish The results are displayed in the right side as a list of username and point in given range Figure 4-2-14 Filter Page 37 LUAN VAN CHAT LUONG download : add luanvanchat@agmail.com Chapter CONCLUSIONS In conclusion, this thesis describes process of building the website called Internship Social Network – a channel for students and manager of companies to contact as well as for student to test their knowledge Finally, system is built with full functions that are declared in requirements specification step My goal is to build a website in which student and manager could sign up as member and become part of a social network Manager could easily render announcement to student as well as student could test his knowledge I have chosen develop a website on CakePHP framework using MySQL relational database management system System consists of five modules with specific function User modules acts as authentication part, it enables people register account as well as log in to use function Wall module is developed to make a social space for student and manager to contact with other Question module is designed to actualize function contest of system and enable manager and admin contribute for system Post module is created and acts as reporter between student and manager Manager could announce and report about his companies as well as recruitment The last module, Filter module works as a filter tool to find out student with given condition of point in some categories All these modules help system acts as defined in requirements specification step In future, I will continue to develop website with some important function The first function I will is “Company Test” it enables students the test with all questions posed by a manager It will make manager create a standard contest for find excellent candidates The second function I want to develop is “Fame Grade System” – that makes manager feel free to choose top student of social network Because the higher grade student is ensured that is the better student I will also make website more attractive with friendly user interface Besides, I still continue collecting questions for system In future, I want build a large database for system with huge questions about many fields from information technology, economics, history, geography to banking and social knowledge…and make system as the biggest multiple choice questions library for students 38 LUAN VAN CHAT LUONG download : add luanvanchat@agmail.com References [1] http://publib.boulder.ibm.com – “Client-server architecture” [2] http://inet.edu.vn –“Social network” [3] Content management system, Sarah Baxter [4] http://msdn.microsoft.com – “SQL Injection” [5] “CakePHP cookbook” ,the developer of CakePHP 39 LUAN VAN CHAT LUONG download : add luanvanchat@agmail.com ... view can be any output representation resentation of data, such as a chart or a diagram Multiple views of the same data are possible, such as a bar chart for management and a tabular view for accountants... build a website that acts as a social network for students and manager of companies The website provides environment for students to test knowledge and skills It also helps managers as a channel for. .. LUAN VAN CHAT LUONG download : add luanvanchat@agmail.com null firstname VARCHAR(50) First name of user lastname VARCHAR(50) Last name of user dateOfBirth DATE Birthday of user phone VARCHAR(50)

Ngày đăng: 01/11/2022, 15:11

TÀI LIỆU CÙNG NGƯỜI DÙNG

TÀI LIỆU LIÊN QUAN