PHP - Professional

 


Descripción: top
 

Objetivos:top
  Que los alumnos aprendan la sintáxis y a programar en PHP.

Requisitos: top
 
  • Conocimientos básicos del sistema operativo Windows XP o Macintosh X
  • Manejo de Internet y correo electrónico
  • Inglés básico

Duración: top
  10 horas

Temario:top
 

 Unit 1: Regular Expressions

  • Introduction
  • Switching from ereg to preg
  • Matching Words
  • Finding the nth Occurrence of a Match
  • Choosing Greedy or Nongreedy Matches
  • Finding All Lines in a File That Match a Pattern
  • Capturing Text Inside HTML Tags
  • Preventing Parentheses from Capturing Text
  • Escaping Special Characters in a Regular Expression
  • Reading Records with a Pattern Separator
  • Using a PHP Function in a Regular Expression

 Unit 2: Files

  • Introduction
  • Creating or Opening a Local File
  • Creating a Temporary File
  • Opening a Remote File
  • Reading from Standard Input
  • Reading a File into a String
  • Counting Lines, Paragraphs, or Records in a File
  • Processing Every Word in a File
  • Picking a Random Line from a File
  • Randomizing All Lines in a File
  • Processing Variable-Length Text Fields
  • Reading Configuration Files
  • Modifying a File in Place Without a Temporary File
  • Flushing Output to a File
  • Writing to Standard Output
  • Writing to Many Filehandles Simultaneously
  • Escaping Shell Metacharacters
  • Passing Input to a Program
  • Reading Standard Output from a Program
  • Reading Standard Error from a Program
  • Locking a File
  • Reading and Writing Custom File Types
  • Reading and Writing Compressed Files

Unit 3: Directories

  • Introduction
  • Getting and Setting File Timestamps
  • Getting File Information
  • Changing File Permissions or Ownership
  • Splitting a Filename into Its Component Parts
  • Deleting a File
  • Copying or Moving a File
  • Processing All Files in a Directory
  • Getting a List of Filenames Matching a Pattern
  • Processing All Files in a Directory Recursively
  • Making New Directories
  • Removing a Directory and Its Contents
  • Program: Web Server Directory Listing
  • Program: Site Search

 Unit 4: Command-Line PHP

  • Introduction
  • Parsing Program Arguments
  • Parsing Program Arguments with getopt
  • Reading from the Keyboard
  • Running PHP Code on Every Line of an Input File
  • Reading Passwords
  • Program: Command Shell

 Unit 5: PEAR and PECL

  • Introduction
  • Using the PEAR Installer
  • Finding PEAR Packages
  • Finding Information About a Package
  • Installing PEAR Packages
  • Upgrading PEAR Packages
  • Uninstalling PEAR Packages
  • Installing PECL Packages

Inversión: top
  Consúltenos