SlideShare a Scribd company logo
1 of 6
Download to read offline
PEMROGRAMAN FRAMEWORK
TUGAS 5
Membuat Form Matakuliah dengan YII CRUD
Disusun oleh:
Achmad Hadi Soeprayitno Putra
1300631008
PROGRAM STUDI MANAJEMEN INFORMATIKA
FAKULTAS TEKNIK
UNIVERSITAS MUHAMMADIYAH JEMBER
2015
1. Langkah pertama buat database matakuliah dengan sql seperti ini
Sehingga akan tampil database seperti ini :
2. Langkah kedua instal yii dengan nama makul
Sehingga akan muncul folder matakuliah di HTDOC
3. Lalu akses localhost/makul maka akan muncul tampilan seperti berikut
4. Buka sublime text dan open folder matakuliah , lalu pilih config lalu database.php dan ganti databasex menjadi
matakuliah , tepatx di line no 5
5. Dan jangan lupa ubah juga password di main.php , setelah itu akses http://localhost/makul/index.php?r=gii
maka akan muncul tampilan seperti berikut
6. Isi password maka akan muncul tampilan seperti berikut
7. Lalu pilih model generator , model generator berfungsi untuk menggenerate ke database pilih model generator
maka akan muncul tampilan seperti berikut isikan nama database lalu generate
8. Setelah generate lalu pilih menu “Crud Generator” maka akan muncul tampilan seperti berikut , isilah model
class dan controler id lalu generate
9. Setelah itu akses http://localhost/makul/index.php?r=matakuliah maka akan akan muncul tampilan seperti
berikut
10. Setelah itu pilih create matakuliah maka akan muncul form mata kuliah seperti berikut
11. Setelah pengisian dapat kita lihat daftar mata kuliah dengan memilih list matakuliah , maka akan muncul
daftar mata kuliah seperti dibawah ini
NB : ID_MK akan berurutan karena database menggunakan AUTO_INCREMEN yang secara
otomatis terisi sendiri melanjutkan data sebelumnya walaupun data ada yang dihapus , apabila ingin
mengurutkan dapat mengurutkan dengan cara menggunakan perintah ALTER di SQL contohnya
seperti berikut
maka database ID_MK akan terisi dengan Nomer 1031 dst

More Related Content

Recently uploaded

Laporan Guru Piket Bukti Dukung PMM - www.kherysuryawan.id (1) (1).pdf
Laporan Guru Piket Bukti Dukung PMM - www.kherysuryawan.id (1) (1).pdfLaporan Guru Piket Bukti Dukung PMM - www.kherysuryawan.id (1) (1).pdf
Laporan Guru Piket Bukti Dukung PMM - www.kherysuryawan.id (1) (1).pdf
SriHandayaniLubisSpd
 
Presentasi-ruang-kolaborasi-modul-1.4.doc
Presentasi-ruang-kolaborasi-modul-1.4.docPresentasi-ruang-kolaborasi-modul-1.4.doc
Presentasi-ruang-kolaborasi-modul-1.4.doc
LeoRahmanBoyanese
 
Aksi Nyata Cegah Perundungan Mulai dari Kelas [Guru].pptx
Aksi Nyata Cegah Perundungan Mulai dari Kelas [Guru].pptxAksi Nyata Cegah Perundungan Mulai dari Kelas [Guru].pptx
Aksi Nyata Cegah Perundungan Mulai dari Kelas [Guru].pptx
AgusSuarno2
 
Soal BAB 6 IPAS KELAS 4.doc tentang kebudayaan
Soal BAB 6 IPAS KELAS 4.doc tentang kebudayaanSoal BAB 6 IPAS KELAS 4.doc tentang kebudayaan
Soal BAB 6 IPAS KELAS 4.doc tentang kebudayaan
ressyefrina15
 
Modul Ajar Ipa kelas 8 Struktur Bumi dan perkembangannya
Modul Ajar Ipa kelas 8 Struktur Bumi dan perkembangannyaModul Ajar Ipa kelas 8 Struktur Bumi dan perkembangannya
Modul Ajar Ipa kelas 8 Struktur Bumi dan perkembangannya
Novi Cherly
 

Recently uploaded (20)

Materi Penggolongan Obat Undang-Undang Kesehatan
Materi Penggolongan Obat Undang-Undang KesehatanMateri Penggolongan Obat Undang-Undang Kesehatan
Materi Penggolongan Obat Undang-Undang Kesehatan
 
Deskripsi Penilaian K13Penilaian kurikulum 2013 pada rapor pendidikan.
Deskripsi Penilaian K13Penilaian kurikulum 2013 pada rapor pendidikan.Deskripsi Penilaian K13Penilaian kurikulum 2013 pada rapor pendidikan.
Deskripsi Penilaian K13Penilaian kurikulum 2013 pada rapor pendidikan.
 
AKSI NYATA fASILITATOR pEMBELAJARAN (.pptx
AKSI NYATA fASILITATOR pEMBELAJARAN (.pptxAKSI NYATA fASILITATOR pEMBELAJARAN (.pptx
AKSI NYATA fASILITATOR pEMBELAJARAN (.pptx
 
form Tindak Lanjut Observasi Penilaian Kinerja PMM
form Tindak Lanjut Observasi Penilaian Kinerja PMMform Tindak Lanjut Observasi Penilaian Kinerja PMM
form Tindak Lanjut Observasi Penilaian Kinerja PMM
 
Laporan Guru Piket Bukti Dukung PMM - www.kherysuryawan.id (1) (1).pdf
Laporan Guru Piket Bukti Dukung PMM - www.kherysuryawan.id (1) (1).pdfLaporan Guru Piket Bukti Dukung PMM - www.kherysuryawan.id (1) (1).pdf
Laporan Guru Piket Bukti Dukung PMM - www.kherysuryawan.id (1) (1).pdf
 
MODUL AJAR BAHASA INDONESIA KELAS 4 KURIKULUM MERDEKA.pdf
MODUL AJAR BAHASA INDONESIA KELAS 4 KURIKULUM MERDEKA.pdfMODUL AJAR BAHASA INDONESIA KELAS 4 KURIKULUM MERDEKA.pdf
MODUL AJAR BAHASA INDONESIA KELAS 4 KURIKULUM MERDEKA.pdf
 
MODUL AJAR SENI RUPA KELAS 2 KURIKULUM MERDEKA.pdf
MODUL AJAR SENI RUPA KELAS 2 KURIKULUM MERDEKA.pdfMODUL AJAR SENI RUPA KELAS 2 KURIKULUM MERDEKA.pdf
MODUL AJAR SENI RUPA KELAS 2 KURIKULUM MERDEKA.pdf
 
AKUNTANSI INVESTASI PD SEKURITAS UTANG.pptx
AKUNTANSI INVESTASI PD SEKURITAS UTANG.pptxAKUNTANSI INVESTASI PD SEKURITAS UTANG.pptx
AKUNTANSI INVESTASI PD SEKURITAS UTANG.pptx
 
Presentasi-ruang-kolaborasi-modul-1.4.doc
Presentasi-ruang-kolaborasi-modul-1.4.docPresentasi-ruang-kolaborasi-modul-1.4.doc
Presentasi-ruang-kolaborasi-modul-1.4.doc
 
Aksi Nyata Cegah Perundungan Mulai dari Kelas [Guru].pptx
Aksi Nyata Cegah Perundungan Mulai dari Kelas [Guru].pptxAksi Nyata Cegah Perundungan Mulai dari Kelas [Guru].pptx
Aksi Nyata Cegah Perundungan Mulai dari Kelas [Guru].pptx
 
Laporan_Rekan_Sejawat Sri Lubis, S.Pd (1).pdf
Laporan_Rekan_Sejawat Sri Lubis, S.Pd (1).pdfLaporan_Rekan_Sejawat Sri Lubis, S.Pd (1).pdf
Laporan_Rekan_Sejawat Sri Lubis, S.Pd (1).pdf
 
Laporan observasi sri handayani lubis.pdf
Laporan observasi sri handayani lubis.pdfLaporan observasi sri handayani lubis.pdf
Laporan observasi sri handayani lubis.pdf
 
#05 SOSIALISASI JUKNIS BOK 2024 Canva_124438.pptx
#05 SOSIALISASI JUKNIS BOK 2024 Canva_124438.pptx#05 SOSIALISASI JUKNIS BOK 2024 Canva_124438.pptx
#05 SOSIALISASI JUKNIS BOK 2024 Canva_124438.pptx
 
PPT MODUL 6 Bahasa Indonesia UT Bjn.pptx
PPT MODUL 6 Bahasa Indonesia UT Bjn.pptxPPT MODUL 6 Bahasa Indonesia UT Bjn.pptx
PPT MODUL 6 Bahasa Indonesia UT Bjn.pptx
 
LAPORAN PARTISIPAN OBSERVER sdn 211.docx
LAPORAN PARTISIPAN OBSERVER sdn 211.docxLAPORAN PARTISIPAN OBSERVER sdn 211.docx
LAPORAN PARTISIPAN OBSERVER sdn 211.docx
 
Soal BAB 6 IPAS KELAS 4.doc tentang kebudayaan
Soal BAB 6 IPAS KELAS 4.doc tentang kebudayaanSoal BAB 6 IPAS KELAS 4.doc tentang kebudayaan
Soal BAB 6 IPAS KELAS 4.doc tentang kebudayaan
 
MODUL AJAR PENDIDIKAN PANCASILA (PPKN) KELAS 3 KURIKULUM MERDEKA.pdf
MODUL AJAR PENDIDIKAN PANCASILA (PPKN) KELAS 3 KURIKULUM MERDEKA.pdfMODUL AJAR PENDIDIKAN PANCASILA (PPKN) KELAS 3 KURIKULUM MERDEKA.pdf
MODUL AJAR PENDIDIKAN PANCASILA (PPKN) KELAS 3 KURIKULUM MERDEKA.pdf
 
Aksi Nyata Modul 1.3 Visi Guru penggerak
Aksi Nyata Modul 1.3 Visi Guru penggerakAksi Nyata Modul 1.3 Visi Guru penggerak
Aksi Nyata Modul 1.3 Visi Guru penggerak
 
Modul Ajar Ipa kelas 8 Struktur Bumi dan perkembangannya
Modul Ajar Ipa kelas 8 Struktur Bumi dan perkembangannyaModul Ajar Ipa kelas 8 Struktur Bumi dan perkembangannya
Modul Ajar Ipa kelas 8 Struktur Bumi dan perkembangannya
 
Perspektif Global PDGK 4403, Modul 4.pptx
Perspektif Global PDGK 4403, Modul 4.pptxPerspektif Global PDGK 4403, Modul 4.pptx
Perspektif Global PDGK 4403, Modul 4.pptx
 

Featured

How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 

Featured (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

Tugas5 1300631008

  • 1. PEMROGRAMAN FRAMEWORK TUGAS 5 Membuat Form Matakuliah dengan YII CRUD Disusun oleh: Achmad Hadi Soeprayitno Putra 1300631008 PROGRAM STUDI MANAJEMEN INFORMATIKA FAKULTAS TEKNIK UNIVERSITAS MUHAMMADIYAH JEMBER 2015
  • 2. 1. Langkah pertama buat database matakuliah dengan sql seperti ini Sehingga akan tampil database seperti ini : 2. Langkah kedua instal yii dengan nama makul
  • 3. Sehingga akan muncul folder matakuliah di HTDOC 3. Lalu akses localhost/makul maka akan muncul tampilan seperti berikut 4. Buka sublime text dan open folder matakuliah , lalu pilih config lalu database.php dan ganti databasex menjadi matakuliah , tepatx di line no 5
  • 4. 5. Dan jangan lupa ubah juga password di main.php , setelah itu akses http://localhost/makul/index.php?r=gii maka akan muncul tampilan seperti berikut 6. Isi password maka akan muncul tampilan seperti berikut 7. Lalu pilih model generator , model generator berfungsi untuk menggenerate ke database pilih model generator maka akan muncul tampilan seperti berikut isikan nama database lalu generate
  • 5. 8. Setelah generate lalu pilih menu “Crud Generator” maka akan muncul tampilan seperti berikut , isilah model class dan controler id lalu generate 9. Setelah itu akses http://localhost/makul/index.php?r=matakuliah maka akan akan muncul tampilan seperti berikut 10. Setelah itu pilih create matakuliah maka akan muncul form mata kuliah seperti berikut
  • 6. 11. Setelah pengisian dapat kita lihat daftar mata kuliah dengan memilih list matakuliah , maka akan muncul daftar mata kuliah seperti dibawah ini NB : ID_MK akan berurutan karena database menggunakan AUTO_INCREMEN yang secara otomatis terisi sendiri melanjutkan data sebelumnya walaupun data ada yang dihapus , apabila ingin mengurutkan dapat mengurutkan dengan cara menggunakan perintah ALTER di SQL contohnya seperti berikut maka database ID_MK akan terisi dengan Nomer 1031 dst