Professional Documents
Culture Documents
and Obesity
Patrick McAllister
University of Ulster
Jordanstown, Shore Road
Newtownabbey, Northern Ireland, UK
+44 28 90368156
University of Ulster
Jordanstown, Shore Road
Newtownabbey, Northern Ireland, UK
+44 28 90368156
mcallisterp2@email.ulster.ac.uk
Rb.Bond@ulster.ac.uk
ABSTRACT
The amount of people being diagnosed with diabetes is ever
increasing and smartphone applications allow such patients to
self-manage their condition through documenting their readings
for analysis and future reference. These management applications
are designed to enable users to take charge of their condition and
to promote healthy living. Many of these diabetes and obesity
monitoring applications are native to a specific operating system,
which may restrict other users using them. Web applications
provides a solution to this. Many mobile web applications require
network access to fully operate. The proposed diabetes and
obesity management system utilises a hybrid methodology that
will be both native and web based. The system is developed using
the latest web technologies with a strong focus on utilising
responsive design and offline storage capabilities that can be
uploaded to a cloud based database.
General Terms
Self-Management, Offline, Responsive, Hybrid, Performance,
Mobile, application
Keywords
Offline, human computer interaction, storage, browser, operating
system, monitoring, IndexedDB, HTML5, JavaScript
1. INTRODUCTION
Diabetes is a growing issue that needs to be addressed. A report
published by www.diabetes.org.uk stated that a person is
diagnosed as diabetic 'roughly every three minutes' in the UK [1].
Statistics from Diabetes UK have recorded a year on year increase
in diabetes in the UK. Diabetes UK state that 'since 1996, people
diagnosed with diabetes has increased from 1.4 million - 3.2
million' [1,2]. The IDF (International Diabetes Federation) state
that globally '382 million people have diabetes and that this figure
will increase to 592 million by 2035'. IDF along with Diabetes
UK state that type 2 diabetes is increasing in every country and
the age group 40-59 holds the greatest number of people living
with the condition [3].
In Northern Ireland, there are an estimated 70,000 people living
with the condition, which brings an economic burden to the
Northern Ireland Healthcare service [4]. During 2010 the
treatment and care associated with diabetes provided cost the
2. METHOD
2.1 Technologies Used
To develop the diabetes and obesity self-management system
various web technologies were used. The application was
developed using the bootstrap framework [11]. Bootstrap allows
the system to become responsive in relation to the device
accessing the application. The application will employ offline
technologies to enable users to save their data offline. IndexedDB
was utilised and this allows data to be stored within the user's
Internet browser [12]. IndexedDB will play a major role in
enabling data to be saved in an offline database and allowing
users to use system functionality regardless of network access.
HTML5 cache is used to enable web pages to be accessed offline.
HTML5 cache consists of a manifest file that contains a list of
different items to be cached within the browser. Local web
storage will also be employed to store data in local storage
objects. The objects are able to be accessed across the system. The
application also enables users to upload their data to their account
and ultimately share their data. PHP and MySQL are used to
enable users to upload their data and store it within the database
[13].
2.2 Implementation
Bootstrap is used as a framework for the prototype. This increases
the accessibility and usability of the system across different
devices. The client-side development consisted of using CSS and
HTML. The forms to store the data within the prototype uses
HTML5 element types and validation to help define correct data
input. IndexedDB local storage was developed using an
IDBwrapper [11]. This wrapper allows IndexedDB databases to
be created easily through the use of the jQuery API. IndexedDB
was used to store data from each form within the application. The
IDBwrapper implements a database within the browser, which is
able to store these items. Each item within the database store has a
unique ID. This unique ID can then be used as a keypath for
deletion using JavaScript. HTML5 will also be used within the
prototype application. HTML5 adds greater interaction to web
pages through the use of different features and elements.
HTML5 is used to graph data from within IndexedDB to visualise
user logs. A HTML5 graph plug-in was used as a way in which
data could be visualised. To plot the data from the IndexedDB
store, each item within the store was stored within an array. The
3. RESULTS
3.1 Usability Results
Figure 7: Table showing standard deviation for each task. Horizontal represents task number and vertical represents time in
seconds.
Figure 7 illustrates the standard deviation for each task completed
by the users. The standard deviation shows the amount variance in
the data from the mean. From figure 7, you can see that there is
great variance in the majority of the tasks. Task 7 and 17 has the
least variability in comparison to the other tasks. These two tasks
were relatively simple in regards to the other tasks within the
study. Users may have felt that this task was straightforward
which shows a low variance within the dataset.
This would then relate to the issue users had in viewing their
uploaded logs to their account in TTC study. A user also gave the
recommendation of adding a calorie counter to track food intake
as well as an exercise tracker to document exercise regimes and
energy expended.
4. DISCUSSION
The purpose of this application was to increase usability and
human computer interaction by combining offline technologies to
create a hybrid web application. The implemented web
application integrates offline web technologies that allow the user
to store data in a local database in the browser. The prototype uses
web technologies to ensure that the system is easily accessible
without confining to a particular operating system. Bootstrap is
employed to promote accessibility and usability on different
devices. HTML5 application cache allows the user to operate the
5. CONCLUSION
The results of this research show that IndexedDB and other offline
technologies can be incorporated together to create a diabetes self
management system. HTML5 and JavaScript were used to
promote cross platform usability and to allow users to use the
system regardless of browser or device. Testing revealed that the
developed application was able to function efficiently across the
five main browsers. IndexedDB and HTML5 application cache
operated correctly across these browsers however various HTML5
input form elements did not render correctly (Safari desktop web
browser and Firefox).
Results from device testing on the two main mobile operating
systems Android 4.4 and iOS 7 showed that the main functionality
worked correctly. Responsive framework also worked efficiently
to promote usability and accessibility. Preliminary results from
usability testing showed that users were able to use the system
comfortably. All users stated they would personally use the
application to help monitor diabetes and/or obesity. Users felt that
the system was easy to navigate around to find key functionality.
However, in order to attain a more detailed analysis regarding the
application, an extended trial period with a larger group of users is
needed.
6. ACKNOWLEDGMENTS
Acknowledgement to users who participated during the usability
study and questionnaire.
REFERENCES
[1] Diabetes UK, State of the Nation 2012; [Accessed February
2014]. http://www.diabetes.org.uk/Documents/Reports/Stateof-the-Nation-2012.pdf
[2] Diabetes UK, Diabetes in the UK; Key Statistics on
Diabetes, [Accessed February 2014].
http://www.diabetes.org.uk/Documents/Reports/Diabetes-inthe-UK-2012.pdf
[3] International Diabetes Federation, The Global Burden,
Diabetes and Impaired Glucose Tolerance; Diabetes Atlas
Fourth Edition; [Accessed April 2014].
http://www.idf.org/sites/default/files/IDF_Diabetes_Atlas_2n
dEd.pdf