Название книги: PHP Cookbook
Год: 2014
Авторы: Дэвид Скляр, Адам Трахтенберг
Страниц: 813
Язык: Английский
Формат: pdf, fb2, epub, mobi
Размер: 11.3 MB, 9 MB, 2 MB, 3 MB

Описание книги «PHP Cookbook»:

Want to understand a certain PHP programming technique? Or learn how to accomplish a particular task? This cookbook is the first place to look. With more than 350 code-rich recipes revised for PHP 5.4 and 5.5, this third edition provides updated solutions for generating dynamic web content—everything from using basic data types to querying databases, and from calling RESTful APIs to testing and securing your site.

Each recipe includes code solutions that you can freely use, along with a discussion of how and why they work. Whether you’re an experienced PHP programmer or coming to PHP from another language, this book is an ideal on-the-job resource.

You’ll find recipes to help you with:

  • Basic data types: strings, numbers, arrays, and dates and times
  • Program building blocks: variables, functions, classes, and objects
  • Web programming: cookies, forms, sessions, and authentication
  • Database access using PDO, SQLite, and other extensions
  • RESTful API clients and servers, including HTTP, XML, and OAuth
  • Key concepts: email, regular expressions, and graphics creation
  • Designing robust applications: security and encryption, error handling, debugging and testing, and performance tuning
  • Files, directories, and PHP’s Command Line Interface
  • Libraries and package managers such as Composer and PECL


  1. Strings
  2. Numbers
  3. Dates and Times
  4. Arrays
  5. Variables
  6. Functions
  7. Classes and Objects
  8. Web Fundamentals
  9. Forms
  10. Database Access
  11. Sessions and Data Persistence
  12. XML
  13. Web Automation
  14. Consuming RESTful APIs
  15. Serving RESTful APIs
  16. Internet Services
  17. Graphics
  18. Security and Encryption
  19. Internationalization and Localization
  20. Error Handling
  21. Software Engineering
  22. Performance Tuning
  23. Regular Expressions
  24. Files
  25. Directories
  26. Command-Line PHP
  27. Packages



Скачать книгу «PHP Cookbook»

Читать книгу «PHP Cookbook» онлайн

Оцените книгу
[Всего: 1 Средний: 5]

Написать комментарий