Back

STA_PHPD: PHP Developer

-
+

NOK 23.500


PHP Developer Course Overview PHP is a popular general purpose scripting language commonly used for building web applications. The PHP Developer course is designed to provide delegates with all the core skills necessary to build and maintain web applications that provide access to persistent data. Note that while the course is geared toward web application development,it is also suitable for general purpose PHP developers. Exercises and examples are used throughout the course to give practical hands-on experience with the techniques covered.

TARGET AUDIENCE:
Who will the Course Benefit? The PHP Developer course is aimed at those who are new to or have had little exposure to PHP,and who will be responsible for building or maintaining PHP scripts/web applications. It may also be of value to those who wish to refresh/renew their knowledge of PHP after some time away from it.

COURSE PREREQUISITES:
Requirements Delegates attending this course should have some previous programming experience or at least be familiar with programming concepts. This knowledge can be obtained by attendance on the pre-requisite Introduction to Programming course. Familiarity with HTML and SQL is advantageous but not essential.

COURSE CONTENT:
PHP Developer Training Course Course Contents – DAY 1 Course Introduction • Administration and Course Materials • Course Structure and Agenda • Delegate and Trainer Introductions Session 1: GETTING STARTED • About PHP • Installing PHP • PHP editors and IDEs • Executing a script • HTML recap • Serving a PHP web page Session 2: SYNTAX • Tags • HTML escaping • Separating instructions • Comments Session 3: VARIABLES,CONSTANTS,& DATA TYPES • echo and print • Defining variables • Variable naming • Assignment by reference • Uninitialised variables • Defining constants • Magic constants • Built-in types: null,bool,int,float,string,array,object • Other types • Dynamic typing • Type casting and juggling Session 4: HANDLING USER DATA • HTTP requests recap • HTML form recap • Command line arguments • Superglobals PHP Developer Training Course Course Contents – DAY 2 Session 5: EXPRESSIONS & OPERATORS • Forms of expressions • Operators by type: arithmetic,comparison,logical,other • Operator order of precedence Session 6: CONTROL STRUCTURES • if,else,and elseif/else if • while and do-while • for and foreach • break and continue • switch and match • Alternative syntax • include and require Session 7: FUNCTIONS • Defining functions • Function arguments • Passing arguments by reference • Default argument values • Variable-length argument lists • Named arguments • Return values • Variable scope • Built-in functions • Anonymous functions • Arrow functions Session 8: STRINGS • Defining strings x 4 • Variable parsing • Indexing/offsetting • String functions and operators PHP Developer Training Course Course Contents – DAY 3 Session 9: ARRAYS • Defining arrays with and without keys • Alternative syntax • Key casting • Accessing elements • Creating and modifying elements • Destructuring • Unpacking • Array functions Session 10: CLASSES & OBJECTS • Defining classes • Properties and methods • $this • Constants • Instantiating a class • Accessing properties and calling methods • Constructors and destructors • Static members • Visibility • Inheritance • Abstract classes • Interfaces • Traits • Autoloading classes • Namespaces Session 11: ERRORS & EXCEPTIONS • Errors • Error types • Handling errors • Exceptions • Exception types • try,catch,and finally • Global exception handler Session 12: DATABASE INTEGRATION • Vendor-specific extensions • The PDO extension • Installation • Obtaining a connection • Transaction management • Prepared statements • Error handling • The PDO and associated classes PHP Developer Training Course Course Contents – DAY 4 Session 13: AUTHENTICATION,COOKIES,& SESSIONS • Basic HTTP authentication • Writing and reading cookies • Managing sessions Session 14: PATTERNS,TEMPLATING,PACKAGES,& FRAMEWORKS • The MVC pattern • The DI pattern • The Singleton pattern • Templating • Package management • PHP frameworks Session 15: WEB SERVICE INTEGRATION • Web service recap • Asynchronous HTTP requests with JavaScript

COURSE OBJECTIVE:
Course Objectives The PHP Developer course aims to provide delegates with the skills and knowledge necessary to build and maintain simple to intermediate level PHP scripts/web applications.

FOLLOW ON COURSES:
Further Learning Apache Web Server Introduction to MySQL Ruby Programming Ruby on Rails Python Programming 1