Hudzilla.org - the homepage of Paul Hudson
Contents > Preface Wish List | Report Bug | About Me ]

1.1     Is this book for you?

This is NOT the latest copy of this book; click here for the latest version.

This book assumes no PHP programming skill at all - you will be taught from scratch in that respect. However, I will be using terms like "variable", "function", and "loop" freely, so any prior programming experience you have will help enormously.

If you are coming from the world of HTML, PHP is a great step forward to make. HTML by itself, as you may have discovered, is a very simple language, which leaves you with very static pages. Think of using HTML like owning a car with no engine - the car might look great, but it will never actually do very much. If you will excuse the extension to the metaphor, PHP can take your sites into the fast lane, by allowing you to turn your static pages into exciting, ever-changing pages with only a little thinking. In essence, it is like putting a V6 engine into your car shell.

Programmers coming from the world of Perl, you should prepare yourself for a surprise: Perl isn't the only good language out there! PHP is much easier to use than Perl, and often faster both in terms of development time and execution time. However, you have to make one big sacrifice: the major difference between PHP and Perl is that PHP has much less "one-line magic" than Perl. Regular contributors to the Obfuscated Perl Contest may find that PHP is probably not for them!

Those of you already programming in PHP and looking to extend your knowledge, then this book is ideal - you will find information on how to use the more advanced features (IMAP, XML, and Sockets), tips and tricks on how to program better PHP, and a great reference at the back.

If you are not a HTML programmer and not a Perl programmer, then do not worry - all the HTML and CGI information you need to know to use PHP is covered herein.

Please note: this book has been written to be OS-agnostic. That is, samples are included for both Windows and Unix-like systems where possible. However, due to operating system constraints some parts that work on Windows may not work on Unix OSs, and vice versa. These sections are marked individually, along with reasoning as to why the information is not cross-platform. That said, I don't have a Mac at home I can test these scripts on, so you should be extra careful if you're on OS X.

Finally, if you are expecting that it is easy to learn PHP; that you can learn a new language without having to memorise hundreds of functions; that one book can take you from beginner to expert in web development - you're absolutely right, because you're reading it!





<< 1 Preface   1.2 Who this book is not for >>
Table of Contents
Want to see this stuff in print? PHP in a Nutshell takes the core topics covered here, adds in thousands of edits from the editorial team and myself, and combines them to make an unbeatable reference for PHP programmers at all levels.



My latest book has hundreds more tips on how to use PHP, Apache, and MySQL, plus Perl, Python, shell scripts, performance tuning, and more!



Top-right shadow
 
Bottom-left shadow Bottom shadow

Comments from other readers
franciscosantiagoruiz@yahoo.com - 06 Sep 2008

I always am looking for a good book to read and in return I get a lot of knowledge, I have read some books but find them boring and not teaching at all, I hope this is better, thanks for the good work.

It seems very extent.
thanks.

Deone/alwaysdeone@yahoo.com - 06 Sep 2008

I have just started learning php,though I am a web designer (html and css).I've written a web-based game in php and now I'm working on an address book. So, I'm here to get more used to php and to learn the intermediate and advanced tips and tricks. Paul,keep up the good work. This is a really great sacrifice you are doing and God bless you.

Pedro - 06 Sep 2008

San Diego, CA US 26 Jan 2006

Seems like I found the right book, I am not a HTML programmer and not a Perl programmer.

Good Boy. - 06 Sep 2008

You are a soul and are there forever , were forever, just like GOD, and god punishes tour mind and brain for the sins not your soul. He loves u and u have to return to him after zillions of years.

Matrix Programmer.

Good Boy. - 06 Sep 2008

I really did not know that such a good person exists on this planet in these dark ages.

Matrix Programmer.

sandro - 06 Sep 2008

I can't believe that there is really an individual who will do this for the sake of fellow programmer and newbie, god bless and keep going cause you really are a great person

Marius - 06 Sep 2008

I hope that it will help me ! I have some skills in C but i do not know anything in php.

capi crimm - 06 Sep 2008

No you shouldn't need to know anything to read this whole book. I just wanted to thank Hudson for writing this book. It's one of the best php books out there, that covers some of the more advanced material as well as the simple stuff. It's awsome to have such a great resource available online. There are only a few other things to rival it, such as the obvious php manual.

Thank You. :)

[I'd donate something, but I'm afraid I have less money then you. If I sent you cash in the mail you'd recieve an empty envelope since I'd have blown it all on postage. :( ]

Elvadar Elvadar@Gmail.Com - 06 Sep 2008

So practically i don'thave to know anything of PHP, to learn from this book?

-Elvadar



Add comment
Please note that by posting a comment here you are committing it to the public domain. This is important so that others can make use of your code themselves, and also so that I can incorporate helpful notes directly into the main text. Comments are limited to 2000 characters in length.

If you are reporting an error in the content, please tell me directly.

Your name/email address:
Your comment:
 
Now, in order to verify that you're a real person, please answer this simple question: what is three plus zero?
The answer is:
(please write in
numbers, eg 19)


Top-right shadow
 
Bottom-left shadow Bottom shadow