01 - Dynamic Websites
01 - Dynamic Websites
01 - Dynamic Websites
Development
Dynamic websites
Dynamic website?
Client-side scripting
Server-side scripting
Client-side or server-side?
PHP
1. Dynamic website?
Classical
1. Dynamic website?
However
on next slides
4
1. Dynamic website?
The
content
displayed on the
Amazon home
page depends on:
Time
of the year
Previous
purchases
Stock availability
1. Dynamic website?
The
content of the
search result page
depends on the
keywords you
types in the search
box
1. Dynamic website?
I
1. Dynamic website?
Most
are often created with the help of serverside languages such as PHP, Perl, ASP,
ASP.NET, JSP, ColdFusion and other
languages.
Smaller
10
Client side
Responses
immediate
Secure (data doesnt leave your computer)
Plug-in/Browser Dependant
Processor
is bottleneck
11
Server side
Better
Independent
Connection/Remote
Processor are
bottlenecks
12
It
13
input validation
Drop-down list population
14
Languages
Client
side:
JavaScript, VBScript
Server
side:
15
5. PHP
PHP is a widely used, general-purpose scripting
language that was originally designed for web
development, to produce dynamic web pages.
It can be embedded into HTML and generally runs
on a web server, which needs to be configured to
process PHP code and create web page content
from it.
It can be deployed on most web servers and on
almost every operating system and platform free
of charge.
PHP is installed on over 20 million websites and 1
million web servers.
(http://en.wikipedia.org/wiki/PHP)
16
5. PHP
Cross Platform
Windows
Output formats
Any
Integration
Most
Line
5. PHP
Parsing
Passes
the text of the file back to the webserver until it encounters <?
Executes PHP commands until it finds a ?>
Multiple <? ?> are allowed within a PHP file
18
5. PHP is relevant
244M
Can
5. PHP is relevant
20
Dynamic website?
Client-side scripting
Server-side scripting
Client-side or server-side?
PHP
21