Download View/Open

Transcript
Reference
[1]
Sri Lanka Department o f Police, Annual R e p o r t - 2 0 1 0
[2]
http://www.police .Ik
[3]
http://ozekisms. com/index. php?owpn=661&info=linux/setup-ozeki-ng-onubuntu-linux
[4]
http://www.docstoc.com/docs/8422718/Motor-Traffic-Amendment-Act-of-SriLanka
[5]
http://www.wspgroup.com/en/Welcome-to-WSP-Romania/SectorsRO/All/Bucharest-Traffic-Management-System/
[6]
http://www.swarco.com/en/References/ITS-REFERENCES/URBANTRAFFIC-ANAGEMENT,-Romania,-Bucharest-City-of-Bucharest
[7]
Tudor Popescu -Presentation Manager o f System Integration and D e v e l o p m e n t
Department,UTI Systems
[8]
http://windowsblog.ne
[9]
http://www.Netcraft.com
DO]
http://www.kannel.org/
[!']
http://clubdinero.net/
[>2]
InfoWorld magazine p u b l i s h e d by InfoWorld Media Group, Inc. D e c 3, 2 0 0 9
[13]
http://blog.xeround.com/2011/01/choosing-the-right-cloud-database-the-boxmodel[I4]
1 4
I ]
http://mustardseedmedia.com/podcast
[•5]
http://wammu.eu/
[16]
http://www.theregister.co.uk/2007/0l/15/open_source_2bn/
[17]
http://www.agilemodeling.com
[18]
http://www.recordnet.com/apps/pbcs.dll/article?AID=/20101128/A_NEWS/11
280312
[•9]
http://en.wikipedia.org/wiki/
[20]
University publication (University o f Macedonia Thessaloniki, Greece.)
[21]
http://www.alledia.com/blog/general-cms-issues/joomla-and-drupal-version-2/
[22]
http://www.macronimous.com/resources/web_servers_demystifyed.asp
[23]
www.w3.org/MarkUp/
[24]
http://www.mysql.com/it-resources/benchmarks
93
[25]
[20]http://wwwAiltijoomlaxom/blog/The-Best-Extension-To-Create-FormsFor-Joomla-l .5.html
[-6]
http://www.syednetworks.com/opensourc-sms-gateway-using-gammu-andmysql
[27]
http://tomcat.apache.org/tomcat-3.2-doc/tomcat-apache-howto.html
[28]
http://absolutenorthcommunications.com/docs/samples/Portfolio_CMSEvaluati
on_Final.pdf
[29]
http://www.christianlittle.com/argh/web-design-joomla-versus-wordpress-2/
[30]
http://www.alledia.com/blog/general-cms-issues/joomla-and-drupal-whichone-is-right-for-you/
[31]
[32]
http://sitescore.silktide.com
http://www.differencebetween.net/technology/difference-between-ubuntu-andred-hat/
[33]
Dan R a h m e l , Beginning Joomla!
[34]
VikramVaswani,PHP programming solutions
94
Appendix A - U s e r Evaluation questioner
I T C F O R S R I L A N K A TRAFFF1C P O L I C E
USER E V A L U A T I O N O F AN INTERACTIVE C O M P U T E R S Y S T E M
Skip question if not applicable
I.
System Usability
Please circle the appropriate number against each question, using the scale given below
2
1
Strongly disagree
I.
II.
|
3
1 Neutral
| Agree
I think I would like lo use this website frequently
I found the websile unnecessarily complex
">
I thought the website was easy to use
IV.
I think I would need tech Support to be able to use this
website
I found the various functions in this website were well
integrated
1 thought there was too much inconsistency in this website
VI.
VII.
VIII.
IX.
X.
XI.
5
Strongly Agree
4
1
III.
V.
2.
Disagree
3
I would imagine that most people would learn to use this
website very quickly
I found the website very cumbersome to use
3
j 4
3
I4
I fell very confident using the website.
I need to learn a lot about this website before i could
effectively use il.
I would like to use this web site in the future
I4
User Interface Satisfaction
Please circle the appropriate number against each question
I.
II.
III.
IV.
Reading characters on the page
Hard |_J_
Organization of information
confusing
Sequence of pages
confusing
Use of terms throughout
website
hard
Hyperlink & navigation
hard I 1
1
h
95
1
\2
i ?
3
1 3
1
j
14
1
I
4
4
5
1
! 5
1
Verv clear
j
|
I T C FOR SRI L A N K A T R A F F F I C P O L I C E
USER E V A L U A T I O N O F A N I N T E R A C T I V E C O M P U T E R S Y S T E M
VI.
Design of a page contains
minimum screen elements
Strongly
Disagree
1
2
3
4
5
Strongly
agree
VI I.
Design of a page provides
relevant information only
Strongly
Disagree
1
2
3
4
5
Strongly
agree
VIII.
Dialog boxes provide adequate
information to perform the task
Strongly
Disagree e
I
IX.
Position of messages on screen
inconsistence | I
Color choices visually
accessible
Design audience appropriate
Poor
rr
Excellent
Poor
1
Excellent
X.
XI.
Strongly
agree
consistence
3. System Capabilities
I.
System Speed
Too slow
II.
System Reliability
unreliable H
III.
System tends to be
noisy
IV.
Correcting your mistake
hard ! T "
Experience and inexperienced
users needs are taken into
consideration
never
V.
[l
| 2
H
I3
I4
1~3
j 5
j Fast enough
fl
R
I reliable
\I
quiet
always
4. Learning
I.
Learning to operate the system
difficult
II.
Exploring new features by trial
and error
difficult
III.
Remembering names and use of
commands
difficult
IV.
Tasks can be performed in a
straight-forward manner
V.
Help messages on the screen
3
|_1
4
|_2_
96
easv
easv
4
unhelpful
5
15
i alwavs
helpful
I TC FOR SRI L A N K A T R A F F F I C P O L I C E
USER E V A L U A T I O N OF AN I N T E R A C T I V E C O M P U T E R SYSTEM
VI.
Supplement reference materials
confusing | 1
j2
1 3
|4
| 3 "] clear
5. Overall impression of the system
Please circle the appropriate number against each question, using the scale given below
1
Strongly disagree
I.
2
Disagree
5
Strongly Agree
4
3
Agree
Neutral
System is quite easy to use
[1
\2
|3
|4
\i
II.
System is highly integrative, easy and quick to access
II
|2
|3
|4
j5
III.
System is unfriendly and not easy to use
| I
1 2
IV.
System is slow in loading
j 1
[2
[3
j4
V.
System is easy to learn and the information provided is
helpful
'
Svstem in general is 'alriuht'
| 1
|2
| 3
14
P
I2
[3
|4
System is a one-stop information centre
| 1
|2
VI.
VII.
1 4
[3
6. Other
1.
Please provide an overall impression of how you feel about the ease of use
II.
What are the features you like best about the web site
97
[5
ITC FOR SRI LANKA TRAFFFIC POLICE
USER EVALUATION OF AN INTERACTIVE COMPUTER SYSTEM
III.
What are the features you like least about the web site
IV.
List the problems you have encountered while using system interface.
V.
Please suggest some ideas about what you would like to see in this system
Thank you for your help and participation
98
Appendix B - Apache , PHP ,MySQL And
PhpMyadmin installation
Installing Apache2
Entering a simple c o m m a n d in the Terminal will start the installation process. F o l l o w
the steps b e l o w to install Apache2.
1. Navigate to Applications> Accessories > Terminal to fire up the terminal
window.
2.
Enter the following c o m m a n d to start the installation:
sudo apt-get install apache2
Enter the password and hit Enter.
3.
Once the installation is completed, close the Terminal w i n d o w . Open w e b
browser and enter the f o l l o w i n g U R L to test if the installation is successful:
http://localhost/
If successful, see the Apache2 placeholder page. (Image b e l o w )
It works!
This is the default web page for this server.
The web server software is running but no content has been added, yet.
Installing PHP5
PHP is a widely used scripting language used by a lot o f w e b developers for designing
dynamic w e b pages. Most o f the modern w e b servers support PHP. F o l l o w the given
steps to install P H P 5 .
1.
Enter the following c o m m a n d to install P H P 5 and A p a c h e P H P 5 module :
sudo
2.
apt-get
install
php5
libapache2-m.od-php5
Restart Apache2.
sudo
/etc/init.d/apache2
99
reload
3.
Create the phpinfo.php file using gedit.
sudogedit
4.
/home/<user>/server/phpinfo.php
Copy the following c o d e into the file and save it.
<?phpphpinfo(); ?>
5.
N o w , open your w e b browser and enter the f o l l o w i n g URL.
http://localhost/phpinfo.php
get a w e b page as s h o w n below.
PHP Version 5.3.2-1 ubuntu4
System
Linux server1.example.com 2.6.32-21-server#32-Ubuntu SMP Fri Apr 16
09:17:34 UTC 2010 x86_64
Build Date
Apr 9 2010 08:09:02
Server API
Apache 2.0 Handler
Virtual Directory Support
disabled
Configuration File (php.ini)
Path
/etc/php5/3pache2
Loaded Configuration File
MdQ h p 5/a p ach e2lp h p. i n i
Scan this dir for additional
.int files
/etciphp5/apache2/conf.d
Additional .ini files parsed
/etc/php5/apache2/conf.d/pdo.ini
PHP API
20090626
PHP Extension
20090626
Zend Extension
220090626
Zend Extension Build
API220090626.NTS
PHP Extension Build
API20090626 MTS •
Debua Build
no
;
This s h o w s that PHP5 has been successfully installed on your O S .
3. Installing M y S Q L
l.
Fire up the Terminal and enter the f o l l o w i n g c o m m a n d :
sudo a p t - g e t i n s t a l l m y s q l - s e r v e r
mysql-client
During the installation, y o u will be asked to provide a password for the M y S Q L
;t
root" user. This password will be used to login to M y S Q L .
100
After installing M y S Q L , you need to configure PHP to use M y S Q L .
Installing the php5-mysql package enables M y S Q L support in PHP. It
enables you to use PHP to connect to M y S Q L databases.
sudo
3.
apt-get
install
php5-mysql
Installing p h p M y A d m i n : p h p M y A d m i n is a w e b interface for managing
your M y S Q L databases. It can perform various actions such as creating,
deleting, modifying
databases etc. T o
install p h p M y A d m i n
enter the
following c o m m a n d
sudo
apt-get
install
phpmyadmin
During the installation use the following options:
W e b server to configure automatically: A p a c h e 2
Configure database for phpmyadmin with d b c o n f i g - c o m m o n ? : N o
iv. T o a c c e s s p h p M y A d m i n , open your browser and enter the f o l l o w i n g U R L :
http://localhost/phpmyadmin/
[__[____][____1
•
WordPress i l l )
•
i n f o r m a t i o n _ s c h e m a (28)
•
m y s q l (23)
•
p h p m y a d m i n (9)
localhost
Databases iSSOL Status H Variables |T|]ChareotsfflEngines ^Privileges i Replication
^Processes ^Export ^Import ^Synchronize
,9
MySQL
Actions
Change password
ffl
Log out
S$
Please select a database
Server Localhost via UNIX socket
Server version: 5.1.41-3ubuntul2.3
•
MySQL localhost
•
~& Create new database ©
Protocol version: 10
User
rootrstlocalhost
M y S Q L c h a r s e t : U T F - 8 U n i c o d e (utf8)
El
Web server
Create
MySQL connection collation: j utf8_general_ci
HE
Interface
V
©
•
Apache/2.2.14 (Ubuntu)
•
M y S Q L client version: 5.1.41
•
PHPextension: mysql
phpMyAdmin
Language ©:
f
j English
•
Theme
•
Style:
1
C u s t o m color: &
Original
Version information:
Documentation
Reset
£3
Wiki
(Source: ubuntu-mamial.org and Ubuntu 10.04 manual)
101
3.3.2debl
Appendix C - U s e r Manual
C o n s i d e r i n g N o r m a l users (civilian)
1.
Open the Web browser (Mozilla Firefox is recommended).
2.
Type the URL then display the site
Civilian User's Available Options are display Following Screen Shot. System
provides function users can access main menu and top menu through.
brawng News
* Educational program carried out about the prevention of accicents.
Road Signs
Driving Lesson
Auction-Old Goods
Test Your Knowetge
Traffic Police
Traffic Pctice Headcuarters was established in 1953 ard it assists the inspector Generai of Police n
taking ceosions on traffic pcttces and thereafter ;t helps to :mc*ement them and cicsety rnonttor
tnpfcmentation. Polking of toad traffic in Sri Lanka has become a major task for the Police.
lmpterr.entation and Enforcement of regulators and Laws comes through power: vested on the PaVcc by
the voter 'raffic Act of l95t.The necessity to 'orm a separate unit to contra traffic with.'n the city was
recogrced-n 1950 by the CC*CT£O Metropolitan Police. Due to the increase fn volume of road traffic n
the :aand the Traffic Headquarters was inaugurated '.n 1953 to cover the entire island.
Every station presently maintains a traf'w: branch. Officers entrusted with this specific duty are
icert-fied by the white coloured top part of their peak caps anc the white belt with cross belt they
wear. Tese eff'cers have undergone extensive training in vehicle examining, traffic accicent
irvest-gat'ons ard court proceexjres
Traffic warcens employee by the controirng bodies in the cities ano towns assist the Police to a
*" certain cegree of parking of vehicles within town limits.
Remember M e l l _
LOGIN
Wttn the ncreare of the numbers of vehicles on the highway? causing cont-nuous traffic congestions
** m the cites especially during the peak hours, the chares }n the Police tc meet wrth the situation
for smooth, running of traffic has a corresponding 'ncrease.
-
Figure C l : Main page of the Civilian users view
3.
If someone wants to change site language they can click related language icon on
the top blue bar containing (Figure C.2).
4. Then Web site content change to selected language.
102
Tamil l a n g u a g e
Sinhala l a n g u a g e
English language
Figure C.2:Lunguage changer
5.
Other w e b site c o n t e n t users can a c c e s s m e n u t h r o u g h
• fits
I'Q&Zi
S;3*f
Figure C.3: Main Menu
6.
If user w a n t s t o s e n d m e s s a g e s t o IGP t h e n s e l e c t Tell IGP m e n u t h e n a p p e a r following
Form. This form s o m e
b e f o r e click s e n d bu
elds are indica o n read * mark t h a t m e n
on.
•
Figure C.4: Tell IGP Form
103
o n that
II y o u must
Users can face to
online D r i v i n g T h e o r y test practice
O p t i o n go through m a i n
m e n u .but here user w a n t to register that information provide step by step in three
languages .after registering users their m a i l account got username and password
:
IL TP
eti-S
- E *
— '
IJr."fa-is r J j c. t - J 3 * 3 r ^ t > f .
S"*")
- [
= - " . «n
• ...'win'
t
r
•
*-~ -** '
;
,
1
3 cs* 3 i j « ¥ e ^ ' ^ „ ' . ^ . ^ • ^ ' B ^ . ^ ^ ; • . ^ 3 * . : iW-irW ,
tis-**S3
m 3 s c s ? 3 « j -Vs..
Figure C . 5 : user registration help and login prompt f o r online e x a m
A f t e r login online e x a m page user w a n t to select question title then can access
m u l t i p l e choice questions. H e or she can answer g i v e n t i m e duration and user can
save their answer page by page f i n a l l y they w a n t to submit then.
[
Traffflc sign - Attempt 3
il
j f Ttm« Ramaining
'!
P a g « : 1 2 [lie.:)
0:29:51
:
1
j
VaiKs 10
what is the meaning cittiissgn?
Choose one answer
J
?
a. Hair Pin BerioTc left Ahead
b Double Bend To left Ahead
c. C c r / l e Bend To Right Ahead
5
d. hair Pin Bend To Right Ahead
Figure C . 6 : M u l t i p l e s choice question
104
Considering Accountable officer
First Accountable users want to login officer's area to site then again confirming
logging him or she can access data entering page.
Sign
In
Plewe er.itt U'^f name
Figure C . 6 : Accountable Officer Data entry page a c c e s s flow
If accident in formation enter ring form select, user can input data .some time
entering time all information are not available so that time user want to select
uncompleted option in the form. Data typing filed users can use Tamil or Sinhala
typing. That purpose user must use Sinhala and Tamil U n i c o d e front.
105
Figure C.7: Accident Information input form
'
.
t
e
n
t
* 3
M
' U
n
'l t
D
K
l Hi Hit:
Figure C.7: Road offence Information input form
3.
Accountable
officer
can
view
and
complete
Uncompleted
"Incomplete Case " page
Ineomplata Dnvors Ootatlet
lncomp<BlB Dead P a r i o n i
Figure C.7: Incomplete Case page
106
Cases
using
Case transfer page display directly forward case to court cases and fines not paid
within 14 day cases information. Here officer want manually transfer this cases to
court, (officer can view his branch related cases only)
0S?E«
-I-I-PJV
&-X:;!?C«I!
TOT-TRIR
CU-.CIIB
LC<.);:,rt;:::URJ;
Figure C.7: Court forward pending cases
Court case page can maintain court orders and related information
HOT C
O
U
R
TD
A
T
E
Ca* TJ^
Figure C.8: Court cases information
Fines pay page provide facility to finish the case after the violator fines pay.
Figure C.9: Pay fines
107
7.
Report
module
has
different
dynamical
change
parameters.
Changing
parameters user can get different type o f summary's information and charts.
j
Reports
i
Traffic Pottce - Summary
summaryviclater
El
Escort tc
Excel
E^rort
ro
Word
*isl
and
Filters
Date
betv/^en
Search
I [
~
R R W D 0 G 0 0 1
3
2G1Q/12/2S
. S 2 0 3 0 3 2 4 5 v
4
2 0 1 0 / 1 2 / 2 S
•Galle
Salle
' 3
2010/12/11
Galle
Galle
•77777777
Page
1 to
Hi
3 of
1 -
M of 3
C o l o m b o
Records
Per
Bambalaoitiya
Page
B
Figure C I O : District or police station vise violated road rules summary
T
r
a
f
f
i
c Police - S
u
m
m
a
r
y
13
S
e
a
r
c
h
R
e
s
e
t
•:
ions/12/n
2
Z
0
1
O
/
1
2
/
2
S
1 t o 2 or" 3
Road « » • VioJaU
[
E
m
p
r
)
.
B*mbil»piti', i - <
a
h
u
>
v
a
»
lG
»
*
l •H
i
p
u
c
»
l
i
108
rtret* n
that
Appendix D - Recorded Test Cases
Test case i d :
1
Unit to test:
Test the login into system
Assumptions:
Valid user name and passwords are entered manually when
the system implement
Test data:
User n a m e - S G 3 4 5 6 7 8
Password- C h @ n G 3 1 T
Steps to be executed:
Enter user name and password in the text b o x
Expected result:
Display T h e data Entering main Page
Actual result:
Display the Page
Pass/Fail:
Pass
Comments:
Module work correctly
Test case i d :
2
Unit to test:
Test the login into system
Assumptions:
Valid user name and passwords are entered manually w h e n
the system implement
Test data:
User n a m e - S G 3 4 5 6 7 8
Password- C h i 2 3
Steps to be executed:
Enter user name and password in the text b o x
Expected result:
Display The data Entering main Page
Actual result:
Error massage and redirect to login page
Pass/Fail:
Pass
Comments:
Module work correctly
Test case i d :
3
Unit to test:
Accident Information Input
Assumptions:
Valid user is login to the system
Test data:
Location - B e l i g a h a Junction
Road N a m e : Galle T o karapityia
Date - 2 0 1 0 - 1 0 - 2 5
Time:6.00a.m. - 8.00a.m.
Nmber Of Vehicles : 1
N u m b e r o f dead :
N u m b e r O f Injured :
Steps to be executed:
Enter All the text b o x e s with data
Expected result:
Dynamical Generated Form According to N m b e r O f
Vehicles. N u m b e r o f dead .Number O f Injured
Actual result:
Dynamically generated Driver's and vehicle information
109
entering form set
Pass/Fail:
Pass
Comments:
Module work correctly
Test case i d :
4
Unit to test:
Accident Information Input
Assumptions:
Valid user is login to the system
Test data:
Location - B a t a g a n w i l a
Road N a m e : Galle T o karapityia
Date -2010-10-21
Time:8.00a.m. - 10.00a.m.
N m b e r O f Vehicals : 1
N u m b e r o f dead :1
N u m b e r O f Injured :
Steps to be executed:
Expected result:
Enter All the text boxes with data
Dynamical Generated Form According to N m b e r O f
Vehicals, N u m b e r o f dead ,Number O f Injured
Actual result:
Dynamically generated Driver's , dead person and vehicle
information entering form set
Pass/Fail:
Pass
Comments:
Module work correctly
Test case i d :
5
Unit to test:
Accident Information Input
Assumptions:
Valid user is login to the system
Test data:
Location - A t a b a g h a
Road N a m e : Galle T o Wakwella
Date - 2 0 1 0 - 1 0 - 2 1
Time:8.00a.m. - 10.00a.m.
N m b e r O f Vehicals : 1
Number o f dead :
N u m b e r O f Injured :2
Steps to be executed:
Enter All the text b o x e s with data
Expected result:
Dynamical Generated Form According to N m b e r O f
Vehicals, Number o f dead ,Number O f Injured
Actual result:
Dynamically generated Driver's , Injured person and vehicle
information entering form set
Pass/Fail:
Pass
Comments:
Module work correctly
110
Test case i d :
6
Unit to test:
Accident Information Input
Assumptions:
Valid user is login to the system
Test data:
Location - A t a b a g h a
Road N a m e : Galle T o Wakwella
Date - 2 0 1 0 - 1 0 - 2 0
Time:8.00a.m. - 10.00a.m.
N u m b e r O f Vehicles : 1
Number o f dead : 1
Number O f Injured :2
Steps to be executed:
Enter All the text b o x e s with data
Expected result:
Dynamical Generated Form According to N m b e r O f
Vehicles, N u m b e r o f dead ,Number O f Injured
Actual result:
Dynamically generated Driver's , Injured person , dead
person and vehicle information entering form set
Pass/Fail:
Pass
Comments:
Module work correctly