Introduction to PHP programming
Document Sample


Introduction to PHP programming Duration: 3 days WHO SHOULD ATTEND: PHP is a scripting language used to create dynamic, complex and robust Web pages. It is a popular choice for Open Source Software Web development and is described in the LinuxApacheMySQLPHP (LAMP) architecture. In this course, a solid foundation in PHP techniques is introduced through extensive handson exercises that allows you to produce dynamic Web pages. PREREQUISITES: Familiar with any operating systems and computer hardware. Have experience developing software in any programming language. Experience in writing HTML pages. OBJECTIVES: Develop PHP scripts to perform a variety of tasks. Generate Web pages dynamically using PHP. Retrieving and manipulating form data. Personalizing Web site content using cookies and sessions. Describe ObjectOriented Programming features of PHP. Use PEAR in PHP. COURSE OUTLINE : 1. Introduction to PHP What is PHP? Features of PHP Setting up PHP with Apache 2. Basic PHP syntax PHP comments Predefined and user variables Variable types if PHP 3. HTML Forms and PHP Creating simple HTML forms Retrieve form data with POST and GET Displaying errors 4. Using Numbers in PHP Adding , subtracting, multiplying and divide Formatting numbers Creating random numbers 5. Using strings in PHP Connecting strings What is magic quotes? Embed HTML in PHP Encoding and decoding strings 6. Control Structures Conditional operators with if and switch Loops with for and while 7. Using Arrays Creating arrays Accessing values in the array Multi dimensional arrays Sorting arrays String and arrays Create array from form elements 8. Creating Web Applications Using templates The include and require Using constants Using data and time Using same page for forms and processing Making forms sticky Sending Emails What is output buffering? 9. Cookies and Sessions What are cookies? Create and use a cookie What are sessions? Create and use sessions 10. Functions Create and call functions Setting default arguments Returning values Variable scope 11. Files and Directories Opening files Writing to a file Locking a file Reading a file content Handling file upload Working with directories 12. Regular expressions What is regular expressions Matching patterns 13. More PHP Objectoriented programming in PHP Creating a class Creating an object Inheritence What is PEAR? Installation of PEAR Installation of a PEAR package Using a PEAR package Open Source Competency Centre (OSCC), MAMPU 3rd Floor, Enterprise Building 3, Cyberjaya http://opensource.mampu.gov.my Telephone: 603 83191200
Related docs
Get documents about "