Tags
Language
Tags
April 2024
Su Mo Tu We Th Fr Sa
31 1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 1 2 3 4

David Sklar, Adam Trachtenberg - PHP Cookbook, 3rd Edition

Posted By: checkraiser
David Sklar, Adam Trachtenberg - PHP Cookbook, 3rd Edition

David Sklar, Adam Trachtenberg - PHP Cookbook, 3rd Edition
Publisher: O'Reilly Media (June 2014) | ISBN: 144936375X | English | 820 pages | PDF | 9.1MB

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