DAFTAR ISI HALAMAN SAMPUL ................................................................................... ........i HALAMAN JUDUL ...................................................................................... .......ii HALAMAN PENGESAHAN ........................................................................ ......iii HALAMAN PERNYATAAN ........................................................................ ......iv PRAKATA ...................................................................................................... .......v DAFTAR ISI ................................................................................................... .....vii DAFTAR GAMBAR ...................................................................................... ......xi DAFTAR TABEL .......................................................................................... .....xv INTISARI ....................................................................................................... ....xvi ABSTRAK ...................................................................................................... ...xvii BAB I PENDAHULUAN ...................................................................................... 1 1.1
Latar Belakang ......................................................................................... 1
1.2
Rumusan Masalah .................................................................................... 2
1.3
Batasan Masalah ....................................................................................... 2
1.4
Tujuan Penelitian ...................................................................................... 2
1.5
Manfaat Penelitian .................................................................................... 2
1.6
Metodologi ............................................................................................... 3
1.7
Sistem Penulisan....................................................................................... 4
BAB II TINJAUAN PUSTAKA........................................................................... 6 BAB III LANDASAN TEORI ............................................................................ 10 3.1
Sistem ..................................................................................................... 10
3.2
Informasi ................................................................................................ 12
3.2.1.
Siklus Informasi .............................................................................. 13
3.2.2.
Kualitas Informasi ........................................................................... 13
3.3
Sistem Informasi ..................................................................................... 14
3.3.1.
Kompnen Sistem Informasi............................................................. 14
3.3.2.
Siklus Hidup Pengembangan Sistem .............................................. 15
3.3.3.
Analisis Sistem Informasi ............................................................... 17
3.4
UML (Unified Modelling Language) ..................................................... 18
3.4.1.
Ragam Simbol UML ....................................................................... 18
3.4.2.
Diagram Use Case ........................................................................... 20
3.5
Diagram Aktivitas (Activity Diagram) ................................................... 21
3.6
Diagram Urutan (Sequence Diagram) .................................................... 23
3.7
Basis Data ............................................................................................... 24
3.7.1.
Pengertian Basis Data ..................................................................... 24
vii
3.7.2.
Model Basis Data ............................................................................ 24
3.8
Relasi ...................................................................................................... 27
3.9
Derajat Relasi (Kardinalitas) .................................................................. 27
3.10
Kunci (Key) ............................................................................................ 28
3.11
Query ...................................................................................................... 29
3.12
HTML ..................................................................................................... 29
3.13
PHP ......................................................................................................... 30
3.14
Cascading Style Sheet (CSS) .................................................................. 31
3.15
MySQL ................................................................................................... 32
3.16
XAMPP .................................................................................................. 33
3.17
Short Message Service (SMS) ................................................................ 34
3.17.1. Global System For Mobile Communication (GSM) ....................... 34 3.17.2. Short Message Service Center (SMSC) .......................................... 31 3.17.3. SMS Gateway ................................................................................. 32 3.17.4. Home Location Register (HLR) ...................................................... 35 3.17.5. Mobile Switching Center (MSC)..................................................... 35 3.17.6. Aplikasi Berbasis SMS ................................................................... 35 3.18
Klinik Kecantikan Aura Skin Care ......................................................... 37
BAB IV ANALISIS DAN PERANCANGAN SISTEM ................................... 38 4.1
Analisis Sistem ....................................................................................... 38
4.1.1.
Analisis Kebutuhan Pengguna Sistem ............................................ 38
4.1.2.
Analisis Kebutuhan Sistem Informasi ............................................. 39
4.1.3.
Analisis Kebutuhan Fungsional Sistem .......................................... 41
4.1.4.
Analisis Kebutuhan Non-Fungsional Sistem .................................. 41
4.2
Perancangan Sistem ................................................................................ 41
4.2.1.
Perancangan Proses ......................................................................... 42
4.2.2.
Perancangan Basis Data .................................................................. 52
4.3
Entity Relation Diagram (ERD) ............................................................. 52
4.4
Perancangan Tabel ................................................................................. 54
4.5
Relasi Antar Tabel .................................................................................. 58
4.6
Rancangan Struktur Menu ...................................................................... 58
4.7
Perancangan Antarmuka ......................................................................... 60
4.7.1.
Rancangan Halaman Login ............................................................. 60
4.7.2.
Rancangan Halaman Utama ............................................................ 60
viii
4.7.3.
Rancangan Halaman Home ............................................................. 61
4.7.4.
Rancangan Halaman Tambah User ................................................. 62
4.7.5.
Rancangan Halaman Edit User ....................................................... 62
4.7.6.
Rancangan Halaman Treatment ...................................................... 63
4.7.7.
Rancangan Halaman Member Treatment ........................................ 63
4.7.8.
Rancangan Halaman Dokter ........................................................... 64
4.7.9.
Rancangan Halaman Tambah Data Dokter ..................................... 64
4.7.10. Rancangan Halaman Edit Data Dokter ........................................... 65 4.7.11. Rancangan Halaman Member ......................................................... 65 4.7.12. Rancangan Halaman Tambah Data Member................................... 66 4.7.13. Rancangan Halaman Edit Data Member ......................................... 66 4.7.14. Rancangan Halaman Produk ........................................................... 67 4.7.15. Rancangan Halaman Tambah Produk ............................................. 68 4.7.16. Rancangan Halaman Edit Produk .................................................. 68 4.7.17. Rancangan Halaman Tambah Kategori Produk .............................. 69 4.7.18. Rancangan Halaman Edit Kategori Produk .................................... 69 4.7.19. Rancangan Halaman Treatment Kategori ....................................... 70 4.7.20. Rancangan Halaman Tambah Data Treatment Kategori ................ 70 4.7.21. Rancangan Halaman Edit Data Treatment Kategori ....................... 71 4.8
Rancangan Modul SMS Gateway .......................................................... 71
BAB V IMPLEMENTASI SISTEM .................................................................. 72 5.1
Spesifikasi Sistem................................................................................... 72
5.2
Implementasi Persiapan Sistem .............................................................. 72
5.2.1.
Membuat Database beauty .............................................................. 72
5.2.2.
Koneksi Data base ........................................................................... 76
5.3
Implementasi WebInterface .................................................................... 76
5.3.1.
Halaman Login ................................................................................ 76
5.3.2.
Halaman Home ................................................................................ 77
5.3.3.
Halaman Tambah Akun User.......................................................... 78
5.3.4.
Halaman Edit Data User ................................................................. 79
5.3.5.
Halaman Tambah Data Dokter........................................................ 80
5.3.6.
Halaman Edit Data Dokter .............................................................. 81
5.3.7.
Halaman Tambah Data Member ..................................................... 82
5.3.8.
Halaman Edit Data Member ............................................................ 83
ix
5.3.9.
Halaman Tambah Data Produk ....................................................... 84
5.3.10. Halaman Edit Data Produk.............................................................. 85 5.3.11. Halaman Tambah Data Treatment Kategori ................................... 86 5.3.12. Halaman Edit Data Treatment Kategori .......................................... 87 5.3.13. Halaman Treatment ........................................................................ 88 5.3.14. Halaman Record .............................................................................. 89 5.4
Implementasi SMS Gateway .................................................................. 90
5.4.1.
Instalasi Gammu SMS Gateway ..................................................... 91
5.4.2.
Menghubungkan Web Interface dengan Modul SMS Gateway...... 94
BAB VI HASIL PENELITIAN DAN PEMBAHASAN................................... 95 6.1
Proses Login ........................................................................................... 95
6.2
Menjalankan Sistem Sebagai Admin ...................................................... 96
6.2.1.
Pengelolaan Data User .................................................................... 97
6.2.2.
Proses Input Data User.................................................................... 97
6.2.3.
Proses Pengelolaan Data Dokter ..................................................... 98
6.2.4.
Proses Input Data Dokter ................................................................ 98
6.2.5.
Proses Pengelolaan Data Member ................................................... 99
6.2.6.
Proses Input Data Member .............................................................. 99
6.2.7.
Proses Pengelolaan Data Produk................................................... 100
6.2.8.
Proses Input Data Produk .............................................................. 100
6.2.9.
Proses Pengelolaan Data Treatment Kategori ............................... 101
6.2.10. Input Data Treatment Kategori ..................................................... 101 6.2.11. Proses Pengiriman SMS Gateway................................................. 102 6.3
Menjalankan Sistem Sebagai User ....................................................... 103
6.3.1.
Proses Pengelolaan Data Treatment .............................................. 103
6.3.2.
Input Data Treatment .................................................................... 104
6.4
Proses Lihat Laporan ............................................................................ 104
6.4.1.
Laporan Dokter ............................................................................. 104
6.4.2.
Laporan Member ........................................................................... 105
6.4.3.
Laporan Treatment ........................................................................ 106
BAB VII KESIMPULAN DAN SARAN ......................................................... 107 7.1
Kesimpulan ........................................................................................... 107
7.2
Saran ..................................................................................................... 107
DAFTAR PUSTAKA ....................................................................................... 108
x
DAFTAR GAMBAR Gambar 3.1 Siklus Informasi (Jogiyanto, 2005) ................................................... 13 Gambar 3.2 Siklus Hidup Pengembangan Sistem (Jogiyanto, 2005) ................... 16 Gambar 3.3 Contoh Dokumen HTML (Sunyoto, 2007) ....................................... 30 Gambar 3.4 Cara Kerja PHP (Sunyoto, 2007) ...................................................... 30 Gambar 3.5 Contoh Dokumen PHP (Sunyoto, 2007) ........................................... 31 Gambar 3.6 Contoh CSS Eksternal (Sunyoto, 2007) ............................................ 31 Gambar 3.7 Infrastruktur Jaringan Mobile ............................................................ 36 Gambar 4.1 Use Case Diagram ............................................................................. 42 Gambar 4.2 Activity Diagram Tambah Data User ................................................ 43 Gambar 4.3 Activity Diagram Ubah Data User .................................................... 43 Gambar 4.4 Activity Diagram Hapus Data User ................................................... 44 Gambar 4.5 Activity Diagram Tambah Data Dokter ............................................ 44 Gambar 4.6 Activity Diagram Ubah Data Dokter ................................................. 45 Gambar 4.7 Activity Diagram hapus Data Dokter ................................................ 45 Gambar 4.8 Activity Diagram tambah Data Member............................................ 46 Gambar 4.9 Activity Diagram Ubah Data Member............................................... 46 Gambar 4.10 Activity Diagram Hapus Data Member ........................................... 47 Gambar 4.11 Activity Diagram Tambah Data Produk .......................................... 47 Gambar 4.12 Activity Diagram Ubah Data Produk .............................................. 48 Gambar 4.13 Activity Diagram Hapus Data Produk ............................................. 48 Gambar 4.14 Activity Diagram Tambah Data Treatment Kategori ...................... 49 Gambar 4.15 Activity Diagram Ubah Data Treatment Kategori........................... 50 Gambar 4.16 Activity Diagram Hapus Data Treatment Kategori ......................... 50 Gambar 4.17 Activity Diagram Tambah Proses Treatment .................................. 51 Gambar 4.18 Activity Diagram Proses Pengiriman SMS Gateway ...................... 51 Gambar 4.19 Sequance Diagram Proses Treatment .............................................. 52 Gambar 4.20 Rancangan Entity Relationship Diagram ........................................ 53 Gambar 4.21 Relasi Antar Tabel ........................................................................... 58 Gambar 4.22 Rancangan Struktur Menu............................................................... 59 Gambar 4.23 Tampilan Halaman login ................................................................. 60 Gambar 4.24 Tampilan Halaman Utama .............................................................. 61 Gambar 4.25 Tampilan Halaman Home................................................................ 61
xi
Gambar 4.26 Tampilan Halaman Tambah User ................................................... 62 Gambar 4.27 Tampilan Halaman Edit User .......................................................... 62 Gambar 4.28 Tampilan Halaman Treatment ......................................................... 63 Gambar 4.29 Tampilan Halaman Member Treatment .......................................... 63 Gambar 4.30 Tampilan Halaman Dokter .............................................................. 64 Gambar 4.31 Tampilan Halaman Tambah Data Dokter ....................................... 64 Gambar 4.32 Tampilan Halaman Edit Data Dokter .............................................. 65 Gambar 4.33 Tampilan Halaman Member ............................................................ 65 Gambar 4.34 Tampilan Halaman Tambah Data Member ..................................... 66 Gambar 4.35 Tampilan Halaman Edit Data Member............................................ 67 Gambar 4.36 Tampilan Halaman Produk.............................................................. 67 Gambar 4.37 Tampilan Halaman Tambah Produk ............................................... 68 Gambar 4.38 Tampilan Halaman Edit Produk ...................................................... 68 Gambar 4.39 Tampilan Halaman Tambah Kategori Produk ................................ 69 Gambar 4.40 Tampilan Halaman Edit Kategori Produk ....................................... 69 Gambar 4.41 Tampilan Halaman Treatment Kategori .......................................... 70 Gambar 4.42 Tampilan Halaman Tambah Data Treatment Kategori ................... 70 Gambar 4.43 Tampilan Halaman Edit Data Treatment Kategori ......................... 71 Gambar 5.1 Sintak membuat database beauty ...................................................... 72 Gambar 5.2 Sintak membuat tabel users .............................................................. 73 Gambar 5.3 Sintak membuat tabel members ........................................................ 73 Gambar 5.4 Sintak membuat tabel doctors ........................................................... 74 Gambar 5.5 Sintak membuat tabel products ......................................................... 74 Gambar 5.6 Sintak Membuat tabel products_categories ...................................... 74 Gambar 5.7 Sintak membuat tabel groups ............................................................ 75 Gambar 5.8 Sintak membuat tabel treatment ........................................................ 75 Gambar 5.9 Sintak membuat tabel treatment_categories ..................................... 75 Gambar 5.10 Kode Program Koneksi Data base .................................................. 76 Gambar 5.11 Halaman Login ................................................................................ 76 Gambar 5.12 Kode Program Controller pada proses login................................... 77 Gambar 5.13 Halaman Home ................................................................................ 77 Gambar 5.14 Halaman Tambah Akun User .......................................................... 78 Gambar 5.15 Kode Program Controller Tambah Akun User ............................... 78 Gambar 5.16 Halaman Edit Data User ................................................................. 79
xii
Gambar 5.17 Kode Program Controller Edit Akun User ..................................... 79 Gambar 5.18 Halaman Tambah Data Dokter ........................................................ 80 Gambar 5.19 Kode Program Controller Tambah Data Dokter ............................. 80 Gambar 5.20 Halaman Edit Data Dokter .............................................................. 81 Gambar 5.21 Kode Program Controller Edit Data Dokter ................................... 81 Gambar 5.22 Halaman Tambah Data Member ..................................................... 82 Gambar 5.23 Kode Progam Controller Tambah Data Member ............................ 82 Gambar 5.24 Halaman Edit Data Member ............................................................ 83 Gambar 5.25 Kode Program Controller Edit Data Member ................................. 83 Gambar 5.26 Halaman Tambah Data Produk ....................................................... 84 Gambar 5.27 Kode Program Controller Tambah Data Produk ............................ 84 Gambar 5.28 Halaman Edit Data Produk .............................................................. 85 Gambar 5.29 Kode Program Controller Edit Data Produk ................................... 85 Gambar 5.30 Halaman Tambah Data Treatment Kategori ................................... 86 Gambar 5.31 Kode Program Controller Tambah Data Treatment Kategori ........ 86 Gambar 5.32 Halaman Edit Data Treatment Kategori .......................................... 87 Gambar 5.33 Kode Program Controller Edit Data Treatment Kategori ............... 87 Gambar 5.34 Halaman Treatment ......................................................................... 88 Gambar 5.35 Kode Program Controller Proses Treatment................................... 88 Gambar 5.36 Halaman Record .............................................................................. 89 Gambar 5.37 Kode Program Controller Halaman Record.................................... 89 Gambar 5.37 (Lanjutan) Kode Program Controller Halaman Record .................. 90 Gambar 5.38 Sintak file gammu ........................................................................... 91 Gambar 5.39 Sintak Port dan Connection ............................................................ 91 Gambar 5.40 Sintak mengidentifikasi gammu ...................................................... 91 Gambar 5.41 Perintah Identifikasi Modem ........................................................... 92 Gambar 5.42 Sintak konfigurasi database ............................................................ 92 Gambar 5.43 Sintak Instalasi Database MySQL ................................................... 92 Gambar 5.44 Install Gammu sebagai Service ....................................................... 93 Gambar 5.45 Menjalankan Service Gammu ......................................................... 93 Gambar 5.46 Kode Program SMS ........................................................................ 94 Gambar 6.1 FormLogin ......................................................................................... 95 Gambar 6.2 Pesan Kesalahan Username dan password ........................................ 96 Gambar 6.3 Halaman UtamaLogin sebagai Admin ............................................... 96
xiii
Gambar 6.4 Halaman Pengelolaan Data User....................................................... 97 Gambar 6.5 Halaman Input Data User .................................................................. 97 Gambar 6.6 Halaman Pengelolaan Data Dokter ................................................... 98 Gambar 6.7 Halaman Input Data Dokter .............................................................. 98 Gambar 6.8 Halaman Pengelolaan Data Member ................................................. 99 Gambar 6.9 Halaman Input Data Member ............................................................ 99 Gambar 6.10 Halaman Pengelolaan Data Produk ............................................... 100 Gambar 6.11 Halaman Input Data Produk .......................................................... 100 Gambar 6.12 Halaman Pengelolaan Data Produk ............................................... 101 Gambar 6.13 Halaman Input Data Treatment Kategori ...................................... 101 Gambar 6.14 Proses Pengiriman SMS Gateway ................................................. 102 Gambar 6.15 Contoh SMS .................................................................................. 102 Gambar 6.16 Halaman UtamaLogin sebagai User .............................................. 103 Gambar 6.17 Halaman Pengelolaan Data Treatment .......................................... 103 Gambar 6.18 Halaman Input Data Treatment ..................................................... 104 Gambar 6.19 Laporan Dokter ............................................................................. 105 Gambar 6.20 Laporan Member ........................................................................... 105 Gambar 6.21 Laporan Treatment........................................................................ 106
xiv
DAFTAR TABEL Tabel 2.1 Perbandingan Tinjauan Pustaka .............................................................. 8 Tabel 3.1 Komponen Diagram Use Case .............................................................. 21 Tabel 3.2 Komponen Diagram Activity ................................................................. 22 Tabel 3.3 Komponen Diagram Sequence .............................................................. 23 Tabel 3.4 Simbol-simbol dalam Diagram E-R ...................................................... 26 Tabel 4.1 Struktur tabel user ................................................................................. 54 Tabel 4.2 Struktur tabel data dokter ...................................................................... 54 Tabel 4.3 Struktur tabel data member ................................................................... 55 Tabel 4.4 Struktur tabel data grup ......................................................................... 55 Tabel 4.5 Struktur tabel data produk ..................................................................... 55 Tabel 4.6 Struktur tabel data produk kategori ....................................................... 56 Tabel 4.7 Struktur tabel data produk tretment ...................................................... 56 Tabel 4.8 Struktur tabel data tretment ................................................................... 56 Tabel 4.9 Struktur tabel data detail tretment ......................................................... 57 Tabel 4.10 Struktur tabel data tretment kategori ................................................... 57
xv