Paperback: 370 pages
Publisher: O'Reilly Media; 1st edition (July 2004)
Language: English
ISBN-10: 0596005601
ISBN-13: 978-0596005603
Product Dimensions: 7 x 0.8 x 9.2 inches
Shipping Weight: 1.1 pounds (View shipping rates and policies)
Average Customer Review: 3.3 out of 5 stars See all reviews (37 customer reviews)
Best Sellers Rank: #680,658 in Books (See Top 100 in Books) #6 in Books > Computers & Technology > Programming > Web Programming > Cold Fusion #13 in Books > Computers & Technology > Databases & Big Data > Other Databases #235 in Books > Computers & Technology > Operating Systems > Unix
There are more new books being published about PHP than you can shake a joystick at. PHP (along with program friends - MySQL and Apache) has become very popular among developers and web designers, and for good reason. As a programming language, it is particularly suited to web development projects, while being relatively easy to write, use and learn. More importantly, it's open-source and free, cross-platform, and widely supported. The book, "Learning PHP5", by David Sklar, is one of the latest volumes dealing with PHP. It describes itself as "a Pain-Free Introduction to Building Interactive Web Sites" and provides a gentle introduction to the latest version of PHP, which is version 5 and only recently available. This book is not particularly useful for those experienced already with PHP, nor for those wanting to upgrade their knowledge of PHP from versions 4 and earlier to the newest version. It probably is not particularly useful for those power programmers who need and want a deep and comprehensive coverage of the topic. But it is a very well-written and designed introduction to PHP 5 for beginning programmers or those experienced PERL, ASP, or Cold Fusion programmers who want to learn a different language. There are many illustrations and code samples sprinkled throughout the book. Sklar, however, occasionally skims over some topics in furtherance of the completion of some practical examples. The publisher is O'Reilly Media, Inc. which seems to have an editor's policy of covering complex computer-related topics in a comprehensive manner by publishing a range of volumes covering different aspects of a topic or from different angles or for different audiences.
There are several problems with this book that the author should fix for a future edition:1. He structures the pages in the examples and exercises such that they mix decision code with user interface code. That these two are not separated is a serious flaw; doing server side validation is different for pages where the different types of code are separated, and it is best to keep them separated when different people are working on each type of code.2. The part of the code (in code samples from chapter 6 onwards) that check for the presence of the $_POST[`_submit_check'] generates an error if you have apache set to show errors. The fix for this is to place the following code before the "if($_POST[`_submit_check']"):if (array_key_exists('_submit_check', $_POST)) { // print "$_POST[_submit_check];} else { $_POST['_submit_check']=false;}(the commented-out portion was for troubleshooting)3. In chapter 2, he goes about formatting output using printf(), \n, and placeholders to place leading whitespace in front of numbers to line them up in a column. However, HTML ignores excessive whitespace, unless such whitespace is enclosed in< pre> tags, which if used leads to some other problems. The result is that formatting and extra line breaks to not appear in the browser when testing the code. \n should be replaced by < br/ >, and a < table > should be used (with the align attributes of the elements set) to format output.4. He only touched on the "5" part of php 5, and for the most part this is restricted to the part of the book dealing with databases. The author would do well to go into creating classes.5.
PHP: Learn PHP In A DAY! - The Ultimate Crash Course to Learning the Basics of the PHP In No Time (PHP, PHP Programming, PHP Course, PHP Development, PHP Books) Php: Learn PHP In A DAY! - The Ultimate Crash Course to Learning the Basics of PHP In No Time (Learn PHP FAST - The Ultimate Crash Course to Learning ... of the PHP Programming Language In No Time) PHP: QuickStart Guide - The Simplified Beginner's Guide To PHP (PHP, PHP Programming, PHP5, PHP Web Services) PHP: MySQL in 8 Hours, For Beginners, Learn PHP MySQL Fast! A Smart Way to Learn PHP MySQL, Plain & Simple, Learn PHP MySQL Programming Language in Easy Steps, A Beginner's Guide, Start Coding Today! Learning: 25 Learning Techniques for Accelerated Learning - Learn Faster by 300%! (Learning, Memory Techniques, Accelerated Learning, Memory, E Learning, ... Learning Techniques, Exam Preparation) PHP: MYSQL 100 Tests, Answers & Explanations, Pass Final Exam, Job Interview Exam, Engineer Certification Exam, Examination, PHP programming, PHP in easy steps: A Beginner's Guide Learning PHP, MySQL & JavaScript: With jQuery, CSS & HTML5 (Learning Php, Mysql, Javascript, Css & Html5) PHP: Crash Course - The Ultimate Beginner's Course to Learning PHP Programming in Under 12 Hours Learn: Cognitive Psychology - How to Learn, Any Skill or Subject in 21 Days! (Learn, Learning Disability, Learning Games, Learning Techniques, Learning ... Learning, Cognitive Science, Study) PHP Cookbook: Solutions and Examples for PHP Programmers Zend PHP Certification Guide 5.5: A programmers guide to PHP Beginners Guide On PHP Programming: Quick And Easy Guide To Learn PHP With My-SQL Learning PHP, MySQL, JavaScript, CSS & HTML5: A Step-by-Step Guide to Creating Dynamic Websites Learning PHP and MySQL: by Knowledge flow Learning PHP, MySQL, JavaScript, and CSS: A Step-by-Step Guide to Creating Dynamic Websites Learning PHP 5 PHP and MySQL Web Development (4th Edition) Programming For Beginner's Box Set: Learn HTML, HTML5 & CSS3, Java, PHP & MySQL, C# With the Ultimate Guides For Beginner's (Programming for Beginners in under 8 hours!) PHP, MySQL, JavaScript & HTML5 All-in-One For Dummies PHP Programming with MySQL: The Web Technologies Series