You are here

Creating Database Driven Web Sites And Applications With PHP (To be updated)

 

Description:

PHP is probably the most widely used language in implementing dynamic web sites and applications. It is light weight but used to implement simple as well as complex web based systems. This training on PHP covers the basics as well as the advanced features of PHP. It also goes into covering some useful libraries, frameworks, tools and best practices in implementing database driven web sites and applications.

Training Objectives:

At the end of the training, participants will be able to

  1. Write MVC architecture based PHP applications and web sites.
  2. Use object oriented programming features of PHP.
  3. Use MySQL database to maintain data of the application.
  4. Work with Pear library.
  5. Develop and debug PHP applications (with Eclipse PDT and XDebugger).
  6. Implement session tracking features.
  7. Implement security in web applications/sites.
  8. Generate PDF files dynamically using PHP.

Target Groups:

  1. Those who want to develop database driven web based applications or web sites with PHP (Students, software developers,...).

Prerequisites:

  1. You should be familiar with using computers. You need not possess programming skills.
  2. Familiarity with HTML and CSS will be an added advantage. But the training does not assume you are experienced with them.

Communication Language:

English (With Sinhala explanations if preferred)

Duration:

3 days (~24 hours)

Facilitator:

Kamal Wickramanayake (Profile)

Notes:

  1. This training is done with hands-on lab exercises.
  2. This training does not teach you HTML, CSS, JavaScript although they are used during coding.

Training Content:

  1. PHP - Basics
    • Anatomy of a PHP page
    • PHP request processing mechanism
    • General programming with PHP (data types, variables, expressions, operators, functions, flow control)
    • Object oriented coding with PHP
    • Include path
    • Exceptions
    • Constants
    • Handling form submissions
    • Working with url parameters
  2. PHP - Intermediate
    • Theme based web site implementation
    • Handling file uploads
    • Working with cookies
    • Session tracking
    • Database connectivity (MySQL)
    • Sending emails
  3. PHP - Advanced
    • Regular expressions
    • System process execution
    • passthru functions
    • Output buffering
    • Using Pear library (e.g. Sending emails with attachments)
    • Memory usage adjustment
    • Script execution time adjustment
    • Error display configuration
    • Configuring XDebugger (for Debugging in Eclipse PDT)
  4. PHP - Security
    • HTTP Basic authentication
    • Form based authentication
    • Password hashing (MD5)
    • PHP execution modes and implications
    • Access restriction with .htaccess (Apache web server specific)
    • SQL injection and prevention
    • Cross site scripting (XSS) and prevention
    • Cross site request forgery (CSRF) and prevention
    • Secure coding practices
  5. PHP - Other Topics
    • MVC (Model-Veiw-Controller) implementation of web applications
    • Using Eclipse PDT as the development environment
    • PDF generation