PHP : PHP & MySQL

วัตถุประสงค์

          MySQL and PHP are two of the most popular open source technologies to emerge during the past decade. PHP is a powerful language for writing server-side Web applications. MySQL is the world's most popular open source database. Together, these two technologies provide you with a powerful platform for building database-driven Web applications.
          This hands-on MySQL and PHP training course teaches attendees everything they need to successfully build data-driven Web sites using MySQL and PHP.


ความรู้พื้นฐานของผู้เข้าอบรม
 
         All MySQL and PHP training attendees must be fluent in HTML. The course can be customized to any level of programming and relational database familiarity.


รายละเอียดหลักสูตร


• PHP Basics

          o How PHP Works
          o The php.ini File
          o Basic PHP Syntax 
                    - PHP Tags 
                    - PHP Statements and Whitespace 
                    - Comments 
                    - PHP Functions 
                    - Hello World!
          o PHP Tags
          o PHP Statements and Whitespace 
          o Comments
          o PHP Functions
          o Hello World!
          o Variables 
                   - Variable Types 
                   - Variable Names (Identifiers 
                   - Type Strength 
                   - Hello Variables! 
                   - Variable Scope 
                   - Superglobals 
                   - Constants 
                   - Variable-Testing and Manipulation Functions 
          o Variable Types 
          o Variable Names (Identifiers
          o Type Strength 
          o Hello Variables! 
          o Variable Scope
          o Superglobals
          o Constants
          o Variable-Testing and Manipulation Functions 
          o PHP Operators
          o Creating Dynamic Pages 
                   - Single Quotes vs. Double Quotes 
                   - Howdy World!
          o Single Quotes vs. Double Quotes
          o Howdy World!
          o Conclusion

• Flow Control
          o Conditional Processing 
                   - If Conditions
          o If Conditions
          o Loops 
                   - while 
                   - do...while 
                   - for 
                  - break and continue
          o while
          o do...while
          o for
          o break and continue
          o Conclusion

• Arrays
          o Enumerated Arrays 
                   - Initializing Arrays 
                   - Appending to an Array 
                   - Reading from Arrays 
                   - Looping through Arrays 
          o Initializing Arrays
          o Appending to an Array
          o Reading from Arrays
          o Looping through Arrays
          o Associative Arrays 
                   - Initializing Associative Arrays 
                   - Reading from Associative Arrays 
                   - Looping through Associative Arrays 
                   - Superglobal Arrays
          o Initializing Associative Arrays
          o Reading from Associative Arrays
          o Looping through Associative Arrays
          o Superglobal Arrays
          o Two-dimensional Arrays 
                   - Reading from Two-dimensional Arrays 
                   - Looping through Two-dimensional Arrays
          o Reading from Two-dimensional Arrays
          o Looping through Two-dimensional Arrays
          o Array Manipulation Functions
          o Conclusion

• PHP and HTML Forms
          o HTML Forms 
                   - How HTML Forms Work 
                   - A Sample HTML Form 
                   - Form Variables
          o How HTML Forms Work
          o A Sample HTML Form
          o Form Variables
          o Conclusion

• String Manipulation
          o Formatting Strings 
                   - Concatenation 
                   - String Manipulation Functions 
                   - Examples of String Functions
          o Concatenation 
          o String Manipulation Functions
          o Examples of String Functions
          o Magic Quotes 
                   - magic_quotes_gpc 
                   - magic_quotes_runtime 
                   - Recommendation on Magic Quotes 
                   - Conclusion
          o magic_quotes_gpc
          o magic_quotes_runtime 
          o Recommendation on Magic Quotes 
          o Conclusion

• Reusing Code and Writing Functions
           o Including Files 
                    - require 
                    - require_once 
                    - auto_prepend_file and auto_append_file
           o require
           o require_once
           o auto_prepend_file and auto_append_file
           o User Functions 
                    - Defining and Calling Functions 
                    - Default Values 
                    - Variable Scope 
                    - By Reference vs. By Value
          o Defining and Calling Functions
          o Default Values
          o Variable Scope 
          o By Reference vs. By Value
          o Form Processing 
                   - Code Organization
          o Code Organization
          o Conclusion

• Simple SELECTs
          o Introduction to the Northwind Database
          o Some Basics 
                   - Comments 
                   - Whitespace and Semi-colons 
                   - Case Sensitivity
          o Comments
          o Whitespace and Semi-colons
          o Case Sensitivity
          o SELECTing All Columns in All Rows
          o SELECTing Specific Columns
          o Sorting Records 
                   - Sorting By a Single Column 
                   - Sorting By Multiple Columns 
                   - Sorting By Column Position 
                   - Ascending and Descending Sorts
          o Sorting By a Single Column
          o Sorting By Multiple Columns
          o Sorting By Column Position
          o Ascending and Descending Sorts
          o The WHERE Clause and Operator Symbols 
                    - Checking for Equality 
                    - Checking for Inequality 
                    - Checking for Greater or Less Than 
                    - Checking for NULL 
                    - WHERE and ORDER BY
          o Checking for Equality
          o Checking for Inequality
          o Checking for Greater or Less Than
          o Checking for NULL
          o WHERE and ORDER BY 
          o The WHERE Clause and Operator Words 
                    - The BETWEEN Operator 
                    - The IN Operator 
                    - The LIKE Operator 
                    - The NOT Operator
          o The BETWEEN Operator
          o The IN Operator 
          o The LIKE Operator
          o The NOT Operator
          o Checking Multiple Conditions 
                   - AND 
                   - OR 
                   - Order of Evaluation
          o AND
          o OR
          o Order of Evaluation 
          o Conclusion

• Subqueries, Joins and Unions
          o Subqueries
          o Joins 
                   - Table Aliases 
                   - Multi-table Joins
          o Table Aliases
          o Multi-table Joins
          o Outer Joins
          o Unions 
                   - UNION ALL 
                  - UNION Rules
          o UNION ALL
          o UNION Rules
          o Conclusion

• Inserting, Updating and Deleting Records

          o INSERT
          o UPDATE
          o DELETE
          o Conclusion

• Managing Data
          o Querying a Database 
                   - mysqli() Overview 
                   - mysqli Methods and Properties 
                   - Inserting and Updating Records 
                   - mysqli Prepared Statements
          o mysqli() Overview
          o mysqli Methods and Properties
          o Inserting and Updating Records
          o mysqli Prepared Statements

• PEAR:DB
          o Advantages and Disadvantages of PEAR DB 
                   - Why use a database abstraction layer? 
                   - When not to use a database abstraction layer?
          o Why use a database abstraction layer?
          o When not to use a database abstraction layer?
          o Using PEAR DB

• Authentication with PHP and SQL
          o A Database-less Login Form
          o Conclusion

• Regular Expressions
          o Perl-compatible Regular Expression Functions 
                   - preg_match() 
                   - preg_replace() 
                   - Regular Expression Tester
          o preg_match()
          o preg_replace()
          o Regular Expression Tester
          o Regular Expression Syntax 
                   - Start and End ( ^ $ ) 
                   - Number of Occurrences ( ? + * {} ) 
                   - Common Characters ( . \d \D \w \W \s \S ) 
                   - Grouping ( [] ) 
                   - Negation ( ^ ) 
                   - Subpatterns ( () ) 
                   - Alternatives ( | ) 
                   - Escape Character ( \ )
          o Start and End ( ^ $ )
          o Number of Occurrences ( ? + * {} )
          o Common Characters ( . \d \D \w \W \s \S )
          o Grouping ( [] ) 
          o Negation ( ^ )
          o Subpatterns ( () )
          o Alternatives ( | )
          o Escape Character ( \ )
          o Form Validation Functions with Regular Expressions
          o Conclusion

• Session Control and Cookies
          o Sessions 
                   - Configuring Sessions 
                   - Session Functions
          o Configuring Sessions
          o Session Functions
          o Cookies
          o Conclusion

• Sending Email with PHP
          o mail() 
                   - Shortcomings of mail()
          o Shortcomings of mail()
          o PHPMailer
          o Conclusion

• File System Management
          o Opening a File 
                    - fopen() 
          o fopen() 
          o Reading from a File 
                   - fgets() 
          o fgets()
          o Writing to a File 
                   - fwrite()
          o fwrite()
          o File Locking 
                   - flock() 
         o flock() 
         o Uploading Files via an HTML Form
         o Getting File Information
         o More File Functions
         o Directory Functions 
                  - Getting a Directory Listing 
         o Getting a Directory Listing

• Conclusion

 


 



หลักสูตรแนะนำ

  • Advanced PHP : XML & Webservice





<< Back

service Public Training In-House Training สิทธิประโยชน์ของผู้เข้าฝึก ตรวจสอบตารางการฝึกอบรม ใบสมัคร
Link Techxcite
IDC
learn4u
longlivetheking
iteasybook
lovedigiart
ThaiFranchiseCenter