Professional Documents
Culture Documents
Construction Management System: A Project Report ON
Construction Management System: A Project Report ON
Construction Management System: A Project Report ON
PROJECT REPORT
ON
Construction Management System
IN ASSOCIATION WITH
S
OFTOLYTICS PVT.LTD.
BY
Prof. T. J. Sawant Affiliated to Pune University I.D. No. - PU/ Engg. / 173 (2001)
Dr. R. K. Jain
D.E.E., B.E. (Elec.) MISTE
M. E.(CIVIL Engg) Ph.D
Founder Secretary Principal
Date: 28/05/2022
CERTIFICATE
This is to certify that Ms./Mr. VINAYA MAHALE, is a bonafide student of
JSPM’s Rajarshi Shahu College of Engineering, Tathawade, Pune, has
successfully completed the project work as prescribed by the Savitribai
Phule Pune University, Pune, in the partial fulfillment of the Master of
Computer Applications (MCA) Program 2021-2022.
The project work, titled as “Construction Management System” Has been
carried out at the establishment of “SOFTOLYTICS PVT.LTD.”.
External Examiner:
Internal Examiner:
Date:
Place: Pune
Sr. No. 80, Pune- Mumbai Bypass Highway, Tathawade, Pune- 411 033.
Phone : +91-020-229334344/4084/4347 Telefax : +91-020-22933424
E-mail : rscoe@vsnl.net Website : www.jspmrscoe.edu.in
Declaration
To
The Principal,
Rajarshi Shahu College of Engineering,
Tathawade,
Pune-33.
Respected Sir,
Thank You,
Yours Sincerely,
Vinaya A. Mahale
Acknowledgement
I would like to express my gratitude and sincere regards to
the following people to whom I am grateful for their support
and help without which I would not have been able to do this
project entitled “Construction Management System”.
Vinaya A. Mahale
Index
Sr.No Title Page No
1 Chapter 1: Introduction 1
1.1 Company Profile 2
1.2 Existing System and Need Of System 4
1.3 Scope of work 7
1.4 Operating Environment – Hardware and
9
Software
2 Chapter 2 : Proposed System 10
2.1 Proposed System 11
2.2 Objective Of System 15
2.3 User Requirements 16
2.4 Feasibility Study 17
3 Chapter 4: Analysis And Design 20
3.1 Use Case Diagram 21
3.2 Class Diagram 28
3.3 Activity Diagram 30
3.4 Sequence Diagram 35
3.5 Component Diagram 41
3.6 Deployment Diagram 42
4 Chapter 4: Implementation 43
4.1 Input Screens 44
4.2 Module Specifications 75
4.3 Table Specifications 79
5 Chapter 5: Testing 85
5.1 Test Procedures and Implementation 86
5.2 Test cases 90
6 Chapter 6: User Manual 102
7 Chapter 7: Drawbacks and Limitations 106
8 Chapter 8: Proposed Enhancements 108
9 Chapter 9: Conclusion 110
10 Chapter 10: Bibliography 112
11 Chapter 11: Annexure 114
11.1 Technology Used 115
11.2 Sample Code 120
Travel Management System
1
CHAPTER
INTRODUCTION
The purpose of this chapter is to provide an introduction to the company
profile and also define basic terminology used in our system that is
Construction Management System. Chapter-1 presents an overview of
existing system and need of system, scope of work and different operating
environment.
Company Profile
Project Introduction
Existing System and Need for System
Scope of Work
Environment – Hardware and Software
Page - 1 -
Travel Management System
SOFTOLYTICS PVT.LTD:
Our Verticals
Manufacturing
Finance
Construction
Hospitality
Healthcare
Page - 2 -
Travel Management System
Page - 3 -
Travel Management System
Vision
Core Values:
Integrity
Effective Communication
Innovation
Pursuit of Excellence
Outstanding Teamwork
Customer Focus
Experience:
We have a wide experience as a ERP Developer, Web developer & App developer.
Page - 4 -
Travel Management System
Teams:
Our Team is enriched with the experienced and certified consultants from the
various background and their application knowledge provides us with vital
support on various developments and implementations.
Our core management comprises engineers, analysts & marketers. They provide
support to our business value chain wherein keeping the synchronization
among all the clients to accomplish organizational objectives.
Problem Definition
The construction management is very essential to make the project cost effective,
maintain all the records such as Purchase Orders (PO), Sales Invoices, Customers
Inquiries, and their details for further communications along with the employees
records to main the payroll, contacts etc. Also, the construction management system
helps to track the records of work completed, sub-contractors’ information, their
accounts payable, accounts receivable tracks.
Page - 5 -
Travel Management System
Page - 6 -
Travel Management System
Page - 7 -
Travel Management System
Page - 8 -
Travel Management System
Page - 9 -
Travel Management System
in the organization. It will also keep the track of all the allowances and deduction
details of the employee
The payroll module calculates the employee’s pay according to the standards
including allowance and deduction. The allowance and deduction are decided
as per norms of the organization.
System administrator should give required access privileges to each user.
MIS for each site on monthly basis.
Page - 10 -
Travel Management System
Operating Environment
Software Requirements
Server:
Technology : Odoo ERP / Open ERP
Front end : Python, xml, js
Back end : PostgreSQL
Operating system : Windows / Ubuntu
Server : AWS / Google Cloud
Client:
Operating system : Windows / Ubuntu
Browser : Internet explorer 6.0 and above, Google Chrome, Mozilla
Firefox
Page - 11 -
Travel Management System
Hardware Requirements
Processor : Pentium 4 and Upwards
RAM : 8 GB & above.
Hard disk : 10 GB.
Operators Requirements
Operator should have the Operating knowledge of Windows.
Page - 12 -
Travel Management System
2
CHAPTER
PROPOSED
SYSTEM
This chapter gives you an idea about the project which I have undertaken.
It explains the user requirements of the system to be developed leading
to proposing a solution for the same from our side. User requirements we
get from our client so it’s totally based on client need.
The World Wide Web and other Internet-based collaborative tools have significantly
enhanced the ability to coordinate the functions of the organization electronically. The
system provides significant new functionality in keeping of several functions, managing
the flow of the information and interacting with the management. The system provides
the effective mechanism for integrating many of these tools into a single interface and is
an ideal tool for managing the organization resources effectively.
This project for cloud-based ERP for Construction Management System, that helps to
maintain construction companies details such as client leads generated, tender leads
generated, clients / tenders won or lost, on-going construction sites reporting as per
reequipments, employee details, resources allocated to each project/site and running
Page - 13 -
Travel Management System
cost of project.
Page - 14 -
Travel Management System
Project will also keep the track of accounting system including accounts payable,
accounts receivable, general ledger and GST reports. The project aim also includes
integration of full-fledged employee management system which will maintain employee
details, generate pay slips, manage employees leaves, allowances etc.
Module Description
The System has following Module:
Tender Lead Management (TLM) / Customer Relationship Management
(CRM)
Payroll
Page - 15 -
Travel Management System
2. Payroll
The Payroll Module handles any number of breakups of pay types and pay
frequencies, and it also maintains employee records, which include full
personnel details, allowance details, deduction details, leave details, etc. Here
we also maintain various methods of performance appraisal.
Staff Registration
Allowance Details
Deduction Details
Leave Details
Staff Pay Slip Reports
3.MIS
This module aims at generation of various reports for its different levels of
management, as we can integrate various modules to give the user accurate
reports, which will help the management in decision-making.
Page - 16 -
Travel Management System
Page - 17 -
Travel Management System
The client wants to have the following functionalities from the system
Page - 18 -
Travel Management System
Technical Feasibility
Client/Server architecture.
PostgreSQL.
Page - 19 -
Travel Management System
Behavioral Feasibility
Legal Feasibility:
The system follows all the rule and regulation of our country and
world norms. Each active site individually and simultaneously commit
every change, or no site can commit the change. Such a solution is
obviously not feasible for large numbers of sites because of realities
such as network outages.
Economic Feasibility
Page - 20 -
Travel Management System
Operational Feasibility
Proposed projects are beneficial only if they can be turned out into
information system. That will meet the organization’s operating
requirements. Operational feasibility aspects of the project are to be taken
as an important part of the project implementation. Some of the important
issues raised are to test the operational feasibility of a project includes the
following:
Will the system be used and work properly if it is being developed and
implemented?
Will there be any resistance from the employee that will undermine the
possible application benefits?
Page - 21 -
Travel Management System
3
CHAPTER
ANALYSIS AND DESIGN
As we are using DOT NET framework for developing this application we are
designing our application by OOPS concept. So UML (Unified Modeling
Language) is the best way for represent this project. In this Chapter we will
explain this project by UML concepts and also database specifications.
Diagrams such as the Use Case Diagram, Class Diagram, and Module
Hierarchy Diagram etc. you will see in this chapter
Page - 22 -
Travel Management System
Actors:
Actor Name
Association:
-------------------------->
Page - 23 -
Travel Management System
Page - 24 -
Travel Management System
Page - 25 -
Travel Management System
hical Depiction:
A class icon is drawn as a 3-part box, with the class name in the top
part, a list of attributes (with optional types and values) in the
middle part, and a list of operations (with optional argument lists
and return types) in the bottom part
ependency:
Page - 26 -
Travel Management System
Page - 27 -
Travel Management System
Page - 28 -
Travel Management System
Page - 29 -
Travel Management System
Page - 30 -
Travel Management System
Page - 31 -
Travel Management System
Page - 32 -
Travel Management System
Page - 33 -
Travel Management System
Page - 34 -
Travel Management System
Page - 35 -
Travel Management System
Page - 36 -
Travel Management System
Page - 37 -
Travel Management System
3.5
COMPONEN DIAGRAM
T
Page - 38 -
Travel Management System
Page - 39 -
Travel Management System
Page - 40 -
Travel Management System
4
CHAPTER
IMPLEMENTATION
Input Screens
Module Specifications
Table Specifications
Page - 41 -
Travel Management System
4.1INPUT SCREEN
Following are the employee interface screen shots of the system modules.
Following is the screen shot of main home page which is entitled as Travel
Management System. It is also referred to as Login Screen
Page - 42 -
Travel Management System
Page - 43 -
Travel Management System
Page - 44 -
Travel Management System
Page - 45 -
Travel Management System
Page - 46 -
Travel Management System
Fig 4.2 : Travel Request - Travel Details Form : This form includes travel
Page - 47 -
Travel Management System
details like type of travel, dates of travel, places of travel, other details like
meal preference, seat preference and accomodation details like hotel etc.
Page - 48 -
Travel Management System
1. Employees In the Employees module of HR management, you can see the company’s
employees and their details. To Create an employee click Create button from the Employees
scree
The following screen appears. From this screen add Employee’s name, public information’s such as
work address, department, job position etc, Private information’s and any other information’s about
the employee. Click Save button to save the new employee into the system.
Page - 49 -
Travel Management System
Contracts manages track of your employees’ status, job titles, contract type and
dates, and their schedule.
You can specify the salary structure and basic wage of an employee in salary information tab.
Page - 50 -
Travel Management System
The Departments menu shows you the list of department wise employees.
The Configuration menu allows to configure Job position, department, activity planning.
Page - 51 -
Travel Management System
2. Time off / Leaves Time off helps you to manage the leaves of all employees. Time off
module which provides calendar view and Gantt view helps to get a clear picture of leaves
taken in a week and a month. The year tab enables us to calculate the leave taken during a
year
➢ How to create time off request One can simply apply for leave with the Time-Off module.
To create a Time off request, go to My Time off -> My Time off request -> Create Once you
click the create tab a new window will open. There you can select the type of time off or leave.
The reason for time off including Doctor's consultation, personal or sick leave can be added
while creating.
Page - 52 -
Travel Management System
➢ Allocation Request
The allocation request is a feature that can be of use to an employee in certain situations. This
feature can be used when an employee needs special permission for availing of leave. For
example, an employee may have only 10 casual leaves a year. If the person wants to take 13
days of leave, he will require special approval. The employee can make use of the Allocation
Request Feature for doing this.
Time off allows you to create different leave types and it can be achieved by using the Time Off Types
feature. To create a new time odoo type go to Time Off-> Configuration-> Time Off Types
Page - 53 -
Travel Management System
Here, you can create a leave type by checking the required fields.
Time off allows you to specify the leave type and choose the required hours of leave. You can mark it
as a full day, half-day, or even mention the hours required. Besides, you can also fix the validity of the
request and can also manage the Allocation request mode such as: No limits - Where no allocation is
needed the user can freely request time off
Allow Employees Requests - This is allocated by HR and the user can request leave and allocation.
With this itself, you will also be able to define different approval associated with the allow employee
request option. Set by Time Off Officer - Allocated by the HR and cannot be bypassed. This will enable
the manager to allow the employee's request or manage it the way set by the Time Off Officer.
Similarly, we also have the Time off requests with different approval levels that are No Validation, By
Time Off Officer, By Employee's Manager, and Time Off Officer.
➢ Manager’s View Time off enables the manager to review the leave applications easily. The
manager can view the leave requests and take a decision on them. He can approve or refuse the
request. The comment of the manager can also be added.
This also enables the manager to report the leave-in payslips. The manager will also be able to get a
clear picture of the Time Off request submitted by all employees and the allocations for the
employees. Employee name, Time off type, duration, and other details can be viewed.
Page - 54 -
Travel Management System
Reporting
Time off: reporting provides analysis based on the Employee and by the Time off type also By
employee: The manager can view the left analysis of all employees. This will help the manager get an
idea about the leave pattern of employees
Page - 55 -
Travel Management System
By type This feature helps to get the mode of time off, leave validation details, allocation validation,
and other details.
3. Attendance Module
When the module is opened will direct to a check-in / check-out window. We can log in to the app
using the check-in / out arrow given on the screen. We can enable pins or barcodes to allow the
employee to log their attendance to the system.
➢ Configuration
In the attendance configuration, we can enable employee pins. This pin can then be used by the
employee to log their attendance. After enabling the pin, it can be used in kiosk mode. This feature
might come off as very helpful in the situation where the employee id or barcode is forgotten or not
generated yet.
Page - 56 -
Travel Management System
The IDENTIFY MANUALLY button can be used to make use of this employee PIN and sign in. Once the
sign-in is finished the employee attendance will be logged in the employee profile
➢ Creating Employee ID
The manager menu has the option to access both the employee details and the attendance details. In
the employee menu from the manager, a drop-down can direct you to the window of employees that
have been created in the company. Under the HR Settings, there is an option to feed the job position.
We can edit the employee details to include the PIN code and badge ID after enabling Employee PIN
in the configuration. The Badge ID can be generated from the same window using the generate
option
Page - 57 -
Travel Management System
This pin and badge are generated by the managers or the admin and can be modified when
necessary. It is then communicated to the employee for future reference. The auto-generated or
customized badge can be printed from the same window and is then ready for the employee to use.
The employee attendance will now be logged using this ID or the PIN.
➢ Employee Log
The employee can enter the kiosk mode and choose either the barcode scan option or the Identify
manually button. The barcode scanner would scan the employee badge ID as shown above. This is
then logged to mark their attendance. Instead, if they opt to identify manually, they will be redirected
to the employee dashboard where they can choose their respective employee card and enter the pin.
Page - 58 -
Travel Management System
➢ Attendance overview
We can get an overview of the attendance of the employees from the attendance menu in the
manager drop-down. The details will be displayed as tabular data and can be alternated to the
kanban view.
The details of the employees' attendance can be exported as .xlsx files for any purpose as required
by the HR department. The daily check-in and check-out time will be displayed along with the total
work hours. more details of the employee attendance can be viewed under the reporting tab. This
feature is available in the list view of attendance.
We must change the list view if the attendance is displayed in Kanban. We can also access the details
of employee attendance from the employee's tab under the manager menu. Here we can view the
individual record for any employee. A quick overview of the work hours last month will be displayed
in the employee editing tab.
Page - 59 -
Travel Management System
➢ Attendance Analysis
From the reporting menu, we can avail of the attendance analysis of the employees. This would
display the month-wise attendance of the employees who use the Attendance module to log their
attendance. The analysis can be filtered according to the year, month and quarter. We can also add
any custom filters for attendance analysis.
➢ Attendance Overview
Various graphical views are available in reporting. We can shift between the views according to the
needs and wants of our users. Comparison with the previous year or period is also possible in the
reporting. The manager or admin can also have a look at their own attendance by applying the filter
my attendance. One of the substantial responsibilities of the human resource department is
simplified by the Attendance Module. The time-saving and hassle-free management can improve and
maximize the efficiency of all other Human Resource Management Modules
Page - 60 -
Travel Management System
Login :
For Login purpose, the web application will use SSO(Single Sign-
On) feature, meaning that the employee can use the same login
credentials as he/she uses for logging in to other applications of
the same company.
Page - 61 -
Travel Management System
After filling these details and submitting the request, all the details
will be stored in the database and an acknowledgement email will
be sent to the employee. Also, email will be sent to his/her Delivery
Manager informing about the new request and ask to approve or
reject the request.
Options will be given to view or edit the details he/she has filled.
Also, after the trip he/she can upload all the bills associated with
his/her tour.
Page - 62 -
Travel Management System
The Delivery Manager can also send the travel request back to
the employee for corrections.
Admin Head :
Email Module
Dashboard
File Module :
Page - 64 -
Travel Management System
Tender lead
Page - 65 -
Travel Management System
Page - 66 -
Travel Management System
Page - 67 -
Travel Management System
Payroll
Page - 68 -
Travel Management System
Page - 69 -
Travel Management System
Work :
Private :
Page - 70 -
Travel Management System
HR Settings :
Contracts :
Salary Information :
Page - 71 -
Travel Management System
Salary Structure :
3 code char
4 rule_ids many2many
Page - 72 -
Travel Management System
Page - 73 -
Travel Management System
5
CHAPTER
TESTING
Test Procedures and Implementation
Test cases
Page - 74 -
Travel Management System
Objectives of Testing
Methods of Testing
Page - 75 -
Travel Management System
UNIT TESTING
MODULE
TESTING
Component
SUB-SYSTEM
TESING
SYSTEM TESTING
Integration Testing
ACCEPTANCE
TESTING
User Testing
Unit Testing
Page - 76 -
Travel Management System
This testing method considers a module as a single unit and checks the
unit at interface and communication with other modules rather
getting into details as statement level. Output for a given set of input
combinations are forwarded other module.
Integration Testing
Integration Testing is any type of software testing that seeks to verify the
interfaces between components against a software design. Software
components may be integrated in an interactive way or all together ("big
bang"). Normally the former is considered a better practice since it allows
interface issues to be localized more quickly and fixed.
Integration testing works to expose defects in the interfaces and interaction
between integrated components (modules). Progressively user groups of
tested software components corresponding to elements of the architectural
design are integrated and tested until the software works as a software.
System Testing
Page - 77 -
Travel Management System
Acceptance Testing
Alpha Testing
Beta Testing
Beta testing comes after alpha testing and can be considered a form of
external user acceptance testing. Versions of the software, known beta
versions, are released to a limited audience outside of the programming
team. The software is released to groups of people so that further testing can
ensure the products have few faults or bugs.
Sometimes, beta versions are made available to the open public to increase
the feedback filled to a maximal number of future users.
Usability Testing
Usability testing is needed to check if the user interface is casy to use and
understand. It is connected mainly with the use of the application
Security Testing
Page - 78 -
Travel Management System
Test cases list the specific items that will be tested and describe the
detailed steps that will be followed to verify the software. There are two
fundamental approaches to testing software: test-to-pass and test-to-fail,
when you test-to-pass, you really ensure only that the software minimally
works. You don’t push its capabilities. You don’t see what you can do to
break it. You treat it with kid gloves, applying the simplest and most
straightforward test cases.
You may be thinking that if your goal is to find bugs, why would you
test-to-pass? Wouldn’t you want to find bugs by any means possible? The
answer is no, not initially.
Think about an analogy with a newly designed car. You are assigned
to test the very first prototype that has just rolled off the assembly line and
has never been driven. You probably wouldn’t get in, start it up, head for
the test track, and run it wide open at full speed as hard you could. You
would probably crash and die. Use test-to-pass to reveal bugs before you
test-to- fail.
In Travel Management System market there are many test cases that
are applied. Some of them shown below like GUI testing, Login, Database
etc.
Manual Testing
There are three main methods of manually implementing test cases. These
are building test cases into your classes, creating a test script and creating
a separate testing hierarchy. Building Test Cases into your Classes When
building test cases into your classes create test methods such as Test Class;
test Objects Foxx for verifying the workings of classes and its instances. The
test Class methods would test the associated class methods, create
instances of the class, put these objects into default or specified states, and
test the objects with related test cases. One can inherit and reuse test cases
from the super class for subclass testing.
Page - 79 -
Travel Management System
Conclusions
Application software system has been developed to case out the problems
faced in the present system. The system described in this book have
designed, Tested and documented to same greater extent. This package is
expected to prove to be very useful to the “Online Shopping”.
The goals that are expected to achieve by the software are:
Simplification of the operation.
Less processing time and increasing the productivity.
Each transaction is updated and processed immediately.
Avoiding errors by minimizing human interaction through user
friendly screens to enter data and Enquirers the information from
the tables on like message.
Portable and flexible for further enhancement.
After developing the system, it has been tested with sample data and the
results are found to be in satisfaction. The system is user friendly are and
easy to use prescribed by the standards have been followed in designing
the input screens lending to consistency. Across forms and reduced user
strains.
Page - 80 -
Travel Management System
Page - 81 -
Travel Management System
Page - 82 -
Travel Management System
3. Clients
Details tab will open
3. Schedule Activity
tab will open.
Page - 83 -
Travel Management System
Page - 84 -
Travel Management System
2.Form
should not 2.Form not
be submitted.
submitted.
TC Time If user is new 1. Click on Time off on the Form will Form Pass
off 2.7 to the system dashboard. get submitted.
and if user submitted.
select from 2. Time off tab will
Time off open and fill all the required
details. details and click next.
Page - 85 -
Travel Management System
6
CHAPTER
USER MANUAL
For any system to be successful it is important that the intended user find
the system easy to operate. The purpose of the user manual is to make user
acquainted with the system and help employee understand the system and
operate it conveniently. The manual contain several screenshots that
describes how to use the entire system.
Application Description
Page - 86 -
Travel Management System
USER MANUAL
For any system to be successful it is important that the intended
user find the system easy to operate. The purpose of the user manual is to
make user acquainted with the system and help user understand the
system and operate it conveniently. The User Manual is prepared
reflexively because it is an item that must accompany every system.
The manual contain several screenshots that describes how to use
the entire system. This Manual helps user to navigate efficiently through
the system and help user to solve issues wherever they occur.
Log in into the system using LDAP credentials. You are redirected to
dashboard after successful credential verification of Username and
Password.
Page - 87 -
Travel Management System
This tab denotes the dashboard, which contains all the travel
requests made by the user.
This tab in the dashboard, contains all the travel requests made
by the manager/admin head.
This tab in the dashboard, indicates all the travel requests made
by the user that are pending for approval from manager/admin head.
Page - 88 -
Travel Management System
Page - 89 -
Travel Management System
Page - 90 -
Travel Management System
Symbol Meaning
Denotes approval status: Request is pending.
Denotes approval status: Request is approved.
Used to view form or other details.
Used to edit form or other details.
Used to delete.
Used to upload bills.
Buttons
Page - 91 -
Travel Management System
7
CHAPTER
DRAWBACKS AND
LIMITATIONS
This part of documentation will explain drawbacks and limitation that are
in Travel Management System Market Application.
Page - 92 -
Travel Management System
Drawbacks
There should be at least one record in each of the master data table.
Limitations
Page - 93 -
Travel Management System
8
CHAPTER
PROPOSED
ENHANCEMENTS
The future enhancements of the Travel Management System are proposed
in this chapter. It gives us the insight about the area and field where these
enhancements can be made.
Page - 94 -
Travel Management System
PROPOSED ENHANCEMENTS
Option will be given to user to apply for new visa, in case if he/she
does not have a visa of the destination country.
Agents can be added to the system so that they can provide various
travelling and accommodation options. This will help the team to
make the best decision for all the pre-requites needed for travelling.
Page - 95 -
Travel Management System
9
CHAPTER
CONCLUSIONS
This part concludes Travel Management System in brief explanation and also
specifies operation performed in the application.
Page - 96 -
Travel Management System
CONCLUSIONS
The main purpose of Travel Management System is to facilitate easy
processing of a travelling request made by an employee.
The system provides a great flexibility for the Admin team and the
employees.
Page - 97 -
Travel Management System
10
CHAPTER
BIBLIOGRAPHY
The Bibliography chapter contains all the reference books, websites or other
reference material details used in order to make this report worthwhile.
Page - 98 -
Travel Management System
BIBLIOGRAPHY
Udemy Courses
Web reference:
o http://node.org /learn
o http://udemy.com
Page - 99 -
Travel Management System
11
CHAPTER
ANNEXURE
This section of report specifies Input and Output Forms as report and also
some sample code which is describes in this section.
Technology used
Sample Code
Page - 100 -
Travel Management System
React makes it painless to create interactive UIs. Design simple views for
each state in your application, and React will efficiently update and render
just the right components when your data changes. Declarative views
make your code more predictable and easier to debug.
Component-Based
A Simple Component
Page - 101 -
Travel Management System
A Stateful Component
An Application
Using props and state, we can put together a small Todo application.
This example uses state to track the current list of items as well as
the text that the user has entered. Although event handlers appear to
be rendered inline, they will be collected and implemented using
event delegation.
Middleware : Node JS :
Page - 102 -
Travel Management System
Node.js takes the event model a bit further. It presents an event loop
as a runtime construct instead of as a library. In other systems,
there is always a blocking call to start the event-loop.
Node.js being designed without threads doesn't mean you can't take
advantage of multiple cores in your environment. Child processes
can be spawned by using our child_process.fork() API, and are
designed to be easy to communicate with. Built upon that same
interface is the cluster module, which allows you to share sockets
between processes to enable load balancing over your cores.
Backend : MongoDB :
Page - 103 -
Travel Management System
Ad hoc queries
Indexing
Fields in a MongoDB document can be indexed with primary and
secondary indices.
Replication
MongoDB provides high availability with replica sets. A replica set consists
of two or more copies of the data. Each replica set member may act in the
role of primary or secondary replica at any time. All writes and reads are
done on the primary replica by default. Secondary replicas maintain a
copy of the data of the primary using built-in replication. When a primary
replica fails, the replica set automatically conducts an election process to
determine which secondary should become the primary. Secondaries can
optionally serve read operations, but that data is only eventually
consistent by default.
Load balancing
Capped collections
Page - 104 -
Travel Management System
File storage
MongoDB can be used as a file system, called GridFS, with load balancing
and data replication features over multiple machines for storing files.
This function, called grid file system, is included with MongoDB drivers.
MongoDB exposes functions for file manipulation and content to
developers. GridFS can be accessed using mongofiles utility or plugins for
Nginx and lighttpd. GridFS divides a file into parts, or chunks, and stores
each of those chunks as a separate document.
Aggregation
Transactions
Page - 105 -
Travel Management System
/**
* Mastertest : Master Data Controller-Retrieves data from various
collections of database of master tables.
* @param {object} data http req
* @returns {object} data http res,json
*/
}catch(error){
Page - 107 -