php kesatu, jatmiko i

Document Sample
php kesatu, jatmiko i
Shared by: jatmiko indriyanto
Categories
Tags
Stats
views:
94
posted:
2/12/2010
language:
Finnish
pages:
26
Web and PHP

Concepts





Jatmiko Indriyanto

Jatmikocollege.wordpress.com

Jatmikoindri@yahoo.com

YM : Jatmiko_idr

Jatmiko Indriyanto



• Lahir di Denpasar, 24 April 1977

• SD 03 Jakarta (1989)

• SMPN 177 Jakarta (1992)

• SMA 86, Jakarta (1995)

• S1 System Information, Budi Luhur University, Jakarta

(1995-2000)

• Core Competence: Software Engineering, Object Oriented

Programming, Artificial Intelegence

• S2 Game Technology(on-leave), Dian Nuswantoro

University

Web Server dan Web Client



Web browser (IE, Firefox, dsb) adalah web

client

 Web browser mengirimkan permintaan suatu

file kepada Web server (apache, xitami, etc)



 Web server memberikan respon dengan

mengirimkan file yang diminta



 Web browser menampilkan file sesuai dengan

kode (hypertext) yang terdapat pada file tersebut

Ragam Script Berbasis Web



1. Running on the client (Client Side Script)

- JavaScript: source code in the web page



2. Running on the server (Server Side Script)

- CGI (Common Gateway Interface)

- ASP (Active Server Pages - MS)

-PHP (Cross-platform scripting language)

Client Side Script



1. Client meminta suatu halaman (file)

2. Server mengiriman halaman (file) yang

diminta

3. Client memahami halaman (file) tersebut

dan menjalankannya sebagai sebuah

program

Server Side Script





1. Client meminta suatu halaman (file)

2. Server menjalankan (eksekusi)script yang

ada pada halaman (file) yang diminta

3. Server mengirimkan hasil eksekusi script ke

client

4. Client menampilkan hasil eksekusi

Mengenal PHP

Apa Itu PHP?







 PHP singkatan dari: PHP: Hypertext Preprocessor

 Server-side script

 HTML-embedded

 Cross-platform

 Resource: http://www.php.net

PHP Script

 Embedding PHP in HTML





Hello World!







 PHP tag styles:

Diawali dengan

Apa Itu MySQL?



 MySQL kepanjangan dari My Structured Query

Language

 Relational Database Management System

 Common SQL Statements

- INSERT

- SELECT

- UPDATE

- DELETE

 DBMS opensource yang sering digunakan untuk

pemrograman PHP

 Resource: http://www.mysql.com

Why is PHP used?



1. Easy to Use

Code is embedded into HTML. The PHP code is enclosed

in special start and

end tags that allow you to jump into and out of "PHP

mode"





Example







Why is PHP used?

2. Cross Platform

Runs on almost any Web server on several operating

systems. One of

the strongest features is the wide range of supported

databases

• Web Servers: Apache, Microsoft IIS, Caudium,

Netscape Enterprise Server

• Operating Systems: UNIX (HPUX,

OpenBSD,Solaris,Linux), Mac OSX, Windows

NT/98/2000/XP/2003

• Supported Databases: Adabas D, dBase,Empress,

FilePro (read-only), Hyperwave,IBMDB2, Informix,

Ingres, InterBase, FrontBase, mSQL, Direct MS-SQL,

MySQL, ODBC, Oracle (OCI7 and OCI8), Ovrimos,

PostgreSQL, SQLite, Solid, Sybase, Velocis,Unix dbm

Why is PHP used?

3. Cost Benefits

PHP is free. Open source code means that the entire

PHP community

will contribute towards bug fixes. There are several

add-on

technologies (libraries) for PHP that are also free

PHP

Software Free

Platform Free (Linux)

Development

Tools

Free

Emacs, PHP Coder, jEdit, TextPad,Notepad

Instalasi Apache, PHP

dan MySQL

How to Run a PHP Program



1. Instal Apache Web Server, PHP dan MySQL

atau gunakan software semacam XAMPP,

XAMPPLite atau Appserv untuk instalasi

ketiganya dengan lebih cepat dan terpadu

2. Jalankan program yang telah diinstal

3. Buat program atau script PHP dengan text

editor (TextPad, Notepad++)

4. Jalankan program atau script PHP dengan

web browser (IE, Firefox)

Download Software







 XAMPP and XAMPPLite:

http://www.apachefriends.org/en/xamppwindows.

html

 AppServ:

http://www.appservnetwork.com

Referensi

1. Janet Valade, PHP & MySQL for Dummies 3rd

Edition, Wiley Publishing, 2006

2. Rasmus Lerdorf, Kevin Tatroe, Peter MacIntyre,

Programming PHP, Oreilly, 2006

3. Lynn Beighley and Michael Morrison, Head First PHP

& MySQL,Oreilly, 2008

4. Learning PHP and MySQL 2nd Edition, Oreilly, 2007

5. Jay Greenspan and Brad Bulger, MySQL/PHP

Database Applications, M&T Books, 2001

6. Abdul Kadir, Dasar Pemrograman Web Dinamis

Menggunakan PHP Edisi Revisi, Penerbit Andi , 2008



From : Romi satria Wahono


Share This Document


Related docs
Other docs by jatmiko indriy...
fourthDelphi
Views: 61  |  Downloads: 28
PHP keempat
Views: 87  |  Downloads: 12
php kelima
Views: 87  |  Downloads: 12
mysql delapan
Views: 76  |  Downloads: 4
intro 3d game
Views: 42  |  Downloads: 4
flash lima
Views: 43  |  Downloads: 3
FirstDelphi
Views: 170  |  Downloads: 85
php ketiga, jatmiko i
Views: 51  |  Downloads: 4
flash enam
Views: 38  |  Downloads: 3
sixthDelphi
Views: 94  |  Downloads: 24
by registering with docstoc.com you agree to our
privacy policy

You are almost ready to download!

You are almost ready to download!