Lecture 0 - Web - Programming
Lecture 0 - Web - Programming
Presented By
Dr. Mohamed Abdelhafeez
Lecture 1 Introduction
1
Web Programming CS433 lec0 Dr Walid M. Aly
Web Programming
2
Web Programming CS433 lec0 Dr Walid M. Aly
Description
➢This course is an introduction of common,
primarily open-source, technologies used to
develop and maintain server sites on the Web.
➢A variety of client-side and server-side
technologies are covered.
3
Web Programming CS433 lec0 Dr Walid M. Aly
Textbook
Robert W. Sebesta, Programming the World Wide Web, Publisher: Addison Wesley
4
Web Programming CS433 lec0 Dr Walid M. Aly
Basic Information
➢You use your Browser to display the web pages stored at a distant web server by writing
the URL of the page .
➢All communications between browsers and servers use Hypertext Transfer Protocol (HTTP)
➢The two main web servers worldwide are Apache & IIS (Microsoft Product)
➢This course is about applying your programming skills to the development of dynamic Web pages and
applications.
Client Server
5
Web Programming CS433 lec0 Dr Walid M. Aly
Web Programming
Client Side Technologies Server Side Technologies
Download program with Web page, execute on client Can store and execute program on Web server, link
machine from Web page
▪ simple, generic, but insecure
▪ more complex, requires server
privileges, but secure
➢HTML&XHTML ➢Perl
➢CSS ➢CGI
➢JavaScript ➢JSP
➢JavaApplets ➢PHP
➢XML ➢ASP
6
Web Programming CS433 lec0 Dr Walid M. Aly
HTML Demo Page
<html>
HTML <body>
<h1>My First Heading</h1>
• HTML :Hyper Text Markup Language <p>My first paragraph.</p>
• Current Version :HTML5 </body>
</html>
CSS
•CSS : Cascaded Style Sheets
•CSS Seprates the content from the formatting rules
Javascript Demo1
Javascript Demo2
Database: courses
Table :cs_ courses
http://127.0.0.1/FormQuery.php
Web Programming CS433 lec0 Dr Walid M. Aly
AJAX
• AJAX is an acronym for Asynchronous JavaScript And XML.
• The technology uses JavaScript to send and receive data between a web browser
and a web server.
• The AJAX technique makes web pages more responsive by exchanging data
with a server behind the scenes, instead of reloading an entire web page each
time a user makes a change.
• With AJAX, web applications can be faster, more interactive, and more user
friendly.
http://localhost/ajaxdemo1/SwitchContent.html
Web Programming CS433 lec0 Dr Walid M. Aly