PHP Introduction & Overview Fort Collins, CO Copyright © XTR Systems, LLC Introduction to & Overview of PHP Instructor: Joseph DiVerdi, Ph.D., MBA.

Slides:



Advertisements
Similar presentations
Copyright © 2004 ProsoftTraining, All Rights Reserved. Lesson 11: Advanced Web Technologies.
Advertisements

Copyright 2004 Monash University IMS5401 Web-based Systems Development Topic 2: Elements of the Web (g) Interactivity.
Kashif Jalal CA-240 (072) Web Development Using ASP.NET CA – 240 Kashif Jalal Welcome to week – 2 of…
Introduction to Web Application Architectures Web Application Architectures 18 th March 2005 Bogdan L. Vrusias
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
By Brian Patterson & Amanda Perez. PHP was originally created to maintain his personal homepage, hence the name PHP. Development began in 1994 and was.
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.
How Clients and Servers Work Together. Objectives Learn about the interaction of clients and servers Explore the features and functions of Web servers.
Java Server Team 8. Overview What is a Java Server? History Architecture Advantages Disadvantages Current Technologies Conclusion.
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.
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.
The PHP Story. PHP Story PHP is a programming language. Incorporate(join) sophisticated business logic. Widely used general purpose scripting language.
DAT602 Database Application Development Lecture 15 Java Server Pages Part 1.
INTRODUCTION TO WEB DATABASE PROGRAMMING
Server- Side technologies Client-side vs. Server-side scripts PHP basic ASP.NET basic ColdFusion.
Advanced Web 2012 Lecture 4 Sean Costain PHP Sean Costain 2012 What is PHP? PHP is a widely-used general-purpose scripting language that is especially.
Architecture Of ASP.NET. What is ASP?  Server-side scripting technology.  Files containing HTML and scripting code.  Access via HTTP requests.  Scripting.
Webmaster Overview Fort Collins, CO Copyright © XTR Systems, LLC Webmaster Overview Instructor: Joseph DiVerdi, Ph.D., MBA.
Chapter 1: Introduction to Web
Pradeep Tallogu Deepak Avanna Sharath Madathil
Using Embedded JavaScript Fort Collins, CO Copyright © XTR Systems, LLC Embedding JavaScript In HTML Instructor: Joseph DiVerdi, Ph.D., MBA.
11/16/2012ISC329 Isabelle Bichindaritz1 Web Database Application Development.
Understanding Linux Directories Fort Collins, CO Copyright © XTR Systems, LLC Understanding the Linux Directory Structure Instructor: Joseph DiVerdi, Ph.D.,
CSU - DCE Advanced Perl CGI Operation - Fort Collins, CO Copyright © XTR Systems, LLC Introduction to the Common Gateway Interface (CGI) on the.
Technical Review - PHP Jang Jaeseok. Overview Introduction  What is PHP?  History of PHP  What can do with PHP?  Advantages of PHP PHP syntax.
CSU - DCE Webmaster I HTML - Forms - Fort Collins, CO Copyright © XTR Systems, LLC Designing Web Sites using HTML - Introduction to Forms Instructor:
Putting it all together Dynamic Data Base Access Norman White Stern School of Business.
Web Pages with Features. Features on Web Pages Interactive Pages –Shows current date, get server’s IP, interactive quizzes Processing Forms –Serach a.
Kingdom of Saudi Arabia Ministry of Higher Education Al-Imam Muhammad Ibn Saud Islamic University College of Computer and Information Sciences Chapter.
1Computer Sciences Department Princess Nourah bint Abdulrahman University.
CSU - DCE Advanced Perl First Web Page - Fort Collins, CO Copyright © XTR Systems, LLC Creating Your First Web Page Instructor: Joseph DiVerdi,
Introduction to PHP Advanced Database System Lab no.1.
Web Programming Brian Toone 8/27/2014. Outline for today 1.Understanding the architecture of the web 2.Overview of programming languages – Client-side.
Active Server Pages (ASP), also known as Classic ASP or ASP Classic, was Microsoft's first server-side script engine for dynamically generated web pages.
CSU - DEO Introduction to CGI - Fort Collins, CO Copyright © XTR Systems, LLC Introduction to the Common Gateway Interface (CGI) Instructor: Joseph DiVerdi,
CSU - DCE Webmaster I Design with HTML #1 - Fort Collins, CO Copyright © XTR Systems, LLC Designing Web Sites using HTML #1 Instructor: Joseph DiVerdi,
Web Pages with Features. Features on Web Pages Interactive Pages –Shows current date, get server’s IP, interactive quizzes Processing Forms –Serach a.
Intermediate CGI & CGI.pm Webmaster II - Fort Collins, CO Copyright © XTR Systems, LLC CGI Programming & The CGI.pm Perl Module Instructor: Joseph DiVerdi,
Introduction & Overview Introduction to PHP - Fort Collins, CO Copyright © XTR Systems, LLC Introduction to & Overview of PHP Instructor: Joseph DiVerdi,
David Lawrence 7/8/091Intro. to PHP -- David Lawrence.
CSU - DCE Webmaster I HTML - Tables - Fort Collins, CO Copyright © XTR Systems, LLC Designing Web Sites using HTML - Introduction to Tables Instructor:
An Introduction to JavaServer™ Pages Prepared by Nicole Swan.
CITA 310 Section 7 Installing and Testing a Programming Environment (Textbook Chapter 7)
An Introduction to JavaServer™ Pages Prepared by Nicole Swan.
Creating a Remotely-Hosted Web Site Fort Collins, CO Copyright © XTR Systems, LLC Creating Your First Remotely-Hosted Web Site Instructor: Joseph DiVerdi,
 Previous lessons have focused on client-side scripts  Programs embedded in the page’s HTML code  Can also execute scripts on the server  Server-side.
PHP Introduction PHP is a server-side scripting language.
Asstt. Prof Sonia Sharma Computer Dept 1 HTML ( Hypertext MarkUP Language ) HTML is the lingua franca for publishing hypertext on the World Wide Web.
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.
Introduction to JavaScript Fort Collins, CO Copyright © XTR Systems, LLC Introduction to JavaScript Programming Instructor: Joseph DiVerdi, Ph.D., MBA.
Webmaster II Introductions - Fort Collins, CO Copyright © XTR Systems, LLC Introduction to Webmaster II Instructor: Joseph DiVerdi, Ph.D., MBA.
 Before you continue you should have a basic understanding of the following:  HTML  CSS  JavaScript.
CSU - DCE Introduction to CSS CSS URLs - Fort Collins, CO Copyright © XTR Systems, LLC Cascading Style Sheets - Specifying URLs Instructor: Joseph.
CSU - DCE Advanced Perl Introductions - Fort Collins, CO Copyright © XTR Systems, LLC Advanced Perl Programming Instructor: Joseph DiVerdi, Ph.D.
Introduction to Server Side Includes Fort Collins, CO Copyright © XTR Systems, LLC Introduction to Server Side Includes (SSI) Instructor: Joseph DiVerdi,
Web Page Designing With Dreamweaver MX\Session 1\1 of 9 Session 1 Introduction to PHP Hypertext Preprocessor - PHP.
PHP Overview. What is PHP Widely available scripting language Free Alternative to Microsoft’s ASP Runs on the Web Server; not in the browser Example:
Introduction to ASP.NET development. Background ASP released in 1996 ASP supported for a minimum 10 years from Windows 8 release ASP.Net 1.0 released.
CGS 3066: Web Programming and Design Spring 2016 Introduction to Server-Side Programming.
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.
Active Server Pages v.s. Java Server Pages Presenters: Lan Guo Qunying Fan Pei-Xun Wu Date:
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.
Top 8 Best Programming Languages To Learn
PHP / MySQL Introduction
Web Development Using ASP .NET
Web Application Development Using PHP
Presentation transcript:

PHP Introduction & Overview Fort Collins, CO Copyright © XTR Systems, LLC Introduction to & Overview of PHP Instructor: Joseph DiVerdi, Ph.D., MBA

PHP Introduction & Overview Fort Collins, CO Copyright © XTR Systems, LLC PHP In Brief PHP Is A –Server-Side –HTML-Embedded –Cross-Platform –Programming Language Provides a Means for Developers to Put Instructions in HTML Files to Create Dynamic Content

PHP Introduction & Overview Fort Collins, CO Copyright © XTR Systems, LLC Explanations Server-Side –PHP Code is Executed on the Server HTML-Embedded –PHP Code is Inserted Directly in HTML Cross-Platform –PHP Runs on Several Different (Server) OSes Scripting Language –Difference Between Scripting & Programming Languages is Increasingly Small More Semantic than Significant –Script is Not Compiled

PHP Introduction & Overview Fort Collins, CO Copyright © XTR Systems, LLC PHP in Less Brief PHP Provides a Means for Developers –To Put Instructions in HTML Files –The Instructions are Read & Parsed by Server They Never Make It to the Browser –The Server Replaces PHP Code with Content HTML etc. –Forerunner Technology is Server Side Includes (SSI)

PHP Introduction & Overview Fort Collins, CO Copyright © XTR Systems, LLC Other Developments Need for HTML-Embedded Server-Side Scripting Technology was Apparent to Others Microsoft went after this need with ASP –Active Server Pages ASP Has Become Quite Popular –In Microsoft Shops Many Developers Sought More Stable & Less Proprietary Solution –Enter PHP, an Open-Source Server-Parsed HTML-Embedded Programming Language

PHP Introduction & Overview Fort Collins, CO Copyright © XTR Systems, LLC PHP Benefits PHP's Primary Strength –Rapid Development of Web Pages With Modest Amount of Dynamic Content –Developers Without Heavy Programming Experience Enjoy PHP's Shallow Learning Curve –Complete Tasks Of Modest Complexity Pulling Records From a Database & Inserting Them Into an HTML Table

PHP Introduction & Overview Fort Collins, CO Copyright © XTR Systems, LLC PHP Benefits PHP Language Architecture –Simple but Powerful –Includes an Extremely Wide Variety of Functions Suited for Many Tasks –Traditional Data Processing –Web-Oriented Functions

PHP Introduction & Overview Fort Collins, CO Copyright © XTR Systems, LLC PHP Example Welcome!

PHP Introduction & Overview Fort Collins, CO Copyright © XTR Systems, LLC PHP Weaknesses PHP Remains an Immature Language –Without the Architectural Strengths or Extensibility of More Established Languages Embedded Scripting –Program Code is Mixed With HTML Some Developers Are Empowered By This Others Find It Disorganized & Error-Prone –Prefer Separate Development Environments For Each Web Component

PHP Introduction & Overview Fort Collins, CO Copyright © XTR Systems, LLC PHP Weaknesses Advanced Developers –With Experience in Perl, CGI, & mod_perl May Find Less Reason to Spend Time with PHP And This May be Entirely Justified –Because They Can Already Do What PHP Can

PHP Introduction & Overview Fort Collins, CO Copyright © XTR Systems, LLC PHP Strengths Developers Have Literally Flocked to PHP –Modest Learning Curve –Free & Open Development –Native Database Connectivity –Stability –Availability for a Variety of Server Platforms

PHP Introduction & Overview Fort Collins, CO Copyright © XTR Systems, LLC In Summary It is Important to Understand That PHP is not a Unique Solution to Web Development –We're Fortunate to Enjoy a Potpourri of Possible Web Development Tools Many Tasks can be Performed with a Wide Variety of Technologies –Developers Must Weigh Many Factors in Choosing a Development Path Previous & Current Experience Platform Requirements & Support Time-to-Market Requirements

PHP Introduction & Overview Fort Collins, CO Copyright © XTR Systems, LLC PHP Documentation PHP Is Still in an Early Stage of Development Language Continues to Evolve Significantly Printed Texts Tend to Lag Behind Most Current Information Available On-Line PHP On-Line Manual

PHP Introduction & Overview Fort Collins, CO Copyright © XTR Systems, LLC PHP Example PHP Test Page Create File Named "php_info.php"

PHP Introduction & Overview Fort Collins, CO Copyright © XTR Systems, LLC PHP Example PHP Test Page Here is some text. "); ?> Create File Named "test.php"

PHP Introduction & Overview Fort Collins, CO Copyright © XTR Systems, LLC PHP Example <?PHP print(" \n"); print("Here is some text.\n"); print(" \n"); ?> Modify "test.php"

PHP Introduction & Overview Fort Collins, CO Copyright © XTR Systems, LLC PHP Example PHP Date Page <?PHP print(" \n"); print("The current date is: "); print(date("l F j, Y")); print(" \n"); ?> Create File Named "date.php"

PHP Introduction & Overview Fort Collins, CO Copyright © XTR Systems, LLC PHP Example PHP Time & Date Page <?PHP print(" \n"); print("The current time and date are: "); print(date("H:i:s \M\T, l F j, Y")); print(" \n"); ?> Modify "date.php"