SlideShare a Scribd company logo
Saket Shukla
11004089
B.Tech. (honors) - CSE
Web development is a broad term for the work involved in
developing a web site for the Internet (World Wide Web) or
an intranet (a private network). Web development can range
from developing the simplest static single page of plain text to
the most complex web-based internet applications, electronic
businesses, and social network services. Among web
professionals, "web development" usually refers to the main non-
design aspects of building web sites: writing mark up and coding.
HTML stands for Hypertext Markup Language, which is the
main programming structure for web pages and browser
software. When browser software accesses an HTML file it
understands how to parse the document according to the
file's extension.(.html - .txt - .php - .xml - .pdf - .doc - etc... ).
HTML provides us a means of laying out and structuring our
web pages using paragraphs, images, lists, indents, boxes,
tables, colors, padding, and many more data structuring
methods common to most data processing systems.
The Main Elements of an HTML Document
<DOCTYPE> : Communicates with software(validators, browser)
accessing the page to help identify the HTML rules being followed
inside the document.
<html> : Defines the beginning and end of an HTML document. It
contains the <head>, <meta>, <title>, and <body>
<head> : Used to describe or modify the content in the document.
The head element contains the <meta>, and <title> elements
<meta> : Used to describe the document with a description and
keywords primarily.
<title> : Displays a page title in the browser tab bars and
bookmark lists. The title element should come directly after your
<meta> tags in the document and also communicates to search
engine indexing bots to some degree.
<body> : Directly after the <head> element closes(</head>) we
define our <body> element. This element contains everything that
we want to display to the browser software. The body element
can have attributes set in it to affect the entire document if the
author so chooses.
CSS is an acronym for Cascading Style Sheets. CSS is used to
separate presentation and style from document markup content.
It works by targeting your web page elements. CSS can target
and style native elements like your body tag or all <p> tags on the
page. It can also be made to target specific individual page
elements or a group of labeled elements, as long as you give
those elements the appropriate class name or identifier.
CSS specifications and validation services are maintained by
W3C.
CSS stands for Cascading Style Sheets
Styles define how to display HTML elements
Styles were added to HTML 4.0 to solve a problem
External Style Sheets can save a lot of work
External Style Sheets are stored in CSS files
JavaScript (not to be confused with Java) is a scripting
language that is widely used by many developers that focus
on website and web applications creation.
What is JavaScript?
JavaScript was designed to add interactivity to HTML pages
JavaScript is a scripting language
A scripting language is a lightweight programming language
JavaScript is usually embedded directly into HTML pages
JavaScript is an interpreted language (means that scripts
execute without preliminary compilation)
Everyone can use JavaScript without purchasing a license
PHP runs on different platforms (Windows, Linux, UNIX, etc.)
PHP is compatible with almost all servers used today (Apache,
IIS, etc.)
PHP is FREE to download from the official PHP
resource: www.php.net
PHP is easy to learn and runs efficiently on the server side
 PHP is a server scripting language, and is a powerful
tool for making dynamic and interactive Web pages.
 PHP is a widely-used, free, and efficient alternative to
competitors such as Microsoft's ASP.
 PHP stands for PHP: Hypertext Preprocessor
 PHP is a widely-used, open source scripting language
 PHP scripts are executed on the server
 PHP is free to download and use.
 PHP files can contain text, HTML, JavaScript code,
and PHP code
 PHP code are executed on the server, and the result
is returned to the browser as plain HTML
 PHP files have a default file extension of ".php”
 PHP can generate dynamic page content
 PHP can create, open, read, write, and close files on
the server
 PHP can collect form data
 PHP can send and receive cookies
 PHP can add, delete, modify data in your database
 PHP can restrict users to access some pages on your
website
 PHP can encrypt data
 PHP runs on different platforms (Windows, Linux, Unix,
Mac OS X, etc.)
 PHP is compatible with almost all servers used today
(Apache, IIS, etc.)
 PHP has support for a wide range of databases
 Download it from the official PHP resource:
www.php.net
 PHP is easy to learn and runs efficiently on the server
side
MySQL is the most popular open-source database system.
MySQL is a relational database management
system (RDBMS) that runs as a server providing multi-user access
to number of databases.
MySQL is currently the world’s most popular and widely used open
source database technology and data storage system. MySQL
offers great reliability and ease of use. It is free, and comes with
free documentation as well as thousands of programmers that
share their code that relates to communicating with a MySQL
database. The MySQL development project has made its source
code available under the terms of the GNU General Public
License, as well as under a variety of proprietary agreements.
Before we can access data in a database, we must open
a connection to the MySQL server.
In PHP, this is done with the mysql_connect() function.
Syntax :
mysql_connect(host,username,password,dbname);
Parameter Description
host Optional. Either a host name or an IP address
username Optional. The MySQL user name
password Optional. The password to log in with
dbname Optional. The default database to be used when
performing queries
•Mysql_close() : used to close an opened connection to
database
•Mysql_query() : sends the sql query through the specified
connection string to database returns the result
•Mysql__fetch_array() : fetches result in an array from the
returned value from the query
•Mysql_error() : returns current mysql error description
1. Easy to get started with
2. Designed for the web
3. Free to use
4. Many successful websites run on PHP
•PHP is a scripting language so it is slow (compared to C or
C++)
•PHP is a scripting language with dynamic typing so it may
have more undiscovered errors at run-time than a staticly
typed language such as Java, C++ or C#
•Because anyone can learn PHP there is a lot of bad code
out there written in PHP by poor programmers
•PHP is an ugly/messy/uncool procedural language
The mini - project designed using this language is a basic city
police website, which targets to provide with services to citizen
at the comfort of their home.
The website apart from providing a landing page for the city
police, provides people with options to locate their nearest
police station.
The major service offered includes : lodging and receiving
status of complaints
Php
Php
Php
Php
Php
•Usage of ajax for reducing load time and enhanced user
experience
•Usage of xml for sending large amounts of data and images
•Increasing the number of services provided
•Inclusion of a CMS for the admin to control the website
•Inclusion of various other services and portals

More Related Content

What's hot (20)

PPTX
Fundamentals of Web building
RC Morales
 
PPTX
0 csc 3311 slide internet programming
umardanjumamaiwada
 
PDF
Internet programming lecture 1
Mohammed Hussein
 
PDF
Iwt module 1
SANTOSH RATH
 
PDF
Vskills angular js sample material
Vskills
 
PPT
4 internet programming
soner_kavlak
 
PPTX
Facebook thrift
Priyadarshi Raj
 
PPT
Introduction To Website Development
zaidfarooqui974
 
PDF
Intro to Dynamic Web Pages
Jussi Pohjolainen
 
PPTX
Facebook thrift
Bhuvana Laksminarayanan
 
PPTX
Introduction to webprogramming using PHP and MySQL
anand raj
 
PPTX
PHP Summer Training Presentation
Nitesh Sharma
 
DOCX
internet programming and java notes 5th sem mca
Renu Thakur
 
PDF
Ncp computer appls web tech asish
NCP
 
PPTX
Web programming and development - Introduction
Joel Briza
 
PPT
Introduction of WebServices
Khasim Saheb
 
PPTX
1 introductin to HTML
Javed Khan
 
PPT
KMUTNB - Internet Programming 1/7
phuphax
 
PPT
Why to use PHP
sammesh30
 
PDF
Web architecture - overview of techniques.
Ruslan Shevchenko
 
Fundamentals of Web building
RC Morales
 
0 csc 3311 slide internet programming
umardanjumamaiwada
 
Internet programming lecture 1
Mohammed Hussein
 
Iwt module 1
SANTOSH RATH
 
Vskills angular js sample material
Vskills
 
4 internet programming
soner_kavlak
 
Facebook thrift
Priyadarshi Raj
 
Introduction To Website Development
zaidfarooqui974
 
Intro to Dynamic Web Pages
Jussi Pohjolainen
 
Facebook thrift
Bhuvana Laksminarayanan
 
Introduction to webprogramming using PHP and MySQL
anand raj
 
PHP Summer Training Presentation
Nitesh Sharma
 
internet programming and java notes 5th sem mca
Renu Thakur
 
Ncp computer appls web tech asish
NCP
 
Web programming and development - Introduction
Joel Briza
 
Introduction of WebServices
Khasim Saheb
 
1 introductin to HTML
Javed Khan
 
KMUTNB - Internet Programming 1/7
phuphax
 
Why to use PHP
sammesh30
 
Web architecture - overview of techniques.
Ruslan Shevchenko
 

Similar to Php (20)

PPTX
Choice of programming language for web developing.
Mohammad Kamrul Hasan
 
PPTX
janhwi Singh 48 rollno web development.pptx
HarshJaiswal535013
 
PDF
Making Of PHP Based Web Application
Sachin Walvekar
 
PPTX
WEB DEVELOPMENT
Gourav Kaushik
 
PDF
Soccer management system report project.pdf
Kamal Acharya
 
PPTX
INDUSTRIAL TRAINING Presentation on Web Development. (2).pptx
12KritiGaneriwal
 
PPTX
Chapter onehsfhjfgjhdjhdhfsGfhghsgasg (2).pptx
berihun18
 
PPT
How develop a web application?
Md Ekram
 
PPTX
Lecture1 introduction by okello erick
okelloerick
 
PPTX
ashish ppt webd.pptx
ashishsaini773461
 
PDF
shobhit training report (3) (4).pdf report
poojaranga2911
 
PDF
Web Design & Development Courses in Pune | 3DOT Technologies
abeda786
 
PPTX
3. WEB TECHNOLOGIES.pptx B.Pharm sem 2 CAP
Vedika Narvekar
 
PPTX
Web Design & Development Courses in Pune |Web Development Classes in Pune | ...
abeda786
 
PPTX
Web technology
Milap Gatecha
 
PPTX
C language
omprakash810
 
PDF
C language
omprakash810
 
PDF
C language
omprakash810
 
PPTX
C language
omprakash810
 
PDF
C language
omprakash810
 
Choice of programming language for web developing.
Mohammad Kamrul Hasan
 
janhwi Singh 48 rollno web development.pptx
HarshJaiswal535013
 
Making Of PHP Based Web Application
Sachin Walvekar
 
WEB DEVELOPMENT
Gourav Kaushik
 
Soccer management system report project.pdf
Kamal Acharya
 
INDUSTRIAL TRAINING Presentation on Web Development. (2).pptx
12KritiGaneriwal
 
Chapter onehsfhjfgjhdjhdhfsGfhghsgasg (2).pptx
berihun18
 
How develop a web application?
Md Ekram
 
Lecture1 introduction by okello erick
okelloerick
 
ashish ppt webd.pptx
ashishsaini773461
 
shobhit training report (3) (4).pdf report
poojaranga2911
 
Web Design & Development Courses in Pune | 3DOT Technologies
abeda786
 
3. WEB TECHNOLOGIES.pptx B.Pharm sem 2 CAP
Vedika Narvekar
 
Web Design & Development Courses in Pune |Web Development Classes in Pune | ...
abeda786
 
Web technology
Milap Gatecha
 
C language
omprakash810
 
C language
omprakash810
 
C language
omprakash810
 
C language
omprakash810
 
C language
omprakash810
 
Ad

Recently uploaded (20)

PDF
DIGESTION OF CARBOHYDRATES,PROTEINS,LIPIDS
raviralanaresh2
 
PPT
Talk on Critical Theory, Part II, Philosophy of Social Sciences
Soraj Hongladarom
 
PPTX
Unit 2 COMMERCIAL BANKING, Corporate banking.pptx
AnubalaSuresh1
 
PDF
ARAL-Orientation_Morning-Session_Day-11.pdf
JoelVilloso1
 
PPTX
How to Set Up Tags in Odoo 18 - Odoo Slides
Celine George
 
PPTX
How to Convert an Opportunity into a Quotation in Odoo 18 CRM
Celine George
 
PDF
LAW OF CONTRACT (5 YEAR LLB & UNITARY LLB )- MODULE - 1.& 2 - LEARN THROUGH P...
APARNA T SHAIL KUMAR
 
PPTX
How to Set Maximum Difference Odoo 18 POS
Celine George
 
PPTX
How to Manage Large Scrollbar in Odoo 18 POS
Celine George
 
PDF
LAW OF CONTRACT ( 5 YEAR LLB & UNITARY LLB)- MODULE-3 - LEARN THROUGH PICTURE
APARNA T SHAIL KUMAR
 
PDF
community health nursing question paper 2.pdf
Prince kumar
 
PPTX
grade 5 lesson matatag ENGLISH 5_Q1_PPT_WEEK4.pptx
SireQuinn
 
PDF
Exploring the Different Types of Experimental Research
Thelma Villaflores
 
PDF
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 - GLOBAL SUCCESS - CẢ NĂM - NĂM 2024 (VOCABULARY, ...
Nguyen Thanh Tu Collection
 
PDF
Chapter-V-DED-Entrepreneurship: Institutions Facilitating Entrepreneurship
Dayanand Huded
 
PDF
Lesson 2 - WATER,pH, BUFFERS, AND ACID-BASE.pdf
marvinnbustamante1
 
PDF
CONCURSO DE POESIA “POETUFAS – PASSOS SUAVES PELO VERSO.pdf
Colégio Santa Teresinha
 
PPTX
A PPT on Alfred Lord Tennyson's Ulysses.
Beena E S
 
PDF
Dimensions of Societal Planning in Commonism
StefanMz
 
PDF
The Constitution Review Committee (CRC) has released an updated schedule for ...
nservice241
 
DIGESTION OF CARBOHYDRATES,PROTEINS,LIPIDS
raviralanaresh2
 
Talk on Critical Theory, Part II, Philosophy of Social Sciences
Soraj Hongladarom
 
Unit 2 COMMERCIAL BANKING, Corporate banking.pptx
AnubalaSuresh1
 
ARAL-Orientation_Morning-Session_Day-11.pdf
JoelVilloso1
 
How to Set Up Tags in Odoo 18 - Odoo Slides
Celine George
 
How to Convert an Opportunity into a Quotation in Odoo 18 CRM
Celine George
 
LAW OF CONTRACT (5 YEAR LLB & UNITARY LLB )- MODULE - 1.& 2 - LEARN THROUGH P...
APARNA T SHAIL KUMAR
 
How to Set Maximum Difference Odoo 18 POS
Celine George
 
How to Manage Large Scrollbar in Odoo 18 POS
Celine George
 
LAW OF CONTRACT ( 5 YEAR LLB & UNITARY LLB)- MODULE-3 - LEARN THROUGH PICTURE
APARNA T SHAIL KUMAR
 
community health nursing question paper 2.pdf
Prince kumar
 
grade 5 lesson matatag ENGLISH 5_Q1_PPT_WEEK4.pptx
SireQuinn
 
Exploring the Different Types of Experimental Research
Thelma Villaflores
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 - GLOBAL SUCCESS - CẢ NĂM - NĂM 2024 (VOCABULARY, ...
Nguyen Thanh Tu Collection
 
Chapter-V-DED-Entrepreneurship: Institutions Facilitating Entrepreneurship
Dayanand Huded
 
Lesson 2 - WATER,pH, BUFFERS, AND ACID-BASE.pdf
marvinnbustamante1
 
CONCURSO DE POESIA “POETUFAS – PASSOS SUAVES PELO VERSO.pdf
Colégio Santa Teresinha
 
A PPT on Alfred Lord Tennyson's Ulysses.
Beena E S
 
Dimensions of Societal Planning in Commonism
StefanMz
 
The Constitution Review Committee (CRC) has released an updated schedule for ...
nservice241
 
Ad

Php

  • 2. Web development is a broad term for the work involved in developing a web site for the Internet (World Wide Web) or an intranet (a private network). Web development can range from developing the simplest static single page of plain text to the most complex web-based internet applications, electronic businesses, and social network services. Among web professionals, "web development" usually refers to the main non- design aspects of building web sites: writing mark up and coding.
  • 3. HTML stands for Hypertext Markup Language, which is the main programming structure for web pages and browser software. When browser software accesses an HTML file it understands how to parse the document according to the file's extension.(.html - .txt - .php - .xml - .pdf - .doc - etc... ). HTML provides us a means of laying out and structuring our web pages using paragraphs, images, lists, indents, boxes, tables, colors, padding, and many more data structuring methods common to most data processing systems.
  • 4. The Main Elements of an HTML Document <DOCTYPE> : Communicates with software(validators, browser) accessing the page to help identify the HTML rules being followed inside the document. <html> : Defines the beginning and end of an HTML document. It contains the <head>, <meta>, <title>, and <body> <head> : Used to describe or modify the content in the document. The head element contains the <meta>, and <title> elements <meta> : Used to describe the document with a description and keywords primarily.
  • 5. <title> : Displays a page title in the browser tab bars and bookmark lists. The title element should come directly after your <meta> tags in the document and also communicates to search engine indexing bots to some degree. <body> : Directly after the <head> element closes(</head>) we define our <body> element. This element contains everything that we want to display to the browser software. The body element can have attributes set in it to affect the entire document if the author so chooses.
  • 6. CSS is an acronym for Cascading Style Sheets. CSS is used to separate presentation and style from document markup content. It works by targeting your web page elements. CSS can target and style native elements like your body tag or all <p> tags on the page. It can also be made to target specific individual page elements or a group of labeled elements, as long as you give those elements the appropriate class name or identifier. CSS specifications and validation services are maintained by W3C. CSS stands for Cascading Style Sheets Styles define how to display HTML elements Styles were added to HTML 4.0 to solve a problem External Style Sheets can save a lot of work External Style Sheets are stored in CSS files
  • 7. JavaScript (not to be confused with Java) is a scripting language that is widely used by many developers that focus on website and web applications creation. What is JavaScript? JavaScript was designed to add interactivity to HTML pages JavaScript is a scripting language A scripting language is a lightweight programming language JavaScript is usually embedded directly into HTML pages JavaScript is an interpreted language (means that scripts execute without preliminary compilation) Everyone can use JavaScript without purchasing a license
  • 8. PHP runs on different platforms (Windows, Linux, UNIX, etc.) PHP is compatible with almost all servers used today (Apache, IIS, etc.) PHP is FREE to download from the official PHP resource: www.php.net PHP is easy to learn and runs efficiently on the server side
  • 9.  PHP is a server scripting language, and is a powerful tool for making dynamic and interactive Web pages.  PHP is a widely-used, free, and efficient alternative to competitors such as Microsoft's ASP.  PHP stands for PHP: Hypertext Preprocessor  PHP is a widely-used, open source scripting language  PHP scripts are executed on the server  PHP is free to download and use.  PHP files can contain text, HTML, JavaScript code, and PHP code  PHP code are executed on the server, and the result is returned to the browser as plain HTML
  • 10.  PHP files have a default file extension of ".php”  PHP can generate dynamic page content  PHP can create, open, read, write, and close files on the server  PHP can collect form data  PHP can send and receive cookies  PHP can add, delete, modify data in your database  PHP can restrict users to access some pages on your website  PHP can encrypt data  PHP runs on different platforms (Windows, Linux, Unix, Mac OS X, etc.)  PHP is compatible with almost all servers used today (Apache, IIS, etc.)  PHP has support for a wide range of databases  Download it from the official PHP resource: www.php.net  PHP is easy to learn and runs efficiently on the server side
  • 11. MySQL is the most popular open-source database system. MySQL is a relational database management system (RDBMS) that runs as a server providing multi-user access to number of databases. MySQL is currently the world’s most popular and widely used open source database technology and data storage system. MySQL offers great reliability and ease of use. It is free, and comes with free documentation as well as thousands of programmers that share their code that relates to communicating with a MySQL database. The MySQL development project has made its source code available under the terms of the GNU General Public License, as well as under a variety of proprietary agreements.
  • 12. Before we can access data in a database, we must open a connection to the MySQL server. In PHP, this is done with the mysql_connect() function. Syntax : mysql_connect(host,username,password,dbname); Parameter Description host Optional. Either a host name or an IP address username Optional. The MySQL user name password Optional. The password to log in with dbname Optional. The default database to be used when performing queries
  • 13. •Mysql_close() : used to close an opened connection to database •Mysql_query() : sends the sql query through the specified connection string to database returns the result •Mysql__fetch_array() : fetches result in an array from the returned value from the query •Mysql_error() : returns current mysql error description
  • 14. 1. Easy to get started with 2. Designed for the web 3. Free to use 4. Many successful websites run on PHP
  • 15. •PHP is a scripting language so it is slow (compared to C or C++) •PHP is a scripting language with dynamic typing so it may have more undiscovered errors at run-time than a staticly typed language such as Java, C++ or C# •Because anyone can learn PHP there is a lot of bad code out there written in PHP by poor programmers •PHP is an ugly/messy/uncool procedural language
  • 16. The mini - project designed using this language is a basic city police website, which targets to provide with services to citizen at the comfort of their home. The website apart from providing a landing page for the city police, provides people with options to locate their nearest police station. The major service offered includes : lodging and receiving status of complaints
  • 22. •Usage of ajax for reducing load time and enhanced user experience •Usage of xml for sending large amounts of data and images •Increasing the number of services provided •Inclusion of a CMS for the admin to control the website •Inclusion of various other services and portals