information technology program faculty of engineering … · 2020. 9. 23. · web programming:...

21
Web Programming: Introduction to Web by: I Putu Arya Dharmaadi, S.T., M.T. Information Technology Program Faculty of Engineering Udayana University

Upload: others

Post on 26-Feb-2021

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Information Technology Program Faculty of Engineering … · 2020. 9. 23. · Web Programming: Introduction to Web by:I Putu Arya Dharmaadi, S.T., M.T. Information Technology Program

Web Programming:

Introduction to Webby: I Putu Arya Dharmaadi, S.T., M.T.

Information Technology ProgramFaculty of EngineeringUdayana University

Page 2: Information Technology Program Faculty of Engineering … · 2020. 9. 23. · Web Programming: Introduction to Web by:I Putu Arya Dharmaadi, S.T., M.T. Information Technology Program

Contents

What web is

Web Introduction

What we need to build a web application

Web Programming Components

What the difference between the static and the dynamic web is

Static vs Dynamic Web

Exercise and what we will study next week

Assignment and Future Study

01

02

03

04

Page 3: Information Technology Program Faculty of Engineering … · 2020. 9. 23. · Web Programming: Introduction to Web by:I Putu Arya Dharmaadi, S.T., M.T. Information Technology Program

Web Introduction

Page 4: Information Technology Program Faculty of Engineering … · 2020. 9. 23. · Web Programming: Introduction to Web by:I Putu Arya Dharmaadi, S.T., M.T. Information Technology Program

• Internet è himpunan komputer yang salingberkomunikasi dengan menggunakan protokolTCP/IP pada jaringan komunikasi global

• Tujuan awal è berbagi informasi kepadapublik secara mudah

• Layanan awalè Layanan FTP & IRC

Internet

Page 5: Information Technology Program Faculty of Engineering … · 2020. 9. 23. · Web Programming: Introduction to Web by:I Putu Arya Dharmaadi, S.T., M.T. Information Technology Program

• Karena jumlah informasi yang dibagikan diInternet semakin besar, maka dibutuhkanteknologi manajemen informasi yang baruyang lebih efektif

• Maka, teknologi web dikembangkan padaawal tahun 1990an

Kemunculan Web

Page 6: Information Technology Program Faculty of Engineering … · 2020. 9. 23. · Web Programming: Introduction to Web by:I Putu Arya Dharmaadi, S.T., M.T. Information Technology Program

• WWW or Web can be informally defined asthe collection of machines (web servers) onthe Internet that provide information via HTTP,and particularly those that provide HTMLdocuments.

World Wide Web (WWW)

Page 7: Information Technology Program Faculty of Engineering … · 2020. 9. 23. · Web Programming: Introduction to Web by:I Putu Arya Dharmaadi, S.T., M.T. Information Technology Program
Page 8: Information Technology Program Faculty of Engineering … · 2020. 9. 23. · Web Programming: Introduction to Web by:I Putu Arya Dharmaadi, S.T., M.T. Information Technology Program

Website è kumpulan halaman web yang salingberhubungan dan biasanya disimpan dalam satukomputer server yang sama

Web server è sistem komputer yangmemungkinkan pengguna untuk mengakseshalaman web yang disimpan pada komputertersebut

Website & Web Server

Page 9: Information Technology Program Faculty of Engineering … · 2020. 9. 23. · Web Programming: Introduction to Web by:I Putu Arya Dharmaadi, S.T., M.T. Information Technology Program

To create a website, you’ll need these things:• a text editor,• an upload/publishing tool,• a web hosting service, and• a browser.

Creating a Website

Page 10: Information Technology Program Faculty of Engineering … · 2020. 9. 23. · Web Programming: Introduction to Web by:I Putu Arya Dharmaadi, S.T., M.T. Information Technology Program

Web Programming Components

Page 11: Information Technology Program Faculty of Engineering … · 2020. 9. 23. · Web Programming: Introduction to Web by:I Putu Arya Dharmaadi, S.T., M.T. Information Technology Program

Client Side Server Side

Page 12: Information Technology Program Faculty of Engineering … · 2020. 9. 23. · Web Programming: Introduction to Web by:I Putu Arya Dharmaadi, S.T., M.T. Information Technology Program

The purposes of each component

Web Application

Defining structuresof information

Dynamically updating contents

Applying styles to contents

Processinginformation

Storing and fetching data

Page 13: Information Technology Program Faculty of Engineering … · 2020. 9. 23. · Web Programming: Introduction to Web by:I Putu Arya Dharmaadi, S.T., M.T. Information Technology Program
Page 14: Information Technology Program Faculty of Engineering … · 2020. 9. 23. · Web Programming: Introduction to Web by:I Putu Arya Dharmaadi, S.T., M.T. Information Technology Program

Static vs Dynamic Web

Page 15: Information Technology Program Faculty of Engineering … · 2020. 9. 23. · Web Programming: Introduction to Web by:I Putu Arya Dharmaadi, S.T., M.T. Information Technology Program

Web Statis vs Dinamis

Ada 2 jenis aplikasi web berdasarkankontennya:

• Web Statis• Web Dinamis

Page 16: Information Technology Program Faculty of Engineering … · 2020. 9. 23. · Web Programming: Introduction to Web by:I Putu Arya Dharmaadi, S.T., M.T. Information Technology Program

WEB STATIS / Client Side WEB DINAMIS / Client Side + Server Side

Yang bisa dilakukan pengguna hanyasekedar melihat - lihat saja, tidak bisamengisi data.

Pengguna bisa mengupdate informasi website langsung dari websitenya.

Apabila ingin mengubah tampilannyaharus mengubah syntaxnya atauscriptnya langusng.

Bisa mengubah tampilan website melaluiCMS yang ada.

Tidak menggunakan bahasapemrograman web, hanya sebatasmenggunakan HTML & CSS atau JS (opt)

Menggunakan bahasa pemrogramanweb, seperti php, mysql, ruby, dan lain -lain.

Web Statis vs Dinamis (2)

Page 17: Information Technology Program Faculty of Engineering … · 2020. 9. 23. · Web Programming: Introduction to Web by:I Putu Arya Dharmaadi, S.T., M.T. Information Technology Program

WEB STATIS / Client Side WEB DINAMIS / Client Side + Server Side

Informasi jarang diupdate dan kalaupun ingin diupdate tidak bisalangsung diupdate, melainkan harusmerubah scriptnya.

Informasi dapat diubah melalui CMS yang sudah ada, biasanya untukmengubah informasi bisa dilakukandi halaman admin.

Web Statis tidak menggunakan database, semua informasi sudah ada dalam sebuah file dan file itulah yang ditampilkan di halaman web.

Web dinamis menggunakandatabase, database inilah yang digunakan untuk menampungbanyaknya data, sehingga website mengambil data dari database.

Web Statis vs Dinamis (3)

Page 18: Information Technology Program Faculty of Engineering … · 2020. 9. 23. · Web Programming: Introduction to Web by:I Putu Arya Dharmaadi, S.T., M.T. Information Technology Program

WEB CLIENT• Web Client merupakan pemberi perintah

untuk melakukan request dan sekaligus menerima response dari server

• Wujud nyata web client pada perangkat adalah web browser

Page 19: Information Technology Program Faculty of Engineering … · 2020. 9. 23. · Web Programming: Introduction to Web by:I Putu Arya Dharmaadi, S.T., M.T. Information Technology Program

WEB CLIENT (2)• Web browser adalah sebuah perangkat lunak

yang menerjemahkan dan menampilkanhalaman-halaman web sehingga memungkinkan user menginterpretasikan, melihat dan mengakses informasi pada suatu website.

• Contoh: Mozilla Firefox, Google Chrome, Internet Explorer, Safari, dll

Page 20: Information Technology Program Faculty of Engineering … · 2020. 9. 23. · Web Programming: Introduction to Web by:I Putu Arya Dharmaadi, S.T., M.T. Information Technology Program

WEB SERVER• Web Server adalah sebuah perangkat lunak yang

memberikan layanan seperti menerima permintaan dari HTTP dan HTTPS dari client, dan kemudian mengirimkan kembali (response) hasil permintaan dalam bentuk dokumen HTML

• Contoh web server:– Apache– Apache Tomcat– Microsoft Internet Information Services (IIS)

Page 21: Information Technology Program Faculty of Engineering … · 2020. 9. 23. · Web Programming: Introduction to Web by:I Putu Arya Dharmaadi, S.T., M.T. Information Technology Program

Next Meeting

HTML