RANCANG BANGUN SISTEM ADMINISTRASI TUGAS AKHIR BERBASIS OBJECT RELATIONAL MAPPING ( STUDI KASUS TEKNIK INFORMATIKA UNIVERSITAS MUHAMMADIYAH MALANG )
TUGAS AKHIR Sebagai Persyaratan Guna Meraih Gelar Sarhana Strata 1 Teknik Informatika Universitas Muhammadiyah Malang
Oleh :
Rizki Imam Andreas NIM. 09560378
JURUSAN TEKNIK INFORMATIKA FAKULTAS TEKNIK UNIVERSITAS MUHAMMADIYAH MALANG 2013
LEMBAR PENGESAHAN RANCANG BANGUN SISTEM ADMINISTRASI TUGAS AKHIR BERBASIS OBJECT RELATIONAL MAPPING ( STUDI KASUS TEKNIK INFORMATIKA UNIVERSITAS MUHAMMADIYAH MALANG )
TUGAS AKHIR Sebagai Persyaratan Guna Meraih Gelar Sarhana Strata 1 Teknik Informatika Universitas Muhammadiyah Malang
Disusun Oleh : Rizki Imam Andreas NIM. 09560378 Tugas Akhir ini telah diuji dan dinyatakan lulus melalui sidang majelis penguji pada tanggal 24 Juli 2013
Menyetujui, Penguji I
Penguji II
Zamah Sari, ST, MT
Sofyan Arifianto, S.Si, M.Kom
Mengetahui, Ketua Jurusan Teknik Informatika
Eko Budi Cahyono, S.Kom, MT NIP: 108.9504.0330
KATA PENGANTAR
Dengan memanjatkan puji syukur kehadirat Allah SWT. Atas limpahan rahmat dan hidayah-NYA sehingga peneliti dapat mneyelesaikan tugas akhir yang berjudul : “ RANCANG BANGUN SISTEM ADMINISTRASI TUGAS AKHIR BERBASIS OBJECT RELATIONAL MAPPING ( STUDI KASUS TEKNIK INFORMATIKA UNIVERSITAS MUHAMMADIYAH MALANG ) ” Di dalam tulisan ini disajikan pokok – pokok bahasan yang meliputi latar belakang penelitian, landasan teori penelitian, analisa dan perancangan aplikasi, implementasi dan pengujian aplikasi, kesimpulan dan saran serta daftar pustaka. Peneliti menyadari sepenuhnya bahwa dalam penulisan tugas akhir ini masih banyak kekurangan dan keterbatasan. Oleh karena itu peneliti mengharapkan saran yang membangun agar tulisan ini bermanfaat bagi perkembangan ilmu pengetahuan kedepan.
Malang, 15 Juni 2013
Rizki Imam Andreas
DAFTAR ISI
LEMBAR PERSETUJUAN LEMBAR PENGESAHAN LEMBAR PERNYATAAN ABSTRAK ..........................................................................................................i ABSTRACT ........................................................................................................ii LEMBAR PERSEMBAHAN ............................................................................iii KATA PENGANTAR ..........................................................................................iv DAFTAR ISI .......................................................................................................v DAFTAR GAMBAR ..........................................................................................viii DAFTAR TABEL................................................................................................xv
BAB I PENDAHULUAN 1.1. Latar Belakang....................................................................................1 1.2. Rumusan Masalah ..............................................................................2 1.3. Tujuan Penelitian ................................................................................3 1.4. Batasan Masalah .................................................................................3 1.5. Metodologi Penelitian ........................................................................3 1.6. Sistematika Penulisan .........................................................................4 BAB II LANDASAN TEORI 2.1. Rekayasa Perangkat Lunak.................................................................6 2.1.1. Pengertian Rekayasa Perangkat Lunak .....................................7 2.1.2. System Development Life Cycle (SDLC) ..................................8 2.1.3. Pengertian SDLC V-Model .......................................................9 2.2. PHP (Hypertext Preprocessor) ............................................................10
2.2.1. Karakteristik PHP .....................................................................12 2.3. Arsitektur MVC (Model-View-Controller) .........................................14 2.4. Object Relational Mapping (ORM) ....................................................15 2.4.1. Eloquent ORM ..........................................................................16 2.4.2. Active Record Pattern ...............................................................17 2.4.3. Object Relational Mapping Relasi ............................................17 2.5. Unified Modelling Language (UML) .................................................18 2.6. MySQL ...............................................................................................18 BAB III ANALISA DAN PERANCANGAN 3.1. Analisa ................................................................................................19 3.1.1. Requirement Analysis ................................................................21 3.1.2. Use Case Diagram ....................................................................24 3.1.3. Use Case Scenario ....................................................................25 3.1.4. Activity Diagram .......................................................................37 3.2. Perancangan ........................................................................................43 3.2.1. Sequence Diagram ....................................................................43 3.2.2. Class Diagram ..........................................................................51 3.2.3. Database ...................................................................................52 3.2.4. Interface (Wireframe) ................................................................53 BAB IV IMPLEMENTASI DAN PENGUJIAN 4.1. Implementasi ......................................................................................59 4.1.1. Sarana yang Dibutuhkan ...........................................................59 4.1.1.1. Web Server ..................................................................59 4.1.1.2. Laravel Framework .....................................................60 4.1.2. Proses Implementasi..................................................................61 4.1.2.1. Register (File Controller User)...................................61 4.1.2.2. Login (File Controller User) ......................................63 4.1.2.3. Edit Profil (File Controller User) ...............................64 4.1.2.4. Lihat Judul TA Terdaftar (File Controller Mahasiswa)66 4.1.2.5. Manage Proposal (File Controller Mahasiswa) ..........67 4.1.2.6. Tambah Dosen Pembimbing
(File Controller Mahasiswa) .......................................69 4.1.2.7. Approve Proposal (File Controller Dosen ..................70 4.1.2.8. Manage Daftar (File Controller Mahasiswa)..............72 4.1.2.9. Rekomendasi Semhas & Ujian TA (File Controller Dosen) ..............................................74 4.1.2.10. Lihat Jadwal (File Controller Mahasiswa) .................75 4.1.2.11. Lihat Jadwal Penguji (File Controller Dosen) ............77 4.1.2.12. Lihat Hasil (File Controller Mahasiswa .....................78 4.1.2.13. Manage User (File Controller Admin) .......................80 4.1.2.14. Update Hasil (File Controller Admin) ........................82 4.1.2.15. Manage Jadwal (File Controller Admin) ....................84 4.1.2.16. Manage Jadwal Penguji (File Controller Admin).......86 4.1.2.17. Manage Informasi (File Controller Admin) ...............88 4.1.2.18. Pembuatan Hubungan Antar Object Pada File Model 90 4.2. Pengujian ............................................................................................90 4.2.1. Pengujian Unit ( Unit Testing ) .................................................90 4.2.2. Pengujian Sistem ( System Testing )..........................................94 4.2.2.1. Perbandingan Sistem ...................................................105 BAB V KESIMPULAN DAN SARAN 5.1. Kesimpulan .........................................................................................114 5.2. Saran ...................................................................................................114
DAFTAR PUSTAKA ..........................................................................................116 LAMPIRAN ........................................................................................................117
DAFTAR GAMBAR
Gambar 2.1 Layar Teknologi Dalam Rekayasa Perangkat Lunak ......................8 Gambar 2.2 Tahapan SDLC V-Model.................................................................9 Gambar 2.3 Market Share for Top Servers..........................................................12 Gambar 2.4 Arsitektur MVC ...............................................................................14 Gambar 2.5 Arsitektur Object Relational Mapping ............................................15 Gambar 3.1 Use Case Diagram Sistem Administrasi Tugas Akhir ....................24 Gambar 3.2 Activity Diagram Register ...............................................................37 Gambar 3.3 Activity Diagram Login ...................................................................37 Gambar 3.4 Activity Diagram Edit Profil ...........................................................38 Gambar 3.5 Activity Diagram Lihat Judul TA Terdaftar .....................................38 Gambar 3.6 Activity Diagram Manage Proposal ................................................38 Gambar 3.7 Activity Diagram Tambah Dosen Pembimbing ...............................39 Gambar 3.8 Activity Diagram Approve Proposal ...............................................39 Gambar 3.9 Activity Diagram Manage Daftar ....................................................39 Gambar 3.10 Activity Diagram Rekomendasi Semhas & Ujian TA ...................40 Gambar 3.11 Activity Diagram Lihat Jadwal ......................................................40 Gambar 3.12 Activity Diagram Lihat Jadwal Penguji ........................................40 Gambar 3.13 Activity Diagram Lihat Hasil ........................................................41 Gambar 3.14 Activity Diagram Manage User ....................................................41 Gambar 3.15 Activity Diagram Update Hasil .....................................................41 Gambar 3.16 Activity Diagram Manage Jadwal Peserta.....................................42
Gambar 3.17 Activity Diagram Manage Jadwal Penguji ....................................42 Gambar 3.18 Activity Diagram Manage Informasi .............................................43 Gambar 3.20 Sequence Diagram Register ..........................................................43 Gambar 3.21 Sequence Diagram Login ..............................................................44 Gambar 3.22 Sequence Diagram Edit Profil.......................................................44 Gambar 3.23 Sequence Diagram Lihat Judul TA Terdaftar ................................44 Gambar 3.24 Sequence Diagram Manage Proposal ...........................................45 Gambar 3.25 Sequence Diagram Tambah Dosen Pembimbing ..........................45 Gambar 3.26 Sequence Diagram Approve Proposal ..........................................45 Gambar 3.27 Sequence Diagram Manage Daftar ...............................................46 Gambar 3.28 Sequence Diagram Rekomendasi Semhas & Ujian TA ................46 Gambar 3.29 Sequence Diagram Lihat Jadwal ...................................................47 Gambar 3.30 Sequence Diagram Lihat Jadwal Penguji .....................................47 Gambar 3.31 Sequence Diagram Lihat Hasil .....................................................48 Gambar 3.32 Sequence Diagram Manage User ..................................................48 Gambar 3.33 Sequence Diagram Update Hasil ..................................................49 Gambar 3.34 Sequence Diagram Manage Jadwal ..............................................49 Gambar 3.35 Sequence Diagram Manage Jadwal Penguji .................................50 Gambar 3.36 Sequence Diagram Manage Informasi ..........................................50 Gambar 3.37 Class Diagram Sistem Administrasi Tugas Akhir ........................51 Gambar 3.38 Perancangan Database Sistem Administrasi Tugas Akhir ............52 Gambar 3.39 Interface Halaman Login ..............................................................53 Gambar 3.40 Interface Halaman Register ...........................................................53
Gambar 3.41 Interface Halaman Edit Profil .......................................................53 Gambar 3.42 Interface Halaman Lihat Judul TA Terdaftar .................................54 Gambar 3.43 Interface Halaman Manage Proposal ............................................54 Gambar 3.44 Interface Halaman Tambah Dosen Pembimbing...........................54 Gambar 3.45 Interface Halaman Approve Proposal ...........................................55 Gambar 3.46 Interface Halaman Manage Daftar ................................................55 Gambar 3.47 Interface Halaman Rekomendasi Semhas & Ujian TA .................55 Gambar 3.48 Interface Halaman Lihat Jadwal ...................................................56 Gambar 3.49 Interface Halaman Lihat Jadwal Penguji ......................................56 Gambar 3.50 Interface Halaman Lihat Hasil ......................................................56 Gambar 3.51 Interface Halaman Manage User...................................................57 Gambar 3.52 Interface Halaman Update Hasil ...................................................57 Gambar 3.53 Interface Halaman Manage Jadwal ...............................................57 Gambar 3.54 Interface Halaman Manage Jadwal Penguji ..................................58 Gambar 3.55 Interface Halaman Manage Informasi...........................................58 Gambar 4.1 Konfigurasi Database .....................................................................60 Gambar 4.2 Tampilan Halaman Register ............................................................61 Gambar 4.3 Fungsi yang Digunakan Pada Proses Register ................................61 Gambar 4.4 Penggunaan ORM yang Diperlukan Pada Proses Register .............62 Gambar 4.5 Tampilan Halaman Login ................................................................63 Gambar 4.6 Fungsi yang Digunakan Pada Proses Login ....................................63 Gambar 4.7 Tampilan Halaman Edit Profil.........................................................64 Gambar 4.8 Fungsi yang Digunakan Pada Proses Edit Profil.............................65
Gambar 4.9 Penggunaan ORM yang Diperlukan Pada Proses Edit Profil .........65 Gambar 4.10 Tampilan Halaman Lihat Judul TA Terdaftar ................................66 Gambar 4.11 Fungsi yang Digunakan Pada Lihat Judul TA Terdaftar ................66 Gambar 4.12 Penggunaan ORM yang Diperlukan Pada Proses Lihat Judul TA Terdaftar ...............................................................66 Gambar 4.13 Tampilan Halaman Manage Proposal ...........................................67 Gambar 4.14 Fungsi yang Digunakan Pada Proses Manage Proposal ...............68 Gambar 4.15 Penggunaan ORM yang Diperlukan Pada Proses Manage Proposal ..........................................................................68 Gambar 4.16 Tampilan Halaman Tambah Dosen Pembimbing ..........................69 Gambar 4.17 Fungsi yang Digunakan Pada Proses Tambah Dosen Pembimbing ..................................................................................69 Gambar 4.18 Penggunaan ORM yang Diperlukan Pada Proses Tambah Dosen Pembimbing .........................................................70 Gambar 4.19 Tampilan Halaman Approve Proposal ...........................................70 Gambar 4.20 Fungsi yang Digunakan Pada Proses Approve Proposal ...............71 Gambar 4.21 Penggunaan ORM yang Diperlukan Pada Proses Approve Proposal ........................................................................................71 Gambar 4.22 Tampilan Halaman Manage Daftar ...............................................72 Gambar 4.23 Fungsi yang Digunakan Pada Proses Manage Daftar ...................73 Gambar 4.24 Penggunaan ORM yang Diperlukan Pada Proses Manage Daftar 73 Gambar 4.25 Tampilan Halaman Rekomendasi Semhas & Ujian TA ................74 Gambar 4.26 Fungsi yang Digunakan Pada Proses Rekomendasi
Semhas & Ujian TA ......................................................................74 Gambar 4.27 Penggunaan ORM yang Diperlukan Pada Proses Rekomendasi Semhas & Ujian TA ......................................................................75 Gambar 4.28 Tampilan Halaman Lihat Jadwal ...................................................75 Gambar 4.29 Fungsi yang Digunakan Pada Proses Lihat Jadwal .......................76 Gambar 4.30 Penggunaan ORM yang Diperlukan Pada Proses Lihat Jadwal ....76 Gambar 4.31 Tampilan Halaman Lihat Jadwal Penguji ......................................77 Gambar 4.32 Fungsi yang Digunakan Pada Proses Lihat Jadwal Penguji ..........77 Gambar 4.33 Penggunaan ORM yang Diperlukan Pada Proses Lihat Jadwal Penguji ................................................................................78 Gambar 4.34 Tampilan Halaman Lihat Hasil......................................................78 Gambar 4.35 Fungsi yang Digunakan Pada Proses Lihat Hasil..........................79 Gambar 4.36 Penggunaan ORM yang Diperlukan Pada Proses Lihat Hasil ......79 Gambar 4.37 Tampilan Halaman Manage User ..................................................80 Gambar 4.38 Fungsi yang Digunakan Pada Proses Manage User ......................80 Gambar 4.39 Penggunaan ORM yang Diperlukan Pada Proses Manage User...81 Gambar 4.40 Tampilan Halaman Update Hasil ..................................................82 Gambar 4.41 Fungsi yang Digunakan Pada Proses Update Hasil ......................82 Gambar 4.42 Penggunaan ORM yang Diperlukan Pada Proses Update Hasil ...83 Gambar 4.43 Tampilan Halaman Manage Jadwal ..............................................84 Gambar 4.44 Fungsi yang Digunakan Pada Proses Manage Jadwal ..................85 Gambar 4.45 Penggunaan ORM yang Diperlukan Pada Proses Manage Jadwal.................................................................................85
Gambar 4.46 Tampilan Halaman Manage Jadwal Penguji .................................86 Gambar 4.47 Fungsi yang Digunakan Pada Proses Manage Jadwal Penguji .....87 Gambar 4.48 Penggunaan ORM yang Diperlukan Pada Proses Manage Jadwal Penguji ...................................................................87 Gambar 4.49 Tampilan Halaman Manage Informasi ..........................................88 Gambar 4.50 Fungsi yang Digunakan Pada Proses Manage Informasi ..............89 Gambar 4.51 Penggunaan ORM yang Diperlukan Pada Proses Manage Informasi ............................................................................89 Gambar 4.52 Pengambilan Salah Satu Attribut...................................................91 Gambar 4.53 Output Pengambilan Salah Satu Attribut ......................................91 Gambar 4.54 Pengambilan Attribut Pada Class yang Berhubungan...................91 Gambar 4.55 Output Pengambilan Attribut Pada Class yang Berhubungan ......91 Gambar 4.56 Memasukkan Data Pada Database................................................92 Gambar 4.57 Data Baru Tersimpan Pada Database ............................................92 Gambar 4.58 Memasukkan Data Pada Class yang Berhubungan .......................92 Gambar 4.59 Data Tersimpan Pada Database ....................................................92 Gambar 4.60 Mengubah Salah Satu Data ...........................................................93 Gambar 4.61 Data Pada Database Telah Berubah ..............................................93 Gambar 4.62 Menghapus Data Pada Database ..................................................93 Gambar 4.63 Data Telah Terhapus Pada Database .............................................94 Gambar 4.64 Lembar Rekomendasi Judul Tugas Akhir .....................................110 Gambar 4.65 Halaman Status Approval Pada Mahasiswa Dan Halaman Halaman Approval Pada Dosen.......................................................110
Gambar 4.66 Jadwal Sempro, Semhas, Dan Ujian TA di Jejaring Sosial ...........111 Gambar 4.67 Jadwal Sempro Atau Semhas Dan Ujian TA Di Halaman Jadwal Pada Sistem .........................................................................111 Gambar 4.68 SK TA Di Jejaring Sosial...............................................................112 Gambar 4.69 SK TA Di Halaman Bimbingan Pada Sistem ................................112 Gambar 4.70 Lembar Asistensi Tugas Akhir ......................................................113 Gambar 4.71 Halaman SK & Bimbingan ...........................................................113
DAFTAR TABEL
Tabel 2.1 Programming Community Index 2013 ................................................11 Tabel 3.1 Register Scenario ................................................................................25 Tabel 3.2 Login Scenario ....................................................................................25 Tabel 3.3 Edit Profil Scenario .............................................................................26 Tabel 3.4 Lihat Judul TA Terdaftar Scenario ......................................................26 Tabel 3.5 Manage Proposal Scenario ..................................................................27 Tabel 3.6 Tambah Dosen Pembimbing Scenario ................................................27 Tabel 3.7 Approve Proposal Scenario .................................................................28 Tabel 3.8 Manage Daftar Scenario......................................................................29 Tabel 3.9 Rekomendasi Semhas & Ujian TA Scenario .......................................29 Tabel 3.10 Lihat Jadwal Scenario .......................................................................30 Tabel 3.11 Lihat Jadwal Penguji Scenario ..........................................................31 Tabel 3.12 Lihat Hasil Scenario ..........................................................................31 Tabel 3.13 Manage User Scenario ......................................................................32 Tabel 3.14 Update Hasil Scenario ......................................................................33 Tabel 3.15 Manage Jadwal Scenario ...................................................................34 Tabel 3.16 Manage Jadwal Penguji Scenario .....................................................35 Tabel 3.17 Manage Informasi Scenario ..............................................................36 Tabel 4.1 Tabel Pengujian Sistem .......................................................................94 Tabel 4.2 Tabel Perbandingan Sistem Lama Dengan Sistem Baru .....................105
DAFTAR PUSTAKA
[1] 3esolutions,
“PHP
Development”,
3esolutions
2013
http://www.3esolutions.net/technologies/php, Diakses pada tanggal 03 Maret 2013 [2] Daylerees, “Laravel Tutorial”, Epub, 2013, Didownload pada 20 Mei 2013. [3] Dodit Supriyanto, S.Kom, “Buku Pintar Pemrograman PHP”, Cetakan I, Oase Writers Management, 2008 [4] Douglas K Barry, “Object Relational Mapping”, service-architecture.com 2013, http://www.service-architecture.com/object-orienteddatabases/articles/object-relational_mapping.html, Diakses pada tanggal 4 Maret 2013. [5] Martin Fowler, “Enterprise Application Architecture Active Record”, Martin Fowler, http://martinfowler.com/eaaCatalog/activeRecord.html, Diakses pada tanggal 4 Maret 2013. [6] Netcraft,
“January
2013
Web
Servey
Survey”
Netcraft
2013,
http://news.netcraft.com/archives/2013/01/07/january-2013-web-server-survey2.html, Diakses pada tanggal 4 Maret 2013. [7] Novta Farida Siregar, “Pengetesan Front End Aplikasi Internet Booking Engine (IBE) Bussiness To Customer (B2C) Pada PT. Aero System Indonesia”, Program Studi Manajemen Informatika, Politeknik Telkom Bandung, 2011. Didownload pada 21 Mei 2013. [8] Ph.D. Roger S. Pressman, “Software Engineering A Pratitioner's Approach”, Fifth Edition ed. New York, United States: McGraw-Hill, 2005. [9] Prof.
Dr.
Petra
Hofsted,
“Multiparadigm
Constraint
Programming
Languages”, New York, Springer, 2011. [10] Tiobe, “Tiobe Programming Community Index for February 2013”, Tiobe Software,2013 http://www.tiobe.com/index.php/content/paperinfo/tpci/index.html, Diakses pada tanggal 4 Maret 2013.