Ex Machina (2015) 's Review

Image
From the beginning of this film, which is how humans can't be escaped from the name of Technology. Yes, modern humans today certainly can't be escaped from laptops, smartphones, and other things related to technology. In this film where a boss named Nathan intends to create an interface that can help people make their work easier. We all know if making an interface is not easy. In this case, the computer and its equipment must be designed in accordance with the desired needs and can help humans in their daily work (according to specific tasks given). If we talk about interfaces, it will offend the User Interface. User Interface here is more than what humans can see, touch or hear. The user interface includes concepts, user needs to know computer systems, and must be integrated into the entire system. The user interface isn't enough to just look 'good' but must be able to support tasks done by humans and has made to avoid minor mistakes. In this film, it c

Blade (Template Engine) pada Laravel Part2

 

Mengubah View Halaman Homepage dan About menjadi file Blade

Pada tutorial sebelumnya , jika anda mengikuti tutorial dari saya pastinya anda sudah membuat file Blade untuk mengubah file index.php menjadi index.blade.php  Sekarang kita akan melakukan hal yang sama untuk halaman Homepage dan About pada folder pages. Ikuti langkah-langkah berikut ini:

Langkah 1:
Pada folder belajaralaravel/resources/views/pages , rename file homepage.php menjadi homepage.blade.php . File tersebut adalah file view yang kita pakai untuk menampilkan data mahasiswa pada latihan sebelumnya. Jadi sekarang untuk menampilkan halaman homepage, kita memakai file belajaralaravel/resources/views/mahasiswa/homepage.blade.php .

Langkah 2:
Pada folder belajaralaravel/resources/views/pages , rename file about.php menjadi about.blade.php . File tersebut adalah file view yang kita pakai untuk menampilkan data mahasiswa pada latihan sebelumnya. Jadi sekarang untuk menampilkan halaman about, kita memakai file belajaralaravel/resources/views/mahasiswa/about.blade.php .  
 
Langkah 3:
Pada browser, sekarang jika anda ingin mengakses alamat http://belajarlaravel.dev dan http://belajarlaravel.dev/about , anda akan menjumpai halaman homepage dan about seperti sebelumnya pada tutorial http://incrediblefoundertutorial.blogspot.com/2018/01/view-pada-laravel.html  .  Yang membedakan sekarang kedua file tersebut adalah file Blade.
 
 

Comments

Popular posts from this blog

PERANGKAT BERGERAK (MOBILE DEVICE)

Membuat Aplikasi Penjualan Sederhana Menggunakan VB.Net dan database Access 2010 (CRUD)

Ex Machina (2015) 's Review