Website Development - PowerPoint PPT Presentation

1 / 7
About This Presentation
Title:

Website Development

Description:

Upon completion of this class meeting, you should be able to: Complete the previous in-class ... Avoids GIGO syndrome. Done. At the client with JavaScript ... – PowerPoint PPT presentation

Number of Views:445
Avg rating:3.0/5.0
Slides: 8
Provided by: Econ82
Category:

less

Transcript and Presenter's Notes

Title: Website Development


1
Website Development Management
CIT 3353 -- Fall 2005 www.clt.astate.edu/jseydel/m
is3353
  • Basic Processing with PHP

Instructor John Seydel, Ph.D.
2
Student Objectives
  • Upon completion of this class meeting, you
    should be able to
  • Complete the previous in-class exercise
  • Use PHP to access data sent via web forms
  • Validate form data prior to processing
  • Redirect pages to other files

3
Some Administrative Things
  • Exam 1
  • First, note that it has been postponed
  • Tuesday (9/20)
  • What to expect
  • HTML (Chapters 1-3, 6)
  • XHTML 1.0
  • Basics elements/tags/attributes,
  • Style rules
  • Forms
  • PHP (through Chapter 5)
  • Basics variables, functions
  • Form processing
  • Server setup/organization/administration
  • Quiz 2
  • Return
  • Comments
  • Discussion

4
Some Modifications
  • Scrap the XML declaration for PHP files
  • Either form
  • lt?xml version1.0 ?gt
  • lt? print(lt?xml version1.0 ?gt\n) ?gt
  • Causes problems between XML parser and PHP parser
  • PHP initialization file
  • error_reporting E_ALL E_NOTICE
  • Restart Apache

5
Now, Back to the Exercise . . .
6
Note Some Server-Side Concepts
  • Validation necessary for any real application
  • Avoids GIGO syndrome
  • Done
  • At the client with JavaScript
  • On the server with PHP (or whatever system is in
    place)
  • Which is better . . . ?
  • Redirection
  • When change of control requires another file
  • Often used when website is moved
  • How header(Location . . . )

7
Summary of Todays Objectives
  • Complete the previous in-class exercise
  • Use PHP to access data sent via web forms
  • Validate form data prior to processing
  • Redirect pages to other files
Write a Comment
User Comments (0)
About PowerShow.com