Beginning Php 4 (Programmer to Programmer)

Beginning Php 4 (Programmer to Programmer)
by Chris Lea, Allan Kent, Ganesh Prasad, Chris Ullman

Beginning Php 4 (Programmer to Programmer)
List Price: $39.99
Our Price: $4.59
You Save: $35.40 (89%)
Availability: Usually ships in 1-2 business days
Buy Used: from $0.74 (click here)
Category: Book
See more book details and other editions


(Click here)
Buy this book at online book store in your country
Canada | UK | Germany | France

Book Summary Information

Author: Allan Kent, Chris Lea, Chris Ullman, Ganesh Prasad
Editor: Wankyu Choi
Edition: Paperback
Audio: English (Original Language); English (Unknown); English (Published)
Published: 2000-10
ISBN: 1861003730
Number of pages: 800
Publisher: Peer Information

Book Reviews of Beginning Php 4 (Programmer to Programmer)

Book Review: I went from Zero to Expert and this book was a big help
Summary: 4 Stars

I like this book and highly recommend it. It is good for people who are new to PHP but not so good for people who are new to programming. I've done a lot of programming in other languages and needed to learn PHP in a big hurry for a project that I was about to take on. This book got me up to speed fast. I'm inclined to think that a lot of the negative reviews are from people without any programming background. I agree this book is not the right place to start if you are a non-programmer. I've also done a fair amount of html prior to reading this book, I found that it's html section and php techniques for generating forms was really excellent, I learned some really great things!

As far as depth goes, such as discussing details of the functions. Well, that's what the php manual is for (www.php.net). Initially I tried to learn the language from the php manual alone but didn't get very far, I couldn't see the forest because the trees were in the way, eg too much detail without a big picture. What this book does is to focus on the big picture of how and why to do something. It also shows multiple approachs to the same problem and compares them so that you get an idea of the alternatives and trade-offs.

Starting from not knowing php to writing some very sophisticated programs... I learned it all with two books and the manual. The other book that I read is PHP Developers Cookbook. The two books are very complimentary, there is not that much overlap between them instead they fill each others gaps. Note that the "Cookbook" is more advanced and assumes that you already know a lot of php.

Okay, the one big gripe that I have is their lack of proof reading. They must have really rushed this to press. There are literally hundreds of errors and the errata sheet is incomplete. However it is easy to get past the errors as long as you don't make the assumption that the text is always correct. In other words, if something doesn't make sense then you should be suspicious of an error instead of always assuming that it's your lack of understanding.

The necessity of Rewriting the code examples is a little annoying, but the book can hardly be faulted for language changes that were made after the book was published. PHP is a rapidly moving target, no book will ever be current for very long. And besides, the best way to understand a program is to take it apart and rewrite it, that's why they are called "Examples". (most of the changes needed are trivial).

Mostly what you need to do is to change $varname to $_REQUEST['varname']

and that will fix it. If you are having trouble finding the correct variable then use

phpinfo();

to get a list of all of the available variables, then you just pick what you need from the list and put a $ in front of it.
(...)By the way, the code examples can be downloaded from their website which can save a lot of typing...

Summary of Beginning Php 4 (Programmer to Programmer)

PHP is a server-side scripting language. It is an open source, cross platform technology (NT, Linux, UNIX), rapidly gaining popularity as a scripting language for people running dynamic websites. Using practical examples and a step by step approach, this book explains how to develop web applications using PHP.
Beginning PHP4 offers an almost ideal introductory tutorial to one of today's hotter scripting languages. This book really is everything that the novice needs to start building dynamic Web sites that are powered by PHP4, but old hands at programming also will find in it valuable information.

PHP, of course, is introduced in the book, but there's also an approachable and effective introduction to programming in general. The conscientious tutorial on basic concepts like variables, keywords, and flow control will give even beginners an understanding of the basics of writing programs. PHP, it turns out, is not only a great way to generate HTML dynamically, but a very marketable skill. Web fundamentals like HTTP, HTML form variables, and managing session information using no less than four different techniques are explained thoroughly and effectively. You also find out how to install PHP and other tools on your system, with the assistance of plenty of screen shots.

That's not to say that this book will cramp the style of more experienced developers. Some chapters delve into such important and advanced topics as database programming (with MySQL) and PHP's support for XML. One standout section demystifies the new support for objects and classes in PHP4. Basic topics like managing files and directories on the server, plus graphics processing, are addressed, of course, and a nifty sample program shows you how to build a Web-based text editor. Except for the final case study--a "URL directory manager" (akin to Yahoo!) that's rather specialized--the examples are right on, and illustrate everyday programming tasks. You'll learn also how to generate e-mail with PHP--certainly a valuable skill to have.

The appendix lists several hundred PHP functions in over 50 pages--a handy and useful feature. In all, Beginning PHP4 provides a strong choice for learning about one of today's most powerful and easy-to-use scripting languages; it's concise, fast moving, and thoroughly approachable. --Richard Dragan

Topics covered:
  • Introduction to PHP 4
  • Downloading and installing PHP
  • Basics of HTTP and Web pages
  • PHP as a scripting language
  • PHP data types
  • Constants and conversions
  • HTML primer
  • Form variables
  • Decision making in PHP
  • Loops and arrays
  • PHP functions
  • Error handling in PHP
  • Tips on writing more maintainable code
  • Debugging hints
  • Preserving state with hidden form variables

  • Query strings
  • Cookies and PHP4 native sessions
  • Using PHP objects
  • File and directory functions
  • PHP database programming
  • Installing and using MySQL
  • Tutorial for SQL syntax
  • Querying and updating records
  • XML "quickstart" for PHP users
  • Creating e-mail and electronic newsletters
  • PHP graphics processing (including image maps)
  • Case study for a URL directory manager
  • ODBC tutorial
  • PHP4 function reference
  • Languages & Tools Books

    Book Subjects
    Most talked about in Web
    Webmaster in a Nutshell, Third Edition ImageWebmaster in a Nutshell, Third Edition
    by Stephen Spainhour
    O'Reilly Media, Inc.; Published: 2002-12-01; Paperback; Book
    Best price: $12.00
    Price in other shops: $34.95
    Webmaster in a Nutshell : Deluxe Edition ImageWebmaster in a Nutshell : Deluxe Edition
    by Inc., O'Reilly Media
    O'Reilly; Published: 1997-10; Paperback; Book
    Best price: $6.95
    Price in other shops: $69.95
    VBScript: Programmer's Reference ImageVBScript: Programmer's Reference
    by Susanne Clark, Antonio De Donatis, Adrian Kingsley-Hughes, Kathie Kingsley-Hughes, Brian Matsik, Erick Nelson, Piotr Prussak, Daniel Read, Carsten Thomsen, Stuart Updegrave, Paul Wilton
    Wrox; Published: 1999-12-31; Paperback; Book
    Best price: $2.95
    Price in other shops: $29.99
    Web Database Applications with PHP & MySQL, 2nd Edition ImageWeb Database Applications with PHP & MySQL, 2nd Edition
    by Hugh E. Williams
    O'Reilly Media, Inc.; Published: 2004-05-16; Paperback; Book
    Best price: $25.66
    Price in other shops: $44.95
    Professional PHP4 Programming ImageProfessional PHP4 Programming
    by Deepak Thomas, Wankyu Choi, John Coggeshall, Ken Egervari, Martin Geisler, Zak Greant, Andrew Hill, Chris Hubbard, James Moore, Devon O'Dell, Jon Parise, Harish Rawat, Tarique Sani, Christopher Scollo, et al
    Wrox Press; Published: 2002-01; Paperback; Book
    Best price: $33.21
    Price in other shops: $49.99
    Beginning PHP4 Databases ImageBeginning PHP4 Databases
    by Andrew Hill, Chris Lea, Christopher Scollo, Deepak Thomas, Harish Rawat
    Wrox Press; Published: 2002-10; Paperback; Book
    Best price: $6.99
    Price in other shops: $39.99
    Beginning Php 4 (Programmer to Programmer) ImageBeginning Php 4 (Programmer to Programmer)
    by Chris Lea, Allan Kent, Ganesh Prasad, Chris Ullman
    Peer Information; Published: 2000-10; Paperback; Book
    Best price: $4.87
    Price in other shops: $39.99
    Perl: The Complete Reference ImagePerl: The Complete Reference
    by Martin C. Brown
    Osborne/McGraw-Hill; Published: 2001-01-23; Paperback; Book
    Best price: $49.95
    Price in other shops: $49.99
    Javascript Programmer's Reference (Programmer to Programmer) ImageJavascript Programmer's Reference (Programmer to Programmer)
    by Cliff Wootton
    Wrox Press; Published: 2001-02-15; Mass Market Paperback; Book
    Best price: $0.50
    Price in other shops: $39.99
    JavaScript: The Definitive Guide ImageJavaScript: The Definitive Guide
    by David Flanagan
    O'Reilly Media, Inc.; Published: 2001-12-15; Paperback; Book
    Best price: $11.99
    Price in other shops: $44.95
    Similar Books and other products
    Web Database Applications with PHP & MySQL, 2nd Edition ImageWeb Database Applications with PHP & MySQL, 2nd Edition
    by Hugh E. Williams
    O'Reilly Media, Inc.; Published: 2004-05-16; Paperback; Book
    Best price: $19.97
    Price in other shops: $44.95
    Beginning PHP5 (Programmer to Programmer) ImageBeginning PHP5 (Programmer to Programmer)
    by Dan Squier, David Mercer, Allan Kent, Steven Nowicki, Clark Morgan
    Wrox; Published: 2004-07-16; Paperback; Book
    Best price: $6.35
    Price in other shops: $39.99
    PHP 6 and MySQL 5 for Dynamic Web Sites: Visual QuickPro Guide ImagePHP 6 and MySQL 5 for Dynamic Web Sites: Visual QuickPro Guide
    by Larry Ullman
    Peachpit Press; Published: 2007-12-29; Paperback; Book
    Best price: $24.42
    Price in other shops: $39.99
    Beginning PHP, Apache, MySQL Web Development ImageBeginning PHP, Apache, MySQL Web Development
    by Michael K. Glass, Yann Le Scouarnec, Elizabeth Naramore, Gary Mailer, Jeremy Stolz, Jason Gerner
    Wrox; Published: 2004-03-12; Paperback; Book
    Best price: $54.22
    PHP 4:  A Beginner's Guide ImagePHP 4: A Beginner's Guide
    by William McCarty
    McGraw-Hill Osborne Media; Published: 2001-07-26; Paperback; Book
    Best price: $3.29
    Price in other shops: $29.99
    Beginning PHP and MySQL: From Novice to Professional, Third Edition (Beginning from Novice to Professional) ImageBeginning PHP and MySQL: From Novice to Professional, Third Edition (Beginning from Novice to Professional)
    by W. Jason Gilmore
    Apress; Published: 2008-03-24; Paperback; Book
    Best price: $27.94
    Price in other shops: $46.99
    Professional PHP5 (Programmer to Programmer) ImageProfessional PHP5 (Programmer to Programmer)
    by Edward Lecky-Thompson, Heow Eide-Goodman, Steven D. Nowicki, Alec Cove
    Wrox; Published: 2004-11-26; Paperback; Book
    Best price: $6.15
    Price in other shops: $39.99
    Beginning PHP4 Databases ImageBeginning PHP4 Databases
    by Andrew Hill, Chris Lea, Christopher Scollo, Deepak Thomas, Harish Rawat
    Wrox Press; Published: 2002-10; Paperback; Book
    Best price: $24.60
    Price in other shops: $39.99
    Web Application Development with PHP 4.0 (Landmark) ImageWeb Application Development with PHP 4.0 (Landmark)
    by Tobias Ratschiller, Till Gerken
    Sams; Published: 2000-07-22; Paperback; Book
    Best price: $5.96
    Price in other shops: $39.99
    Beginning MySQL (Programmer to Programmer) ImageBeginning MySQL (Programmer to Programmer)
    by Robert Sheldon, Geoff Moes
    Wrox; Published: 2005-04-01; Paperback; Book
    Best price: $16.36
    Price in other shops: $39.99
    Book store. Illustrated catalog of books on different categories