Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 16

PHP & MySQL

UNIT ONE

LECTURE NOTES BY: UMAR FAROUK


 RECOMMENDED BOOKS
 Learning PHP, MYSQL, and Javascript

◦ By ROBIN NIXON
◦ Publishers- Oreilly

Build your own Database Driven Website Using PHP


and Mysql
By Kelvin Yank
Publishers- Sitepoint.com

LECTURE NOTES BY: UMAR FAROUK


UNIT ONE
INTRODUCTION TO DYNAMIC CONTENT
* HTTP
* WEB SERVERS
* WEB DEVELOPMENT LANGUAGES
* SETTING UP A DEVELOPMENT ENVIRONMENT
UNIT TWO
INTRODUCTION TO PHP
* THE PHP LANGUAGE

LECTURE NOTES BY: UMAR FAROUK


UNIT THREE
EXPRESSION AND CONTROL FLOW IN PHP
* EXPRESSIONS
* OPERATORS
* CONDITIONALS
* LOOPING
* IMPLICIT AND EXPLICIT CASTING

UNIT FOUR
PHP FUNCTIONS AND OBJECTS
* FUNCTIONS
* INCLUDING AND REQUIRING FILES
* PHP OBJECTS (OBJECT ORIENTED PROGRAMMING)

LECTURE NOTES BY: UMAR FAROUK


UNIT FIVE
MYSQL ADMINISTRATION

UNIT SIX
FORM HANDLING
* BUILDING FORMS
UNIT SEVEN
• COOKIES, SESSION AND AUTHENTICATION
UNIT EIGHT
PROJECT

LECTURE NOTES BY: UMAR FAROUK


 HTTP

 WEB SERVERS

 WEB DEV. LANGUAGES

 INTRANET/ INTERNET APPLICATIONS

LECTURE NOTES BY: UMAR FAROUK


 HTTP is a communication standard governing the
requests and responses that take place between the
browser running on the end user’s computer and the
web server.

 The server’s job is to accept a request from the client


and attempt to reply to it in a meaningful way,
usually by serving up a requested web page—that’s
why the term server is used

LECTURE NOTES BY: UMAR FAROUK


LECTURE NOTES BY: UMAR FAROUK
 A web server can usually handle multiple
simultaneous connections and—when not
 communicating with a client—spends its time

listening for an incoming connection.

 When one arrives, the server sends back a


response to confirm its receipt

LECTURE NOTES BY: UMAR FAROUK


1. You enter http://server.com into your
browser’s address bar.

2. Your browser looks up the IP address for


server.com.

3. Your browser issues a request for the home


page at server.com.

4. The request crosses the Internet and arrives at


the server.com web server.

5. The web server, having received the request,


looks for the web page on its hard disk.
LECTURE NOTES BY: UMAR FAROUK
6. The web page is retrieved by the server and
returned to the browser.

7. Your browser displays the web page.

LECTURE NOTES BY: UMAR FAROUK


WEB SERVERS (SOFTWARE)

 Apache
 IIS
 Novell's Web Server (Novel OS)
 Lotus Domino servers (IBM)
 JBoss(Mostly used in Eclipse)
 GlassFish (For Java EEE using netbeans)

LECTURE NOTES BY: UMAR FAROUK


 Other Web servers include :
 Novell's Web Server for users of its NetWare

operating system

 IBM's family of Lotus Domino servers,


primarily for IBM's OS/390 and AS/400
customers.

 Assignment look for other Web Servers

LECTURE NOTES BY: UMAR FAROUK


 WEB PROGRAMMING

LECTURE NOTES BY: UMAR FAROUK


WEB PROGRAMMING LANGUAGES

 PHP
 ASP.NET
 RUGBY RAIL
 JAVA
 PHTHON
 etc

LECTURE NOTES BY: UMAR FAROUK


WEB DEVELOPMENT ENVIRONMENT
 Developing a Web Application in PHP does not require and
special program.

 Therefore what you need is a text editor or a program that


supports text editing.
 Eg. NotePad
 NotePad ++
 DreamWeaver
 Netbeans
 You can also use a Framework
 Eg. CakePHP, EasyPHP, Laravel etc

 A Web Server (Localhost)


LECTURE NOTES BY: UMAR FAROUK

You might also like