Presented By Sushil K. Chaturvedi Assistant Professor SRCEM,Banmore 1.

Slides:



Advertisements
Similar presentations
Lecture plan Information retrieval (from week 11)
Advertisements

INTRODUCTION GROUP MEMBERS Abubakr Saeed : Khurram Ali Khan :
Software Freedom Day th September 2007 Asia Pacific Institute of Information Technology Colombo, Sri Lanka. Nazly Ahmed Scripting The Web.
Server-Side vs. Client-Side Scripting Languages
PHP/ASP Robert Nelson & Will Vanlue BA370 November 4 th, 2005.
Session 6 Server-side programming - ASP. An ASP page is an HTML page interspersed with server-side code. The.ASP extension instead of.HTM denotes server-side.
B.Sc. Multimedia ComputingMedia Technologies Database Technologies.
Creating WordPress Websites. Creating a site on your computer Local server Local WordPress installation Setting Up Dreamweaver.
Outline IS400: Development of Business Applications on the Internet Fall 2004 Instructor: Dr. Boris Jukic Server Side Web Technologies: Part 2.
Multiple Tiers in Action
1 CS6320 – Why Servlets? L. Grewe 2 What is a Servlet? Servlets are Java programs that can be run dynamically from a Web Server Servlets are Java programs.
E-Commerce The technical side. LAMP Linux Linux Apache Apache MySQL MySQL PHP PHP All Open Source and free packages. Can be installed and run on most.
2440: 141 Web Site Administration Web Server-Side Programming Professor: Enoch E. Damson.
1 CS428 Web Engineering Lecture 18 Introduction (PHP - I)
WHAT IS PHP PHP is an HTML-embedded scripting language primarily used for dynamic Web applications.
PHP By Dr. Syed Noman Hasany. PHP PHP was originally created by Rasmus Lerdorf in PHP stands for PHP: Hypertext Preprocessor (a recursive acronym).
Web Page A page displayed by the browser. Website Collection of multiple web pages Web Browser: A software that displays web pages on client computer.
PHP and MySQL Week#1  Course Plan.  Introduction to Dynamic Web Content.  Setting Up Development Server Eng. Mohamed Ahmed Black 1.
PHP Web Development, PHP Programming
DAT602 Database Application Development Lecture 15 Java Server Pages Part 1.
Sys Prog & Scripting - HW Univ1 Systems Programming & Scripting Lecture 15: PHP Introduction.
Intro to PHP Introduction to server-side scripts (It’s all good :D) © TAFE NSW
PHP - Hypertext Preprocessor Yaron Benita De Paul University.

AIT 616 Fall 2002 PHP. AIT 616 Fall 2002 PHP  Special scripting language used to dynamically generate web documents  Open source – Free!!!  Performs.
Basics of Web Databases With the advent of Web database technology, Web pages are no longer static, but dynamic with connection to a back-end database.
Pradeep Tallogu Deepak Avanna Sharath Madathil
PHP TUTORIAL. HISTORY OF PHP  PHP as it's known today is actually the successor to a product named PHP/FI.  Created in 1994 by Rasmus Lerdorf, the very.
What is PHP? PHP (recursive acronym for "PHP: Hypertext Preprocessor") is a widely-used Open Source general- purpose scripting language that is especially.
1Computer Sciences Department Princess Nourah bint Abdulrahman University.
Introduction to PHP Advanced Database System Lab no.1.
CS 4720 Dynamic Web Applications CS 4720 – Web & Mobile Systems.
Case Study Dynamic Website - Three Tier Architecture
ASP (Active Server Pages) by Bülent & Resul. Presentation Outline Introduction What is an ASP file? How does ASP work? What can ASP do? Differences Between.
CITA 310 Section 7 Installing and Testing a Programming Environment (Textbook Chapter 7)
PHP Introduction PHP is a server-side scripting language.
ASP. ASP is a powerful tool for making dynamic and interactive Web pages An ASP file can contain text, HTML tags and scripts. Scripts in an ASP file are.
8 th Semester, Batch 2009 Department Of Computer Science SSUET.
 Before you continue you should have a basic understanding of the following:  HTML  CSS  JavaScript.
Web Page Designing With Dreamweaver MX\Session 1\1 of 9 Session 1 Introduction to PHP Hypertext Preprocessor - PHP.
A S P. Outline  The introduction of ASP  Why we choose ASP  How ASP works  Basic syntax rule of ASP  ASP’S object model  Limitations of ASP  Summary.
PHP stands for …….. “PHP Hypertext Pre-processor” and is a server-side scripting language like ASP. PHP scripts are executed on the server PHP supports.
PHP is a server scripting language, and a powerful tool for making dynamic and interactive Web pages. PHP is a widely-used, free, and efficient alternative.
Introduction to PHP. PHP Origins Rasmus LerdorfRasmus Lerdorf (born Greenland, ed Canada) PHP originally abbreviation for ‘Personal Home Pages’, now ‘PHP.
ASP – Web Programming Class  Ravi Anand. ASP – Active Server Pages What is ASP? - Microsoft Technology - Can Run using IIS/PWS/Others - Helps us create.
1 Chapter 1 INTRODUCTION TO WEB. 2 Objectives In this chapter, you will: Become familiar with the architecture of the World Wide Web Learn about communication.
PHP Basics and Syntax Lesson 3 ITBS2203 E-Commerce for IT.
PHP using MySQL Database for Web Development (part II)
2nd year Computer Science & Engineer
Introduction to PHP and MySQL – Creating Database-Driven Websites
Web Programming Language
A PRESENTATION ON (IN PHP,CSS,HTML)
Introduction to Dynamic Web Programming
Chapter 5 Scripting Language
Introduction and Principles
ALWAR INSTITUTE OF ENGINEERING & TECHNOLOGY
Introduction to PHP “PHP is a server-side scripting language designed specifically for the Web. Within an HTML page, you can embed PHP code that will be.
Introduction to PHP “PHP is a server-side scripting language designed specifically for the Web. Within an HTML page, you can embed PHP code that will be.
Hidaya Institute Of Science & Technology
ALWAR INSTITUTE OF ENGINEERING & TECHNOLOGY
Chapter 5 Scripting Language
PHP / MySQL Introduction
PHP Introduction.
Database Driven Websites
PHP.
IntroductionToPHP Static vs. Dynamic websites
Intro to PHP.
PHP: Hypertext Preprocessor
PHP an introduction.
Web Application Development Using PHP
Presentation transcript:

Presented By Sushil K. Chaturvedi Assistant Professor SRCEM,Banmore 1

Day-1 Contents Introduction Web designing Why PHP Setup of PHP Environment Testing the page Troubleshooting the Installation Errors Basic Programming Concepts 9/3/20132

Introduction PHP :Hyper text preprocessor Originally called “Personal Home Page Tools” It is a server side scripting language usually written in an HTML context. Unlike an ordinary HTML page, a PHP script is not sent directly to a client by the server. HTML elements in the script are left alone, but PHP code is interpreted and executed. PHP code in a script can query databases, create images, read and write files, talk to remote servers. The output from PHP code is combined with the HTML in the script and the result sent to the user. 9/3/20133

History The first version of PHP was created by Rasmus Lerdorf in PHP’s support for Apache and my SQL. Apache is now the most used web server in the world and PHP3 can be compiled as an Apache module. My SQL is a powerful free SQL database and PHP provided a comprehensive set of functions for working with it. The combination of Apache My SQL and PHP is all but unbeatable. 9/3/20134

What’s new in PHP4 A new foreach statement similar to that found in perl makes it much easier to loop through arrays. New array functions have been added making arrays easier to manipulate. Boolean datatype Multidimensional arrays Support for object oriented programming. PHP provides native support for user sessions, using both cookies and the query string. 9/3/20135

Continue…. A new comparison operator(===) has been introduced that tests for equivalence of type as well as equivalence of value. PHP4 provides built in supporet for both java and XML Zend is a scripting engine that sits below the PHP specific modules. It is optimized to significantly improve performance. Version is current version, rewritten by Zend ( to include a number of features, such as an object model 9/3/20136

Web designing Static web pages (HTML,CSS,DHTML etc.) Dynamic web pages (Servlet, JSP,ASP,PHP etc.) Scripting languages (Client Side, Server Side) Client Side (Javascript, vbscript etc.) Server side (PHP, Servlet, JSP,ASP etc.) 9/3/20137

Why PHP Production process is significantly faster. PHP can be run on all the major operating systems with most servers. Speed of development:- PHP allow you to separate HTML code from scripting elements so decrease in development time on many projects. You will be able to separate the coding stage of a project from the design and build stages. PHP is open source Performance:- Due to powerful Zend engine PHP4 compares well with ASP in benchmark tests, beating it in some tests. 9/3/20138

Continue… Portability:-PHP is designed to run on many os and to cooperate with many servers and databases. You can build for a unix environment and shift your work to windows system without a problem. 9/3/20139

Setup of PHP Environment (Platforms,Servers,Databases,PHP) PHP is truly cross platform. It runs on the windows operating system, most versions of unix including Linux and even the Macintosh. Servers:- support is provided for a range of web servers including Apache (itself open source and cross platform) 9/3/201310

Continue…. MIIS(Microsoft internet information server), website pro, iplanet web server and PWS(Microsoft personal web server) Databases:- PHP is designed to integrate easily with databases. Many database are directly supported including Adabas D, MSQL(Mini SQL),sybase,MYSQL,oracle, unix dbm,Informix (IBM RDBMS), postgresql, PHP also support ODBC(open database connectivity). WAMP server( windows, apache, MYSQL,PHP). 9/3/201311

Testing the page Type localhost at address bar on web browsers (IE, Mozilla etc.) You will get the wamp server home page. 9/3/201312

Steps to proceed further Learn Basic HTML programming Learn javaScript (client side scripting language) Learn basic PHP programming Learn database connectivity. Develop a application software using combination of HTML, JavaScript and PHP Programming. 9/3/201313