ABSTRAK UD Melati Mekar Mandiri adalah sebuah perusahaan pengrajin yang bergerak di bidang kain tenun gedog dan batik tulis. Perusahaan yang terletak di Kerek, Jawa Timur ini mempunyai pengrajin, baik yang mengerjakan tenun batik di perusahaan maupun di rumah. Adapun tahap pengerjaan yang dilakukan dilakukan dari kain menjadi batik yaitu : mencuci kain yang telah ingin dibatik, pembatikan, dan pewarnaan. Banyaknya tahapan produksi dan persaingan yang sangat ketat, sehingga dibutuhkan perencanaan untuk mementukan jumlah produksi. Hal ini dilakukan agar dapat memenuhi permintaan pasar sehingga jumlah kebutuhan konsumen dapat terpenuhi. Kegiatan dalam melakukan persediaan barang yang terlalu besar harus dihindari karena merupakan sebuah pemborosan/kerugiaan. Untuk itu dibutuhkan sebuah sistem untuk memperkirakan jumlah produksi agar perusahaan dapat memenuhi permintaan konsumen. Pengambilan data akan dilakukan dengan studi kasus di UD Melati Mekar Mandiri. Metodologi dalam pembangunan sistem menggunakan metodologi waterfall. Penelitian ini menggunakan data jumlah permintaan, jumlah persediaan, jumlah tenaga kerja sebagai variabel inputan dan data jumlah produksi sebagai variabel outputnya. Tahap pertama penyelesaian produksi barang dilakukan dengan menentukan variabel input dan variabel output, kemudian menentukan variabel menjadi himpunan fuzzy, menentukan derajat keanggotaan, menentukan fire-strenght, dan penegasan. Penggunaan metode ini diharapkan dapat memberikan solusi untuk mengatasi ketidakpastian dan jumlah produksi yang bersifat fleksibel. Pengembangan aplikasi ini menggunakan software Macromedia Dreamweaver, Adobe Photoshop, bahasa pemrograman PHP dan basis data MySQL. Sistem ini digunakan sebagai bahan pertimbangan bagi pemilik perusahaan dalam melakukan perencanaan jumlah produksi pada waktu yang akan datang. .
v
DAFTAR ISI HALAMAN JUDUL .............................................................................................................. i HALAMAN PENGESAHAN PEMBIMBING .................................................................... ii HALAMAN PENGESAHAN PENGUJI............................................................................. iii SURAT PERNYATAAN KEASLIAN SKRIPSI ................................................................ iv ABSTRAK ............................................................................................................................ v KATA PENGANTAR.......................................................................................................... vi DAFTAR ISI ...................................................................................................................... viii DAFTAR GAMBAR............................................................................................................. x DAFTAR TABEL ............................................................................................................... xii DAFTAR MODUL PROGRAM........................................................................................ xiii BAB I 1.1 1.2 1.3 1.4 1.5 1.6 1.7
PENDAHULUAN ................................................................................................... 1 Latar Belakang Masalah ............................................................................................ 1 Perumusan Masalah................................................................................................... 2 Batasan Masalah ........................................................................................................ 2 Tujuan Penelitian....................................................................................................... 2 Manfaat Penelitian..................................................................................................... 3 Metodologi Penelitian ............................................................................................... 3 Sistematika Penulisan ................................................................................................ 3
BAB II LANDASAN TEORI ............................................................................................. 5 2.1 Aplikasi...................................................................................................................... 5 2.2 Konsep Sistem Informasi........................................................................................... 5 2.2.1 Sistem ........................................................................................................................ 5 2.2.2 Informasi.................................................................................................................... 7 2.2.3 Sistem Informasi........................................................................................................ 8 2.3 Logika Fuzzy ............................................................................................................. 8 2.3.1 Himpunan Fuzzy........................................................................................................ 8 2.3.2 Fungsi Keanggotaan .................................................................................................. 9 2.3.3 Operasi Himpunan Fuzzy......................................................................................... 11 2.3.3.1 Operator AND ......................................................................................................... 12 2.3.3.2 Operator OR ............................................................................................................ 12 2.3.3.3 Operator NOT.......................................................................................................... 12 2.3.4 Fungsi Implikasi ...................................................................................................... 12 2.3.5 Fuzzy Inferensi System Metode Mamdani ............................................................... 13 2.4 Basis Data................................................................................................................ 16 2.4.1 Entity Relationship Diagram (ERD) ....................................................................... 18 2.5 Data Flow Diagram (DFD)..................................................................................... 20 2.6 Diagram Alir............................................................................................................ 21 2.7 Metodologi Pengembangan Sistem ......................................................................... 22 2.8 Tools Pemrograman Web ........................................................................................ 24 2.9 Produksi ................................................................................................................... 31 2.10 Studi Pustaka ........................................................................................................... 33 BAB III GAMBARAN UMUM PERUSAHAAN............................................................ 35 3.1 Sejarah Melati Mekar Mandiri ................................................................................ 35 3.2 Tujuan Berdiri Melati Mekar Mandiri..................................................................... 35 3.3 Kondisi Perusahaan ................................................................................................. 36 vi
3.4
Data dari Melati Mekar Mandiri.............................................................................. 38
BAB IV ANALISIS DAN PERANCANGAN.................................................................. 40 4.1 Analisis Sistem ........................................................................................................ 40 4.1.1 Analisis Sistem yang Berjalan................................................................................. 40 4.1.2 Analisis Sistem yang Akan Dibuat.......................................................................... 41 4.2 Perancangan Proses ................................................................................................. 42 4.2.1 DFD Level 0 ............................................................................................................ 42 4.2.2 DFD Level 1 ............................................................................................................ 43 4.2.3 DFD Level 2 ............................................................................................................ 45 4.3 Perancangan Flowchart ........................................................................................... 47 4.4 Perancangan Fungsi Keanggotaan........................................................................... 54 4.5 Kasus Perhitungan Jumlah Produksi ....................................................................... 57 4.6 Perancangan Basis Data .......................................................................................... 61 4.6.1 Rancangan ERD ...................................................................................................... 61 4.6.2 Rancangan Struktur Tabel ....................................................................................... 62 4.6.3 Rancangan Relasi Antar Tabel ................................................................................ 65 4.6.4 Rancangan Struktur Menu ....................................................................................... 66 4.6.5 Rancangan Antar Muka ........................................................................................... 68 4.6.5.1 Rancangan Antar Muka Untuk Pengguna ............................................................... 68 4.6.5.2 Rancangan Antar Muka Untuk Admin.................................................................... 71 4.6.5.3 Rancangan Antar Muka Untuk Kepala Perusahaan ................................................ 81 BAB V IMPLEMENTASI ................................................................................................ 88 5.1 Implementasi ........................................................................................................... 88 5.2 Kebutuhan Perangkat Lunak ................................................................................... 88 5.3 Kebutuhan Perangkat Keras .................................................................................... 89 5.4 Struktur Program ..................................................................................................... 89 5.5 Implementasi Program............................................................................................. 92 5.5.1 Koneksi Database .................................................................................................... 92 5.5.2 Implementasi Halaman untuk Pengguna ................................................................. 92 5.5.3 Implementasi Halaman untuk Admin...................................................................... 98 5.5.4 Implementasi Halaman untuk Kepala Perusahaan ................................................ 108 5.6 Pengujian Sistem ................................................................................................... 119 5.6.1 Pengujian Alpha Test ............................................................................................. 119 5.6.2 Pengujian Beta Test ............................................................................................... 121 BAB VI PENUTUP......................................................................................................... 124 6.1 Kesimpulan............................................................................................................ 124 6.2 Saran ...................................................................................................................... 124 DAFTAR PUSTAKA........................................................................................................ 125 LAMPIRAN ...................................................................................................................... 126
vii
DAFTAR GAMBAR Gambar 2.1 Representasi Linier Naik ............................................................................... 10 Gambar 2.2 Representasi Linier Turun ............................................................................. 11 Gambar 2.3 Kurva Segitiga ............................................................................................... 11 Gambar 2.4 Proses Defuzzifikasi ....................................................................................... 15 Gambar 2.5 Sistem Pengembangan Waterfall Model........................................................ 22 Gambar 2.6 Struktur Pembacaan Web Server ................................................................... 25 Gambar 4.1 DFD Level 0 .................................................................................................. 43 Gambar 4.2 DFD Level 1 .................................................................................................. 44 Gambar 4.3 DFD Level 2 Proses Layanan Admin ............................................................ 46 Gambar 4.4 DFD Level 2 Proses Layanan Kepala Perusahaan ........................................ 47 Gambar 4.5 Flowchart DFD Level 2 Proses Analisis....................................................... 48 Gambar 4.6 Flowchart Menentukan Derajat Keanggotaan Kurva Linier Naik ................ 49 Gambar 4.7 Flowchart Menentukan Derajat Keanggotaan Kurva Linier Segitiga........... 50 Gambar 4.8 Flowchart Menentukan Derajat Keanggotaan Kurva Linier Turun .............. 51 Gambar 4.9 Flowchart Menentukan Predikat Aturan Fuzzy............................................. 52 Gambar 4.10 Flowchart Menentukan Komposisi Antar Aturan ......................................... 53 Gambar 4.11 Flowchart Defuzzifikasi ................................................................................. 53 Gambar 4.12 Fungsi Keanggotaan Variabel Permintaan .................................................... 54 Gambar 4.13 Fungsi Keanggotaan Variabel Persediaan ..................................................... 55 Gambar 4.14 Fungsi Keanggotaan Variabel Tenaga Kerja................................................. 56 Gambar 4.15 Fungsi Keanggotaan Variabel Produksi ........................................................ 57 Gambar 4.16 ERD ............................................................................................................... 61 Gambar 4.17 Relasi Antar Tabel ......................................................................................... 66 Gambar 4.18 Rancangan Struktur Menu untuk Pengguna .................................................. 67 Gambar 4.19 Rancangan Struktur Menu untuk Admin....................................................... 67 Gambar 4.20 Rancangan Struktur Menu untuk Kepala Perusahaan ................................... 68 Gambar 4.21 Rancangan Halaman Index ............................................................................ 69 Gambar 4.22 Rancangan Halaman Perusahaan................................................................... 69 Gambar 4.23 Rancangan Halaman Bantuan........................................................................ 70 Gambar 4.24 Rancangan Halaman Tentang ........................................................................ 70 Gambar 4.25 Rancangan Halaman Login............................................................................ 71 Gambar 4.26 Rancangan Halaman Tampil Batas Fuzzy..................................................... 72 Gambar 4.27 Rancangan Halaman Edit Batas Fuzzy.......................................................... 72 Gambar 4.28 Rancangan Halaman Tampil Produk ............................................................. 73 Gambar 4.29 Rancangan Halaman Tambah Produk ........................................................... 73 Gambar 4.30 Rancangan Halaman Edit Produk.................................................................. 74 Gambar 4.31 Rancangan Halaman Tampil Jenis Produk .................................................... 74 Gambar 4.32 Rancangan Halaman Tambah Jenis Produk .................................................. 75 Gambar 4.33 Rancangan Halaman Edit Jenis Produk......................................................... 75 Gambar 4.34 Rancangan Halaman Tampil Tenaga............................................................. 76 Gambar 4.35 Rancangan Halaman Tambah Tenaga ........................................................... 76 Gambar 4.36 Rancangan Halaman Edit Tenaga.................................................................. 77 Gambar 4.37 Rancangan Halaman Tampil Permintaan ...................................................... 77 Gambar 4.38 Rancangan Halaman Tambah Permintaan..................................................... 78 Gambar 4.39 Rancangan Halaman Edit Permintaan ........................................................... 78 Gambar 4.40 Rancangan Halaman Tampil Persediaan ....................................................... 79 viii
Gambar 4.41 Rancangan Halaman Tambah Persediaan...................................................... 79 Gambar 4.42 Rancangan Halaman Edit Persediaan ............................................................ 80 Gambar 4.43 Rancangan Halaman Hasil Analisis............................................................... 80 Gambar 4.44 Rancangan Halaman Ganti Password............................................................ 81 Gambar 4.45 Rancangan Halaman Koleksi Produk ............................................................ 82 Gambar 4.46 Rancangan Halaman Tampil Koleksi Produk................................................ 82 Gambar 4.47 Rancangan Halaman Analisis ........................................................................ 83 Gambar 4.48 Rancangan Halaman Tampil Analisis ........................................................... 83 Gambar 4.49 Rancangan Halaman Hasil Analisis............................................................... 84 Gambar 4.50 Rancangan Halaman Tampil Hasil Analisis .................................................. 84 Gambar 4.51 Rancangan Halaman Grafik........................................................................... 85 Gambar 4.52 Rancangan Halaman Grafik Jumlah Permintaan........................................... 85 Gambar 4.53 Rancangan Halaman Grafik Jumlah Persediaan............................................ 86 Gambar 4.54 Rancangan Halaman Grafik Jumlah Tenaga ................................................. 86 Gambar 4.55 Rancangan Halaman Ganti Password ........................................................... 87 Gambar 5.1 Tampilan Halaman Index .............................................................................. 93 Gambar 5.2 Tampilan Halaman Perusahaan ..................................................................... 94 Gambar 5.3 Tampilan Halaman Bantuan .......................................................................... 95 Gambar 5.4 Tampilan Halaman Tentang .......................................................................... 96 Gambar 5.5 Tampilan Halaman Login .............................................................................. 97 Gambar 5.6 Tampilan Halaman Home Admin.................................................................. 99 Gambar 5.7 Tampilan Halaman Fuzzy............................................................................ 100 Gambar 5.8 Tampilan Halaman Produk .......................................................................... 101 Gambar 5.9 Tampilan Halaman Jenis Produk ................................................................. 102 Gambar 5.10 Tampilan Halaman Tenaga Kerja................................................................ 103 Gambar 5.11 Tampilan Halaman Permintaan ................................................................... 104 Gambar 5.12 Tampilan Halaman Persediaan .................................................................... 105 Gambar 5.13 Tampilan Halaman Hasil Analisis ............................................................... 106 Gambar 5.14 Tampilan Halaman Ganti Password ............................................................ 107 Gambar 5.15 Tampilan Halaman Home Kepala Perusahaan ............................................ 109 Gambar 5.16 Tampilan Halaman Koleksi Produk............................................................. 110 Gambar 5.17 Tampilan Halaman Analisis ........................................................................ 111 Gambar 5.18 Tampilan Halaman Hasil Analisis ............................................................... 112 Gambar 5.19 Tampilan Halaman Hasil Analisis ............................................................... 113 Gambar 5.20 Tampilan Halaman Grafik ........................................................................... 115 Gambar 5.21 Tampilan Halaman Grafik Permintaan........................................................ 116 Gambar 5.22 Tampilan Halaman Grafik Persediaan......................................................... 117 Gambar 5.23 Tampilan Halaman Grafik Tenaga Kerja .................................................... 118 Gambar 5.24 Tampilan Halaman Ganti Password Perusahaan ......................................... 119
ix
DAFTAR TABEL Tabel 2.1 Simbol pada ERD.............................................................................................. 18 Tabel 2.2 Lanjutan Simbol pada ERD............................................................................... 19 Tabel 2.3 Simbol pada Data Flow Diagram ..................................................................... 20 Tabel 2.4 Lanjutan Simbol pada Data Flow Diagram ...................................................... 21 Tabel 2.5 Simbol pada Flowchart ..................................................................................... 21 Tabel 2.6 Lanjutan Simbol pada Flowchart ...................................................................... 22 Tabel 2.7 Daftar Sejumlah Pernyataan SQL ..................................................................... 31 Tabel 3.1 Jenis Produk Batik............................................................................................. 38 Tabel 3.2 Lanjutan Jenis Produk Batik.............................................................................. 39 Tabel 4.1 Hasil µ Permintaan ............................................................................................ 58 Tabel 4.2 Hasil µ Persediaan ............................................................................................. 58 Tabel 4.3 Hasil µ Tenaga................................................................................................... 58 Tabel 4.4 Menentukan Predikat Aturan Fuzzy .................................................................. 59 Tabel 4.5 Tabel Login ....................................................................................................... 62 Tabel 4.6 Tabel Produk ..................................................................................................... 62 Tabel 4.7 Tabel Jenis......................................................................................................... 62 Tabel 4.8 Tabel Batas Nilai Fuzzy..................................................................................... 63 Tabel 4.9 Tabel Permintaan............................................................................................... 63 Tabel 4.10 Tabel Persediaan................................................................................................ 63 Tabel 4.11 Tabel Tenaga ..................................................................................................... 64 Tabel 4.12 Tabel Hasil......................................................................................................... 64 Tabel 4.13 Tabel Nilai Fuzzy............................................................................................... 64 Tabel 4.14 Lanjutan Tabel Nilai Fuzzy ............................................................................... 65 Tabel 5.1 Tabel File........................................................................................................... 89 Tabel 5.2 Lanjutan Tabel File ........................................................................................... 90 Tabel 5.3 Lanjutan Tabel File ........................................................................................... 91 Tabel 5.4 Lanjutan Tabel File ........................................................................................... 92 Tabel 5.5 Tabel Nama-nama Penguji Alpha Test ............................................................ 121 Tabel 5.6 Tabel Hasil Uji Validasi Alpha Test................................................................ 121 Tabel 5.7 Tabel Nama-nama Penguji Beta Test .............................................................. 122 Tabel 5.8 Tabel Hasil Uji Validasi Beta Test .................................................................. 122
x
DAFTAR MODUL PROGRAM Modul Program 2.1 Contoh Skrip HTML ......................................................................... 25 Modul Program 2.2 Contoh Skrip PHP ............................................................................ 26 Modul Program 2.3 Contoh Pernyataan Cetak dalam PHP .............................................. 26 Modul Program 2.4 Contoh Skrip Javacript ..................................................................... 28 Modul Program 5.1 Skrip Koneksi ................................................................................... 92 Modul Program 5.2 Potongan Program Halaman Index .................................................. 93 Modul Program 5.3 Potongan Program Halaman Perusahaan ......................................... 94 Modul Program 5.4 Lanjutan Potongan Program Halaman Perusahaan .......................... 95 Modul Program 5.5 Potongan Program Halaman Bantuan .............................................. 96 Modul Program 5.6 Potongan Program Halaman Tentang ............................................... 96 Modul Program 5.7 Lanjutan Potongan Program Halaman Tentang ................................ 97 Modul Program 5.8 Potongan Program Halaman Login .................................................. 98 Modul Program 5.9 Potongan Program Halaman Home Admin ...................................... 99 Modul Program 5.10 Lanjutan Potongan Program Halaman Home Admin .................... 100 Modul Program 5.11 Potongan Program Halaman Fuzzy ................................................. 100 Modul Program 5.12 Lanjutan Potongan Program Halaman Fuzzy.................................. 101 Modul Program 5.13 Potongan Program Halaman Produk............................................... 101 Modul Program 5.14 Lanjutan Potongan Program Halaman Produk................................ 102 Modul Program 5.15 Potongan Program Halaman Jenis Produk ..................................... 102 Modul Program 5.16 Lanjutan Potongan Program Halaman Jenis Produk ...................... 103 Modul Program 5.17 Potongan Program Halaman Tenaga Kerja..................................... 104 Modul Program 5.18 Potongan Program Halaman Permintaan ....................................... 105 Modul Program 5.19 Potongan Program Halaman Persediaan ........................................ 106 Modul Program 5.20 Potongan Program Halaman Hasil Analisis ................................... 107 Modul Program 5.21 Potongan Program Halaman Ganti Password ................................ 108 Modul Program 5.22 Potongan Program Halaman Home Kepala Perusahaan ................ 109 Modul Program 5.23 Lanjutan Potongan Program Halaman Home Kepala Perusahaan 110 Modul Program 5.24 Potongan Program Halaman Koleksi Produk ................................ 110 Modul Program 5.25 Lanjutan Potongan Program Halaman Koleksi Produk ................. 111 Modul Program 5.26 Potongan Program Halaman Analisis ............................................ 112 Modul Program 5.27 Potongan Program Halaman Hasil Analisis.................................... 112 Modul Program 5.28 Lanjutan Potongan Program Halaman Hasil Analisis..................... 113 Modul Program 5.29 Potongan Program Halaman Hasil Analisis Perusahaan ................ 114 Modul Program 5.30 Potongan Program Halaman Grafik ............................................... 115 Modul Program 5.31 Potongan Program Halaman Grafik Permintaan............................. 116 Modul Program 5.32 Potongan Program Halaman Grafik Persediaan.............................. 117 Modul Program 5.33 Potongan Program Halaman Grafik Tenaga Kerja ......................... 118 Modul Program 5.34 Potongan Program Halaman Ganti Password Perusahaan ............ 119
xi