PHP Cookbook by David Sklar

No critic rating

Waiting for minimum critic reviews

See Reader Rating


PHP is a simple yet powerful open source scripting language that has become a big player in web development. Over a million web sites, from large corporate sites to small personal sites, are using PHP to serve dynamic web content. PHP's broad feature set, approachable syntax, and support for different operating systems and web servers make it an ideal language for rapid web development.The PHP Cookbook is a collection of problems, solutions, and practical examples for PHP programmers. The book contains a unique and extensive collection of best practices for everyday PHP programming dilemmas. For every problem addressed in the book, there's a worked-out solution or "recipe" -- short, focused pieces of code that you can insert directly into your applications. But this book offers more than cut-and-paste code. You also get explanations of how and why the code works, so you can learn to adapt the problem-solving techniques to similar situations.The recipes in the PHP Cookbook range from simple tasks, such as sending a database query and fetching URLs, to entire programs that demonstrate complex tasks, such as printing HTML tables and generating bar charts. This book contains over 250 recipes on the following topics:

Working with basic data types, including strings, numbers, dates and times, and arraysPHP building blocks, such as variables, functions, classes, and objectsWeb programming, including forms, database access, and XMLUseful features like regular expressions, encryption and security, graphics, internationalization and localization, and Internet servicesWorking with files and directoriesCommand-line PHP and PHP-GTKPEAR, the PHP Extension and Application RepositoryThis book contains an impressive collection of useful code for PHP programmers, from novices to advanced practitioners. Instead of poking around mailing lists, online documentation, and other sources, you can rely on the PHP Cookbook to provide quick solutions to common problems, so you can spend your time on those out-of-the-ordinary problems specific to your application.

About David Sklar

See more books from this Author
David Sklar is an instructor at the New School University and an independent technology consultant. He is also the coauthor of the book "PHP Cookbook" and the author of the forthcoming "Learning PHP". David has spoken at many conferences, including the O'Reilly Open Source Conference, the EGovOS Open Source/Open Standards Conference, and the International PHP Conference. His consulting practice focuses on interactive Internet applications, distributed systems, scalability, and security. Additionally, David is a principal of the Transparency Project, a nonprofit organization that coordinates data markup standards and builds tools that analyze publicly available political and campaign finance information. David was a founder and the chief technology officer of both Student.Com and TVGrid.Com, where he led teams of PHP developers that built multilingual data-driven web applications. He holds a degree in computer science from Yale University. Trachtenberg is working on getting an MBA from Columbia Business School. At business school, he's focusing on General Management and Operations, with an emphasis on the field of technology. He also has a BA from Columbia University.
Published January 1, 2002 by O'Reilly. 624 pages
Genres: Computers & Technology, Education & Reference. Non-fiction

Reader Rating for PHP Cookbook

An aggregated and normalized score based on 22 user ratings from iDreamBooks & iTunes

Rate this book!

Add Review