PHP: The "Right" Way

PHP: The "Right" Way

Phil Sturgeon and Josh Lockhart
Buy on Leanpub

Table of Contents

PHP: The "Right" Way

  • 1. Language Highlights
    • 1.1 Xdebug
    • 1.2 Command Line Interface
    • 1.3 Standard PHP Library
    • 1.4 Programming Paradigms
    • 1.5 Namespaces
    • 1.6 Windows Setup
    • 1.7 macOS Setup
    • 1.8 Linux Setup
  • 2. Getting Started
    • 2.1 Common Directory structure
    • 2.2 Use the Current Stable Version (8.4)
    • 2.3 Built-in web server
    • 2.4 Complementary Testing Tools
    • 2.5 Test Driven Development
  • 3. Testing
    • 3.1 Behavior Driven Development
    • 3.2 Complex Problem
  • 4. Dependency Injection
    • 4.1 Containers
    • 4.2 Basic Concept
    • 4.3 Further Reading
    • 4.4 Data Filtering
    • 4.5 Web Application Security
    • 4.6 Error Reporting
    • 4.7 Configuration Files
    • 4.8 Register Globals
  • 5. Security
    • 5.1 Password Hashing
    • 5.2 Further Reading
    • 5.3 Benefits
    • 5.4 Compiled Templates
    • 5.5 Plain PHP Templates
  • 6. Templating
    • 6.1 Working with UTF-8
  • 7. Coding Practices
    • 7.1 The Basics
    • 7.2 Design Patterns
    • 7.3 Internationalization (i18n) and Localization (l10n)
    • 7.4 Common ways to implement
    • 7.5 Gettext
    • 7.6 Date and Time
    • 7.7 PEAR
    • 7.8 Composer and Packagist
  • 8. Dependency Management
    • 8.1 Books
    • 8.2 People to Follow
    • 8.3 Other Useful Resources
    • 8.4 Video Tutorials
    • 8.5 Components
    • 8.6 PHP PaaS Providers
  • 9. Resources
    • 9.1 Frameworks
    • 9.2 From the Source
  • 10. Errors and Exceptions
    • 10.1 Errors
    • 10.2 Exceptions
  • 11. Caching
    • 11.1 Object Caching
    • 11.2 Opcode Cache
    • 11.3 Virtual or Dedicated Servers
    • 11.4 Shared Servers
  • 12. Servers and Deployment
    • 12.1 Platform as a Service (PaaS)
    • 12.2 Building and Deploying your Application
    • 12.3 Docker
    • 12.4 Vagrant
  • 13. Virtualization
  • 14. Code Style Guide
  • 15. Community
    • 15.1 PHP Conferences
    • 15.2 PHP User Groups
    • 15.3 ElePHPants
    • 15.4 Interacting with Databases
    • 15.5 MySQL Extension
    • 15.6 PDO Extension
    • 15.7 Abstraction Layers
  • 16. Databases
    • 16.1 PHPDoc
  • 17. Documenting your Code
PHP: The "Right" Way/overview

PHP: The "Right" Way

course_overview

count_chapters
begin_reading
download
p_implied_book_part_name

PHP: The "Right" Way17 chapters

Begin ›
  1. 1. Language Highlights

  2. 2. Getting Started

  3. 3. Testing

  4. 4. Dependency Injection

  5. 5. Security

  6. 6. Templating

  7. 7. Coding Practices

  8. 8. Dependency Management

  9. 9. Resources

  10. 10. Errors and Exceptions

  11. 11. Caching

  12. 12. Servers and Deployment

  13. 13. Virtualization

  14. 14. Code Style Guide

  15. 15. Community

  16. 16. Databases

  17. 17. Documenting your Code