Presentation is loading. Please wait.

Presentation is loading. Please wait.

Copyright © 2002 ProsoftTraining. All rights reserved. Dynamic Server Pages.

Similar presentations


Presentation on theme: "Copyright © 2002 ProsoftTraining. All rights reserved. Dynamic Server Pages."— Presentation transcript:

1 Copyright © 2002 ProsoftTraining. All rights reserved. Dynamic Server Pages

2 Copyright © 2002 ProsoftTraining. All rights reserved. Lesson 1: Introduction to PHP

3 Objectives Define PHP Identify platforms and Web servers that support PHP Describe the installation and configuration of PHP Discuss add-on modules used with PHP Create a Web publishing directory

4 What Is PHP? Server-side scripting language Embedded in HTML documents Known as PHP Hypertext Preprocessor

5 Supported Platforms and Web Servers PHP modules CGI interpreter or Apache module?

6 Installation and Configuration Installing MySQL Installing PHP

7 Summary Define PHP Identify platforms and Web servers that support PHP Describe the installation and configuration of PHP Discuss add-on modules used with PHP Create a Web publishing directory

8 Copyright © 2002 ProsoftTraining. All rights reserved. Lesson 2: PHP Fundamentals

9 Objectives Describe the structure of PHP pages Define variables and data types Discuss and use constants Discuss variable functions Define and use operators

10 PHP Mechanics Script delimiters Page structure Containers Comments

11 PHP Variables Data types –Integer –Double –String Constants Type casting Variables and form data

12 PHP Operators Operator precedence

13 Summary Describe the structure of PHP pages Define variables and data types Discuss and use constants Discuss variable functions Define and use operators

14 Copyright © 2002 ProsoftTraining. All rights reserved. Lesson 3: PHP Statements and Flow Control

15 Objectives Describe and use conditional statements Define and use switch statements Define and use for loops Define and use while loops

16 Conditional Statements if statements switch statements

17 Loops for loops while loops

18 Summary Describe and use conditional statements Define and use switch statements Define and use for loops Define and use while loops

19 Copyright © 2002 ProsoftTraining. All rights reserved. Lesson 4: PHP Arrays

20 Objectives Describe and use PHP arrays Discuss associative arrays Discuss multidimensional arrays Sort PHP arrays

21 PHP Arrays Associative arrays Multidimensional arrays Sorting arrays –The sort ( ) and assort ( ) functions –The array_multisort ( ) function

22 Summary Describe and use PHP arrays Discuss associative arrays Discuss multidimensional arrays Sort PHP arrays

23 Copyright © 2002 ProsoftTraining. All rights reserved. Lesson 5: PHP Functions

24 Objectives Define and use functions Explain and use the function statement Pass arguments to PHP functions Return values from PHP functions Explain variable scope in PHP Assign a function to a variable

25 PHP Functions The function statement Passing arguments Variable scope Assigning a function to a variable

26 Summary Define and use functions Explain and use the function statement Pass arguments to PHP functions Return values from PHP functions Explain variable scope in PHP Assign a function to a variable

27 Copyright © 2002 ProsoftTraining. All rights reserved. Lesson 6: String Manipulation and File Input/Output

28 Objectives Discuss PHP string functions Describe and use regular expressions Define and use pattern matching Open and close files on the server Write to and read from files on the server Create and use flat database files

29 String Functions strlen() function substr() function strpos() function trim() function strtolower() and strtoupper() functions ucfirst() and ucwords() functions printf() and sprintf() functions

30 Regular Expressions and Pattern Matching Common escape sequences Built-in character classes

31 Regular Expression Functions ereg() and eregi() functions ereg_replace() and eregi_replace() functions

32 File Input and Output Opening files File mode specifiers Reading files Writing to files Moving within files

33 Summary Discuss PHP string functions Describe and use regular expressions Define and use pattern matching Open and close files on the server Write to and read from files on the server Create and use flat database files

34 Copyright © 2002 ProsoftTraining. All rights reserved. Lesson 7: PHP and Databases

35 Objectives Explain the basics of databases Explain database structure and schemas Define and use SQL Discuss cursors and result sets Define stored procedures Add records to and search a database Update and delete records from an ODBC- compliant database

36 Relational Databases Tuples Attributes Objects

37 Primary Keys and Foreign Keys Integer ID Double Balance Boolean Checking Integer ID String FName String LName String AddressDate StartDate Integer Customer BankAccount Table Customer Table

38 Structured Query Language (SQL) Data Definition Language (DDL) Data Query Language (DQL) Data Manipulation Language (DML)

39 Cursors and Result Sets ResultSet = RecordSet Loop construct The next() method

40 ODBC ODBC and PHP ODBC functions The PHP application

41 Summary Explain the basics of databases Explain database structure and schemas Define and use SQL Discuss cursors and result sets Define stored procedures Add records to and search a database Update and delete records from an ODBC- compliant database

42 Copyright © 2002 ProsoftTraining. All rights reserved. Lesson 8: Debugging PHP and PHP Security

43 Objectives Explain debugging PHP applications Describe errors and error handling Describe PHP security issues Explain safe mode

44 Debugging PHP Applications Syntax errors Runtime errors Logical errors Error messages in PHP –Parse errors –Fatal errors –Warnings –Notices Error handling

45 Preventing Errors Script by design Keep the script simple Adhere to strict naming conventions Use a modular approach

46 PHP Security Issues Securing the server Settings Configuration options Safe mode Writing secure PHP applications

47 Summary Explain debugging PHP applications Describe errors and error handling Describe PHP security issues Explain safe mode

48 Copyright © 2002 ProsoftTraining. All rights reserved. Lesson 9: Active Server Pages (ASP)

49 Objectives Define an ASP file and ASP-based applications Describe ISAPI programs Discuss the Web servers that support ASP applications Describe the structure of ASP technology Define and create virtual directories Define and use server-side include files Create and use a global.asa file

50 Introduction Microsoft Internet Information Server Internet Server Application Programming Interface

51 ASP Mechanics Dynamic link library Comparing ASP and other technologies ODBC Out-of-process In-process

52 Virtual Directories and ASP Applications Virtual directories are mappings between a name and an actual path to a real directory Virtual directories contain: –global.asa file –default.htm or default.asp

53 ASP Delimiters Server-side includes ASP support for scripting languages

54 Global.asa—Starting a Web Application Global.asa defines the properties of a Web application

55 Summary Define an ASP file and ASP-based applications Describe ISAPI programs Discuss the Web servers that support ASP applications Describe the structure of ASP technology Define and create virtual directories Define and use server-side include files Create and use a global.asa file

56 Copyright © 2002 ProsoftTraining. All rights reserved. Lesson 10: Using VBScript

57 Objectives Identify and use VBScript operators and expressions Define and use VBScript variables and data types Declare VBScript arrays Define and use conditional statements and looping constructs Create subroutines and functions

58 VBScript Scripting languages Scripting engines

59 Differences Between VBScript and JavaScript Calling functions and subroutines Function calls and implementation in JavaScript and VBScript Event-driven programming

60 Declaring Variables with VBScript Declaring variables –Dim keyword –Public keyword –Private keyword Naming variables Arrays, ReDim, and Preserve Collections Option Explicit Data subtypes and conversion functions

61 Program Flow If statements Select Case statements Looping constructs For…Next statements Do… loops While… Wend statements

62 Summary Identify and use VBScript operators and expressions Define and use VBScript variables and data types Declare VBScript arrays Define and use conditional statements and looping constructs Create subroutines and functions

63 Copyright © 2002 ProsoftTraining. All rights reserved. Lesson 11: ASP Intrinsic Objects

64 Objectives Identify and use ASP intrinsic objects Define and use properties and methods of ASP objects Use the Request and Response objects Identify Server object properties Identify the ObjectContext object Discuss object scope

65 ASP Objects ScriptingContext Server Application Session Request Response

66 Summary Identify and use ASP intrinsic objects Define and use properties and methods of ASP objects Use the Request and Response objects Identify Server object properties Identify the ObjectContext object Discuss object scope

67 Copyright © 2002 ProsoftTraining. All rights reserved. Lesson 12: ASP Default Components

68 Objectives Identify and use ASP default components Define and use properties and methods of ASP components Create and write to a flat database file

69 Global Objects tag ID parameter ProgID parameter ClassID parameter

70 ASP Default Components Ad Rotator Browser Capabilities Content Linking Content Rotator Counters Page Counter Permission Checker FileSystemObject ActiveX Data Objects

71 Summary Identify and use ASP default components Define and use properties and methods of ASP components Create and write to a flat database file

72 Copyright © 2002 ProsoftTraining. All rights reserved. Lesson 13: ActiveX Data Objects

73 Objectives Define ODBC and OLE DB Define and use ADO Define and create DSNs Insert records into a database using ASP and ADO Update and delete records in a database using ASP and ADO

74 Open Database Connectivity and OLE DB

75 ActiveX Data Objects

76 Registering Data Source Names User DSNs System DSNs File DSNs

77 Summary Define ODBC and OLE DB Define and use ADO Define and create DSNs Insert records into a database using ASP and ADO Update and delete records in a database using ASP and ADO

78 Copyright © 2002 ProsoftTraining. All rights reserved. Lesson 11: Error Handling and Debugging for ASP Applications

79 Objectives Discuss debugging ASP applications Discuss errors and error handling Define the VBScript Err object Describe and create custom error numbers Discuss error logging Discuss the Microsoft Script Debugger

80 Debugging ASP Applications Handling errors The Err object Logging errors Microsoft Script Debugger

81 Summary Discuss debugging ASP applications Discuss errors and error handling Define the VBScript Err object Describe and create custom error numbers Discuss error logging Discuss the Microsoft Script Debugger

82 Copyright © 2002 ProsoftTraining. All rights reserved. Lesson 15: Project Management in Application Development

83 Objectives Discuss project management fundamentals Define source and revision control Discuss coding standards Define code optimization Define and use a test assessment plan Discuss application testing both before and after deployment

84 Project Management Fundamentals What is project management? –Business process/functionality design –Technology/architecture design –Implementation/development –Pilot/parallel –Cutover/live Further study –PMI –ISO 9000 series

85 Source and Revision Control Program code control Version-control software Revision Control System (UNIX) Source Code Control System (UNIX) Visual SourceSafe (Microsoft)

86 Coding Standards Indentation and margins Matching brackets Parentheses Reserved words and keywords Naming conventions Language constructs Comments Error handling

87 Code Optimization Loops General optimization tips –Variables –Arrays ASP optimization

88 Test Assessment Plans Creating a test plan Glass-box testing Black-box testing Post-live testing

89 Summary Discuss project management fundamentals Define source and revision control Discuss coding standards Define code optimization Define and use a test assessment plan Discuss application testing both before and after deployment

90 Copyright © 2002 ProsoftTraining. All rights reserved. Lesson 16: Data Integrity and Security Issues

91 Objectives Discuss basic database construction issues Explain data integrity Define various mechanisms for insuring data integrity Discuss the different goals of security Explain the basis of encryption Examine the different protocols used as encryption is applied to various situations

92 Database Design Fundamentals Designing the database Data integrity Data input anomalies

93 Database Security Issues Data Control Language Other security-related issues –Hardware volatility and failure –Concurrent access User authorization General security information

94 Security Goals Transmission integrity Authentication Secrecy

95 Encryption Algorithm Key –Key length –Key space

96 Symmetric, Asymmetric, and One-Way Algorithms Symmetric encryption example –Rot-13 One-way encryption Public-key encryption Private-key encryption

97 Protocols Authentication and digital signatures Diffie-Hellman key exchange and certificate authorities X.509 format

98 Summary Discuss basic database construction issues Explain data integrity Define various mechanisms for insuring data integrity Discuss the different goals of security Explain the basis of encryption Examine the different protocols used as encryption is applied to various situations

99 Dynamic Server Pages Introduction to PHP PHP Fundamentals PHP Statements and Flow Control PHP Arrays PHP Functions String Manipulation and File Input/Output PHP and Databases

100 Dynamic Server Pages Debugging PHP and PHP Security Active Server Pages (ASP) Using VBScript ASP Intrinsic Objects ASP Default Components

101 Dynamic Server Pages ActiveX Data Objects Error Handling and Debugging for ASP Applications Project Management in Application Development Data Integrity and Security Issues


Download ppt "Copyright © 2002 ProsoftTraining. All rights reserved. Dynamic Server Pages."

Similar presentations


Ads by Google