IFS234-Lecture4 - WordPress.com

needlessoybeanMobile - Wireless

Dec 10, 2013 (3 years and 10 months ago)

127 views

TOPIC 3


SERVER SIDE DATABASE
APPLICATIONS AND MOBILE CLIENTS

NOTES ON APPLICATION ARCHITECTURE

IFS 234


SERVER SIDE APPLICATION
DEVELOPMENT

CLIENT AND SERVER ARCHITECTURE

Web server:

MySQL (mysqld service)

Apache (httpd service)

PHP / phpMyAdmin






MySQL

Apache




PHP

Client / Mobile decive:

Java (JRE 6 / 7)

Eclipse with Android plug
-
ins (DEV)

Android SDK’s (DEV)

SQLite (android.database library)





Android

Java


SQLite

CLIENT AND SERVER / ANOTHER ARCHITECTURE

Web server:

MySQL (mysqld service)

Apache (httpd service)

PHP / phpMyAdmin






MySQL

Apache




PHP

Client / Mobile decive:

Web browser

SQLite (library)







PhoneGap





HTML5

Javascript

JQuery

SQLite

EXAMPLE: WEATHER APP


Server stores up
-
to
-
date weather information in a
MySQL database


This information can be retrieved by calling a PHP
function from Java code


the PHP function returns this
information (format?)


Android Java: receive results from PHP call, and store
this information in SQLite database


Now this information resides on mobile device, and can
be displayed on screen



WEB SERVICES AND API’S?


Using existing web services is helpful (and an easy
way) for getting the data/information you need for your
app


Example: weather services, news feeds



You can also look at using API’s (application
programming interfaces) like the Twitter API, the
Facebook API, etc.