PHP - Essentials

 


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: Strings
  • Introduction
  • Accessing Substrings
  • Extracting Substrings
  • Replacing Substrings
  • Processing a String One Byte at a Time
  • Reversing a String by Word or Byte
  • Expanding and Compressing Tabs
  • Controlling Case
  • Interpolating Functions and Expressions Within Strings
  • Trimming Blanks from a String
  • Generating Comma-Separated Data
  • Generating Fixed-Width Field Data Records
  • Parsing Fixed-Width Field Data Records
  • Taking Strings Apart
  • Wrapping Text at a Certain Line Length
  • Storing Binary Data in Strings
  • Program: Downloadable CSV File

 Unit 2: Numbers

  • Introduction
  • Checking Whether a Variable Contains a Valid Number
  • Comparing Floating-Point Numbers
  • Rounding Floating-Point Numbers
  • Operating on a Series of Integers
  • Generating Random Numbers Within a Range
  • Generating Biased Random Numbers
  • Taking Logarithms
  • Calculating Exponents
  • Formatting Numbers
  • Formatting Monetary Values
  • Printing Correct Plurals
  • Calculating Trigonometric Functions
  • Doing Trigonometry in Degrees, Not Radians
  • Handling Very Large or Very Small Numbers
  • Converting Between Bases
  • Calculating Using Numbers in Bases Other Than Decimal
  • Finding the Distance Between Two Places

Unit 3: Dates and Times

  • Introduction
  • Finding the Current Date and Time
  • Converting Time and Date Parts to an Epoch Timestamp
  • Converting an Epoch Timestamp to Time and Date Parts
  • Printing a Date or Time in a Specified Format
  • Finding the Difference of Two Dates
  • Finding the Difference of Two Dates with Julian Days
  • Finding the Day in a Week, Month, or Year
  • Validating a Date
  • Parsing Dates and Times from Strings
  • Adding to or Subtracting from a Date
  • Calculating Time with Time Zones
  • Accounting for Daylight Savings Time
  • Generating a High-Precision Time
  • Generating Time Ranges
  • Using Non-Gregorian Calendars
  • Using Dates Outside the Range of an Epoch Timestamp
  • Program: Calendar

 

Unit 4: Arrays

  • Introduction
  • Specifying an Array Not Beginning at Element 0
  • Storing Multiple Elements Per Key in an Array
  • Initializing an Array to a Range of Integers
  • Iterating Through an Array
  • Deleting Elements from an Array
  • Changing Array Size
  • Appending One Array to Another
  • Turning an Array into a String
  • Printing an Array with Commas
  • Checking if a Key Is in an Array
  • Finding the Position of a Value in an Array
  • Finding Elements That Pass a Certain Test
  • Finding the Largest or Smallest Valued Element in an Array
  • Reversing an Array
  • Sorting an Array
  • Sorting an Array by a Computable Field
  • Sorting Multiple Arrays
  • Sorting an Array Using a Method Instead of a Function
  • Randomizing an Array
  • Removing Duplicate Elements from an Array
  • Applying a Function to Each Element in an Array
  • Finding the Union, Intersection, or Difference of Two Arrays
  • Making an Object Act like an Array
  • Program: Printing a Horizontally Columned HTML Table

 Unit 5: Variables

  • Introduction
  • Avoiding == Versus = Confusion
  • Establishing a Default Value
  • Exchanging Values Without Using Temporary Variables
  • Creating a Dynamic Variable Name
  • Using Static Variables
  • Sharing Variables Between Processes
  • Encapsulating Complex Data Types in a String
  • Dumping Variable Contents as Strings

 Unit 6: Functions

  • Introduction
  • Accessing Function Parameters
  • Setting Default Values for Function Parameters
  • Passing Values by Reference
  • Using Named Parameters
  • Creating Functions That Take a Variable Number of
  • Returning Values by Reference
  • Returning More Than One Value
  • Skipping Selected Return Values
  • Returning Failure
  • Calling Variable Functions
  • Accessing a Global Variable Inside a Function
  • Creating Dynamic Functions

Unit 7: Classes and Objects

  • Introduction
  • Instantiating Objects
  • Defining Object Constructors
  • Defining Object Destructors
  • Implementing Access Control
  • Preventing Changes to Classes and Methods
  • Defining Object Stringification
  • Specifying Interfaces
  • Creating Abstract Base Classes
  • Assigning Object References
  • Cloning Objects
  • Overriding Property Accesses
  • Calling Methods on an Object Returned by Another
  • Aggregating Objects
  • Accessing Overridden Methods
  • Using Method Polymorphism
  • Defining Class Constants
  • Defining Static Properties and Methods
  • Controlling Object Serialization
  • Introspecting Objects
  • Checking if an Object Is an Instance of a Specific Class
  • Autoloading Class Files upon Object Instantiation
  • Instantiating an Object Dynamically
  • Program: whereis

Inversión: top
  Consúltenos