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

1.1     Is this book for you?

NOTE: 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
Top-right shadow
 
Bottom-left shadow Bottom shadow