Pemrograman berorientasi objek (Inggris: object-oriented programming disingkat OOP) merupakan paradigma pemrograman yang berorientasikan kepada objek. Semua data dan fungsi di dalam paradigma ini dibungkus dalam kelas-kelas atau objek-objek.
1. Buka XAMPP Run Administrator (Disarankan)
2. Start Apache dan MySql
3. Klik Shell
4. Ketik
#1 - Membuat Database : https://youtu.be/Ho1fiH-N1gc
1. Buka XAMPP Run Administrator (Disarankan)
4. Ketik
mysql -u root -p (Enter)
Enter password:5. Buat Database yotube.
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 2
Server version: 10.1.16-MariaDB mariadb.org binary distribution
Copyright (c) 2000, 2016, Oracle, MariaDB Corporation Ab and others.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
MariaDB [(none)]>
MariaDB [(none)]> Create database youtube;6. Gunakan database yotube.
Query OK, 1 row affected (0.08 sec)
MariaDB [(none)]> use youtube;7. Membuat tabel pengguna.
Database changed
MariaDB [youtube]> Create table pengguna(8. Deskripsi tabel pengguna.
-> id int(10) not null,
-> nama varchar(50) not null,
-> email varchar(50) not null,
-> subcriber varchar(10) not null,
-> primary key (id)
-> )Engine = InnoDB;
Query OK, 0 rows affected (0.41 sec)
MariaDB [youtube]> desc pengguna;Saya bagi menjadi beberapa bagian :
+-----------+-------------+------+-----+---------+-------+
| Field | Type | Null | Key| Default | Extra |
+-----------+-------------+------+-----+---------+-------+
| id | int(10) | NO | PRI | NULL| |
| nama | varchar(50) | NO | | NULL| |
| email | varchar(50) | NO | | NULL| |
| subcriber | varchar(10) | NO | | NULL| |
+-----------+-------------+------+-----+---------+-------+
4 rows in set (0.13 sec)
#1 - Membuat Database : https://youtu.be/Ho1fiH-N1gc
#2 - Membuat Desain : https://youtu.be/kcBhMA-MhrU
#3 - Simpan Data : https://youtu.be/9q_W6EVySdI
#4 - Tampil Data : https://youtu.be/EVPLgHOXPEQ
#5 - Ubah Data : https://youtu.be/tp6omIN86cw
#6 - Hapus Data : https://youtu.be/RKx2Qilj8og
Ada pertanyaan langsung di comment youtube.
Comments