Learning PHP: A Gentle Introduction to the Web's Most Popular Language
David Sklar
O’Reilly
If you want to get started with PHP, this book is essential. Author David Sklar (<i>PHP Cookbook</i>) guides you through aspects of the language you need to build dynamic server-side websites. By exploring features of PHP 5.x and the exciting enhancements in the latest release, PHP 7, you’ll learn how to work with web servers, browsers, databases, and web services. End-of-chapter exercises help you make the lessons stick.<br>Whether you’re a hobbyist looking to build dynamic websites, a frontend developer ready to add server-side programs, or an experienced programmer who wants to get up to speed with this language, this gentle introduction also covers aspects of modern PHP, such as internationalization, using PHP from the command line, and package management.<br>Learn how PHP interacts with browsers and servers<br>Understand data types, variables, logic, looping, and other language basics<br>Explore how to use arrays, functions, and objects<br>Build and validate web forms<br>Work with databases and session management<br>Access APIs to interact with web services and other websites<br>Jumpstart your project with popular PHP web application frameworks